* linux-low.h (struct lwp_info): New fields
[binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 4fae9ccf21960389595558fe1c790467d0f5d689..f2e39fd64a9b58e4380b739aa949f07163712927 100644 (file)
@@ -1,3 +1,21 @@
+2010-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * 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.
+
+2010-03-06  Simo Melenius  <simo.melenius@iki.fi>
+
+       * linux-low.c (linux_wait_for_lwp): Fetch the regcache after
+       switching the current inferior, not before.
+
 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Makefile.in (clean): Replace reg-i386.c, reg-x86-64.c,