This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: keeping commands out of the history



> This sounds good, but I also want to do 'info registers', 'where',
> and probably 'info breakpoints' in the future, so I'm really looking
> for something a little more general.

As far as the command-line history is concerned, if you prefix your
command with "server ", it won't go in the command history, it won't have
csh-style !-expansion done, and "server" followed by nothing doesn't
repeat the previous command.

This doesn't affect the value history, though; you'll still need to
use "output".