This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: working around batch mode command errors


>>>>> "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


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