Unbreak nios2-*-linux* GDB testing.
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 15 Jul 2015 15:30:14 +0000 (08:30 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 15 Jul 2015 15:34:09 +0000 (08:34 -0700)
2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>

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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sigaltstack.exp
gdb/testsuite/gdb.base/sigbpt.exp
gdb/testsuite/gdb.base/siginfo.exp
gdb/testsuite/gdb.base/sigstep.exp

index cd8cc921098135d07ab5b7db15e1d290d82c7243..fb058f99179f1295cb0b5131d9d99c26513cfacb 100644 (file)
@@ -1,3 +1,11 @@
+2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * 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  <pierre.langlois@arm.com>
 
        * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
index b65ea489b3488f02f6559a87e2f82a3b435edcd2..59a6c17ed80b5bcb1ff44c93ea4817a9cc92dfcc 100644 (file)
@@ -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} $" {
index ac1378f4298b5954635e701d11141fe86fd40b50..a53a71c3b68428f73d191c871b6752c7755cef34 100644 (file)
@@ -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
index 1ae87ddc8b29748c2e4c3c60f5138c513b9860f1..45365a573e10157beadf8cf6363575af775d10b6 100644 (file)
@@ -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
index 3c9454c788ab308cd2d19ee86ffec20b20867723..413f6deab6a4b52a6fff37810b0b3f441b39e227 100644 (file)
@@ -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
            }