From: Sandra Loosemore Date: Wed, 15 Jul 2015 15:30:14 +0000 (-0700) Subject: Unbreak nios2-*-linux* GDB testing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03346981fe6c11ab63b54a8d1919d6357e659684;p=binutils-gdb.git Unbreak nios2-*-linux* GDB testing. 2015-07-15 Sandra Loosemore gdb/testsuite/ * gdb.base/sigaltstack.exp (finish_test): Add kfail for nios2-*-linux*. * gdb.base/sigbpt.exp (stepi_out): Likewise. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp (advance, advancei): Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cd8cc921098..fb058f99179 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2015-07-15 Sandra Loosemore + + * gdb.base/sigaltstack.exp (finish_test): Add kfail for + nios2-*-linux*. + * gdb.base/sigbpt.exp (stepi_out): Likewise. + * gdb.base/siginfo.exp: Likewise. + * gdb.base/sigstep.exp (advance, advancei): Likewise. + 2015-07-15 Pierre Langlois * gdb.base/range-stepping.exp (gdb_range_stepping_enabled): diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp index b65ea489b34..59a6c17ed80 100644 --- a/gdb/testsuite/gdb.base/sigaltstack.exp +++ b/gdb/testsuite/gdb.base/sigaltstack.exp @@ -76,6 +76,7 @@ proc finish_test { pattern msg } { # don't gracefully fall back to single-stepping. setup_kfail gdb/8841 "i?86-*-linux*" setup_kfail gdb/8841 "*-*-openbsd*" + setup_kfail gdb/8841 "nios2-*-linux*" fail "$msg (could not set breakpoint)" } -re "$pattern.*${gdb_prompt} $" { diff --git a/gdb/testsuite/gdb.base/sigbpt.exp b/gdb/testsuite/gdb.base/sigbpt.exp index ac1378f4298..a53a71c3b68 100644 --- a/gdb/testsuite/gdb.base/sigbpt.exp +++ b/gdb/testsuite/gdb.base/sigbpt.exp @@ -159,6 +159,10 @@ proc stepi_out { name args } { setup_kfail gdb/8841 "sparc*-*-openbsd*" fail "$test (could not insert single-step breakpoint)" } + -re "Cannot insert breakpoint.*Cannot access memory.*$gdb_prompt $" { + setup_kfail gdb/8841 "nios2*-*-linux*" + fail "$test (could not insert single-step breakpoint)" + } -re "keeper.*$gdb_prompt $" { send_gdb "stepi\n" exp_continue diff --git a/gdb/testsuite/gdb.base/siginfo.exp b/gdb/testsuite/gdb.base/siginfo.exp index 1ae87ddc8b2..45365a573e1 100644 --- a/gdb/testsuite/gdb.base/siginfo.exp +++ b/gdb/testsuite/gdb.base/siginfo.exp @@ -64,6 +64,10 @@ gdb_test_multiple "step" "${test}" { setup_kfail gdb/8841 sparc*-*-openbsd* fail "$test (could not insert single-step breakpoint)" } + -re "Cannot insert breakpoint.*Cannot access memory.*$gdb_prompt $" { + setup_kfail gdb/8841 "nios2*-*-linux*" + fail "$test (could not insert single-step breakpoint)" + } -re "done = 1;.*${gdb_prompt} $" { send_gdb "$i\n" exp_continue diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp index 3c9454c788a..413f6deab6a 100644 --- a/gdb/testsuite/gdb.base/sigstep.exp +++ b/gdb/testsuite/gdb.base/sigstep.exp @@ -109,6 +109,10 @@ proc advance { enter_cmd in_handler_prefix in_handler exit_cmd } { setup_kfail gdb/8841 "sparc*-*-openbsd*" fail "$test (could not insert single-step breakpoint)" } + -re "Cannot insert breakpoint.*Cannot access memory.*$gdb_prompt $" { + setup_kfail gdb/8841 "nios2*-*-linux*" + fail "$test (could not insert single-step breakpoint)" + } -re "done = 1;.*${gdb_prompt} $" { send_gdb "$exit_cmd\n" exp_continue -continue_timer @@ -203,6 +207,7 @@ proc advancei { cmd } { # don't gracefully fall back to single-stepping. setup_kfail gdb/8841 "i?86-*-linux*" setup_kfail gdb/8841 "*-*-openbsd*" + setup_kfail gdb/8841 "nios2-*-linux*" fail "$test (could not set breakpoint)" return }