[python] [patch] PR python/13329

Phil Muldoon pmuldoon@redhat.com
Wed Nov 9 20:25:00 GMT 2011


Kevin Pouget <kevin.pouget@gmail.com> writes:

> Thanks Phil, that's exactly what I was looking for :)
>
> just a remark,
>
> +         fprintf_filtered (gdb_stderr,
> +                           _("Error occurred computing Python error" \
> +                             "message.\n"));
>
> this error message sounds strange to me, is it correct?

Yes, this happens when we cannot get the exception message, but an
exception has been set.  I don't ever expect this error to actually be
seen, but it can happen depending on the state of the interpreter.
Looking at it again, I do see I did miss a space between 'error' and
'message' though!

Cheers,

Phil



More information about the Gdb-patches mailing list