aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-16 21:39:46 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-16 21:39:46 +0000
commit2be8b3c13270e97d0bdc3247a739bc735782bb92 (patch)
treec078788ffe26feec1eb375c018944911da3820b5 /gdb/arm-tdep.c
parent7dcaac91121f34041bc1b607d100524bfdbb3a1b (diff)
downloadgdb-2be8b3c13270e97d0bdc3247a739bc735782bb92.zip
gdb-2be8b3c13270e97d0bdc3247a739bc735782bb92.tar.gz
gdb-2be8b3c13270e97d0bdc3247a739bc735782bb92.tar.bz2
2004-02-16 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused function.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 029dd52..86c1ec5 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -1201,25 +1201,6 @@ static LONGEST arm_call_dummy_words[] =
0xe1a0e00f, 0xe1a0f004, 0xe7ffdefe
};
-/* Adjust the call_dummy_breakpoint_offset for the bp_call_dummy
- breakpoint to the proper address in the call dummy, so that
- `finish' after a stop in a call dummy works.
-
- FIXME rearnsha 2002-02018: Tweeking current_gdbarch is not an
- optimal solution, but the call to arm_fix_call_dummy is immediately
- followed by a call to call_function_by_hand, which is the only
- function where call_dummy_breakpoint_offset is actually used. */
-
-
-static void
-arm_set_call_dummy_breakpoint_offset (void)
-{
- if (caller_is_thumb)
- set_gdbarch_deprecated_call_dummy_breakpoint_offset (current_gdbarch, 4);
- else
- set_gdbarch_deprecated_call_dummy_breakpoint_offset (current_gdbarch, 8);
-}
-
/* When arguments must be pushed onto the stack, they go on in reverse
order. The code below implements a FILO (stack) to do this. */