aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/read.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-20 17:23:40 -0600
committerTom Tromey <tom@tromey.com>2021-03-20 17:23:43 -0600
commit51962708bd3701780ac9ffd99a70d8eb2149a376 (patch)
tree505ef41d69854c52b1a9e538efba1d810f694325 /gdb/dwarf2/read.h
parent484b1090630d273dfb70ee96b152ec6b527a1b65 (diff)
downloadfsf-binutils-gdb-51962708bd3701780ac9ffd99a70d8eb2149a376.zip
fsf-binutils-gdb-51962708bd3701780ac9ffd99a70d8eb2149a376.tar.gz
fsf-binutils-gdb-51962708bd3701780ac9ffd99a70d8eb2149a376.tar.bz2
Set per_bfd->partial_symtabs earlier
dwarf2_build_psymtabs sets per_bfd->partial_symtabs at its end, in order to facilitate sharing. However, in order to diassociate partial symtabs from the objfile, we want to change the DWARF reader to reference partial symtabs via the per_bfd. So, we want to set this reference before reading psymtabs. This is safe to do because the assignment is done unconditionally. gdb/ChangeLog 2021-03-20 Tom Tromey <tom@tromey.com> * dwarf2/read.c (dwarf2_build_psymtabs): Set partial_symtabs earlier.
Diffstat (limited to 'gdb/dwarf2/read.h')
0 files changed, 0 insertions, 0 deletions