From: Joel Brobecker Date: Mon, 2 Jun 2008 16:05:57 +0000 (+0000) Subject: * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5;p=binutils-gdb.git * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7061b8da789..47954550746 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-06-02 Roman Zippel + + * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn. + 2008-06-01 Joel Brobecker * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index 7fb70e97555..2319d7877e0 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -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;