aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracectf.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-09-29 18:49:08 -0600
committerTom Tromey <tom@tromey.com>2020-09-29 20:29:07 -0600
commitbf23a26804608145c316c7516b1aceecc055a888 (patch)
treebe20da9ed4760c0ba74a3da2a6a32a5bd1d3be39 /gdb/tracectf.c
parent7a5f294dbd11a64f5231f0fecdb163e3c7ecfaf8 (diff)
downloadgdb-bf23a26804608145c316c7516b1aceecc055a888.zip
gdb-bf23a26804608145c316c7516b1aceecc055a888.tar.gz
gdb-bf23a26804608145c316c7516b1aceecc055a888.tar.bz2
Change how accessibility is handled in dwarf2/read.c
dwarf2/read.c uses dwarf2_default_access_attribute to check for the default access attribute. This patch simplifies the code by moving more of the access processing into this function, changing its name to reflect the difference. This also ensures that the attribute's form is respected, by changing to code to use the constant_value method. gdb/ChangeLog 2020-09-29 Tom Tromey <tom@tromey.com> * dwarf2/read.c (dwarf2_access_attribute): Rename from dwarf2_default_access_attribute. Look up attribute. (dwarf2_add_field, dwarf2_add_type_defn, dwarf2_add_member_fn): Update.
Diffstat (limited to 'gdb/tracectf.c')
0 files changed, 0 insertions, 0 deletions