/* 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.
static inline int
get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg,
- int *countp)
+ int *countp)
{
unsigned long lo, hi, off;
struct UPT_info *ui = arg;
while (maps_next (&mi, &lo, &hi, &off))
{
if (off)
- continue;
+ continue;
invalidate_edi(&ui->edi);
if (elf_map_image (&ui->edi.ei, path) < 0)
- /* ignore unmappable stuff like "/SYSV00001b58 (deleted)" */
- continue;
+ /* ignore unmappable stuff like "/SYSV00001b58 (deleted)" */
+ continue;
Debug (16, "checking object %s\n", path);
if (tdep_find_unwind_table (&ui->edi, as, path, lo, off, 0) > 0)
- {
- res = _Uia64_find_dyn_list (as, &ui->edi.di_cache, arg);
- if (res && count++ == 0)
- {
- Debug (12, "dyn_info_list_addr = 0x%lx\n", (long) res);
- *dil_addr = res;
- }
- }
+ {
+ res = _Uia64_find_dyn_list (as, &ui->edi.di_cache, arg);
+ if (res && count++ == 0)
+ {
+ Debug (12, "dyn_info_list_addr = 0x%lx\n", (long) res);
+ *dil_addr = res;
+ }
+ }
}
maps_close (&mi);
*countp = count;
static inline int
get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg,
- int *countp)
+ int *countp)
{
# warning Implement get_list_addr(), please.
*countp = 0;
int
_UPT_get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dil_addr,
- void *arg)
+ void *arg)
{
int count, ret;