mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
gdb/testsuite/ * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support is not enabled.
This commit is contained in:
parent
9220438ca5
commit
c0f378ec1b
@ -1,3 +1,10 @@
|
||||
2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
|
||||
|
||||
gdb/testsuite/
|
||||
* gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64
|
||||
* gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
|
||||
is not enabled.
|
||||
|
||||
2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
|
||||
|
@ -118,7 +118,8 @@ if ![runto_main] then {
|
||||
|
||||
gdb_test "print do_nothing" "no debug info.*" "ensure that shared lib has no debug info"
|
||||
gdb_breakpoint "do_nothing" {temporary}
|
||||
gdb_test "continue" "Temporary breakpoint .*in do_nothing.*" "continue to do_nothing"
|
||||
gdb_test "continue" "Temporary breakpoint .*in \\.?do_nothing.*" \
|
||||
"continue to do_nothing"
|
||||
|
||||
gdb_test "python finishBP = SimpleFinishBreakpoint(gdb.newest_frame())" \
|
||||
"SimpleFinishBreakpoint init" \
|
||||
|
@ -38,6 +38,9 @@ gdb_start
|
||||
gdb_reinitialize_dir $srcdir/$subdir
|
||||
gdb_load ${binfile}
|
||||
|
||||
# Skip all tests if Python scripting is not enabled.
|
||||
if { [skip_python_tests] } { continue }
|
||||
|
||||
if ![runto_main] then {
|
||||
fail "Cannot run to main."
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user