This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb 6.7.50.20071219-cvs doesn't build on Linux/ia64
On Wed, Dec 19, 2007 at 10:08:03PM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>
> > On Wed, Dec 19, 2007 at 09:50:49AM -0800, H.J. Lu wrote:
> >> This regression was introduced by
> >>
> >> 2007-11-01 Daniel Jacobowitz <dan@codesourcery.com>
> >>
> >> * linux-low.c (linux_tracefork_grandchild): New.
> >> (linux_tracefork_child): Use clone.
> >> (linux_test_for_tracefork): Use clone; allocate and free a
> >> stack.
> >>
> >> Daniel, can you look into it?
> >
> > It is an otherwise trivial use of clone. Could someone with access
> > to an ia64-linux system try adding a clone2 case?
>
> This seems to work:
>
> 2007-12-19 Andreas Schwab <schwab@suse.de>
>
> * linux-low.c (STACK_SIZE): Define.
> (linux_tracefork_child): Use it. Use __clone2 on ia64.
> (linux_test_for_tracefork): Likewise.
>
It works for me. Can we check it in?
Thanks.
H.J.