aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-linux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-09-30 19:23:39 +0100
committerPedro Alves <palves@redhat.com>2015-09-30 19:23:39 +0100
commit398e081380a204e3b9fb4eb4da069ccf471f930e (patch)
tree9bf16d198853b1fd7f299665a1b27a1d1d6ea075 /gdb/x86-linux-nat.c
parent4ee959fb247a677b048ce3c59c1399c023a400d9 (diff)
downloadfsf-binutils-gdb-398e081380a204e3b9fb4eb4da069ccf471f930e.zip
fsf-binutils-gdb-398e081380a204e3b9fb4eb4da069ccf471f930e.tar.gz
fsf-binutils-gdb-398e081380a204e3b9fb4eb4da069ccf471f930e.tar.bz2
x86/Linux: reenable all-stop on top of non-stop
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.
Diffstat (limited to 'gdb/x86-linux-nat.c')
-rw-r--r--gdb/x86-linux-nat.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/x86-linux-nat.c b/gdb/x86-linux-nat.c
index fa5ef30..d8a188f 100644
--- a/gdb/x86-linux-nat.c
+++ b/gdb/x86-linux-nat.c
@@ -351,15 +351,6 @@ x86_linux_get_thread_area (pid_t pid, void *addr, unsigned int *base_addr)
}
-/* 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;
}