working around batch mode command errors

Tom Tromey tromey@redhat.com
Thu Nov 1 20:38:00 GMT 2012


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> I went looking for the bugzilla entry but couldn't find it.

http://sourceware.org/bugzilla/show_bug.cgi?id=8487

Doug> try:
Doug>    gdb.execute (...)
Doug> except:
Doug>   pass
Doug> is just too much to type.
Doug> </sarcasm> :-)

:)

We can have both try/catch and ignore-errors, if we want.

Tom



More information about the Gdb mailing list