aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-aarch64.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-01-25 06:48:22 -0700
committerTom Tromey <tom@tromey.com>2024-03-08 07:15:08 -0700
commite9b738dfbdc504589e1a365ce32981f4b23c22c3 (patch)
tree289bc9e3c5315007ac2f9ab9dae5a6994ccbf83e /bfd/cpu-aarch64.c
parentcdabd12b186e8e794045372b753416a18c387d7b (diff)
downloadgdb-e9b738dfbdc504589e1a365ce32981f4b23c22c3.zip
gdb-e9b738dfbdc504589e1a365ce32981f4b23c22c3.tar.gz
gdb-e9b738dfbdc504589e1a365ce32981f4b23c22c3.tar.bz2
Avoid race when reading dwz file
PR gdb/31260 points out a race introduced by the background reading changes. If a given objfile is re-opened when it is already being read, dwarf2_initialize_objfile will call dwarf2_read_dwz_file again, causing the 'dwz_file' to be reset. This patch fixes the problem by arranging to open the dwz just once: when the dwarf2_per_bfd object is created. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31260
Diffstat (limited to 'bfd/cpu-aarch64.c')
0 files changed, 0 insertions, 0 deletions