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] Add watchpoint hit address function to procfs.c


On Monday 10 May 2010 22:32:33, Pierre Muller wrote:

>   Those failure are a problem within the watchthreads.exp
> source, the test uses '\r' patterns without the '\n' as is usual...
> If I replace all '\r' by '\r+' then there are no failures left
> for that test.
>   I ran again both versions (with TIDGET or plain zero)
> and got exactly the same output for both. Thus, apparently the 
> thread number is not necessary to get the location of the
> watchpoint even if it is not in the main thread (for my OpenSolaris version
> at least...)

Okay, thanks for taking the trouble to confirm this.  Since it was
working before, let's drop that change for now.  I don't want to
change things we don't exactly understand, as we may be breaking
something else.  If we ever figure out why watchpoints in non-main
threads work as is, we should add a comment explaining it.

-- 
Pedro Alves


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