aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-08 21:52:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-08 21:52:50 +0000
commit289541793e83d187b77c4897b30057ca90baeebd (patch)
treecb3c3430747e7a33830b1fb844dc2fc528b041f3 /gdb/infcall.c
parent434b87dd7b401286a3ebddac38846833d419e1df (diff)
downloadgdb-289541793e83d187b77c4897b30057ca90baeebd.zip
gdb-289541793e83d187b77c4897b30057ca90baeebd.tar.gz
gdb-289541793e83d187b77c4897b30057ca90baeebd.tar.bz2
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete references to DEPRECATED_FIX_CALL_DUMMY. 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete. * gdbarch.h, gdbarch.c: Re-generate. * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated_fix_call_dummy. * v850-tdep.c (v850_gdbarch_init): Ditto. * infcall.c (call_function_by_hand): Do not call DEPRECATED_FIX_CALL_DUMMY.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 4d1f1c7..4985884 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -451,18 +451,6 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
}
break;
case AT_ENTRY_POINT:
- if (DEPRECATED_FIX_CALL_DUMMY_P ()
- && !gdbarch_push_dummy_call_p (current_gdbarch))
- {
- /* Sigh. Some targets use DEPRECATED_FIX_CALL_DUMMY to
- shove extra stuff onto the stack or into registers. That
- code should be in PUSH_DUMMY_CALL, however, in the mean
- time ... */
- /* If the target is manipulating DUMMY1, it looses big time. */
- void *dummy1 = NULL;
- DEPRECATED_FIX_CALL_DUMMY (dummy1, sp, funaddr, nargs, args,
- value_type, using_gcc);
- }
real_pc = funaddr;
dummy_addr = entry_point_address ();
/* Make certain that the address points at real code, and not a