From: David Edelsohn Date: Sun, 4 Jul 1993 22:07:17 +0000 (+0000) Subject: * h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1d0b1614b25c3331cf34a1dcf06f48b1d6aa04e;p=binutils-gdb.git * h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 835da8fa476..fb9fefd1ca5 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 a08a80aa40f..ef54188a7d6 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;