aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-08 18:47:20 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-08 18:47:20 +0000
commit0ec5872bdad469f03bcca1a591ca69c6806b6974 (patch)
tree5627d202a728cf8ff6851669dac6888613757b64 /gdb/breakpoint.c
parent0c93b7b6427188fbe8f934d03c12797185ff7c04 (diff)
downloadgdb-0ec5872bdad469f03bcca1a591ca69c6806b6974.zip
gdb-0ec5872bdad469f03bcca1a591ca69c6806b6974.tar.gz
gdb-0ec5872bdad469f03bcca1a591ca69c6806b6974.tar.bz2
2004-05-08 Andrew Cagney <cagney@redhat.com>
* breakpoint.h (deprecated_frame_in_dummy): Delete declaration. (struct frame_info): Delete opaque declaration. * breakpoint.c (deprecated_frame_in_dummy): Delete function. * frame.c (get_frame_type): Delete call.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 650ea2a..96cf0f9 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1767,37 +1767,6 @@ software_breakpoint_inserted_here_p (CORE_ADDR pc)
return 0;
}
-/* Return nonzero if FRAME is a dummy frame. We can't use
- DEPRECATED_PC_IN_CALL_DUMMY because figuring out the saved SP would
- take too much time, at least using frame_register() on the 68k.
- This means that for this function to work right a port must use the
- bp_call_dummy breakpoint. */
-
-int
-deprecated_frame_in_dummy (struct frame_info *frame)
-{
- struct breakpoint *b;
-
- /* This function is used by two files: get_frame_type(), after first
- checking that !DEPRECATED_USE_GENERIC_DUMMY_FRAMES; and
- sparc-tdep.c, which doesn't yet use generic dummy frames anyway. */
- gdb_assert (!DEPRECATED_USE_GENERIC_DUMMY_FRAMES);
-
- ALL_BREAKPOINTS (b)
- {
- if (b->type == bp_call_dummy
- && frame_id_eq (b->frame_id, get_frame_id (frame))
- /* We need to check the PC as well as the frame on the sparc,
- for signals.exp in the testsuite. */
- && (get_frame_pc (frame)
- >= (b->loc->address
- - DEPRECATED_SIZEOF_CALL_DUMMY_WORDS / sizeof (LONGEST) * DEPRECATED_REGISTER_SIZE))
- && get_frame_pc (frame) <= b->loc->address)
- return 1;
- }
- return 0;
-}
-
/* breakpoint_thread_match (PC, PTID) returns true if the breakpoint at
PC is valid for process/thread PTID. */