This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "no longer active" registers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]