Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: Tom de Vries <tdevries@suse.de>
Cc: Tom Tromey <tromey@adacore.com>,  gdb-patches@sourceware.org
Subject: Re: [PATCH] Mark Pascal as case-insensitive
Date: Fri, 14 Nov 2025 12:08:26 -0700	[thread overview]
Message-ID: <87ecq0whxx.fsf@tromey.com> (raw)
In-Reply-To: <fc780ec4-3a9b-4c95-9a8b-a3d998f8afcf@suse.de> (Tom de Vries's message of "Fri, 14 Nov 2025 13:59:07 +0100")

Tom> FWIW, I just found DW_AT_identifier_case:
Tom> ...
Tom>  <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
Tom>     <c>   DW_AT_name        :
Tom>     ../../../../src/gdb/testsuite/gdb.pascal/hello.pas
Tom>     <3f>   DW_AT_producer    : Free Pascal 3.2.2 2025/09/10
Tom>     <5c>   DW_AT_comp_dir    :
Tom>     /data/vries/gdb/leap-16-0/build/gdb/testsuite/
Tom>     <8b>   DW_AT_language    : 9        (ANSI Pascal)
Tom>     <8c>   DW_AT_identifier_case: 3     (case_insensitive)
Tom>     <8d>   DW_AT_stmt_list   : 0
Tom>     <91>   DW_AT_low_pc      : 0x401090
Tom>     <99>   DW_AT_high_pc     : 0x401150
Tom> ...
Tom> which enables a finer granularity.  We currently don't support this,
Tom> but I'm not sure if that's a relevant feature.

I also didn't know about this.

We could probably handle this in gdb, maybe by enhancing the
canonicalization step, though other approaches are possible.

Tom

  reply	other threads:[~2025-11-14 19:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-13 16:28 Tom Tromey
2025-11-14 11:41 ` Tom de Vries
2025-11-14 12:59   ` Tom de Vries
2025-11-14 19:08     ` Tom Tromey [this message]
2025-11-14 22:02       ` Paul Koning
2025-11-15  2:30         ` Maciej W. Rozycki
2025-11-17 15:03           ` Tom Tromey

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=87ecq0whxx.fsf@tromey.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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