diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-24 02:41:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-24 02:43:42 -0400 |
commit | 05f53ed611f0f7442f2b3a12b2829a18db6c2b59 (patch) | |
tree | a3e98a71c3528211ab703b7dfc43232423cdeab6 /sim/mn10300 | |
parent | 282c9750306eb544f65cfed5665eee2b84c7c770 (diff) | |
download | gdb-05f53ed611f0f7442f2b3a12b2829a18db6c2b59.zip gdb-05f53ed611f0f7442f2b3a12b2829a18db6c2b59.tar.gz gdb-05f53ed611f0f7442f2b3a12b2829a18db6c2b59.tar.bz2 |
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.
Diffstat (limited to 'sim/mn10300')
-rw-r--r-- | sim/mn10300/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mn10300/interp.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index cf8a025..726399c 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,5 +1,9 @@ 2015-03-24 Mike Frysinger <vapier@gentoo.org> + * interp.c (sim_pc_get): New function. + +2015-03-24 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. 2015-03-23 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c index 577cc7a..37f6f24 100644 --- a/sim/mn10300/interp.c +++ b/sim/mn10300/interp.c @@ -396,6 +396,11 @@ sim_store_register (SIM_DESC sd, return length; } +sim_cia +sim_pc_get (sim_cpu *cpu) +{ + return PC; +} void mn10300_core_signal (SIM_DESC sd, |