PR 16329: remote debugging broken on Solaris.
authorPedro Alves <palves@redhat.com>
Mon, 16 Dec 2013 14:04:52 +0000 (14:04 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 16 Dec 2013 14:04:52 +0000 (14:04 +0000)
commit9a362b9a3291ef43316e1606e2b26fe55ebb187f
treebdc3121814d955ba59a16f39594bf92ef922594e
parent4bc461905647a55faac8fe5eda16cc9f0266721d
PR 16329: remote debugging broken on Solaris.

Like on GNU/Linux (linux-thread-db.c), the Solaris solaris-threads
target (handles libthread_db.so) shouldn't be pushed when remote
debugging.

This uses the same predicate used by linux-thread-db.c.

gdb/
2013-12-16  Pedro Alves  <palves@redhat.com>

PR 16329
* sol-thread.c (check_for_thread_db): If the target can't run or
isn't a core, return without pushing.
gdb/ChangeLog
gdb/sol-thread.c