aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68klinux-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-06-02 16:06:52 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-06-02 16:06:52 +0000
commitc95f502610e9757735f4b06e4be93f8b1b7667f8 (patch)
treee3ffa403717c3dffe85e0228239a69157fce3988 /gdb/m68klinux-tdep.c
parente4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5 (diff)
downloadgdb-c95f502610e9757735f4b06e4be93f8b1b7667f8.zip
gdb-c95f502610e9757735f4b06e4be93f8b1b7667f8.tar.gz
gdb-c95f502610e9757735f4b06e4be93f8b1b7667f8.tar.bz2
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
Diffstat (limited to 'gdb/m68klinux-tdep.c')
-rw-r--r--gdb/m68klinux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c
index bb78b91..29b1120 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);