Description of problem:
GDB watchpoints do not work. There is a standalone testcase for it.
Version-Release number of selected component (if applicable):
longterm, it never worked, verified on:
kernel-2.6.29.3-155.fc11.x86_64 (both as KVM host and guest)
How reproducible:
Always.
Steps to Reproduce:
wget -q -O watchpoint.c 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/watchpoint.c?cvsroot=systemtap'; gcc -Wall -g -o watchpoint watchpoint.c; ./watchpoint; echo $?
Actual results:
2
Expected results:
0
Additional info:
Return code 2 means the testcase missed the watchpoint to be hit.