From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O42Ze-0001we-8q for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:48:26 -0400 Received: from [140.186.70.92] (port=48600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O42Zc-0001wU-3o for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:48:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O42Za-0002uw-3x for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:48:23 -0400 Received: from mail-gy0-f173.google.com ([209.85.160.173]:33577) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O42Za-0002up-13 for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:48:22 -0400 Received: by gyd5 with SMTP id 5so2871774gyd.4 for ; Mon, 19 Apr 2010 18:48:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1423348936.2513841257534586216.JavaMail.root@mail-01.cse.ucsc.edu> <296914565.2513861257534600624.JavaMail.root@mail-01.cse.ucsc.edu> Date: Mon, 19 Apr 2010 18:48:20 -0700 Message-ID: Subject: Re: [Qemu-devel] SPARC user mode multithread From: Gabriel Southern Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org Hi, I noticed that this patch never got applied, but I'm not sure if it works. It seems like it works for forks, but not for pthreads. I tried applying it to the current git head and it seems to change the behavior from dumping the registers to dying silently for code with pthreads, but does work with forks (at least for a very simple test program without shared memory). -Gabriel On Sun, Nov 8, 2009 at 12:28 PM, Blue Swirl wrote: > On Fri, Nov 6, 2009 at 9:10 PM, David Munday wrote: >> Hi, >> Sorry forgot attachment! I have attached it to this email now. I also noticed that the last line should assign the pid to the child, but I didn't see where I can find that info and pass it into the cpu_clone_regs function. > > Could you test if this patch helps? >