1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 17:17:39 +01:00

x86-64: fix unw_get_proc_info()

(Logical change 1.260)
This commit is contained in:
com[davidm]!masbock 2004-08-31 13:59:37 +00:00
parent bca75e7d65
commit e09e6ce1ad

View file

@ -31,6 +31,11 @@ PROTECTED int
unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi)
{
struct cursor *c = (struct cursor *) cursor;
int ret;
return dwarf_make_proc_info (&c->dwarf);
if (ret = dwarf_make_proc_info (&c->dwarf))
return ret;
*pi = c->dwarf.pi;
return 0;
}