aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-05-09 02:27:47 +0000
committerJim Blandy <jimb@codesourcery.com>2001-05-09 02:27:47 +0000
commitbf4b70a5e89748322ccec3aa1c2423fee502e100 (patch)
tree4a37bf2bba7911f6e19c2c2d3049dc169dc97118 /gdb
parentee9f9641e044af38cd83b957504141a2d558bfa8 (diff)
downloadgdb-bf4b70a5e89748322ccec3aa1c2423fee502e100.zip
gdb-bf4b70a5e89748322ccec3aa1c2423fee502e100.tar.gz
gdb-bf4b70a5e89748322ccec3aa1c2423fee502e100.tar.bz2
* mn10300-tdep.c (mn10300_gdbarch_init): We do have a
dummy_breakpoint_offset; it's zero.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/mn10300-tdep.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85ff1c1..ae6ea44 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 49dcf05..ca73a06 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);