aboutsummaryrefslogtreecommitdiff
path: root/include/ChangeLog
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-07-18 18:44:21 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-07-18 20:53:57 +0100
commit12a0b67d289e2c3ed266d93e8a8c80087f7d18f8 (patch)
treeb1319f5db30360a534b3ef60c07cf2b8f2be49ec /include/ChangeLog
parentafe09f0b6311a4dd1a7e2dc6491550bb228734f8 (diff)
downloadgdb-12a0b67d289e2c3ed266d93e8a8c80087f7d18f8.zip
gdb-12a0b67d289e2c3ed266d93e8a8c80087f7d18f8.tar.gz
gdb-12a0b67d289e2c3ed266d93e8a8c80087f7d18f8.tar.bz2
libctf: introduce ctf_func_type_{info,args}, ctf_type_aname_raw
The first two of these allow you to get function type info and args out of the types section give a type ID: astonishingly, this was missing from libctf before now: so even though types of kind CTF_K_FUNCTION were supported, you couldn't find out anything about them. (The existing ctf_func_info and ctf_func_args only allow you to get info about functions in the function section, i.e. given symbol table indexes, not type IDs.) The second of these allows you to get the raw undecorated name out of the CTF section (strdupped for safety) without traversing subtypes to build a full C identifier out of it. It's useful for things that are already tracking the type kind etc and just need an unadorned name. include/ * ctf-api.h (ECTF_NOTFUNC): Fix description. (ctf_func_type_info): New. (ctf_func_type_args): Likewise. libctf/ * ctf-types.c (ctf_type_aname_raw): New. (ctf_func_type_info): Likewise. (ctf_func_type_args): Likewise. * ctf-error.c (_ctf_errlist): Fix description.
Diffstat (limited to 'include/ChangeLog')
-rw-r--r--include/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 8954558..07e0c5c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+2019-07-18 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf-api.h (ECTF_NOTFUNC): Fix description.
+ (ctf_func_type_info): New.
+ (ctf_func_type_args): Likewise.
+ (ctf_type_aname_raw): Likewise.
+
2019-07-16 Jan Beulich <jbeulich@suse.com>
* opcode/i386.h (POP_SEG386_SHORT): New.