* linux-low.h (struct lwp_info): New fields
authorPedro Alves <palves@redhat.com>
Sun, 14 Mar 2010 18:46:40 +0000 (18:46 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 14 Mar 2010 18:46:40 +0000 (18:46 +0000)
commitc3adc08c6f4fb5f67d49946d4c45e50b842b1d83
tree0b8f77bb139aa7efba2a5e48576cde8eee98721d
parent51f4c0b08eed762435b7aa6c1784ade7ab20165c
* linux-low.h (struct lwp_info): New fields
`stopped_by_watchpoint' and `stopped_data_address'.
* linux-low.c (linux_wait_for_lwp): Check for watchpoint triggers
here, and cache them in the lwp object.
(wait_for_sigstop): Check stopped_by_watchpoint lwp field
directly.
(linux_resume_one_lwp): Clear the lwp's stopped_by_watchpoint
field.
(linux_stopped_by_watchpoint): Rewrite.
(linux_stopped_data_address): Rewrite.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h