Chapter 6: Using Macros and Command Files
Using Command Files
To use the debugger in batch mode
• Use the -b and -c command_file options to the db68k command when starting
the debugger.
When using the debugger in batch mode, stdin, stdout, and stderr are disabled.
The -b option must be accompanied by the -c option and a debugger command
file. All commands are read from the command file. No user interaction with
the debugger is allowed. In batch mode, the debugger can be executed as a
background process. This mode is commonly used for automatic testing.
Example
$ db68k -b -c <command_file>
211