This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb: xtensa: fix build

On 01/16/2014 08:27 PM, Baruch Siach wrote:
> Hi Maxim,
> On Thu, Jan 16, 2014 at 12:11:41PM -0800, Maxim Grigoriev wrote:
>> Hello Pedro and Baruch,
>> I actually haven't been doing Xtensa GDB maintenance for quite some time
>> now since I left Tensilica.
> Since xtensa-linux-nat.c used PTRACE_GETXTREGS since the beginning, and since 
> sys/ptrace.h (at least on uClibc) never defined this value, the question is 
> simply how did you build gdb at the time?
> I should note that Buildroot is carrying this patch for more than a year now.

Alright.  Indeed, the original submission left me wondering whether
the "We" in "We need" might even be talking about a different libc
than what the original port was done against (if not, weird that this
didn't come up then), and if so, then I have to wonder whether
just switching to asm/ptrace.h might be breaking the build against
other libc (glibc?), and therefore we might need to include both.
So mainly I'm just looking for a little more confirmation and
more extended description for the commit log / archives.

Pedro Alves

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]