aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ChangeLog
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-07-04 10:28:42 +0200
committerTom de Vries <tdevries@suse.de>2022-07-04 10:28:42 +0200
commit2c474c46943e5242f356a0c0676e2f7bd223c8a9 (patch)
tree031939ed2a8c17af5e254d6fc60954f43bd7d481 /opcodes/ChangeLog
parent58098fd779cca68f6a3fee6c289da2e352ccd7a8 (diff)
downloadgdb-2c474c46943e5242f356a0c0676e2f7bd223c8a9.zip
gdb-2c474c46943e5242f356a0c0676e2f7bd223c8a9.tar.gz
gdb-2c474c46943e5242f356a0c0676e2f7bd223c8a9.tar.bz2
[gdb/symtab] Add get/set functions for per_cu->lang/unit_type
The dwarf2_per_cu_data fields lang and unit_type both have a dont-know initial value (respectively language_unknown and (dwarf_unit_type)0), which allows us to add certain checks, f.i. checking that that a field is not read before written. Add get/set member functions for the two fields as a convenient location to add such checks, make the fields private to enforce using the member functions, and add the m_ prefix. Tested on x86_64-linux.
Diffstat (limited to 'opcodes/ChangeLog')
0 files changed, 0 insertions, 0 deletions