diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-15 22:42:22 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-15 22:42:22 +0000 |
commit | f0423c39d51224e4becfaed021a1ac0536242415 (patch) | |
tree | 7a04bbd96e592e370ad66addf30f747d12617f76 /gdb/cris-tdep.c | |
parent | 92299d021575b0ab79e63c7e5ba30460055bcbe7 (diff) | |
download | gdb-f0423c39d51224e4becfaed021a1ac0536242415.tar.gz |
* gdbarch.sh (push_dummy_code): Add REGCACHE argument.
* gdbarch.c, gdbarch.h: Regenerate.
* infcall.c (generic_push_dummy_code): Add REGCACHE argument.
(push_dummy_code): Likewise. Pass it to callee.
(call_function_by_hand): Pass current regcache to push_dummy_code.
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE
argument. Use it instead of current_regcache.
* cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument.
* sparc-tdep.c (sparc32_push_dummy_code): Likewise.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 4af47260fd1..039e24f1fdd 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -868,7 +868,8 @@ cris_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp, CORE_ADDR funaddr, int using_gcc, struct value **args, int nargs, struct type *value_type, - CORE_ADDR *real_pc, CORE_ADDR *bp_addr) + CORE_ADDR *real_pc, CORE_ADDR *bp_addr, + struct regcache *regcache) { /* Allocate space sufficient for a breakpoint. */ sp = (sp - 4) & ~3; |