/* libunwind - a platform-independent unwind library
Copyright (C) 2001-2002 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.
while (unw_step (&cursor) > 0)
{
if (n >= size)
- return n;
+ return n;
if (unw_get_reg (&cursor, UNW_REG_IP, &ip) < 0)
- return n;
+ return n;
buffer[n++] = (void *) (uintptr_t) ip;
}
return n;