working around batch mode command errors
Tom Tromey
tromey@redhat.com
Tue Oct 30 17:43:00 GMT 2012
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> There's no try/catch mechanism in the CLI unfortunately, but I
Pedro> think you could come up with one in python gdb. ISTR Tromey had
Pedro> a python command wrapper that swallows CLI errors?
Yeah, http://www.sourceware.org/ml/gdb/2010-06/msg00100.html
There's a more full-blown try/catch implementation in bugzilla.
That one isn't in Python. I don't know why it never went in.
This seems to be a frequently requested feature.
Tom
More information about the Gdb
mailing list