This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

[patch] readelf .gdb_index version 5


Hi,

GDB now generates .gdb_index version 5:
	http://sourceware.org/ml/gdb-cvs/2011-04/msg00179.html
	http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.826&r2=1.827

Only the hashing function has changed so it should not matter to readelf.
GDB still consumes even version 4, just `set case-sensitive off' does not work
there in all cases.

OK to check in?


Thanks,
Jan


2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf.c (display_gdb_index): Support version 5, warn on version 4.

--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -5070,6 +5070,9 @@ display_gdb_index (struct dwarf_section *section,
       warn (_("The address table data in version 3 may be wrong.\n"));
       break;
     case 4:
+      warn (_("Version 4 does not support case insensitive lookups.\n"));
+      break;
+    case 5:
       break;
     default:
       warn (_("Unsupported version %lu.\n"), (unsigned long) version);


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