This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: "no longer active" registers
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Jeremy Bennett <jeremy dot bennett at embecosm dot com>
- Cc: gdb-patches at sourceware dot org, Denys Vlasenko <dvlasenk at redhat dot com>
- Date: Mon, 13 Apr 2009 14:40:21 +0200
- Subject: Re: "no longer active" registers
- References: <1239610666.13312.97.camel@thomas>
On Mon, 13 Apr 2009 10:17:46 +0200, Jeremy Bennett wrote:
> I've discovered that the Fedora project has a small patch to valops.c by
> Jan Kratochvil, which seems to cure this problem:
>
> http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1&view=markup
Just a correction of the credit, this patch is by Denys Vlasenko.
> I notice that this patch is not part of the main GDB CVS tree. Are there
> plans to incorporate this patch into the main CVS tree, or are there
> side-effects that mean it is not generally applicable?
While I could not find a regression by this patch it is just a fixup of one of
the many places affected by the ambiguous meaning of a NULL frame.
Probably the right fix is to have non-NULL frame value for the unbacktraceable
frame.
Regards,
Jan