the `!' command
Tom Tromey
tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
I always get annoyed when I try to run "!ls" in gdb, since it seems
like it should work, but it doesn't. (And for whatever reason I never
remember that it doesn't.)
Tonight I decided to add this. But look what I found in command.c:
if (xdb_commands)
add_com_alias ("!", "shell", class_support, 0);
I'd like to remove the `if' part of this and have `!' be an actual
command. Any reason why not?
Tom
More information about the Gdb
mailing list