From: "Garrod, David" <dgarrod@enterasys.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: How do I set a hard watchpoint with gdbserver?
Date: Thu, 17 Sep 2009 23:31:00 -0000 [thread overview]
Message-ID: <B095CECB368F0946BF407966E809C354061310B817@MAEXCEVS2.ets.enterasys.com> (raw)
I'm using a configuration of gdb and gdbserver. Both the host (gdb) and the target (gdbserver) are running on Linux on Intel 486 or 586 sytstems.
I would like to be able to issue the command:
watch *(int*)addr
and have it set a "hard" watchpoint on the target. What seems to happening is that a soft watchpoint is being set since when I continue everything seems to hang until I ^C and remove the watchpoint.
How do I persuade gdbserver to set a hard watchpoint rather than a soft watchpoint? Breakpoints work fine in that they get set hard.
Thanks,
Dave Garrod
next reply other threads:[~2009-09-17 23:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 23:31 Garrod, David [this message]
2009-09-18 0:32 ` Michael Snyder
2009-09-18 9:45 ` Pedro Alves
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=B095CECB368F0946BF407966E809C354061310B817@MAEXCEVS2.ets.enterasys.com \
--to=dgarrod@enterasys.com \
--cc=gdb@sourceware.org \
/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