This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: xtensa: fix build
- From: Baruch Siach <baruch at tkos dot co dot il>
- To: Maxim Grigoriev <maxim2405 at gmail dot com>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org, Marc Gauthier <marc at tensilica dot com>, Dror Maydan <maydan at tensilica dot com>
- Date: Thu, 16 Jan 2014 22:27:27 +0200
- Subject: Re: [PATCH] gdb: xtensa: fix build
- Authentication-results: sourceware.org; auth=none
- References: <f383c2af89af118246e629066ce3f0a4d0b4b6ef dot 1389877313 dot git dot baruch at tkos dot co dot il> <52D80CCB dot 4040008 at redhat dot com> <20140116170135 dot GF4602 at tarshish> <CAC3St3Du78bPPpczNwdV-TvCN-egk1kFn=L9tYveazDdse-dnA at mail dot gmail dot com>
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.
> Let's ask Marc and Dror. I've included them on the list.
>
> Marc, Dror : Who is doing Xtensa GDB maintenance now ? If you want me to
> help, I can do it.
baruch
> On Thu, Jan 16, 2014 at 9:01 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> > Hi Pedro,
> >
> > Thanks for reviewing.
> >
> > On Thu, Jan 16, 2014 at 04:46:03PM +0000, Pedro Alves wrote:
> > > On 01/16/2014 01:01 PM, Baruch Siach wrote:
> > > > We need asm/ptrace.h for PTRACE_GETXTREGS.
> > >
> > > Did something change? Clearly this wasn't needed before.
> >
> > I'm not sure what has changed. As far as I can see sys/ptrace.h never had
> > PTRACE_GETXTREGS defined. Maybe Maxim has a clue (Added to Cc).
> >
> > baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -