public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: binutils@sourceware.org
Cc: Tom Tromey <tromey@redhat.com>
Subject: [patch] readelf .gdb_index version 5
Date: Wed, 27 Apr 2011 20:44:00 -0000	[thread overview]
Message-ID: <20110427204342.GA27619@host1.jankratochvil.net> (raw)

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);

             reply	other threads:[~2011-04-27 20:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 20:44 Jan Kratochvil [this message]
2011-04-28  1:46 ` Alan Modra
2011-04-28  7:28   ` Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110427204342.GA27619@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).