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:
Edjunior Barbosa Machado 2011-12-30 14:11:57 +00:00
parent 9220438ca5
commit c0f378ec1b
3 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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" \

View File

@ -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