This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Workaround a FreeBSD ptrace() bug with clearing thread events.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: John Baldwin <jhb at FreeBSD dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 26 Feb 2018 08:27:54 +0400
- Subject: Re: [PATCH] Workaround a FreeBSD ptrace() bug with clearing thread events.
- Authentication-results: sourceware.org; auth=none
- References: <20180224000935.43344-1-jhb@FreeBSD.org>
Hi John,
> gdb/ChangeLog:
>
> * fbsd-nat.c (fbsd_resume): Use PT_SETSTEP for stepping and a
> wildcard process pid for super_resume for kernels with a
> specific bug.
Just a small coding style nit:
> +#if __FreeBSD_version < 1200052
> + /*
> + * When multiple threads within a process wish to report STOPPED
> + * events from wait(), the kernel picks one thread event as the
In the GDB project, we do not use the '*' at the start of every line.
See:
https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards#Block_Comment_Formatting
--
Joel