From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id D9B963857C66 for ; Fri, 6 Oct 2023 18:31:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D9B963857C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id D3AA72187B for ; Fri, 6 Oct 2023 18:31:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1696617062; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ze42GjjJs8MePXYW6y0qTk/dtq90x5iAWqLaEc2FFnc=; b=mF4eD0AJS9LZMsRLzCmMjCj43BQWziZ/i8tBk9OwHrXn/+6fBw5IMyNNNl1bEw+fQpiQQW ZwfkYGdAf658BCDDz3T4YZp41Hd8YcsxXaBmrSEHQPq3ki2IG1dBD+re9OJvx6QLEICqLf HAydixUjM94qhx5auh3qGGEEPuLSPFA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1696617062; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ze42GjjJs8MePXYW6y0qTk/dtq90x5iAWqLaEc2FFnc=; b=4bweVW11ElI4UvL4018RKG/NKXwQP0JIpz+eAhAp2xG4KR5g0uJGeZ5yqHhgJWuMC4Dv6h QH9hY3C26ZeQp9Dw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BFB3F13586 for ; Fri, 6 Oct 2023 18:31:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id nsakLWZSIGVNUwAAMHmgww (envelope-from ) for ; Fri, 06 Oct 2023 18:31:02 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Add name_of_main and language_of_main to the DWARF index Date: Fri, 6 Oct 2023 20:31:02 +0200 Message-Id: <20231006183104.27689-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a patch series containing: - a gdb patch introducing a new version of the .gdb_index section, adding a shortcut table. - a readelf patch adding the capability to read the new version, as well print the shortcuts table. This is v4 of the gdb patch. The v3 was submitted here ( https://sourceware.org/pipermail/gdb-patches/2023-August/201568.html ). Changes in v4: - fixed a few whitespace issues. - reformulated 'A 32-bit little-endian value' to 'An @code{offset_type} value' in the docs. - mentioned PR symtab/30946 in the commit log. - updated a pre-existing unit test. I've already approved v3, and the v4 changes are trivial. The readelf patch is new. Tested on x86_64-linux. Matheus Branco Borella (1): [gdb/symtab] Add name_of_main and language_of_main to the DWARF index Tom de Vries (1): [readelf] Handle .gdb_index section version 9 binutils/dwarf.c | 176 +++++++++++++++++++++++------------- gdb/NEWS | 3 + gdb/doc/gdb.texinfo | 23 ++++- gdb/dwarf2/index-write.c | 54 +++++++++-- gdb/dwarf2/read-gdb-index.c | 54 ++++++++++- gdb/dwarf2/read.c | 13 ++- gdb/dwarf2/read.h | 12 +++ 7 files changed, 259 insertions(+), 76 deletions(-) base-commit: 9a896be33224654760c46d3698218241d0a1f354 -- 2.35.3