www.delorie.com/gnu/docs/gdb/gdb_153.html   search  
 
Buy the book!


Debugging with GDB

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.3.2 Hitachi H8/300

target hms dev
A Hitachi SH, H8/300, or H8/500 board, attached via serial line to your host. Use special commands device and speed to control the serial line and the communications speed used.

target e7000 dev
E7000 emulator for Hitachi H8 and SH.

target sh3 dev
target sh3e dev
Hitachi SH-3 and SH-3E target systems.

When you select remote debugging to a Hitachi SH, H8/300, or H8/500 board, the load command downloads your program to the Hitachi board and also opens it as the current executable target for GDB on your host (like the file command).

GDB needs to know these things to talk to your Hitachi SH, H8/300, or H8/500:

  1. that you want to use `target hms', the remote debugging interface for Hitachi microprocessors, or `target e7000', the in-circuit emulator for the Hitachi SH and the Hitachi 300H. (`target hms' is the default when GDB is configured specifically for the Hitachi SH, H8/300, or H8/500.)

  2. what serial device connects your host to your Hitachi board (the first serial device available on your host is the default).

  3. what speed to use over the serial device.

18.3.2.1 Connecting to Hitachi boards  
18.3.2.2 Using the E7000 in-circuit emulator  Using the E7000 In-Circuit Emulator.
18.3.2.3 Special GDB commands for Hitachi micros  


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003