From: Joel Brobecker Date: Mon, 2 Jun 2008 16:06:52 +0000 (+0000) Subject: * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c95f502610e9757735f4b06e4be93f8b1b7667f8;p=binutils-gdb.git * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 47954550746..08a01c742e5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-06-02 Roman Zippel + + * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test. + 2008-06-02 Roman Zippel * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn. 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);