3 <title>Debugging with GDB
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Debugging with GDB">
6 <meta name=
"generator" content=
"makeinfo 4.3">
7 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home">
12 Node:
<a name=
"ST2000">ST2000
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"Z8000.html#Z8000">Z8000
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Sparclite.html#Sparclite">Sparclite
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"Embedded-Processors.html#Embedded%20Processors">Embedded Processors
</a>
19 <h4 class=
"subsection">Tandem ST2000
</h4>
21 GDB may be used with a Tandem ST2000 phone switch, running Tandem's
24 <p>To connect your ST2000 to the host system, see the manufacturer's
25 manual. Once the ST2000 is physically attached, you can run:
27 <pre class=
"example"> target st2000
<var>dev
</var> <var>speed
</var>
30 <p>to establish it as your debugging environment.
<var>dev
</var> is normally
31 the name of a serial device, such as
<code>/dev/ttya
</code>, connected to the
32 ST2000 via a serial line. You can instead specify
<var>dev
</var> as a TCP
33 connection (for example, to a serial line attached via a terminal
34 concentrator) using the syntax
<code></code><var>hostname
</var><code>:
</code><var>portnumber
</var><code></code>.
36 <p>The
<code>load
</code> and
<code>attach
</code> commands are
<em>not
</em> defined for
37 this target; you must load your program into the ST2000 as you normally
38 would for standalone operation. GDB reads debugging information
39 (such as symbols) from a separate, debugging version of the program
40 available on your host computer.
42 <p>These auxiliary GDB commands are available to help you with the ST2000
46 <dt><code>st2000
</code><var>command
</var><code></code>
47 <dd>Send a
<var>command
</var> to the STDBUG monitor. See the manufacturer's
48 manual for available commands.
50 <br><dt><code>connect
</code>
51 <dd>Connect the controlling terminal to the STDBUG command monitor. When
52 you are done interacting with STDBUG, typing either of two character
53 sequences gets you back to the GDB command prompt:
54 <kbd><RET
>~.
</kbd> (Return, followed by tilde and period) or
55 <kbd><RET
>~
<C-d
></kbd> (Return, followed by tilde and control-D).