From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22740 invoked by alias); 27 Apr 2011 20:44:01 -0000 Received: (qmail 22731 invoked by uid 22791); 27 Apr 2011 20:44:00 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Apr 2011 20:43:45 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3RKhj6m005391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Apr 2011 16:43:45 -0400 Received: from host1.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3RKhh9h009001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Apr 2011 16:43:44 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p3RKhgNq015253; Wed, 27 Apr 2011 22:43:42 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p3RKhgZ0015252; Wed, 27 Apr 2011 22:43:42 +0200 Date: Wed, 27 Apr 2011 20:44:00 -0000 From: Jan Kratochvil To: binutils@sourceware.org Cc: Tom Tromey Subject: [patch] readelf .gdb_index version 5 Message-ID: <20110427204342.GA27619@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00412.txt.bz2 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 * 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);