This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] dwarf2read.c: Add complaint for out of bounds DW_AT_ranges attribute


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


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