OSDN Git Service

* 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)
commit19d1daaefed7bf5584f210132e4c07c35a961c45
tree4570b18ee3efa5d96e91cba148e17cfe10432f20
parenta2fe627a93947c8ca362ae797a2bc18d5fd9edff
* 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