This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb/dwarf2read.c: Sanity check DW_AT_sibling values.
- From: Tom Tromey <tromey at redhat dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>, Patch Tracking <patches at linaro dot org>
- Date: Tue, 05 Nov 2013 10:23:24 -0700
- Subject: Re: [PATCH] gdb/dwarf2read.c: Sanity check DW_AT_sibling values.
- Authentication-results: sourceware.org; auth=none
- References: <52741B5A dot 6090800 at linaro dot org> <8761s8w46p dot fsf at fleche dot redhat dot com> <CANu=DmiydWzcKLfYe_J7TUVEDizPziM_2kUMoajBKvp5BFF7hQ at mail dot gmail dot com>
>>>>> "Will" == Will Newton <will.newton@linaro.org> writes:
Tom> I wonder whether the check should be "<=".
Will> I'm not sure. It looks to me that info_ptr at this point will point to
Will> the next attribute/DIE which could be a valid sibling?
Yeah, you're right.
Thanks.
Tom