This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

the `!' command


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]