2012-01-24 Pedro Alves <pedro@codesourcery.com>
authorTom Tromey <tromey@redhat.com>
Tue, 24 Jan 2012 21:32:56 +0000 (21:32 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 24 Jan 2012 21:32:56 +0000 (21:32 +0000)
commitf90263c12471deb24d0fb69c09b8039b1d50af16
tree47be77e01d022ebdde0b0df328888aae12302d2d
parent09ac7c10d43e1cbbebdc90e9f7b044d34488f2ec
2012-01-24  Pedro Alves  <pedro@codesourcery.com>

* breakpoint.c (breakpoint_hit_catch_fork)
(breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
(breakpoint_hit_catch_exec): Make use of the `ws' argument.
* infrun.c (inferior_has_forked, inferior_has_vforked)
(inferior_has_execd, inferior_has_called_syscall): Delete.
(handle_syscall_event): Get syscall_number from the execution
control state's wait status.
(wait_for_inferior): Don't clear syscall_number.
gdb/ChangeLog
gdb/breakpoint.c
gdb/infrun.c