diff options
author | Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | 2011-12-30 14:11:57 +0000 |
---|---|---|
committer | Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | 2011-12-30 14:11:57 +0000 |
commit | c0f378ec1b23176323f7ef432cd9931bb3d563cc (patch) | |
tree | 4f8ebe6cd91ccb4400738f1d89f0b42bf5d622e2 /gdb | |
parent | 9220438ca50bd7de2da409f3444f97f012554f9f (diff) | |
download | gdb-c0f378ec1b23176323f7ef432cd9931bb3d563cc.zip gdb-c0f378ec1b23176323f7ef432cd9931bb3d563cc.tar.gz gdb-c0f378ec1b23176323f7ef432cd9931bb3d563cc.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-finish-breakpoint2.exp | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4f49710..5f91bcb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp index fbdc5db..2c61783 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp @@ -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" \ diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp index 433d1e6..451cc90 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp @@ -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 |