This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Understanding aspaces
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 17 Mar 2010 14:50:41 -0400
- Subject: Re: Understanding aspaces
- References: <4BA122FE.7030604@vmware.com>
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