summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2008-07-15 18:52:17 +0000
committerDaniel Jacobowitz <dan@debian.org>2008-07-15 18:52:17 +0000
commitd09ae1452d5fc874ac7b275a7663a462d59ba0e8 (patch)
tree2ac349b7d28401d6f54116d4e0fc4d327c309b7c /gdb
parent7497591bd3073c59851d6348a3f5b68f366ef997 (diff)
downloadgdb-d09ae1452d5fc874ac7b275a7663a462d59ba0e8.tar.gz
* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/mn10300-tdep.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 16028417134..21ae33586ee 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2008-07-15 Daniel Jacobowitz <dan@codesourcery.com>
+ * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
+
+2008-07-15 Daniel Jacobowitz <dan@codesourcery.com>
+
* frame.c (frame_sp_unwind): Delete.
(get_frame_sp): Do not use it.
* frame.h (frame_sp_unwind): Delete prototype.
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 37d0b84b645..88cb150b735 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -324,11 +324,11 @@ set_reg_offsets (struct frame_info *fi,
if (frame_in_fp)
{
- base = frame_unwind_register_unsigned (fi, E_A3_REGNUM);
+ base = get_frame_register_unsigned (fi, E_A3_REGNUM);
}
else
{
- base = frame_unwind_register_unsigned (fi, E_SP_REGNUM)
+ base = get_frame_register_unsigned (fi, E_SP_REGNUM)
+ stack_extra_size;
}