qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [5743] gdbstub: manage CPUs as threads (Jan Kiszka)


From: François Revol
Subject: Re: [Qemu-devel] [5743] gdbstub: manage CPUs as threads (Jan Kiszka)
Date: Tue, 18 Nov 2008 22:00:33 +0100 CET

> Paul Brook wrote:
> > On Tuesday 18 November 2008, Anthony Liguori wrote:
> >
> >> Revision: 5743
> >>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5743
> > > > >> 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?  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 ?

François.




reply via email to

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