]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix watch address truncation. The address was truncated when it was passed to
authorpjd <pjd@FreeBSD.org>
Tue, 27 Dec 2005 23:23:47 +0000 (23:23 +0000)
committerpjd <pjd@FreeBSD.org>
Tue, 27 Dec 2005 23:23:47 +0000 (23:23 +0000)
commitc11d01f58c2a77cbed7a38ed8970e0435a2c63d6
tree6ae8fffb956221ee2e06486107188f57daf8f680
parent5e136009538a36ec42653740d9d983fac13a97ac
Fix watch address truncation. The address was truncated when it was passed to
amd64_set_watch() as 'unsigned int' and 'unsigned int' is 32bit long on amd64.

Even with that fix hardware watchpoint don't work for me on amd64, ie. when
I set the watchpoint and write a byte there, nothing happens.
sys/amd64/amd64/db_trace.c