public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/30115] New: Investigate use of case-folding in cooked-index
@ 2023-02-12 16:17 tromey at sourceware dot org
  2023-02-12 16:17 ` [Bug symtab/30115] " tromey at sourceware dot org
  2023-08-31 13:45 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-02-12 16:17 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30115

            Bug ID: 30115
           Summary: Investigate use of case-folding in cooked-index
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

Right now the cooked index does case-insensitive comparisons.
But is this really needed?

I think there are a few case-insensitive languages in gdb.

GNAT already case-folds all symbol names.  In fact, due to the
way GNAT encodes non-ASCII characters, case-folding in the index
might mean that you could construct a situation where symbol
lookup finds the wrong thing.

I haven't looked to see what Pascal, Modula-2, or Fortran do.

However, for those, one option might be to do the folding as
a canonicalization step.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug symtab/30115] Investigate use of case-folding in cooked-index
  2023-02-12 16:17 [Bug symtab/30115] New: Investigate use of case-folding in cooked-index tromey at sourceware dot org
@ 2023-02-12 16:17 ` tromey at sourceware dot org
  2023-08-31 13:45 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-02-12 16:17 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30115

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |29366


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=29366
[Bug 29366] [meta] New DWARF indexer meta bug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug symtab/30115] Investigate use of case-folding in cooked-index
  2023-02-12 16:17 [Bug symtab/30115] New: Investigate use of case-folding in cooked-index tromey at sourceware dot org
  2023-02-12 16:17 ` [Bug symtab/30115] " tromey at sourceware dot org
@ 2023-08-31 13:45 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-08-31 13:45 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30115

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Actually, this is needed to handle "set case-sensitive off".
It might also be needed so that Ada users can print C
globals without trying to get the case correct (though in
a brief test I couldn't get that working).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-31 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12 16:17 [Bug symtab/30115] New: Investigate use of case-folding in cooked-index tromey at sourceware dot org
2023-02-12 16:17 ` [Bug symtab/30115] " tromey at sourceware dot org
2023-08-31 13:45 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).