External programs and GDB Debugger
The "Run a program before debugging" option in Remote GDB Debugger options allows to automatically run a program (such as a debugging server) when starting a debugging session. If you enable it, the following options become available:
Command line
%i: input file name from the Process options dialog %p: port number from the Process options dialog %e: file name of a temporary ELF file created from the database contents Initial SP
Choose a configuration
Memory map
One use of these options is to debug small code snippets using the QEMU emulator.
See also
Last updated