OSDN Git Service

* mn10300-tdep.c (mn10300_gdbarch_init): We do have a
authorJim Blandy <jimb@codesourcery.com>
Wed, 9 May 2001 02:27:47 +0000 (02:27 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 9 May 2001 02:27:47 +0000 (02:27 +0000)
dummy_breakpoint_offset; it's zero.

gdb/ChangeLog
gdb/mn10300-tdep.c

index 85ff1c1..ae6ea44 100644 (file)
@@ -1,5 +1,8 @@
 2001-05-08  Jim Blandy  <jimb@redhat.com>
 
+       * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
+       dummy_breakpoint_offset; it's zero.
+
        * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
        stuff out into mn10300_pop_frame_regular, and use
        generic_pop_current_frame.  This lets us share code, and also
index 49dcf05..ca73a06 100644 (file)
@@ -1039,7 +1039,8 @@ mn10300_gdbarch_init (struct gdbarch_info info,
 
   /* Calling functions in the inferior from GDB.  */
   set_gdbarch_call_dummy_p (gdbarch, 1);
-  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, 0);
   set_gdbarch_call_dummy_stack_adjust_p (gdbarch, 0);
   set_gdbarch_call_dummy_location (gdbarch, AT_ENTRY_POINT);
   set_gdbarch_call_dummy_address (gdbarch, entry_point_address);