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=
"H8%2f300">H8/
300</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"H8-500.html#H8%2f500">H8/
500</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"ARM.html#ARM">ARM
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"Embedded-Processors.html#Embedded%20Processors">Embedded Processors
</a>
19 <h4 class=
"subsection">Hitachi H8/
300</h4>
23 <br><dt><code>target hms
</code><var>dev
</var><code></code>
24 <dd>A Hitachi SH, H8/
300, or H8/
500 board, attached via serial line to your host.
25 Use special commands
<code>device
</code> and
<code>speed
</code> to control the serial
26 line and the communications speed used.
28 <br><dt><code>target e7000
</code><var>dev
</var><code></code>
29 <dd>E7000 emulator for Hitachi H8 and SH.
31 <br><dt><code>target sh3
</code><var>dev
</var><code></code>
32 <dd><dt><code>target sh3e
</code><var>dev
</var><code></code>
33 <dd>Hitachi SH-
3 and SH-
3E target systems.
37 <p>When you select remote debugging to a Hitachi SH, H8/
300, or H8/
500
38 board, the
<code>load
</code> command downloads your program to the Hitachi
39 board and also opens it as the current executable target for
40 GDB on your host (like the
<code>file
</code> command).
42 GDB needs to know these things to talk to your
43 Hitachi SH, H8/
300, or H8/
500:
46 <li>that you want to use
<code>target hms
</code>, the remote debugging interface
47 for Hitachi microprocessors, or
<code>target e7000
</code>, the in-circuit
48 emulator for the Hitachi SH and the Hitachi
300H. (
<code>target hms
</code> is
49 the default when GDB is configured specifically for the Hitachi SH,
52 <li>what serial device connects your host to your Hitachi board (the first
53 serial device available on your host is the default).
55 <li>what speed to use over the serial device.
59 <li><a accesskey=
"1" href=
"Hitachi-Boards.html#Hitachi%20Boards">Hitachi Boards
</a>: Connecting to Hitachi boards.
60 <li><a accesskey=
"2" href=
"Hitachi-ICE.html#Hitachi%20ICE">Hitachi ICE
</a>: Using the E7000 In-Circuit Emulator.
61 <li><a accesskey=
"3" href=
"Hitachi-Special.html#Hitachi%20Special">Hitachi Special
</a>: Special GDB commands for Hitachi micros.