From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id CmZMID70BGPSFSwAWB0awg (envelope-from ) for ; Tue, 23 Aug 2022 11:37:34 -0400 Received: by simark.ca (Postfix, from userid 112) id 7C5A61E4A7; Tue, 23 Aug 2022 11:37:34 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=aP/VL3VI; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2F60A1E13B for ; Tue, 23 Aug 2022 11:37:34 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B5A9138582BE for ; Tue, 23 Aug 2022 15:37:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5A9138582BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661269053; bh=HPcixmAc0tkUS7ox3i42x0KyjjG5qmBtFQwxgC0YELM=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=aP/VL3VIfRZqRodM9Tz+Y6PoJW7sm3+iMamrXIeidI9hPAK/Y0iR03bKxH4qQcP2m lAaF65eQ9HZsapq6D0AQMwiekloduOZhziMCVaqfIGaA1YxFuE4ZxTJc9nekj1yEZa 2T1jZobwW4cxdCLPZ+15isoJCuIUs3FH+e0tHyGY= Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by sourceware.org (Postfix) with ESMTPS id 704CB3858D32 for ; Tue, 23 Aug 2022 15:37:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 704CB3858D32 X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="295003996" X-IronPort-AV: E=Sophos;i="5.93,258,1654585200"; d="scan'208";a="295003996" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 08:37:13 -0700 X-IronPort-AV: E=Sophos;i="5.93,258,1654585200"; d="scan'208";a="609391585" Received: from labpcdell3650-003.iul.intel.com (HELO localhost) ([172.28.49.87]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 08:37:12 -0700 To: gdb-patches@sourceware.org Subject: [PATCH v3 0/2] Handle unnamed template tags in GDB Date: Tue, 23 Aug 2022 17:36:54 +0200 Message-Id: <20220823153656.1235982-1-nils-christian.kempke@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Nils-Christian Kempke via Gdb-patches Reply-To: Nils-Christian Kempke Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Hi! please find attached version 3 of this series, originally posted here: https://sourceware.org/pipermail/gdb-patches/2022-July/190574.html and v2 here https://sourceware.org/pipermail/gdb-patches/2022-August/191210.html Changes since version 2 are incorporating Bruno's comments: Patch 1: * Adapted comit message and comment in dwarf.exp Patch 2: * No changes. I tested v3 against regressions on Ubuntu 20 and with the boards unix, unix/-m32, native-gdbserver, native-extended-gdbserver. Cheers, Nils Nils-Christian Kempke (2): gdb, testsuite: adapt function_range expected name gdb, dwarf: create symbols for template tags without names gdb/dwarf2/read.c | 46 ++++- .../missing-type-name-for-templates.cc | 58 ++++++ .../missing-type-name-for-templates.exp | 170 ++++++++++++++++++ gdb/testsuite/lib/dwarf.exp | 12 +- 4 files changed, 281 insertions(+), 5 deletions(-) create mode 100644 gdb/testsuite/gdb.dwarf2/missing-type-name-for-templates.cc create mode 100644 gdb/testsuite/gdb.dwarf2/missing-type-name-for-templates.exp -- 2.25.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928