aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index 577d819..785436c 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -199,7 +199,6 @@ const struct exp_descriptor exp_descriptor_modula2 =
extern const struct language_data m2_language_data =
{
- range_check_on,
case_sensitive_on,
array_row_major,
macro_expansion_no,
@@ -444,6 +443,11 @@ public:
char string_lower_bound () const override
{ return 0; }
+
+ /* See language.h. */
+
+ bool range_checking_on_by_default () const override
+ { return true; }
};
/* Single instance of the M2 language. */