mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-03-04 23:48:44 +00:00
* gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
flag after restarting GDB if necessary.
This commit is contained in:
parent
e6052b5dd3
commit
182b9acc4b
@ -1,3 +1,8 @@
|
|||||||
|
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
|
* gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
|
||||||
|
flag after restarting GDB if necessary.
|
||||||
|
|
||||||
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
|
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
* gdb.python/py-shared.exp: Call gdb_load_shlibs.
|
* gdb.python/py-shared.exp: Call gdb_load_shlibs.
|
||||||
|
@ -186,6 +186,10 @@ gdb_test "continue" ".*\[Ww\]atchpoint.*result.*Old value = 0.*New value = 25.*m
|
|||||||
# Start with a fresh gdb.
|
# Start with a fresh gdb.
|
||||||
clean_restart ${testfile}
|
clean_restart ${testfile}
|
||||||
|
|
||||||
|
# Disable hardware watchpoints if necessary.
|
||||||
|
if [target_info exists gdb,no_hardware_watchpoints] {
|
||||||
|
gdb_test_no_output "set can-use-hw-watchpoints 0" ""
|
||||||
|
}
|
||||||
if ![runto_main] then {
|
if ![runto_main] then {
|
||||||
fail "Cannot run to main."
|
fail "Cannot run to main."
|
||||||
return 0
|
return 0
|
||||||
@ -201,6 +205,10 @@ gdb_test "continue" ".*\[Ww\]atchpoint.*result.*Old value = 0.*New value = 25.*"
|
|||||||
# Start with a fresh gdb.
|
# Start with a fresh gdb.
|
||||||
clean_restart ${testfile}
|
clean_restart ${testfile}
|
||||||
|
|
||||||
|
# Disable hardware watchpoints if necessary.
|
||||||
|
if [target_info exists gdb,no_hardware_watchpoints] {
|
||||||
|
gdb_test_no_output "set can-use-hw-watchpoints 0" ""
|
||||||
|
}
|
||||||
if ![runto_main] then {
|
if ![runto_main] then {
|
||||||
fail "Cannot run to main."
|
fail "Cannot run to main."
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user