2004-02-16 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 16 Feb 2004 21:39:46 +0000 (21:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 16 Feb 2004 21:39:46 +0000 (21:39 +0000)
* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
function.

gdb/ChangeLog
gdb/arm-tdep.c

index d9d9b7fc46c8e9b0b271894d737b19b849d0e310..2a47add3aae250f83c4f0aa84c00bbb2293f463b 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-16  Andrew Cagney  <cagney@redhat.com>
+
+       * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
+       function.
+
 2004-02-16  Daniel Jacobowitz  <drow@mvista.com>
 
        * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
index 029dd529cc04f1186cc5ddd0dc3218aaca828075..86c1ec5aa8a7bcd758e9175f68e93c924e66a8ac 100644 (file)
@@ -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.  */
 
This page took 0.029392 seconds and 4 git commands to generate.