This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
where to set no_hardware_watchpoints?
- From: Randolph Chung <randolph at tausq dot org>
- To: gdb at sources dot redhat dot com
- Date: Mon, 22 Nov 2004 11:36:07 -0800
- Subject: where to set no_hardware_watchpoints?
- Reply-to: Randolph Chung <randolph at tausq dot org>
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/