This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 17/17] native Linux: enable always non-stop by default
- From: Doug Evans <dje at google dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 18 May 2015 22:14:24 +0000
- Subject: Re: [PATCH v3 17/17] native Linux: enable always non-stop by default
- Authentication-results: sourceware.org; auth=none
Pedro Alves writes:
> The testsuite shows no regressions with this forced on, on:
>
> - Native x86_64 Fedora 20, with and output "set displaced off".
>
> - Native x86_64 Fedora 20, on top of x86 software single-step series.
>
> - PPC64 Fedora 18.
>
> - S/390 RHEL 7.1.
>
> Let's try making it the default.
>
> gdb/ChangeLog:
> 2015-04-17 Pedro Alves <palves@redhat.com>
>
> * linux-nat.c (linux_nat_always_non_stop_p): Return 1.
> ---
> gdb/linux-nat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
> index d6fd40d..51ecdbc 100644
> --- a/gdb/linux-nat.c
> +++ b/gdb/linux-nat.c
> @@ -4565,7 +4565,7 @@ linux_nat_supports_non_stop (struct target_ops
*self)
> static int
> linux_nat_always_non_stop_p (struct target_ops *self)
> {
> - return 0;
> + return 1;
> }
>
> /* True if we want to support multi-process. To be removed when GDB
Hi.
For reference I don't have any other comments on this series.
[Well, I do, but they're more higher level, and from your
notes you were planning to defer.
E.g., "I'm explictly considering changing the "set non-stop on"
behavior as out of scope here."
ref: https://sourceware.org/ml/gdb-patches/2015-04/msg00663.html
]