aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-11-08 12:14:20 -0700
committerTom Tromey <tromey@adacore.com>2022-11-17 11:44:30 -0700
commitc83b95d88feed26eb04f7eca97c08e3ace0b7cbb (patch)
tree6a6fc18e21888feaac051ce5895d0ae2a2ef6a08 /binutils/dwarf.c
parent2368c6bf61cc815e124a88f3414c35aff2022b6d (diff)
downloadgdb-c83b95d88feed26eb04f7eca97c08e3ace0b7cbb.zip
gdb-c83b95d88feed26eb04f7eca97c08e3ace0b7cbb.tar.gz
gdb-c83b95d88feed26eb04f7eca97c08e3ace0b7cbb.tar.bz2
Fix static initialization order problem in windows-nat.c
This patch fixes a static initialization order problem in windows-nat.c that was pointed out by Jon Turney. The underlying problem is that the windows_nat_target constructor relies on serial_logfile already being constructed, but this is not enforced by C++ rules. This patch fixes the problem by initializing the global windows_nat_target later.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions