sim: ft32: fix ft32_pc_get logic

This commit is contained in:
Mike Frysinger 2015-04-13 01:54:33 -04:00
parent d34f5e83d4
commit 65f9096890
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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