Fix mingw build of gdb
authorTom Tromey <tromey@adacore.com>
Tue, 26 Nov 2019 22:14:57 +0000 (15:14 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 26 Nov 2019 22:14:57 +0000 (15:14 -0700)
commit57357d9df842f7eff4f9a4e6034396846379aa7e
tree1eec4530441dc70b385bfedb70d2b42c4eeadd3d
parent3ea16160a66e0e3bc59842e27e41890411729a86
Fix mingw build of gdb

Christian pointed out on irc that the threading series broke the build
on mingw.  This patch fixes the problem, by moving the initialization
of gdb_demangle_attempt_core_dump into the appropriate #if.

gdb/ChangeLog
2019-11-26  Tom Tromey  <tromey@adacore.com>

* cp-support.c (_initialize_cp_support): Conditionally initialize
gdb_demangle_attempt_core_dump.

Change-Id: I9ace0bea75a51f317ea933b607f6b5a94d651eea
gdb/ChangeLog
gdb/cp-support.c