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:
parent
0938b03201
commit
21647f4830
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue