/* libunwind - a platform-independent unwind library
Copyright (C) 2003-2005 Hewlett-Packard Co
- Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
+ Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
unw_cursor_t tmp = *c;
/* The caller of {sig,}setjmp() cannot have a NULL-frame. If we
- see a NULL-frame, we haven't reached the right target yet.
- To have a NULL-frame, the number of locals must be zero and
- the stack-frame must also be empty. */
+ see a NULL-frame, we haven't reached the right target yet.
+ To have a NULL-frame, the number of locals must be zero and
+ the stack-frame must also be empty. */
if (unw_step (&tmp) < 0)
- abort ();
+ abort ();
if (unw_get_reg (&tmp, UNW_REG_SP, &sp) < 0
- || unw_get_reg (&tmp, UNW_REG_SP, &prev_sp) < 0)
- abort ();
+ || unw_get_reg (&tmp, UNW_REG_SP, &prev_sp) < 0)
+ abort ();
if (sp == prev_sp)
- /* got a NULL-frame; keep looking... */
- return 0;
+ /* got a NULL-frame; keep looking... */
+ return 0;
}
return 1;
}
else
{
if (sigprocmask (SIG_BLOCK, NULL, ¤t_mask) < 0)
- abort ();
+ abort ();
mp = ¤t_mask;
}
memcpy (&sc->sc_mask, mp, sizeof (sc->sc_mask));