diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-31 14:20:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-31 14:20:31 +0000 |
commit | 6a65450a7c2eb58268a274726106cf8b1ca0aaa9 (patch) | |
tree | 7d3622095bafa6c5c5a5d6f82a15c7010a7cb7ba /gdb/infcall.c | |
parent | c4f35dd8e1037d2a8e1aa11894cb67de96279bfa (diff) | |
download | gdb-6a65450a7c2eb58268a274726106cf8b1ca0aaa9.zip gdb-6a65450a7c2eb58268a274726106cf8b1ca0aaa9.tar.gz gdb-6a65450a7c2eb58268a274726106cf8b1ca0aaa9.tar.bz2 |
2003-05-31 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename
"dummy_addr" to "bp_addr".
* infcall.c (call_function_by_hand): Pass "funaddr" to
gdbarch_push_dummy_call.
* gdbarch.h, gdbarch.c: Re-generate.
* i386-tdep.c (i386_push_dummy_call): Update.
* arm-tdep.c (arm_push_dummy_call): Update.
* d10v-tdep.c (d10v_push_dummy_call): Update.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index a4ad896..82c18ae 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -747,7 +747,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name); /* When there is no push_dummy_call method, should this code simply error out. That would the implementation of this method for all ABIs (which is probably a good thing). */ - sp = gdbarch_push_dummy_call (current_gdbarch, current_regcache, + sp = gdbarch_push_dummy_call (current_gdbarch, funaddr, current_regcache, bp_addr, nargs, args, sp, struct_return, struct_addr); else if (DEPRECATED_PUSH_ARGUMENTS_P ()) |