mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
gdb/testsuite/
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware single-stepping.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
|
||||||
|
single-stepping.
|
||||||
|
|
||||||
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
|
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
|
||||||
|
@ -126,6 +126,8 @@ proc test_it_block { func } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
proc test_it_break { ndx } {
|
proc test_it_break { ndx } {
|
||||||
|
global software_step
|
||||||
|
|
||||||
set line [gdb_get_line_number "@ Break ${ndx}"]
|
set line [gdb_get_line_number "@ Break ${ndx}"]
|
||||||
|
|
||||||
if { ! [gdb_breakpoint "${line}"] } {
|
if { ! [gdb_breakpoint "${line}"] } {
|
||||||
@ -133,7 +135,11 @@ proc test_it_break { ndx } {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if { $software_step } {
|
||||||
gdb_continue_to_breakpoint "test ${ndx}" ".*@ Location ${ndx}.*"
|
gdb_continue_to_breakpoint "test ${ndx}" ".*@ Location ${ndx}.*"
|
||||||
|
} else {
|
||||||
|
gdb_continue_to_breakpoint "test ${ndx}" ".*@ Break ${ndx}.*"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# If we are using software single-stepping in GDB, then GDB will not
|
# If we are using software single-stepping in GDB, then GDB will not
|
||||||
|
Reference in New Issue
Block a user