Contents|Index|Previous|Next

GDB with a Tandem ST2000

To connect your ST2000 to the host system, see the manufacturer’s manual. Once ST2000 is physically attached, you can run target st2000 dev speed to establish it as your debugging environment.

dev is normally the name of a serial device, such as /dev/ttya, connected to the ST2000 via a serial line. You can instead specify dev as a TCP connection (for example, to a serial line attached via a terminal concentrator) using the syntax, hostname:portnumber.

The load and attach commands are not defined for this target; you must load your program into the ST2000 as you normally would for standalone operation. GDB reads debugging information (such as symbols) from a separate, debugging version of the program available on your host computer.

The following auxiliary GDB commands are available to help you with the ST2000 environment:

st2000 command
Send a command to the STDBUG monitor. See the manufacturer’s manual for available commands.

connect
Connect the controlling terminal to the STDBUG command monitor. When you are done interacting with STDBUG, typing either of two keystroke sequences gets you back to the GDB command prompt: using the Return key, then the tilde key (˜),and then the period (.) key; or the Return key, the tilde key, and then, simultaneously, the Control and uppercase D keys).