Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Mark Pascal as case-insensitive
@ 2025-11-13 16:28 Tom Tromey
  2025-11-14 11:41 ` Tom de Vries
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Tromey @ 2025-11-13 16:28 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

The Pascal language is not case-sensitive, so implement the
appropriate language method.  This fixes gdb.pascal failures with
-gw3.

I wasn't sure if -gw3 should be the default so I've left it as-is.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33617
---
 gdb/p-lang.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gdb/p-lang.h b/gdb/p-lang.h
index 87430bad13c..f3bb329bc02 100644
--- a/gdb/p-lang.h
+++ b/gdb/p-lang.h
@@ -154,6 +154,9 @@ class pascal_language : public language_defn
   bool range_checking_on_by_default () const override
   { return true; }
 
+  enum case_sensitivity case_sensitivity () const override
+  { return case_sensitive_off; }
+
 private:
 
   /* Print the character C on STREAM as part of the contents of a literal

base-commit: a85f1da7a82fef8c74737089b5845bfd2d97996c
-- 
2.51.1


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

end of thread, other threads:[~2025-11-17 15:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-13 16:28 [PATCH] Mark Pascal as case-insensitive 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
2025-11-14 22:02       ` Paul Koning
2025-11-15  2:30         ` Maciej W. Rozycki
2025-11-17 15:03           ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox