This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: the `!' command
- To: tromey at cygnus dot com
- Subject: Re: the `!' command
- From: David Taylor <taylor at cygnus dot com>
- Date: Sun, 16 Jan 2000 17:38:59 -0500
- cc: gdb at sourceware dot cygnus dot com
From: Tom Tromey <tromey@cygnus.com>
Date: 14 Jan 2000 18:01:00 -0700
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);
Added as part of the HP merge -- xdb compatibility mode.
I'd like to remove the `if' part of this and have `!' be an actual
command. Any reason why not?
I have no objections, but I'll defer to Fernando as he is the
maintainer for command.c.
NOTE: even with that change '!ls' won't work. You'll have to do
'! ls' to get your ls.
Tom
David