aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-impl.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-02-02 10:40:52 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2021-02-02 10:40:52 -0500
commit6b0933da342b0508242560304d6b02c9fdd3696e (patch)
tree63307a180927d50600ec394d0203e6e698b27c39 /libctf/ctf-impl.h
parent962effa79018f57766d9aee21493f616801778dc (diff)
downloadbinutils-6b0933da342b0508242560304d6b02c9fdd3696e.zip
binutils-6b0933da342b0508242560304d6b02c9fdd3696e.tar.gz
binutils-6b0933da342b0508242560304d6b02c9fdd3696e.tar.bz2
gdb/testsuite: DWARF assembler: add context parameters to _location
The _location proc is used to assemble a location description. It needs to know some contextual information: - size of an address - size of an offset (into another DWARF section) - DWARF version It currently get all this directly from global variables holding the compilation unit information. This is fine because as of now, all location descriptions are generated in the context of creating a compilation unit. However, a subsequent patch will generate location descriptions while generating a .debug_loclists section. _location should therefore no longer rely on the current compilation unit's properties. Change it to accept these values as parameters instead of accessing the values for the CU. No functional changes intended. gdb/testsuite/ChangeLog: * lib/dwarf.exp (_location): Add parameters. (_handle_DW_FORM): Adjust. Change-Id: Ib94981979c83ffbebac838081d645ad71c221637
Diffstat (limited to 'libctf/ctf-impl.h')
0 files changed, 0 insertions, 0 deletions