* breakpoint.c (bpstat_stop_status): Add new argument
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 13 May 2004 16:39:11 +0000 (16:39 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 13 May 2004 16:39:11 +0000 (16:39 +0000)
commit00d4360e1c3b690029405686bd10559da3e44796
treedc8029eca1159e3bce9f249d670f82f33d3b4d5e
parent336b9722b8b277b2387d77ce613db63cad27e4db
* breakpoint.c (bpstat_stop_status): Add new argument
STOPPED_BY_WATCHPOINT.  Use it instead of testing
target_stopped_data_address agaist 0 to check whether
or not we stopped due to a hardware watchpoint.
* breakpoint.h (bpstat_stop_status): Adapt prototype.
* infrun.c (handle_inferior_event): Call bpstat_stop_status
with new argument.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c