mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-03-31 11:32:17 +02:00
Change ucontext_t to unw_context_t.
Change getcontext() to unw_getcontext(). (Logical change 1.33)
This commit is contained in:
parent
ad2276c314
commit
7776832389
1 changed files with 2 additions and 2 deletions
|
@ -53,9 +53,9 @@ stack trace:
|
||||||
|
|
||||||
unw_cursor_t cursor;
|
unw_cursor_t cursor;
|
||||||
unw_word_t ip, sp;
|
unw_word_t ip, sp;
|
||||||
ucontext_t uc;
|
unw_context_t uc;
|
||||||
|
|
||||||
getcontext(&uc);
|
unw_getcontext(&uc);
|
||||||
unw_init_local(&cursor, &uc);
|
unw_init_local(&cursor, &uc);
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue