sim: ft32: fix ft32_pc_get logic
This commit is contained in:
parent
d34f5e83d4
commit
65f9096890
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue