This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] PR python/11407
- From: Tom Tromey <tromey at redhat dot com>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 08 Sep 2010 12:18:31 -0600
- Subject: Re: [patch] PR python/11407
- References: <4C23426F.4020502@redhat.com> <m3aaqk8foj.fsf@fleche.redhat.com> <4C23D5CB.5040702@redhat.com> <m3y6e33r7d.fsf@fleche.redhat.com> <4C251D93.6020909@redhat.com>
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Tom> Why not catch the exception and print the text of it as the variable's
Tom> value? Something like <error reading variable: %s>
Tom> I think this will work ok with existing front ends.
Phil> Here is a patch that does that.
Phil> What do you think?
This patch is ok with a suitable ChangeLog entry.
Thanks, and I'm sorry about the delay on this. I probably should have
tried harder to get it into 7.2.
Tom