mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 00:52:16 +08:00
Fix TCL error in gdb.python/py-format-string.exp.
2020-06-17 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.python/py-format-string.exp: Move test for python support earlier, out of function body.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
|
|
||||||
|
Fix TCL error in gdb.python/py-format-string.exp.
|
||||||
|
|
||||||
|
* gdb.python/py-format-string.exp: Move test for python support
|
||||||
|
earlier, out of function body.
|
||||||
|
|
||||||
2020-06-15 Simon Marchi <simon.marchi@efficios.com>
|
2020-06-15 Simon Marchi <simon.marchi@efficios.com>
|
||||||
|
|
||||||
* gdb.base/index-cache-load-twice.c: New.
|
* gdb.base/index-cache-load-twice.c: New.
|
||||||
|
@ -24,6 +24,11 @@ if [get_compiler_info c++] {
|
|||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Skip all tests if Python scripting is not enabled.
|
||||||
|
gdb_exit
|
||||||
|
gdb_start
|
||||||
|
if { [skip_python_tests] } { continue }
|
||||||
|
|
||||||
# Build inferior to language specification.
|
# Build inferior to language specification.
|
||||||
proc build_inferior {exefile lang} {
|
proc build_inferior {exefile lang} {
|
||||||
global srcdir subdir srcfile testfile hex
|
global srcdir subdir srcfile testfile hex
|
||||||
@ -45,9 +50,6 @@ proc prepare_gdb {exefile} {
|
|||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_load ${exefile}
|
gdb_load ${exefile}
|
||||||
|
|
||||||
# Skip all tests if Python scripting is not enabled.
|
|
||||||
if { [skip_python_tests] } { continue }
|
|
||||||
|
|
||||||
if ![runto_main] then {
|
if ![runto_main] then {
|
||||||
perror "couldn't run to breakpoint"
|
perror "couldn't run to breakpoint"
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user