From: Jim Blandy Date: Wed, 9 May 2001 02:27:47 +0000 (+0000) Subject: * mn10300-tdep.c (mn10300_gdbarch_init): We do have a X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf4b70a5e89748322ccec3aa1c2423fee502e100;p=binutils-gdb.git * mn10300-tdep.c (mn10300_gdbarch_init): We do have a dummy_breakpoint_offset; it's zero. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85ff1c1d181..ae6ea44c8ff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2001-05-08 Jim Blandy + * 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 diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 49dcf05e52e..ca73a0691bc 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -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);