summaryrefslogtreecommitdiffstats
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-09-02 19:02:46 +0000
committerMark Kettenis <kettenis@gnu.org>2005-09-02 19:02:46 +0000
commita86c5fc9d872cff24a45c4e19f4cf1e8c9df4c16 (patch)
tree19950754d0d68d5185c5578c189b03249cb6f842 /gdb/gdbarch.sh
parentc66a62d36f92801c767d0f8e36119a32783d6201 (diff)
downloadppe42-binutils-a86c5fc9d872cff24a45c4e19f4cf1e8c9df4c16.tar.gz
ppe42-binutils-a86c5fc9d872cff24a45c4e19f4cf1e8c9df4c16.zip
* infcall.c (call_function_by_hand): Remove code handling
deprecated_push_arguments. Bail out early if push_dummy_call isn't available. * gdbarch.sh (deprecated_push_arguments): Delete. Adjust a few comments accordingly. * gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index a0a6a41433..fdbc70b297 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -469,11 +469,8 @@ M::struct frame_id:unwind_dummy_id:struct frame_info *info:info
# DEPRECATED_FP_REGNUM.
v:=:int:deprecated_fp_regnum:::-1:-1::0
-# See gdbint.texinfo. See infcall.c. New, all singing all dancing,
-# replacement for DEPRECATED_PUSH_ARGUMENTS.
+# See gdbint.texinfo. See infcall.c.
M::CORE_ADDR:push_dummy_call:struct value *function, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr:function, regcache, bp_addr, nargs, args, sp, struct_return, struct_addr
-# PUSH_DUMMY_CALL is a direct replacement for DEPRECATED_PUSH_ARGUMENTS.
-F:=:CORE_ADDR:deprecated_push_arguments:int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr:nargs, args, sp, struct_return, struct_addr
# DEPRECATED_REGISTER_SIZE can be deleted.
v:=:int:deprecated_register_size
v:=:int:call_dummy_location::::AT_ENTRY_POINT::0
@@ -501,7 +498,7 @@ f:=:CORE_ADDR:pointer_to_address:struct type *type, const gdb_byte *buf:type, bu
f:=:void:address_to_pointer:struct type *type, gdb_byte *buf, CORE_ADDR addr:type, buf, addr::unsigned_address_to_pointer::0
M::CORE_ADDR:integer_to_address:struct type *type, const gdb_byte *buf:type, buf
#
-# NOTE: cagney/2003-03-24: Replaced by PUSH_ARGUMENTS.
+# NOTE: kettenis/2005-09-01: Replaced by PUSH_DUMMY_CALL.
F:=:void:deprecated_store_struct_return:CORE_ADDR addr, CORE_ADDR sp:addr, sp
# It has been suggested that this, well actually its predecessor,
OpenPOWER on IntegriCloud