summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/m68klinux-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 47954550746..08a01c742e5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2008-06-02 Roman Zippel <zippel@linux-m68k.org>
+ * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
+
+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>
diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c
index bb78b91a040..29b112065d7 100644
--- a/gdb/m68klinux-tdep.c
+++ b/gdb/m68klinux-tdep.c
@@ -70,7 +70,7 @@ m68k_linux_pc_in_sigtramp (struct frame_info *this_frame)
unsigned long insn0, insn1, insn2;
CORE_ADDR pc = get_frame_pc (this_frame);
- if (safe_frame_unwind_memory (this_frame, pc - 4, buf, sizeof (buf)))
+ if (!safe_frame_unwind_memory (this_frame, pc - 4, buf, sizeof (buf)))
return 0;
insn1 = extract_unsigned_integer (buf + 4, 4);
insn2 = extract_unsigned_integer (buf + 8, 4);