From 05f53ed611f0f7442f2b3a12b2829a18db6c2b59 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 24 Mar 2015 02:41:51 -0400 Subject: sim: m68hc11/mips/mn10300/v850: add basic sim_pc_get The previous profile change broke these sims that use sim-profile but not sim-cpu (due to missing model support). Add simple funcs until we can convert these over properly. --- sim/mips/ChangeLog | 4 ++++ sim/mips/interp.c | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'sim/mips') diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 996144d..cf2c8cc 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,5 +1,9 @@ 2015-03-24 Mike Frysinger + * interp.c (sim_pc_get): New function. + +2015-03-24 Mike Frysinger + * sim-main.h (SIM_HAVE_BIENDIAN): Delete. * tconfig.h (SIM_HAVE_BIENDIAN): Delete. diff --git a/sim/mips/interp.c b/sim/mips/interp.c index 2491fcd..b382455 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -1093,6 +1093,11 @@ sim_fetch_register (sd,rn,memory,length) return 0; } +sim_cia +sim_pc_get (sim_cpu *cpu) +{ + return PC; +} SIM_RC sim_create_inferior (sd, abfd, argv,env) -- cgit v1.1