gdb: Add missing #ifdef USE_THREAD_DB to gdbserver
authorJames Clarke <jrtc27@jrtc27.com>
Fri, 19 Jan 2018 17:22:50 +0000 (17:22 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Jan 2018 18:18:58 +0000 (18:18 +0000)
commita0aad53764f45a634462288befe4c2eaecbf302d
treeeb5d1d89e46917de6a8904d0bee31eb7a61523bf
parent5a6c3296a7a90694ad4042f6256f3da6d4fa4ee8
gdb: Add missing #ifdef USE_THREAD_DB to gdbserver

Otherwise, linking fails with:

  [...]/linux-low.c:664: undefined reference to `thread_db_notice_clone(thread_info*, ptid_t)'

gdb/gdbserver/ChangeLog:

* linux-low.c (handle_extended_wait): Surround call to
thread_db_notice_clone with #ifdef USE_THREAD_DB.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c