where to set no_hardware_watchpoints?

Randolph Chung randolph@tausq.org
Mon Nov 22 20:34:00 GMT 2004


testsuite/gdb.threads/watchthreads.exp contains a comment:

# This test verifies that a watchpoint is detected in the proper thread
# so the test is only meaningful on a system with hardware watchpoints.
if [target_info exists gdb,no_hardware_watchpoints] {
    return 0;
}

as far as i can tell, nothing is setting this flag. where is this
supposed to be set? would it make sense to make this test rely on gdb
itself instead? i.e. test for something like:

(gdb) hbreak main
No hardware breakpoint support in the target.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/



More information about the Gdb mailing list