
GRMON3-UM
June 2019, Version 3.1.0
132
www.cobham.com/gaisler
38. gdb - syntax
NAME
gdb - Control the built in GDB remote server
SYNOPSIS
gdb ?
port
?
gdb stop
gdb status
DESCRIPTION
gdb ?
port
?
Start the built in GDB remote server, optionally listen to the specified port. Default port is 2222.
gdb stop
Stop the built in GDB remote server.
gdb status
Print status
RETURN VALUE
Only the command 'gdb status' has a return value. Upon successful completion gdb status returns a tuple, where
the first value represents the status (0 stopped, 1 connected, 2 waiting for connection) and the second value is
the port number.
SEE ALSO