This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR/21658: gdbserver doesn't start on some libcs
- From: Pedro Alves <palves at redhat dot com>
- To: André Draszik <git at andred dot net>, gdb-patches at sourceware dot org
- Date: Fri, 23 Jun 2017 09:59:47 +0100
- Subject: Re: [PATCH] Fix PR/21658: gdbserver doesn't start on some libcs
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5AC7261B84
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5AC7261B84
- References: <20170623081805.16105-1-git@andred.net>
On 06/23/2017 09:18 AM, André Draszik wrote:
> From: André Draszik <adraszik@tycoint.com>
>
> gdbserver currently fails to start on musl-libc based systems
> with 'sigprocmask: Invalid argument'
>
> The reason is because it uses an invalid argument to sigprocmask():
No it doesn't. This has come up before:
https://sourceware.org/ml/gdb-patches/2017-03/msg00426.html
which led to:
http://austingroupbugs.net/view.php?id=1132
> This is what musl-libc implements, hence gdbserver fails to start.
Please fix musl...
Thanks,
Pedro Alves