* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 2 Jun 2008 16:05:57 +0000 (16:05 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 2 Jun 2008 16:05:57 +0000 (16:05 +0000)
gdb/ChangeLog
gdb/m68k-tdep.c

index 7061b8da789d179da5a82b96277ae693e75ce690..47954550746119d11eaeeb63079f87b061292264 100644 (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
index 7fb70e97555ba31994416d8111936e5e23ac73fc..2319d7877e0303d827472645a8a4cfd5816daeac 100644 (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;