OSDN Git Service

* linux-low.h (struct lwp_info): New fields
authorpalves <palves>
Mon, 15 Mar 2010 03:46:40 +0000 (03:46 +0000)
committerpalves <palves>
Mon, 15 Mar 2010 03:46:40 +0000 (03:46 +0000)
commit9a69483b4aa7491859bc6bfa8e2bfdd8cc7151ef
tree3cae528abacf7c45fb651a82ab9048ed56f7719e
parent31f44b5bbd07a6b0dfb40b245a3757a49302c05d
* 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