* s390-nat.c (s390_can_use_hw_breakpoint): Only support breakpoints
	of type bp_hardware_watchpoint.

gdb/testsuite/

	* gdb.base/hbreak.exp: Disable for s390*-*-* targets.
	* gdb.base/watchpoint-hw-hit-once.exp: Likewise.
	* gdb.threads/watchthreads-reorder.exp: Likewise.
This commit is contained in:
Ulrich Weigand
2009-11-27 16:12:00 +00:00
parent 1b536f04b9
commit b179846202
6 changed files with 15 additions and 4 deletions

View File

@@ -380,7 +380,7 @@ s390_remove_watchpoint (CORE_ADDR addr, int len, int type)
static int
s390_can_use_hw_breakpoint (int type, int cnt, int othertype)
{
return 1;
return type == bp_hardware_watchpoint;
}
static int