diff options
author | Steve Chamberlain <sac@cygnus> | 1993-01-03 22:19:42 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-01-03 22:19:42 +0000 |
commit | 191395156c25bce7915660307c78708269ff6c0f (patch) | |
tree | 997093535ad84b69b1ea353ea1d6b6b1085229ae /sim/h8300/run.c | |
parent | 1188fbbf2762a9692c6f4756d2c8984c01c4fa23 (diff) | |
download | gdb-191395156c25bce7915660307c78708269ff6c0f.zip gdb-191395156c25bce7915660307c78708269ff6c0f.tar.gz gdb-191395156c25bce7915660307c78708269ff6c0f.tar.bz2 |
* p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
running
Diffstat (limited to 'sim/h8300/run.c')
-rw-r--r-- | sim/h8300/run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/h8300/run.c b/sim/h8300/run.c index c42c8e7..1673227 100644 --- a/sim/h8300/run.c +++ b/sim/h8300/run.c @@ -57,7 +57,6 @@ char **av; printf("run %s\n", name); } abfd = bfd_openr(name,"coff-h8300"); - if (abfd) { if (bfd_check_format(abfd, bfd_object)) @@ -71,7 +70,8 @@ char **av; } start_address = bfd_get_start_address(abfd); - sim_store_register(start_address); + sim_store_register( + 9,start_address); sim_resume(0,0); return 0; } |