This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why gdb-7.1 doesn't set hardware watchpoints on i7 CPU (amd64)?


On 12/26/2010 21:06, Paul Pluzhnikov wrote:
On Thu, Dec 16, 2010 at 7:20 PM, Yuri<yuri@rawbw.com> wrote:
All watchpoints are software.
How can I troubleshoot? How to understand why its unable to set HW
watchpoints?
You begin by explaining what made you conclude that you can't set HW
watchpoints, preferably by showing a sample program and a complete log
of your GDB session. Verifying that the same problem exists in current
CVS snapshot is also a good idea.

Sorry, I missed your reply.
This happens on all programs.
I "conclude" by seeing that it prints "Watchpoint" not "Hardware watchpoint" and observing a very slow execution after it is set.


(gdb) watch *(char*)0x3c74340
Watchpoint 6: *(char*)0x3c74340
(gdb) c
<...very long wait...>

Yuri


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]