gdb.info: M2 Defaults

Go forward to Deviations
Go backward to M2 Constants
Go up to Modula-2
Go to the top op gdb

Modula-2 defaults

If type and range checking are set automatically by GDB, they both
default to `on' whenever the working language changes to Modula-2.
This happens regardless of whether you or GDB selected the working
language.
   If you allow GDB to set the language automatically, then entering
code compiled from a file whose name ends with `.mod' sets the working
language to Modula-2.  *Note Having GDB set the language automatically:
Automatically, for further details.