diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-05-02 23:56:36 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-05-02 23:56:36 +0000 |
commit | 8bbde30215ddfd81748c2ce9fd54f80b7c0fc725 (patch) | |
tree | 013df6b5a7e95a6317441e470ae2ed7723d5629c | |
parent | 27eed06bc26fa63078cf865cf52f6e136be3c942 (diff) | |
download | gdb-8bbde30215ddfd81748c2ce9fd54f80b7c0fc725.zip gdb-8bbde30215ddfd81748c2ce9fd54f80b7c0fc725.tar.gz gdb-8bbde30215ddfd81748c2ce9fd54f80b7c0fc725.tar.bz2 |
* infrun.c (handle_inferior_event): Update the comment about users
of stepped_after_stopped_by_watchpoint.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infrun.c | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dd9f6e4..563160c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/infrun.c b/gdb/infrun.c index 59a73f7..a078693 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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. */ |