* gdb.base/watchpoint.c (func2): Initialize local_a. Add
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Aug 2012 15:55:45 +0000 (15:55 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Aug 2012 15:55:45 +0000 (15:55 +0000)
commitbdddb4dec8340fcf738d014fe772c059eaf06053
treec9af0db90267192d85fc16db29be8635f0584ba8
parent7c3270aec11d401689c9b9cbd6b1c9d574385526
* gdb.base/watchpoint.c (func2): Initialize local_a.  Add
marker comment at the beginning (after intialization).
* gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
breakpoint on marker comment instead of function begin.
(test_wide_location_1): Do not expect HW watchpoints on 32-bit
PowerPC.
(test_wide_location_2): Do not expect HW watchpoints on 32-bit
or 64-bit PowerPC.
(do_tests): Consistently set can-use-hw-watchpoints to 0 if
gdb,no_hardware_watchpoints flag is set.
(initialize): Remove now redundant can-use-hw-watchpoints change.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.c
gdb/testsuite/gdb.base/watchpoint.exp