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.
+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.
 
 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",