OS: CentOS 7 GDB-7.11
リモート デバッグ セッションでスレッド名がデバッガーに表示されるようになったため、GDB-7.11 が必要です。スレッド名を表示できませんが、GDB を実行すると次のようになるためだと思います。
warning: Can not parse XML target description; XML support was disabled at compile time
私が使用する場合: yum whatprovides libexpat
[root@localhost lib64]# yum whatprovides libexpat
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, nvidia
Loading mirror speeds from cached hostfile
* base: mirror.fdcservers.net
* elrepo: ord.mirror.rackspace.com
* epel: mirror.steadfast.net
* epel-debuginfo: mirror.steadfast.net
* extras: chicago.gaminghost.co
* ius: ord.mirror.rackspace.com
* ius-debuginfo: ord.mirror.rackspace.com
* updates: mirror.sesp.northwestern.edu
expat-2.1.0-8.el7.i686 : An XML parser library
Repo : base
Matched from:
Provides : libexpat.so.1
それは明らかにそこにあり、/usr/lib64 にあります
./configure --with-read-line --with-libexpat を実行すると
.
.
.
checking whether to use expat... auto
checking for libexpat... (cached) no
configure: WARNING: expat is missing or unusable; some features may be unavailable.
.
.
.
繰り返しますが、問題は、なぜ GDB の configure スクリプトがそれを見つけられないのかということです。それは他のすべてを見つけるようです...?