This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Understanding aspaces


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]