C Defaults (Debugging with ROCGDB)

Next: C Checks, Previous: C Plus Plus Expressions, Up: C [Contents][Index]

#### 15.4.1.4 C and C`++` Defaults

If you allow ROCGDB to set range checking automatically, it defaults to `off` whenever the working language changes to C or C`++`. This happens regardless of whether you or ROCGDB selects the working language.

If you allow ROCGDB to set the language automatically, it recognizes source files whose names end with `.c`, `.C`, or `.cc`, etc, and when ROCGDB enters code compiled from one of these files, it sets the working language to C or C`++`. See Having ROCGDB Infer the Source Language, for further details.