]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Mark Pascal as case-insensitive
authorTom Tromey <tromey@adacore.com>
Thu, 13 Nov 2025 16:26:58 +0000 (09:26 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 14 Nov 2025 19:05:13 +0000 (12:05 -0700)
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
Approved-By: Tom de Vries <tdevries@suse.de>
gdb/p-lang.h

index 87430bad13c2e56dbfef4e2bfea5f302e0263060..f3bb329bc02e5adc18fb28ae90856ebcbd3d1455 100644 (file)
@@ -154,6 +154,9 @@ public:
   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