From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: gdb@cygnus.com Subject: Re: keeping commands out of the history Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-id: <87ww0v2h6c.fsf@cygnus.com> References: <199903060607.BAA11685@banzai3.insignia.org> <199903060638.WAA29974.cygnus.gdb@alabama.wrs.com> X-SW-Source: 1999-q1/msg00090.html >>>>> "Todd" == Todd Whitesel writes: Todd> It is easy for me to implement a whole new command that is like Todd> 'print' or 'inspect' but does not add to the value history, and Todd> submit the patches. Would this work for you? It's already been done: creche. gdb GNU gdb 4.17.2 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) help output Like "print" but don't put in value history and don't print newline. This is useful in user-defined commands. Tom