This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
the `!' command
- To: gdb at sourceware dot cygnus dot com
- Subject: the `!' command
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 14 Jan 2000 18:01:00 -0700
- Reply-To: tromey at cygnus dot com
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