mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-19 06:17:37 +01:00
(unw_is_signal_frame): Call ia64_fetch_proc_info() before creating
the state-record. (Logical change 1.95)
This commit is contained in:
parent
cbf1d7d56b
commit
510a7c82f7
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue