From: "Frédéric Riss" <frederic.riss@gmail.com>
To: Rob Quill <rob.quill@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Watchpoint single-stepping.
Date: Sat, 07 Oct 2006 23:13:00 -0000 [thread overview]
Message-ID: <1160262792.5142.9.camel@funkylaptop> (raw)
In-Reply-To: <baf6008d0610071555x14dbb0dhda8114d1b992faa2@mail.gmail.com>
Le samedi 07 octobre 2006 à 23:55 +0100, Rob Quill a écrit :
> I am trying to find the point in the code where the conditions of a
> software watchpoint are checked each step, as I wish to add something
> that also requires the checking of values of variables at each step.
> Does anyone know where this is?
All the low-level stepping is done in the infrun.c file. Look
particularly at the handle_inferior_event function which is called for
each target stop event. There you'll find calls to bpstat_stop_status
(defined in breakpoint.c) where watchpoint expressions are re-evealuated
and compared to their old value.
Fred.
next prev parent reply other threads:[~2006-10-07 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-07 22:55 Rob Quill
2006-10-07 23:13 ` Frédéric Riss [this message]
[not found] ` <1160262732.5142.8.camel@funkylaptop>
[not found] ` <baf6008d0610081301k49a5bff5ueed19f1c5f60e6ab@mail.gmail.com>
2006-10-08 20:01 ` Rob Quill
2006-10-09 18:09 ` Michael Snyder
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=1160262792.5142.9.camel@funkylaptop \
--to=frederic.riss@gmail.com \
--cc=gdb@sourceware.org \
--cc=rob.quill@gmail.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