x86/Linux: reenable all-stop on top of non-stop
authorPedro Alves <palves@redhat.com>
Wed, 30 Sep 2015 18:23:39 +0000 (19:23 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 30 Sep 2015 18:23:39 +0000 (19:23 +0100)
Since the record-btrace target now supports non-stop mode, we no
longer need to force-disable as-ns on x86.

gdb/ChangeLog:
2015-09-30  Pedro Alves  <palves@redhat.com>

* linux-nat.c (linux_nat_always_non_stop_p): Always return 1.
* x86-linux-nat.c (x86_linux_always_non_stop_p): Delete.
(x86_linux_create_target): Don't install
x86_linux_always_non_stop_p.

gdb/ChangeLog
gdb/linux-nat.c
gdb/x86-linux-nat.c

index 2c2aa9ee7f23bfd215630399b0aa2d2d8dbb7bed..688aef7270ed73bda64ecee6724cc88da9d1c427 100644 (file)
@@ -1,3 +1,10 @@
+2015-09-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_nat_always_non_stop_p): Always return 1.
+       * x86-linux-nat.c (x86_linux_always_non_stop_p): Delete.
+       (x86_linux_create_target): Don't install
+       x86_linux_always_non_stop_p.
+
 2015-09-30  Don Breazeal  <donb@codesourcery.com>
 
        * remote.c (remote_parse_stop_reply): Call strprefix instead
index 6423ecc998e8f043c62468cb202b949d0a9addab..eb9f5bb91f6d81123cbf24bb7d66c14cd88e9645 100644 (file)
@@ -4582,8 +4582,6 @@ linux_nat_supports_non_stop (struct target_ops *self)
 static int
 linux_nat_always_non_stop_p (struct target_ops *self)
 {
-  if (linux_ops->to_always_non_stop_p != NULL)
-    return linux_ops->to_always_non_stop_p (linux_ops);
   return 1;
 }
 
index fa5ef300489b8e9bbb26c1dde74b8b587afc01a5..d8a188fb22d5a3f5e0631c5d1e132de51423ddf4 100644 (file)
@@ -351,15 +351,6 @@ x86_linux_get_thread_area (pid_t pid, void *addr, unsigned int *base_addr)
 }
 \f
 
-/* to_always_non_stop_p implementation.  */
-
-static int
-x86_linux_always_non_stop_p (struct target_ops *self)
-{
-  /* Enabling this breaks the btrace target.  */
-  return 0;
-}
-
 /* Create an x86 GNU/Linux target.  */
 
 struct target_ops *
@@ -392,8 +383,6 @@ x86_linux_create_target (void)
   t->to_read_btrace = x86_linux_read_btrace;
   t->to_btrace_conf = x86_linux_btrace_conf;
 
-  t->to_always_non_stop_p = x86_linux_always_non_stop_p;
-
   return t;
 }
 
This page took 0.041407 seconds and 4 git commands to generate.