Replace hardwired target-is-async check

This commit replaces a hardwired target-is-async check.

gdb/gdbserver/
2014-08-06  Gary Benson  <gbenson@redhat.com>

	* linux-low.c (linux_supports_non_stop): Use target_is_async_p.
This commit is contained in:
Gary Benson 2014-08-06 11:50:24 +01:00
parent 97964ab320
commit 7089dca47b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-06 Gary Benson <gbenson@redhat.com>
* linux-low.c (linux_supports_non_stop): Use target_is_async_p.
2014-07-31 Gary Benson <gbenson@redhat.com>
* ax.h: Do not include server.h.

View File

@ -5087,7 +5087,7 @@ linux_supports_non_stop (void)
static int
linux_async (int enable)
{
int previous = (linux_event_pipe[0] != -1);
int previous = target_is_async_p ();
if (debug_threads)
debug_printf ("linux_async (%d), previous=%d\n",