1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-04-24 12:22:16 +02:00

Include <stdlib.h>.

(sighandler): Parenthesize IP check.

(Logical change 1.19)
This commit is contained in:
mostang.com!davidm 2002-07-18 03:58:34 +00:00
parent 0938b03201
commit 21647f4830

View file

@ -19,6 +19,7 @@ GNU General Public License for more details. */
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <libunwind-ia64.h>
@ -55,7 +56,7 @@ sighandler (int signal)
/* skip faulting instruction (doesn't handle MLX template) */
++ip;
if (ip & 0x3 == 0x3)
if ((ip & 0x3) == 0x3)
ip += 13;
if (unw_set_reg (&cursor2, UNW_REG_IP, ip) < 0)