diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-13 01:54:33 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-13 01:54:33 -0400 |
commit | 65f9096890a7bd7a7ea2655dcfb0e0a2589a753b (patch) | |
tree | 5e7776aa2359c1402d4ec1db3be8e7196019c6ed /sim/ft32/interp.c | |
parent | d34f5e83d404d28d6a264fb09ac3cec79bf7bead (diff) | |
download | gdb-65f9096890a7bd7a7ea2655dcfb0e0a2589a753b.zip gdb-65f9096890a7bd7a7ea2655dcfb0e0a2589a753b.tar.gz gdb-65f9096890a7bd7a7ea2655dcfb0e0a2589a753b.tar.bz2 |
sim: ft32: fix ft32_pc_get logic
Diffstat (limited to 'sim/ft32/interp.c')
-rw-r--r-- | sim/ft32/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c index 0666f6c..8306a75 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 |