aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-08 15:52:15 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-08 15:52:15 +0000
commit7553697134cacb97241a15150cf11ac90c572f67 (patch)
treeb326e9b69e6101857cd4b24fe5b9bc4277fc5b92 /gdb/m68k-tdep.c
parent3f980e41d7770c22ca8a2632d76a69443c4f190e (diff)
downloadgdb-7553697134cacb97241a15150cf11ac90c572f67.zip
gdb-7553697134cacb97241a15150cf11ac90c572f67.tar.gz
gdb-7553697134cacb97241a15150cf11ac90c572f67.tar.bz2
* m68k-tdep.c (m68k_frameless_function_invocation): Remove
function. (m68k_gdbarch_init): Don't set deprecated_frameless_function_invocation.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index c54602a..aab2c33 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -327,20 +327,6 @@ m68k_svr4_return_value (struct gdbarch *gdbarch, struct type *type,
return RETURN_VALUE_REGISTER_CONVENTION;
}
-
-/* A function that tells us whether the function invocation represented
- by fi does not have a frame on the stack associated with it. If it
- does not, FRAMELESS is set to 1, else 0. */
-
-static int
-m68k_frameless_function_invocation (struct frame_info *fi)
-{
- if (get_frame_type (fi) == SIGTRAMP_FRAME)
- return 0;
- else
- return legacy_frameless_look_for_prologue (fi);
-}
-
int
delta68_in_sigtramp (CORE_ADDR pc, char *name)
{
@@ -1111,7 +1097,6 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_believe_pcc_promotion (gdbarch, 1);
set_gdbarch_decr_pc_after_break (gdbarch, 2);
- set_gdbarch_deprecated_frameless_function_invocation (gdbarch, m68k_frameless_function_invocation);
set_gdbarch_frame_args_skip (gdbarch, 8);
set_gdbarch_register_type (gdbarch, m68k_register_type);