binutils-gdb/libctf
Nick Alcock c6e9a1e576 libctf, types: enhance ctf_type_aname to print function arg types
Somehow this never got implemented, which makes debugging any kind of
bug that has to do with argument types fantastically confusing, because
it *looks* like the func type takes no arguments though in fact it does.

This also lets us simplify the dumper slightly (and introduces our first
uses of ctf_assert and ctf_err_warn: there will be many more).

ctf_type_aname dumps function types without including the function
pointer name itself: ctf_dump search-and-replaces it in.  This seems to
give the nicest-looking results for existing users of both, even if it
is a bit fiddly.

libctf/
	* ctf-types.c (ctf_type_aname): Print arg types here...
	* ctf-dump.c (ctf_dump_funcs): ... not here: but do substitute
	in the type name here.
2020-07-22 18:02:17 +01:00
..
.gitignore libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
aclocal.m4 libctf: support platforms with separate libintl 2020-06-26 15:56:39 +01:00
ChangeLog libctf, types: enhance ctf_type_aname to print function arg types 2020-07-22 18:02:17 +01:00
config.h.in libctf: support platforms with separate libintl 2020-06-26 15:56:39 +01:00
configure libctf: support platforms with separate libintl 2020-06-26 15:56:39 +01:00
configure.ac libctf: support platforms with separate libintl 2020-06-26 15:56:39 +01:00
ctf-archive.c libctf, next: introduce new class of easier-to-use iterators 2020-07-22 17:57:50 +01:00
ctf-create.c libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-decl.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-decls.h libctf: pass the thunk down properly when wrapping qsort_r 2020-07-22 17:57:52 +01:00
ctf-dump.c libctf, types: enhance ctf_type_aname to print function arg types 2020-07-22 18:02:17 +01:00
ctf-endian.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-error.c libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
ctf-hash.c libctf, next, hash: add dynhash and dynset _next iteration 2020-07-22 17:57:51 +01:00
ctf-impl.h libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-inlines.h libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-labels.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-link.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-lookup.c libctf, next: introduce new class of easier-to-use iterators 2020-07-22 17:57:50 +01:00
ctf-open-bfd.c libctf, archive: stop ctf_arc_bufopen triggering crazy unmaps 2020-07-22 17:57:33 +01:00
ctf-open.c libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-qsort_r.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-string.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-subr.c libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-types.c libctf, types: enhance ctf_type_aname to print function arg types 2020-07-22 18:02:17 +01:00
ctf-util.c libctf, next, hash: add dynhash and dynset _next iteration 2020-07-22 17:57:51 +01:00
elf.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
libctf.ver libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
Makefile.am libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
Makefile.in libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
mkerrors.sed libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
swap.h libctf, elfcpp, gold: do not assume that <byteswap.h> contains bswap_* 2020-06-26 15:56:39 +01:00