2012-01-24 Pedro Alves <palves@redhat.com>
authorTom Tromey <tromey@redhat.com>
Tue, 24 Jan 2012 21:31:24 +0000 (21:31 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 24 Jan 2012 21:31:24 +0000 (21:31 +0000)
commit09ac7c10d43e1cbbebdc90e9f7b044d34488f2ec
tree2c3742b49ef1f700752e854ca1070c96481248ad
parent86eb7e951a825be0c81726558621161edf6858e9
2012-01-24  Pedro Alves  <palves@redhat.com>

* breakpoint.c (bpstat_check_location, bpstat_stop_status,
pc_at_non_inline_function): Add `ws' parameter, and pass it down.
(breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
(breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
`ws' parameter.
(breakpoint_hit_ranged_breakpoint): Add `ws' parameter.  Return
false for events other than TARGET_SIGNAL_TRAP.
(breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
Add `ws' parameter.
(bkpt_breakpoint_hit): Add `ws' parameter.  Return false for
events other than TARGET_SIGNAL_TRAP.
(tracepoint_breakpoint_hit): Add `ws' parameter.
* breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
parameter.
(bpstat_stop_status): Same.
(pc_at_non_inline_function): Same.
* infrun.c (handle_syscall_event, handle_inferior_event): Adjust
to pass the current event's waitstatus to bpstat_stop_status
and pc_at_non_inline_function.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c