This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] dwarf2read.c: Add complaint for out of bounds DW_AT_ranges attribute
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>, Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Sep 2003 10:21:09 -0700
- Subject: Re: [RFA] dwarf2read.c: Add complaint for out of bounds DW_AT_ranges attribute
- References: <1030910212021.ZM18957@localhost.localdomain> <vt2brtomva5.fsf@zenia.home>
On Sep 13, 12:51pm, Jim Blandy wrote:
> Looks good.
>
> Kevin Buettner <kevinb@redhat.com> writes:
>
> > This one's almost obvious...
> >
> > GDB for the FR-V target was segfaulting when issued the "maint
> > check-symtabs" command. Clearly this is an indication that something
> > is wrong with the toolchain elsewhere, but GDB should not segfault
> > when it encounters bad debug info.
> >
> > Okay?
> >
> > * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
> > associated with DW_AT_ranges attribute is out of bounds.
Committed.
Kevin