Some commands are available only on the H8/300 or the H8/500 configurations:
set machine h8300
set machine h8300h
set memory mod
show memory
small
,
big
, medium
, and compact
.
target sim
After specifying this target, you can debug programs for the simulated
CPU in the same style as programs for your host computer; use the
file
command to load a new program image, the run
command
to run your program, and so on.
As well as making available all the usual machine registers (see
info reg
), this debugging target provides three additional items
of information as specially named registers:
cycles
insts
time
You can refer to these values in expressions with the usual conventions; for example, `b fputc if $cycles>5000' sets a conditional breakpoint that suspends only after at least 5000 simulated clock ticks.
Go to the first, previous, next, last section, table of contents.