Re: [RFC 6/8] mi/python: Handle python exception when executiong python-defined MI commands

Tom Tromey
2019-04-25T19:46:49Z

>>>>> "Jan" == Jan Vrany <jan.vrany@fit.cvut.cz> writes:

Jan> Respond with ^error,msg="..." when an unhandled python exception is thrown
Jan> while invoking python-defined MI command. The error message is taken from
Jan> python exception object.

Jan> gdb/Changelog:

Jan> * python/py-micmd.c (py_mi_invoke): Handle exceptions thrown in Python
Jan> code.

This seems reasonable but it also seems like it should just be part of
the patch adding this new function. If you're worried about joint
authorship, it's pretty common to just list two names in the ChangeLog.

thanks,
Tom