OSDN Git Service

* breakpoint.c (bpstat_stop_status): Add new argument
authoruweigand <uweigand>
Thu, 13 May 2004 16:39:04 +0000 (16:39 +0000)
committeruweigand <uweigand>
Thu, 13 May 2004 16:39:04 +0000 (16:39 +0000)
commit8789cca2431537f943cd0174d5d74284f9792354
tree3a3c5747fc28dacbbddf6904aab82b4ecde08162
parent46edae159a1cb9dcae12021da6f3b79c55a2e8b6
* 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