Next: , Up: Debugger Command Reference   [Contents][Index]


4.1 Command syntax

A GNU Remake debugger command is a single line of input. There is no limit on how long it can be. It starts with a command name, which is followed by arguments whose meaning depends on the command name. For example, the command step accepts an argument which is the number of times to step, as in ‘step 5’. You can also use the step command with no arguments. Some commands do not allow any arguments. In commands that have attributes, the attribute can be abbreviated to the minimum string that makes it unique. For example “commands”in target all commands can be shortened to “command” or “com” or just “c”.

A blank line as input to the GNU Make debugger (typing just RET) means to repeat the previous next or step command.

Any text from a # to the end of the line is a comment; it does nothing. This is useful mainly in command files