Next: Value Annotations, Previous: Migrating to GDB/MI, Up: Top [Contents]
To issue a command to GDB without affecting certain aspects of the state which is seen by users, prefix it with ‘server ’. This means that this command will not affect the command history, nor will it affect GDB’s notion of which command to repeat if RET is pressed on a line by itself.
The server prefix does not affect the recording of values into the value
history; to print a value without recording it into the value history,
use the output
command instead of the print
command.