This is the mail archive of the gdb-patches@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: [rfc, rfa/doc] Multi-threaded watchpoint improvements


On Thu, Apr 17, 2008 at 11:52:31AM +0200, Andreas Schwab wrote:
> Looking closer, it is actually a kernel bug.  PTRACE_GETSIGINFO is not
> emulated for 32-bit processes, so that si_addr is set to the upper half
> of the address, which is of course zero.

Glad you could track that down.  Yes, my patch made GDB less tolerant
of targets which claim they can report the stopped data address, but
actually fail.  It will only report watchpoints when the target
doesn't know what address has changed, or report a changed address
that falls on a particular watchpoint.  This lets us keep track of
which thread hit each watchpoint.

-- 
Daniel Jacobowitz
CodeSourcery


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