aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1993-07-04 22:07:17 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1993-07-04 22:07:17 +0000
commitb1d0b1614b25c3331cf34a1dcf06f48b1d6aa04e (patch)
treeca78017c2b82ffae3740d535662e7af33e654186 /gdb
parentce51bde687e425bc68aad11c347197a28e2726dd (diff)
downloadgdb-b1d0b1614b25c3331cf34a1dcf06f48b1d6aa04e.zip
gdb-b1d0b1614b25c3331cf34a1dcf06f48b1d6aa04e.tar.gz
gdb-b1d0b1614b25c3331cf34a1dcf06f48b1d6aa04e.tar.bz2
* h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/h8300-tdep.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 835da8f..fb9fefd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
+
+ * h8300-tdep.c (examine_prologue): Fix call to
+ read_memory_unsigned_integer.
+
Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index a08a80a..ef54188 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -303,8 +303,7 @@ examine_prologue (ip, limit, after_prolog_fp, fsr, fi)
if (have_fp)
/* We keep the old FP in the SP spot */
- fsr->regs[SP_REGNUM] = (read_memory_unsigned_integer
- (fsr->regs[6]), BINWORD);
+ fsr->regs[SP_REGNUM] = read_memory_unsigned_integer (fsr->regs[6], BINWORD);
else
fsr->regs[SP_REGNUM] = after_prolog_fp + auto_depth;