Hardware watchpoints turned off, inferior not yet started.
authorAndrew Burgess <aburgess@broadcom.com>
Fri, 18 Oct 2013 16:25:14 +0000 (16:25 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Fri, 18 Oct 2013 16:25:14 +0000 (16:25 +0000)
commite8369a73b982f60326e89c38bd1a7e6bb7363beb
tree82dbafc553a62757810f5bf180f32ffd4f24cc95
parent776f04fafe124218f3602c2d9c598662c0f17aa9
Hardware watchpoints turned off, inferior not yet started.

  https://sourceware.org/ml/gdb-patches/2013-10/msg00477.html

gdb/ChangeLog

* breakpoint.c (update_watchpoint): If hardware watchpoints are
forced off, downgrade them to software watchpoints if possible,
and error out if not possible.
(watch_command_1): Move watchpoint type selection closer to
watchpoint creation, and extend the comments.

gdb/testsuite/ChangeLog

* gdb.base/watchpoints.exp: Add test for setting software
watchpoints of different types before starting the inferior.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoints.exp