[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: the `!' command
From:       David Taylor <taylor () cygnus ! com>
Date:       2000-01-16 22:39:40
Message-ID: 200001162238.RAA08492 () texas ! cygnus ! com
[Download RAW message or body]


    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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic