Next: , Previous: M2 Types, Up: Modula-2


15.4.9.5 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. See Having gdb Infer the Source Language, for further details.