This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Implement $_version; for auto-load commands in ~/.gdbinit
On Wed, 22 Aug 2012 22:06:40 +0200, Tom Tromey wrote:
> It is trivial to write an 'ignore-errors' in python, or C for that matter.
> Or you could resurrect the old try-catch patch for the CLI that is
> languishing in bugzilla.
Any new GDB command cannot be safely used in older versions, even a possible
GDB command 'ignore-errors'.
Before writing it is there a consensus for example for ~/.gdbinit to use
set $_ignore_errors=1
add-auto-load-safe-path ~/src
set $_ignore_errors=0
?
Thanks,
Jan