2003-03-29 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 29 Mar 2003 22:13:14 +0000 (22:13 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 29 Mar 2003 22:13:14 +0000 (22:13 +0000)
* ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
offset.

gdb/ChangeLog
gdb/ns32k-tdep.c

index f0e051107d4f034f86206bf225bc24747f934b76..085fe7f6b92f2531b2e1a0f5afedc3766871dcf8 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-29  Andrew Cagney  <cagney@redhat.com>
+
+       * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
+       offset.
+
 2003-03-29  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm-tdep.c (arm_push_arguments): Delete.
index 323cade60a210c27f3d5a475e5e41a82b75339b8..fbf0417f289650264aba6cd359f41f51a8496957 100644 (file)
@@ -600,7 +600,8 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   set_gdbarch_sizeof_call_dummy_words (gdbarch, sizeof_ns32k_call_dummy_words);
   set_gdbarch_fix_call_dummy (gdbarch, ns32k_fix_call_dummy);
   set_gdbarch_call_dummy_start_offset (gdbarch, 3);
-  set_gdbarch_call_dummy_breakpoint_offset_p (gdbarch, 0);
+  set_gdbarch_call_dummy_breakpoint_offset_p (gdbarch, 1);
+  set_gdbarch_call_dummy_breakpoint_offset (gdbarch, 15);
   set_gdbarch_deprecated_use_generic_dummy_frames (gdbarch, 0);
   set_gdbarch_deprecated_pc_in_call_dummy (gdbarch, deprecated_pc_in_call_dummy_on_stack);