diff options
-rw-r--r-- | sim/ft32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ft32/interp.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog index 5caf31adb86..2ae6060e205 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -1,3 +1,7 @@ +2015-04-13 Mike Frysinger <vapier@gentoo.org> + + * interp.c (ft32_pc_get): Return the pc value. + 2015-04-12 Mike Frysinger <vapier@gentoo.org> * interp.c (sim_read, sim_write): Delete. diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c index 0666f6c4cb8..8306a757e7b 100644 --- a/sim/ft32/interp.c +++ b/sim/ft32/interp.c @@ -758,7 +758,7 @@ ft32_reg_fetch (SIM_CPU *cpu, static sim_cia ft32_pc_get (SIM_CPU *cpu) { - return 32; + return cpu->state.pc; } static void |