2011-12-13 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Tue, 13 Dec 2011 16:11:26 +0000 (16:11 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 13 Dec 2011 16:11:26 +0000 (16:11 +0000)
commit6210a125f8517756c18bf50cd313c39d9487f184
tree56559056883375bb00f79e5871a69be02bb903bc
parentfabde4854cc349f0269c073508450789874ef156
2011-12-13  Pedro Alves  <pedro@codesourcery.com>

PR remote/13492

* i386-low.c (i386_low_stopped_data_address): Avoid fetching
DR_CONTROL unless necessary.  Extend comments.
* linux-x86-low.c (x86_linux_prepare_to_resume): Don't write to
DR0-3 if not used.  If any watchpoint was set, clear DR_STATUS.
gdb/gdbserver/ChangeLog
gdb/gdbserver/i386-low.c
gdb/gdbserver/linux-x86-low.c