This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Mark outer frames
- From: Doug Evans <dje at google dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 1 Sep 2009 15:41:31 -0700
- Subject: Re: RFC: Mark outer frames
- References: <20090828213237.GA9175@caradoc.them.org> <20090831225115.GA4365@adacore.com>
On Mon, Aug 31, 2009 at 3:51 PM, Joel Brobecker<brobecker@adacore.com> wrote:
>>[...]
>> So the frame
>> id is null_frame_id - which is overloaded to mean 'unknown id' and
>> 'no frame at all'. The value checks are using it one way and the
>> unwinder is using it the other.
>>[...]
>> Is it too ugly to live?
>
> Not sure. I haven't taken the time to look at the patch itself
> (trying to focus on the blocking items for the next release),
> but if no one else has a better idea... We could try to brainstorm
> on that after the branch has been cut...
fwiw,
I've tripped over this myself a couple of times ("this" being the overloading).
I think this patch, or something akin to it, is needed.