public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: <duane@duaneellis.com>
To: "taylor,  david" <david.taylor@emc.com>,
	 "gdb@sourceware.org" <gdb@sourceware.org>
Subject: RE: (hardware) watchpoints and actions
Date: Wed, 11 Nov 2015 22:02:00 -0000	[thread overview]
Message-ID: <20151111150159.5c1bb9f86d671edec44bb378f25c04cc.170363295e.wbe@email03.secureserver.net> (raw)

>> The goal is to run at full speed until a watched location is 
>> accessed in some prescribed manner. At that time, like a 
>> tracepoint, execute some actions to collect information 
>> and then continue at full speed.

This sounds like a macro to execute on a (data|code) breakpoint.

    https://sourceware.org/gdb/onlinedocs/gdb/Break-Commands.html

Doesn't this already exist? If not, what part of this existing feature
needs to be fixed?

Or are you saying that the watchpoints do not support macros like as
described above?

If so, it seems the UI solution if needed would be the same as the
existing breakpoint-commands.

-Duane.


             reply	other threads:[~2015-11-11 22:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 22:02 duane [this message]
2015-11-12 15:43 ` taylor, david
  -- strict thread matches above, loose matches on Subject: below --
2015-11-12 22:34 duane
2015-11-12 16:14 duane
2015-11-12 20:45 ` taylor, david
2015-11-12 20:50   ` Paul_Koning
2015-11-11 18:01 taylor, david
2015-11-13 14:55 ` Yao Qi

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=20151111150159.5c1bb9f86d671edec44bb378f25c04cc.170363295e.wbe@email03.secureserver.net \
    --to=duane@duaneellis.com \
    --cc=david.taylor@emc.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).