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]

Re: the `!' command


    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

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