aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/ctf-open.c')
-rw-r--r--libctf/ctf-open.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libctf/ctf-open.c b/libctf/ctf-open.c
index b0d3ef6..df735ac 100644
--- a/libctf/ctf-open.c
+++ b/libctf/ctf-open.c
@@ -1275,6 +1275,9 @@ ctf_bufopen (const ctf_sect_t *ctfsect, const ctf_sect_t *symsect,
if (foreign_endian)
flip_header (&hp);
+ ctf_dprintf ("header offsets: %x/%x/%x/%x/%x/%x/%x\n",
+ hp.cth_lbloff, hp.cth_objtoff, hp.cth_funcoff, hp.cth_varoff,
+ hp.cth_typeoff, hp.cth_stroff, hp.cth_strlen);
hdrsz = sizeof (ctf_header_t);
size = hp.cth_stroff + hp.cth_strlen;