From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IY7YU-000573-EB for qemu-devel@nongnu.org; Wed, 19 Sep 2007 17:57:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IY7YR-00055T-OA for qemu-devel@nongnu.org; Wed, 19 Sep 2007 17:57:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY7YR-00055K-Jj for qemu-devel@nongnu.org; Wed, 19 Sep 2007 17:57:55 -0400 Received: from nz-out-0506.google.com ([64.233.162.233]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IY7YR-00087n-6Z for qemu-devel@nongnu.org; Wed, 19 Sep 2007 17:57:55 -0400 Received: by nz-out-0506.google.com with SMTP id f1so976630nzc for ; Wed, 19 Sep 2007 14:57:54 -0700 (PDT) Message-ID: Date: Thu, 20 Sep 2007 07:57:53 +1000 From: "Bradley Schatz" Subject: Re: [Qemu-devel] gdbstub breakpoints not working across virtual address spaces In-Reply-To: <20070919131821.GA29275@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070919131821.GA29275@caradoc.them.org> 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 I am running a windows2k guest, which in turn is running coLinux. I wish to set a breakpoint in the linux instance. A windows driver loads, and builds the page tables of two independent virtual address spaces, and backs them with page frames allocated using the windows driver API. The two addreess spaces are a trampoline address space, and then the coLinux address space. The driver then switches to the linux virtual address space via the trampoline space. I am currently setting a breakpoint on an address in the linux address space before the driver is even loaded. On running, the breakpoint is ignored, but colinux runs. Thanks, Bradley On 9/19/07, Daniel Jacobowitz wrote: > On Wed, Sep 19, 2007 at 10:28:00PM +1000, Bradley Schatz wrote: > > I have breakpoints failing in the case where a breakpoint is set on a > > virtual address in another virtual address space. The virtual address > > is mapped to nothing in the current virtual address space. > > > > I would like breakpoints to arbitrarily apply across all virtual > > address spaces. > > I think they already do. Specific example, please. > > -- > Daniel Jacobowitz > CodeSourcery > > >