* infrun.c (handle_inferior_event): Update the comment about users

of stepped_after_stopped_by_watchpoint.
This commit is contained in:
Ben Elliston 2005-05-02 23:56:36 +00:00
parent 27eed06bc2
commit 8bbde30215
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-05-03 Ben Elliston <bje@au.ibm.com>
* infrun.c (handle_inferior_event): Update the comment about users
of stepped_after_stopped_by_watchpoint.
2005-05-02 Corinna Vinschen <vinschen@redhat.com>
* MAINTAINERS: Remove hint that sh64 doesn't build.

View File

@ -1233,11 +1233,10 @@ int stepped_after_stopped_by_watchpoint;
void
handle_inferior_event (struct execution_control_state *ecs)
{
/* NOTE: cagney/2003-03-28: If you're looking at this code and
thinking that the variable stepped_after_stopped_by_watchpoint
isn't used, then you're wrong! The macro STOPPED_BY_WATCHPOINT,
defined in the file "config/pa/nm-hppah.h", accesses the variable
indirectly. Mutter something rude about the HP merge. */
/* NOTE: bje/2005-05-02: If you're looking at this code and thinking
that the variable stepped_after_stopped_by_watchpoint isn't used,
then you're wrong! See remote.c:remote_stopped_data_address. */
int sw_single_step_trap_p = 0;
int stopped_by_watchpoint = -1; /* Mark as unknown. */