mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-06 01:34:29 +01:00
(common_init): Don't forget to initialize cursors sigcontext_format
and sigcontext_addr members. (Logical change 1.263)
This commit is contained in:
parent
3050ccdd98
commit
f226ffec68
1 changed files with 4 additions and 0 deletions
|
@ -53,5 +53,9 @@ common_init (struct cursor *c)
|
||||||
&c->dwarf.cfa);
|
&c->dwarf.cfa);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
c->sigcontext_format = X86_SCF_NONE;
|
||||||
|
c->sigcontext_addr = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue