1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-27 09:37:38 +01:00

(ia64_get_stacked): Allow NULL "locp".

(Logical change 1.76)
This commit is contained in:
mostang.com!davidm 2003-04-08 20:34:06 +00:00
parent dc0bee88f3
commit 7057901782

View file

@ -378,7 +378,9 @@ ia64_get_stacked (struct cursor *c, unw_word_t reg,
assert (reg >= 32 && reg < 128); assert (reg >= 32 && reg < 128);
*locp = loc = ia64_rse_skip_regs (c->bsp, regs_to_skip); loc = ia64_rse_skip_regs (c->bsp, regs_to_skip);
if (locp)
*locp = loc;
if (rnat_locp) if (rnat_locp)
{ {
*rnat_locp = ia64_rse_rnat_addr (loc); *rnat_locp = ia64_rse_rnat_addr (loc);