libctf: adjust dumper for symtypetab changes
authorNick Alcock <nick.alcock@oracle.com>
Fri, 20 Nov 2020 13:34:04 +0000 (13:34 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 20 Nov 2020 13:34:09 +0000 (13:34 +0000)
commit4665e895c3791d7971185542442c7a0efbc8114c
treee66e1b85a2ffe31ca7ca66b5d6b2420fc3cfb999
parent1136c379718cb9f6a82e71029f86cd8cf70fa6be
libctf: adjust dumper for symtypetab changes

Now that we have a new format for the function info section, it's much
easier to dump it: we can use the same code we use for the object type
section, and that's got simpler too because we can use ctf_symbol_next.

Also dump the new stuff in the header: the new flags bits and the index
section lengths.

libctf/ChangeLog
2020-11-20  Nick Alcock  <nick.alcock@oracle.com>

* ctf-dump.c (ctf_dump_header): Dump the new flags bits and the index
section lengths.
(ctf_dump_objts): Report indexed sections.  Also dump functions.  Use
ctf_symbol_next, not manual looping.
(ctf_dump_funcs): Delete.
(ctf_dump): Use ctf_dump_objts, not ctf_dump_funcs.
libctf/ChangeLog
libctf/ctf-dump.c
This page took 0.023758 seconds and 4 git commands to generate.