From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2XcB-0007Lw-Hl for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:56:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2Xc9-0007Iy-Jt for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:56:02 -0500 Received: from [199.232.76.173] (port=35442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2Xc9-0007Ip-Ef for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:56:01 -0500 Received: from smtp8-g19.free.fr ([212.27.42.65]:41725) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2Xc9-0002BX-Bd for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:56:01 -0500 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 4D52232AA0C for ; Tue, 18 Nov 2008 21:56:00 +0100 (CET) Received: from laptop (vaf26-2-82-244-111-82.fbx.proxad.net [82.244.111.82]) by smtp8-g19.free.fr (Postfix) with ESMTP id 2F3D632A997 for ; Tue, 18 Nov 2008 21:56:00 +0100 (CET) In-Reply-To: <49232A03.3000100@codemonkey.ws> Subject: Re: [Qemu-devel] [5743] gdbstub: manage CPUs as threads (Jan Kiszka) From: "=?windows-1252?q?Fran=E7ois?= Revol" Date: Tue, 18 Nov 2008 22:00:33 +0100 CET Message-Id: <6003904308-BeMail@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Paul Brook wrote: > > On Tuesday 18 November 2008, Anthony Liguori wrote: > > > >> Revision: 5743 > >> http://svn.sv.gnu.org/viewvc/=3Fview=3Drev&root=3Dqemu&revision=3D5743 > > > > >> Author: aliguori > >> Date: 2008-11-18 20:30:24 +0000 (Tue, 18 Nov 2008) > >> > >> Log Message: > >> ----------- > >> gdbstub: manage CPUs as threads (Jan Kiszka) > >> > > > > This is wrong. CPUs do not share the same address space, so should > > be modelled > > as processes, not threads. > > > > They share the same physical address space. How well does GDB > support > debugging processes verses threads=3F A cursory look seems to suggest > the > thread debugging support is slightly better (thread events) than the > process debugging support. They look very similar though. Well they do if you except cache (but those are supposed to stay coherent anyway), and NUMA systems, does QEMU emulate any NUMA machine yet =3F Fran=E7ois.