qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [6195] gdbstub: fix gdbserver_fork


From: Martin Mohring
Subject: Re: [Qemu-devel] [6195] gdbstub: fix gdbserver_fork
Date: Wed, 07 Jan 2009 13:00:27 +0100
User-agent: Thunderbird 2.0.0.18 (X11/20081112)

Edgar E. Iglesias wrote:
> Revision: 6195
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6195
> Author:   edgar_igl
> Date:     2009-01-07 10:22:28 +0000 (Wed, 07 Jan 2009)
>
> Log Message:
> -----------
> gdbstub: fix gdbserver_fork
>
> As reported by Martin Mohring fork doesn't work with NPTL.
> A fix is attached that makes the also attached test run
> (tested with ARM CodeSourcery 2008q3 on an x86_64
> Fedora Core with kernel 2.6.23).
>   
I can confirm that it makes fork() work again, so Debian Etch, Lenny,
Sid work on ARM inside a chroot running with QEMU (e.g. by running a
shell inside the chroot).

Nevertheless, Aurelien promised me that he or the author will take a
look into svn commit 6095, because the case that CONFIG_USER_ONLY is
defined and USE_NPTL cause the function gdbserver_fork() to be not
defined inside gdbstub.c, thus causing a compilation error. Also, the
question is open if gdb works and was tested in user mode with more than
one threads at all (on the other hand, the makes sense only if yes).

Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]