mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 23:26:51 +08:00
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2008-06-02 Roman Zippel <zippel@linux-m68k.org>
|
||||||
|
|
||||||
* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
|
* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
|
||||||
|
@ -70,7 +70,7 @@ m68k_linux_pc_in_sigtramp (struct frame_info *this_frame)
|
|||||||
unsigned long insn0, insn1, insn2;
|
unsigned long insn0, insn1, insn2;
|
||||||
CORE_ADDR pc = get_frame_pc (this_frame);
|
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;
|
return 0;
|
||||||
insn1 = extract_unsigned_integer (buf + 4, 4);
|
insn1 = extract_unsigned_integer (buf + 4, 4);
|
||||||
insn2 = extract_unsigned_integer (buf + 8, 4);
|
insn2 = extract_unsigned_integer (buf + 8, 4);
|
||||||
|
Reference in New Issue
Block a user