This is the 2nd part of getting x86 threaded watchpoints to work. It involves some fixes to breakpoint.c. The most major change is that a check has been added for a hardware_watchpoint to ensure that the stopped data address matches the watchpoint address. I do not know if there are platforms that have hardware_watchpoints but cannot tell what the data address is. If this problem exists, I can easily add a flag to determine if the stopped address can be used or not. Alternatively, the default stopped_data_address for such a platform could return a special value that the comparison check could treat as "don't know". Comments? Ok? -- Jeff J. 2004-06-11 Jeff Johnston * breakpoint.c (print_it_typical): Do not issue a warning message if we find a bp_thread_event and there are other items on the stop list. (bpstat_stop_status): When dealing with a hardware_watchpoint, check if the stopped data address matches the watched address for the current breakpoint in the list. When dealing with a read or access watchpoint, if the address does not match, remember to turn off the print for the newly added bpstat.