This is the mail archive of the gdb-patches@sourceware.org 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: [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;
 	}
 


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