summaryrefslogtreecommitdiff
path: root/elfutils/libdw/dwarf_getpubnames.c
diff options
context:
space:
mode:
Diffstat (limited to 'elfutils/libdw/dwarf_getpubnames.c')
-rw-r--r--elfutils/libdw/dwarf_getpubnames.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elfutils/libdw/dwarf_getpubnames.c b/elfutils/libdw/dwarf_getpubnames.c
index 4ea38896..12728a34 100644
--- a/elfutils/libdw/dwarf_getpubnames.c
+++ b/elfutils/libdw/dwarf_getpubnames.c
@@ -102,7 +102,8 @@ get_offsets (Dwarf *dbg)
}
/* Get the CU offset. */
- if (__libdw_read_offset (dbg, IDX_debug_pubnames, readp + 2, len_bytes,
+ if (__libdw_read_offset (dbg, dbg, IDX_debug_pubnames,
+ readp + 2, len_bytes,
&mem[cnt].cu_offset, IDX_debug_info, 3))
/* Error has been already set in reader. */
goto err_return;