diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-09-20 12:08:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-09-20 12:08:37 +0000 |
commit | 6d305052679525c19163606e9968d8c67b2ca4f2 (patch) | |
tree | 23c3c9004bae65583d656f0d89bd63aeb2910dc0 /gdb/h8300-tdep.c | |
parent | c7749bd6ecebecdfe24942bc12ff82795a6247db (diff) | |
download | gdb-6d305052679525c19163606e9968d8c67b2ca4f2.zip gdb-6d305052679525c19163606e9968d8c67b2ca4f2.tar.gz gdb-6d305052679525c19163606e9968d8c67b2ca4f2.tar.bz2 |
* h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
multiple register push instruction.
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r-- | gdb/h8300-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 52f91c0..8e1ac81 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -429,7 +429,7 @@ h8300_examine_prologue (register CORE_ADDR ip, register CORE_ADDR limit, next_ip = h8300_next_prologue_insn (ip, limit, &insn_word); start = insn_word & 0x7; - for (i = start; i <= start + count; i++) + for (i = start; i < start + count; i++) { fsr[i] = after_prolog_fp + auto_depth; auto_depth += 4; |