libctf: dump header offsets into the debugging output
authorNick Alcock <nick.alcock@oracle.com>
Wed, 19 Jun 2019 11:23:38 +0000 (12:23 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 21 Jun 2019 12:04:02 +0000 (13:04 +0100)
commit364620bf636a0a961892c9274616f8d5ad85eecc
treed00e35c62646748651fdcd3311ac4f112feed1c6
parent65365aa856e5a258329dc350b02bbb51f84b4c16
libctf: dump header offsets into the debugging output

This is an essential first piece of info needed to debug both libctf
writing and reading problems, and we weren't recording it anywhere!

(This is a short-term fix: fairly soon, we will record all of this in a
form that outlives ctf_bufopen, and then ctf_dump() will be able to dump
it like it can everything else.)

libctf/
* ctf-open.c (ctf_bufopen): Dump header offsets into the debugging
output.
libctf/ChangeLog
libctf/ctf-open.c