[commit] dwarf2read.c: ignore bad address ranges in .gdb_index
Doug Evans
dje@google.com
Fri Aug 9 17:41:00 GMT 2013
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;
}
More information about the Gdb-patches
mailing list