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: HW Watchpoint events and the inferior


Hi,

On Wed, 2007-08-01 at 12:00 -0400, Daniel Jacobowitz wrote:
> On Wed, Aug 01, 2007 at 12:18:01PM -0300, Luis Machado wrote:
> > Folks,
> > 
> > I've been investigating watchpoints on GDB and i have a question on how
> > GDB handles Hardware Watchpoint events and which TID it uses to grab
> > information about the stopped_data_address, considering a multithreaded
> > application.
> 
> GDB does not contain support for watchpoints in multi-threaded
> programs.  You can find several patches and discussions of this issue
> in the list archives as recently as the end of June.

Yes, in fact i'm looking forward to improve that situation. That's why i'm going through some of the inferior handling code. Unfortunatelly there isn't much documentation there, and sometimes it gets rather bleak as to what GDB is really trying to do, and how it would handle multiple traps.


Regards,

-- 
Luis Machado
Software Engineer 
IBM Linux Technology Center
LoP Toolchain/Debuggers' team
Phone: +55 19-2132-2218
T/L: 839-2218
e-mail: luisgpm@vnet.linux.ibm.com


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