This is the mail archive of the
mailing list for the GDB project.
Re: gdb 126.96.36.19971219-cvs doesn't build on Linux/ia64
On Wed, Dec 19, 2007 at 10:08:03PM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <firstname.lastname@example.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 <email@example.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 <firstname.lastname@example.org>
> * 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?