aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-06-02 16:05:57 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-06-02 16:05:57 +0000
commite4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5 (patch)
tree6fe38b9420779dc4575a6bf5133cf4865831051d /gdb/m68k-tdep.c
parent476d8a222ce003eb1cac89b7cb920c0cd5e7758c (diff)
downloadgdb-e4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5.zip
gdb-e4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5.tar.gz
gdb-e4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5.tar.bz2
* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index 7fb70e9..2319d78 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;