From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: mzpqnxow <musl@mzpqnxow.com>
Cc: musl@lists.openwall.com, Rich Felker <dalias@libc.org>
Subject: Re: Issues building gdbserver with musl
Date: Mon, 5 Jun 2017 11:31:27 +0200 [thread overview]
Message-ID: <20170605113127.270f0473@free-electrons.com> (raw)
In-Reply-To: <CA+qPFcKAn1DmV6S9GEFi0LpBxBXqLjAUevaXvhQ6ZC7mPmPb-Q@mail.gmail.com>
Hello,
On Sat, 3 Jun 2017 18:50:59 -0400, mzpqnxow wrote:
> FWIW, the following is the patch I came up with for PPC- it was very, very
> short:
>
> diff -Naur gdb-7.12/gdb/gdbserver/linux-ppc-low.c
> gdb-7.12-ppc-patched/gdb/gdbserver/linux-ppc-low.c
> --- gdb-7.12/gdb/gdbserver/linux-ppc-low.c 2016-08-01 11:50:20.000000000
> -0400
> +++ gdb-7.12-ppc-patched/gdb/gdbserver/linux-ppc-low.c 2017-05-15
> 13:40:22.073884258 -0400
> @@ -21,7 +21,9 @@
> #include "linux-low.h"
>
> #include <elf.h>
> +#define __ASSEMBLY__
> #include <asm/ptrace.h>
> +#undef __ASSEMBLY__
Can we upstream something like this? What is the explanation why musl
needs such a patch and not glibc/uclibc?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-06-05 9:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-03 14:14 Thomas Petazzoni
2017-06-03 14:34 ` Khem Raj
2017-06-03 17:19 ` mzpqnxow
2017-06-03 20:14 ` Thomas Petazzoni
2017-06-03 20:13 ` Thomas Petazzoni
2017-06-03 22:50 ` mzpqnxow
2017-06-05 9:31 ` Thomas Petazzoni [this message]
2017-06-11 2:46 ` Rich Felker
2017-06-11 22:37 ` A. Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170605113127.270f0473@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=dalias@libc.org \
--cc=musl@lists.openwall.com \
--cc=musl@mzpqnxow.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).