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:
parent
97964ab320
commit
7089dca47b
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue