diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-10 17:39:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-10 17:39:28 +0000 |
commit | 9a1dd1ad41602fc94cf9c2192b795623f68777e6 (patch) | |
tree | c2ecdff5aa6c48c30d8d3cfc237c137199d64aee /gdb/infcall.c | |
parent | fea251526d32dc0bbcc7769c20daf2db3b5d9dac (diff) | |
download | gdb-9a1dd1ad41602fc94cf9c2192b795623f68777e6.zip gdb-9a1dd1ad41602fc94cf9c2192b795623f68777e6.tar.gz gdb-9a1dd1ad41602fc94cf9c2192b795623f68777e6.tar.bz2 |
2004-06-10 Andrew Cagney <cagney@gnu.org>
* ns32k-tdep.c (ns32k_push_arguments): New function.
(ns32k_gdbarch_init): Set deprecated_push_arguments.
* infcall.c (call_function_by_hand): Call error instead of
legacy_push_arguments.
* value.h (legacy_push_arguments): Delete declaration.
* valops.c (legacy_push_arguments): Delete function.
(value_push): Delete function.
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 7f0a118..ce3f254 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -669,7 +669,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name); sp = DEPRECATED_PUSH_ARGUMENTS (nargs, args, sp, struct_return, struct_addr); else - sp = legacy_push_arguments (nargs, args, sp, struct_return, struct_addr); + error ("This target does not support function calls"); if (DEPRECATED_PUSH_RETURN_ADDRESS_P ()) /* for targets that use no CALL_DUMMY */ |