diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-06-02 16:06:52 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-06-02 16:06:52 +0000 |
commit | c95f502610e9757735f4b06e4be93f8b1b7667f8 (patch) | |
tree | e3ffa403717c3dffe85e0228239a69157fce3988 | |
parent | e4d8bc0898d0126ae2bfdede2c04c6ab99ae7ea5 (diff) | |
download | gdb-c95f502610e9757735f4b06e4be93f8b1b7667f8.zip gdb-c95f502610e9757735f4b06e4be93f8b1b7667f8.tar.gz gdb-c95f502610e9757735f4b06e4be93f8b1b7667f8.tar.bz2 |
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/m68klinux-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4795455..08a01c7 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 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); |