* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.

This commit is contained in:
Joel Brobecker 2008-06-02 16:05:57 +00:00
parent 476d8a222c
commit e4d8bc0898
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-06-02 Roman Zippel <zippel@linux-m68k.org>
* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
2008-06-01 Joel Brobecker <brobecker@adacore.com>
* rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not

View File

@ -804,7 +804,7 @@ m68k_analyze_prologue (struct gdbarch *gdbarch, CORE_ADDR pc,
if (op == P_LEA_PC_A5)
{
/* lea (%pc,N),%a5 */
return pc + 6;
return pc + 8;
}
return pc;