This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] dwarf2read.c: ignore bad address ranges in .gdb_index
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 09 Aug 2013 10:41:19 -0700
- Subject: Re: [commit] dwarf2read.c: ignore bad address ranges in .gdb_index
I wrote:
> Hi.
>
> I was seeing some bad address ranges in .gdb_index generated by Gold.
>
> Regression tested on amd64-linux and committed.
>
> 2013-08-09 Doug Evans <dje@google.com>
>
> * dwarf2read.c (create_addrmap_from_index): Ignore bad address table
> entries.
Blech. Committed as well.
diff -u -p -r1.825 dwarf2read.c
--- dwarf2read.c 9 Aug 2013 17:26:40 -0000 1.825
+++ dwarf2read.c 9 Aug 2013 17:35:09 -0000
@@ -2574,7 +2574,7 @@ create_addrmap_from_index (struct objfil
{
complaint (&symfile_complaints,
_(".gdb_index address table has invalid range (%s - %s)"),
- pulongest (lo), pulongest (hi));
+ hex_string (lo), hex_string (hi));
continue;
}