diff options
author | Kevin Buettner <kevinb@redhat.com> | 2010-09-23 23:42:53 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2010-09-23 23:42:53 +0000 |
commit | be380a3ea061110105f734192593b3e5472f3941 (patch) | |
tree | 149d4ddf302e28b5c0d34a1126f5f0f50211f044 /sim/rx/load.c | |
parent | 6607c80d6babc6e7cad8727c48069d11152d9aa7 (diff) | |
download | fsf-binutils-gdb-be380a3ea061110105f734192593b3e5472f3941.zip fsf-binutils-gdb-be380a3ea061110105f734192593b3e5472f3941.tar.gz fsf-binutils-gdb-be380a3ea061110105f734192593b3e5472f3941.tar.bz2 |
* cpu.h (reset_decoder): Declare.
* load.c (rx_load): Call `reset_decoder'.
* rx.c (reset_decoder): New function.
Diffstat (limited to 'sim/rx/load.c')
-rw-r--r-- | sim/rx/load.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/rx/load.c b/sim/rx/load.c index bea9baa..bcd8d82 100644 --- a/sim/rx/load.c +++ b/sim/rx/load.c @@ -142,6 +142,8 @@ rx_load (bfd *prog) heaptop = heapbottom = 0; } + reset_decoder (); + if (verbose > 1) fprintf (stderr, "[start pc=%08x %s]\n", (unsigned int) regs.r_pc, |