aboutsummaryrefslogtreecommitdiff
path: root/include/gcc-c-interface.h
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-04-24 11:41:00 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-05-28 17:09:37 +0100
commita30b3e182aad25f94de6412efd5d78f7805fb4d3 (patch)
tree349e87e7cb16ccf37ad4bf6367211c8c423da2a8 /include/gcc-c-interface.h
parent6dbf2b734063522b4f3d7403ce7a2b436802b839 (diff)
downloadgdb-a30b3e182aad25f94de6412efd5d78f7805fb4d3.zip
gdb-a30b3e182aad25f94de6412efd5d78f7805fb4d3.tar.gz
gdb-a30b3e182aad25f94de6412efd5d78f7805fb4d3.tar.bz2
libctf: debug dumping
This introduces ctf_dump(), an iterator which returns a series of strings, each representing a debugging dump of one item from a given section in the CTF file. The items may be multiline: a callback is provided to allow the caller to decorate each line as they desire before the line is returned. libctf/ * ctf-dump.c: New. include/ * ctf-api.h (ctf_dump_decorate_f): New. (ctf_dump_state_t): new. (ctf_dump): New.
Diffstat (limited to 'include/gcc-c-interface.h')
0 files changed, 0 insertions, 0 deletions