aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2022-07-26 21:26:09 +0100
committerNick Alcock <nick.alcock@oracle.com>2023-01-12 14:40:47 +0000
commit5e8b4bbcc8593e1f1f81c4fd3562d637a07ee0cc (patch)
tree074494fcf7b51fef466158b01fb5a0be2b8d26ce /libctf
parentedf64cd235f5ecb3725e7cf1ff83bbdb6dd53340 (diff)
downloadfsf-binutils-gdb-5e8b4bbcc8593e1f1f81c4fd3562d637a07ee0cc.zip
fsf-binutils-gdb-5e8b4bbcc8593e1f1f81c4fd3562d637a07ee0cc.tar.gz
fsf-binutils-gdb-5e8b4bbcc8593e1f1f81c4fd3562d637a07ee0cc.tar.bz2
ctf: fix various dreadful typos in the ctf_archive format comments
When defining a format it helps to a) get the endianness right when you explicitly state what it is and b) define things in terms of fields that exist rather than fields that don't. (A bunch of changes of names during implementation were not reflected in these comments...) Thanks to Jose "Eye of the Eagle" Marchesi for spotting these. include/ * ctf.h (struct ctf_archive) [ctfa_ctfs]: The size element of this is in little-endian byte order, not network byte order. (struct ctf_archive_modent): This is positioned right after the end fo the struct ctf_archive, not at the offset of a nonexistent field. The number of elements in the array depends on ctfa_ndicts, not another nonexistent field.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions