Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
#endif
#include <stdarg.h>
#include <dlfcn.h>
#include <ctype.h>

struct gimli_mapped_object;
typedef struct gimli_mapped_object *gimli_mapped_object_t;
Expand Down
4 changes: 2 additions & 2 deletions print.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,11 @@ static int print_var(struct print_data *data, gimli_type_t t, const char *varnam
snprintf(addrkey, sizeof(addrkey), "%p:%" PRIx64, t, addr);
if (gimli_hash_find(derefd, addrkey, &dummy)) {
printf(" " PTRFMT " [deref'd above]\n", addr);
return;
return GIMLI_ITER_CONT;
}
if (!gimli_hash_insert(derefd, addrkey, NULL)) {
printf(" " PTRFMT " <hash insert failed>\n", addr);
return;
return GIMLI_ITER_ERR;
}

printf(" " PTRFMT " = {\n", addr);
Expand Down