Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nils-Christian Kempke via Gdb-patches <gdb-patches@sourceware.org>
To: gdb-patches@sourceware.org
Cc: tom@tromey.com
Subject: [PATCH v4 0/2] Handle unnamed template tags in GDB
Date: Wed, 24 Aug 2022 11:18:56 +0200	[thread overview]
Message-ID: <20220824091858.1255517-1-nils-christian.kempke@intel.com> (raw)

Hi,

please find attached v4 of this series.

v1:
https://sourceware.org/pipermail/gdb-patches/2022-July/190574.html
v2:
https://sourceware.org/pipermail/gdb-patches/2022-August/191210.html
v3:
https://sourceware.org/pipermail/gdb-patches/2022-August/191511.html

Changes since v3 incorporate Tom's comments here:
https://sourceware.org/pipermail/gdb-patches/2022-August/191516.html

Patch 1:
  * No changes
Patch 2:
  * Changed assert and removed nullptr check from while loop condition in
  unnamed_template_tag_name.
  * Use objfile::intern over obstack_strndup.

Thanks!

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                             |  45 ++++-
 .../missing-type-name-for-templates.cc        |  58 ++++++
 .../missing-type-name-for-templates.exp       | 170 ++++++++++++++++++
 gdb/testsuite/lib/dwarf.exp                   |  12 +-
 4 files changed, 280 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 <http://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


             reply	other threads:[~2022-08-24  9:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  9:18 Nils-Christian Kempke via Gdb-patches [this message]
2022-08-24  9:18 ` [PATCH v4 1/2] gdb, testsuite: adapt function_range expected name Nils-Christian Kempke via Gdb-patches
2022-08-24  9:18 ` [PATCH v4 2/2] gdb, dwarf: create symbols for template tags without names Nils-Christian Kempke via Gdb-patches
2022-08-25 14:05   ` Bruno Larsen via Gdb-patches
2022-08-26  7:10     ` Kempke, Nils-Christian via Gdb-patches
2022-08-30 17:52 ` [PATCH v4 0/2] Handle unnamed template tags in GDB Tom Tromey
2022-08-31  8:27   ` Kempke, Nils-Christian via Gdb-patches

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=20220824091858.1255517-1-nils-christian.kempke@intel.com \
    --to=gdb-patches@sourceware.org \
    --cc=nils-christian.kempke@intel.com \
    --cc=tom@tromey.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