Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Yuri <yuri@rawbw.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: gdb@sourceware.org
Subject: Re: Why gdb-7.1 doesn't set hardware watchpoints on i7 CPU (amd64)?
Date: Thu, 30 Jun 2011 22:31:00 -0000	[thread overview]
Message-ID: <4E0CF948.6030303@rawbw.com> (raw)
In-Reply-To: <AANLkTinq0Tik8LU70aV81xsNeFi8=mKVvzbb1xp4s_qV@mail.gmail.com>

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


  reply	other threads:[~2011-06-30 22:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17  3:20 Yuri
2010-12-27  5:07 ` Paul Pluzhnikov
2011-06-30 22:31   ` Yuri [this message]
2011-06-30 22:50     ` Paul Pluzhnikov
2011-06-30 23:40       ` Yuri
2011-07-01 10:02         ` Pedro Alves
2011-06-30 22:27 ` Yuri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0CF948.6030303@rawbw.com \
    --to=yuri@rawbw.com \
    --cc=gdb@sourceware.org \
    --cc=ppluzhnikov@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox