mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-16 10:11:41 +01:00
PPC: return failure from the unw_get_proc_info() stub
Stop pretending that unw_get_proc_info() works on PPC, and instead give an error back to the caller. As far as I can tell, none of the libunwind tests clear out the `unw_proc_info_t' before passing it to unw_get_proc_info(), so they would end up working on garbage data.
This commit is contained in:
parent
8f94f1e6c0
commit
a745ac2f60
1 changed files with 1 additions and 1 deletions
|
@ -30,5 +30,5 @@ PROTECTED int
|
|||
unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi)
|
||||
{
|
||||
/* XXX: empty stub. */
|
||||
return 0;
|
||||
return -UNW_EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue