* mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
authorJim Blandy <jimb@codesourcery.com>
Wed, 9 May 2001 02:07:36 +0000 (02:07 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 9 May 2001 02:07:36 +0000 (02:07 +0000)
generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.

gdb/ChangeLog
gdb/mn10300-tdep.c

index 11e5fc6434695604988d1fb25c62f8a39ef5e1d2..0a7ceca314e0af3295235012586797d9d7c0ec0f 100644 (file)
@@ -1,5 +1,8 @@
 2001-05-08  Jim Blandy  <jimb@redhat.com>
 
+       * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
+       generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
+
        Use gdbarch for most target parameters for the MN10300, rather
        than the tm-*.h file.
        * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
index a3e513ae4d1f5e04b62d4926a3c4a1d21c55ea29..c3b2efbd381463f198e8ee16440f57220d9f1e72 100644 (file)
@@ -1044,7 +1044,7 @@ mn10300_gdbarch_init (struct gdbarch_info info,
   set_gdbarch_call_dummy_length (gdbarch, 0);
   set_gdbarch_fix_call_dummy (gdbarch, generic_fix_call_dummy);
   set_gdbarch_call_dummy_start_offset (gdbarch, 0);
-  set_gdbarch_pc_in_call_dummy (gdbarch, generic_pc_in_call_dummy);
+  set_gdbarch_pc_in_call_dummy (gdbarch, pc_in_call_dummy_at_entry_point);
   set_gdbarch_push_dummy_frame (gdbarch, generic_push_dummy_frame);
   set_gdbarch_use_struct_convention (gdbarch, mn10300_use_struct_convention);