From: Martin Mohring <martin.mohring@opensuse.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [6195] gdbstub: fix gdbserver_fork
Date: Wed, 07 Jan 2009 13:00:27 +0100 [thread overview]
Message-ID: <4964995B.2090008@opensuse.org> (raw)
In-Reply-To: <E1LKVYT-0006js-M3@cvs.savannah.gnu.org>
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
prev parent reply other threads:[~2009-01-07 12:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 10:22 [Qemu-devel] [6195] gdbstub: fix gdbserver_fork Edgar E. Iglesias
2009-01-07 12:00 ` Martin Mohring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4964995B.2090008@opensuse.org \
--to=martin.mohring@opensuse.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).