aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8300-tdep.c
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/h8300-tdep.c
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/h8300-tdep.c')
-rw-r--r--gdb/h8300-tdep.c3
1 files changed, 1 insertions, 2 deletions
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;