This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] python: save/restore/fix error state
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Tom> It seems to me that inability to convert the docstring shouldn't be a
Tom> fatal problem for command registration. We can just fall back to the
Tom> no-docstring code.
Jan> I had it that way first. The problem is that way it prints:
Jan> (gdb) source py-error.py
Jan> LookupError: unknown encoding: IBM1047
Jan> (gdb) _
Jan> which I do not find too useful.
[...]
I don't have a strong feeling either way.
This IBM1047 scenario is far-fetched.
Tom