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=
"Sparclet%20Connection">Sparclet Connection
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"Sparclet-Download.html#Sparclet%20Download">Sparclet Download
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Sparclet-File.html#Sparclet%20File">Sparclet File
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"Sparclet.html#Sparclet">Sparclet
</a>
19 <h5 class=
"subsubsection">Connecting to Sparclet
</h5>
21 <p>The GDB command
<code>target
</code> lets you connect to a Sparclet target.
22 To connect to a target on serial port
"<code>ttya</code>", type:
24 <pre class=
"example"> (gdbslet) target sparclet /dev/ttya
25 Remote target sparclet connected to /dev/ttya
26 main () at ../prog.c:
3
29 GDB displays messages like these:
31 <pre class=
"example"> Connected to ttya.