aboutsummaryrefslogtreecommitdiff
path: root/include/ChangeLog
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-07-11 16:21:26 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-10-03 17:04:55 +0100
commit2db912ba1a9e1c249cb4795f781fd4ea9fe9e7f2 (patch)
treeb2fbac05c35401a797365b1ce7f4f12f6cb70ff4 /include/ChangeLog
parent6d5944fca682fe97f37e537f78b665ada2400f51 (diff)
downloadgdb-2db912ba1a9e1c249cb4795f781fd4ea9fe9e7f2.zip
gdb-2db912ba1a9e1c249cb4795f781fd4ea9fe9e7f2.tar.gz
gdb-2db912ba1a9e1c249cb4795f781fd4ea9fe9e7f2.tar.bz2
libctf: add the object index and function index sections
No code handles these yet, but our latest GCC patches are generating them, so we have to be ready for them or erroneously conclude that we have file corruption. (This simultaneously fixes a longstanding bug, concealed because nothing was generating anything in the object or function info sections, where the end of the section was being tested against the wrong thing: it would have walked over the entire contents of the variable section and treated them as part of the function info section. This had to change now anyway because the new sections have landed in between.) include/ * ctf.h: Add object index and function index sections. Describe them. Improve the description of the variable section and clarify the constraints on backward-pointing type nodes. (ctf_header): Add cth_objtidxoff, cth_funcidxoff. libctf/ * ctf-open.c (init_symtab): Check for overflow against the right section. (upgrade_header): Set cth_objtidxoff, cth_funcidxoff to zero-length. (upgrade_types_v1): Note that these sections are not checked. (flip_header): Endian-swap the header fields. (flip_ctf): Endian-swap the sections. (flip_objts): Update comment. (ctf_bufopen): Check header offsets and alignment for validity.
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 de93394..c2e8031 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+2019-07-11 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf.h: Add object index and function index sections. Describe
+ them. Improve the description of the variable section and clarify
+ the constraints on backward-pointing type nodes.
+ (ctf_header): Add cth_objtidxoff, cth_funcidxoff.
+
2019-07-06 Nick Alcock <nick.alcock@oracle.com>
* ctf-api.h (ctf_cuname): New function.