Message ID | 20231006174942.27361-1-tdevries@suse.de |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp498082vqo; Fri, 6 Oct 2023 10:49:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHmBKkSQt6c9IqOqTz/9m2xuD7M+CjE5EKYYnm6Cnxg0POONS3XO2kImUf9Sge2Lcm3IC+c X-Received: by 2002:a17:906:104e:b0:99c:47a:8bcd with SMTP id j14-20020a170906104e00b0099c047a8bcdmr7903729ejj.67.1696614594686; Fri, 06 Oct 2023 10:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696614594; cv=none; d=google.com; s=arc-20160816; b=UH3B0FS8Eyc/u/K9ucubYBjFF2hdlftu4xYOJlV2kF/BnG6cYANwFafKw5zd1QPGJI muMnsaCC2t6gg8zi62zvGr8QTXzarNhTeMc7lBnOHODVF5y2ayXAtjLsNBT3uVgqlvdZ v+4s+Zgv4rovHKaKOhIUzVgNSoO2lxIU7GGcc5Pp1M4T59kp1uXK4QwORnkB0btS70V+ GUt8qAlHsLFn3eUsmkUyfjuk9pATjo6obNb8bvjHL+1x+qlPRR7Gbqyhc0YOB2NFEbue 7e201+wTY9bSKVwS7oArH791ToMyAcbuFFmpGa2iHOwlPDgWtARAAL4dLCnAABoXFl4R +ZMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=ze42GjjJs8MePXYW6y0qTk/dtq90x5iAWqLaEc2FFnc=; fh=NLxAvL/bDfPg4AGOtxqvQlND8vazkZrNzKLY8+LAbBY=; b=XnvEr14ZC2txhkUE7fk6VoHDvRIDZmx+rX7LahWfsUh/rXQOGeuQP6f8nyn0q2K8MK mj0m918Re2H19sgf28PnhkT4Xmq+TAfCSX9DhpcH4JTul0HYakFEDEArbrtGxtoviNzu I71SIJKKePnumZgEEsyK2+OlsQ5J94L0EhzQCr12BExHkHKppHd9t8QAsHHV7q0u9snf /MstR+dSfdpLmBvYMi425IivBZxl9Yc1VrUy9vC4BDs70Ckmq4bFg4GKiapokT8FusCf ej+BweBTegLIjEFUhokJv7RNrysLIYY6UHaqYVn1l3rsu0EluSrkb2wuv+iGvrSLfdK3 M7VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=gHunZHss; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id b19-20020a05640202d300b0053442d69fedsi1789450edx.362.2023.10.06.10.49.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 10:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=gHunZHss; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8E9643857026 for <ouuuleilei@gmail.com>; Fri, 6 Oct 2023 17:49:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E9643857026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696614590; bh=ze42GjjJs8MePXYW6y0qTk/dtq90x5iAWqLaEc2FFnc=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=gHunZHss3BsLQL8nErIBd+uqpA3p4Df0Xmfiq1aFvqBhBJc4sFRSx+AGYXLhH0Uur 8VdvunYZZVmNcWNUzAVd32HtNLSIvdOO3NZ6T1NKzkZQVNCA53ajFb8WS8duQ2p422 hIVifrdApLsDhBZzZ/NgaK2Itq5IOt5dI56+Rm3o= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id D28073857C40 for <binutils@sourceware.org>; Fri, 6 Oct 2023 17:49:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D28073857C40 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 9CAA82183F for <binutils@sourceware.org>; Fri, 6 Oct 2023 17:49:40 +0000 (UTC) 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 7D49513A2E for <binutils@sourceware.org>; Fri, 6 Oct 2023 17:49:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id XqKWHLRIIGXwQAAAMHmgww (envelope-from <tdevries@suse.de>) for <binutils@sourceware.org>; Fri, 06 Oct 2023 17:49:40 +0000 To: binutils@sourceware.org Subject: [PATCH 0/2] Add name_of_main and language_of_main to the DWARF index Date: Fri, 6 Oct 2023 19:49:40 +0200 Message-Id: <20231006174942.27361-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=-6.3 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 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Tom de Vries via Binutils <binutils@sourceware.org> Reply-To: Tom de Vries <tdevries@suse.de> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779029345171059224 X-GMAIL-MSGID: 1779029345171059224 |
Series |
Add name_of_main and language_of_main to the DWARF index
|
|
Message
Tom de Vries
Oct. 6, 2023, 5:49 p.m. UTC
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