1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-10-01 19:09:32 +02:00

(unw_is_signal_frame): Call ia64_fetch_proc_info() before creating

the state-record.

(Logical change 1.95)
This commit is contained in:
mostang.com!davidm 2003-09-18 06:09:22 +00:00
parent cbf1d7d56b
commit 510a7c82f7

View file

@ -35,6 +35,10 @@ unw_is_signal_frame (unw_cursor_t *cursor)
/* Crude and slow, but we need to peek ahead into the unwind /* Crude and slow, but we need to peek ahead into the unwind
descriptors to find out if the current IP is inside the signal descriptors to find out if the current IP is inside the signal
trampoline. */ trampoline. */
ret = ia64_fetch_proc_info (c, c->ip, 1);
if (ret < 0)
return ret;
ret = ia64_create_state_record (c, &sr); ret = ia64_create_state_record (c, &sr);
if (ret < 0) if (ret < 0)
return ret; return ret;