m3gdb(1) m3gdb(1)
Name
m3gdb - The GNU Debugger, with Modula-3 support
Description
m3gdb is a modified version of gdb(1) with support for the Modula-3
language.
If the current language is m3 (in the gdb sense), then all expressions
are interpreted using the Modula-3 syntax. All values which have a
Modula-3 type are printed according to that type. gdb does not have a
concept of statement, only expressions. Accordingly, m3gdb treats
assignment statements and calls on proper procedures as "expressions".
In addition, m3gdb supports two new commands. The command threads
lists the threads that exist in the program, with the first thread
being the most recently active one. The command switch n switches the
current context to the thread identified as n, by the threads command.
If you use the switch command, you must use it again to switch back to
the thread that was interrupted before you can continue the execution
of the program (i.e. the first thread listed by the threads command).
If the switch command is interrupted, the state of m3gdb is essentially
random and most likely to cause a core dump. The current language must
be m3 for the threads and switch commands to work.
gdb(1), the gdb documentation under info.
Bugs
Many. Please send bug reports to rodney.bates@wichita.edu.
This release of m3gdb is based on gdb 6.4.
Real numbers are not parsed properly.
The comparison operators (other than =), VAL, &, IN do not work.
The = operator does not work on open arrays.
Eric Muller Antony Hosking Rodney Bates
m3gdb(1)