From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6014 invoked by alias); 17 Mar 2010 18:50:50 -0000 Received: (qmail 6003 invoked by uid 22791); 17 Mar 2010 18:50:49 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Mar 2010 18:50:44 +0000 Received: (qmail 7522 invoked from network); 17 Mar 2010 18:50:43 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Mar 2010 18:50:43 -0000 Date: Wed, 17 Mar 2010 18:50:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: "gdb@sourceware.org" Subject: Re: Understanding aspaces Message-ID: <20100317185038.GA10403@caradoc.them.org> Mail-Followup-To: Michael Snyder , "gdb@sourceware.org" References: <4BA122FE.7030604@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BA122FE.7030604@vmware.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00105.txt.bz2 On Wed, Mar 17, 2010 at 11:44:14AM -0700, Michael Snyder wrote: > Or to be more accurate, "I'm not understanding aspaces". > A little help would be appreciated. > > The basic problem at the moment: software_breakpoint_inserted_here_p is > failing to recognize the breakpoint address, because the aspace of the > breakpoint does not match the aspace of the regcache. > > This is remote debugging between native linux-x86_64 and gdbserver. Is this HEAD? I just recently fixed a similar bug. > The register aspace, however, comes from the current ptid, and > has num equal to some large value that varies from one run to the > next. I'm not sure how it's derived. Sounds like the same bug. -- Daniel Jacobowitz CodeSourcery