gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Mon, 18 Jul 2011 04:14:21 +0000 (04:14 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 18 Jul 2011 04:14:21 +0000 (04:14 +0000)
* gdb.base/async-shell.exp: Skip test if displaced stepping is not
supported.
* gdb.mi/mi-nonstop-exit.exp: Likewise.
* gdb.mi/mi-nonstop.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.
* gdb.python/py-evthreads.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/async-shell.exp
gdb/testsuite/gdb.mi/mi-nonstop-exit.exp
gdb/testsuite/gdb.mi/mi-nonstop.exp
gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp
gdb/testsuite/gdb.mi/mi-nsintrall.exp
gdb/testsuite/gdb.mi/mi-nsmoribund.exp
gdb/testsuite/gdb.mi/mi-nsthrexec.exp
gdb/testsuite/gdb.python/py-evthreads.exp

index f4c53a47ea4cc6797db7713561b8ebb4e9c68355..558951269c3706e5b733b04503c9aa6743546602 100644 (file)
@@ -1,3 +1,15 @@
+2011-07-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/async-shell.exp: Skip test if displaced stepping is not
+       supported.
+       * gdb.mi/mi-nonstop-exit.exp: Likewise.
+       * gdb.mi/mi-nonstop.exp: Likewise.
+       * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
+       * gdb.mi/mi-nsintrall.exp: Likewise.
+       * gdb.mi/mi-nsmoribund.exp: Likewise.
+       * gdb.mi/mi-nsthrexec.exp: Likewise.
+       * gdb.python/py-evthreads.exp: Likewise.
+
 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Code cleanup.
index b5ccd1fd69673b2711f26c5879fc0b2405098f6a..a1eb31474704027d94f1258714e3f62464d71cfe 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 set testfile async-shell
+
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 if { [prepare_for_testing ${testfile}.exp ${testfile}] } {
     return -1
 }
index b2e4948eea0c99ca50a48c7ab842811c03c63bde..8493b4c0ec193dd80b1ff496751e3d6236acabae 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
index cb69c2d2ce8105790ebaa136894ece6595535684..ec88f02adb4bd40ae82df107eee69c3ce7888927 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
index e760a2deb30396581bd2b385a6813eb89b4fd875..b8d5e4fc14333361e3a8fdb47db553b33fc737ed 100644 (file)
 # Regression test for PR11557.  Make sure we don't end up with a stale
 # register cache just after resuming a thread.
 
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
index 6e1290ab902ae5d58f69b16013d9b9a71dcd1b84..046063b20cf6a6c59f808b03d128a5e1b40fa710 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
index 33b1ac3b4b52e3bf828417addaad4f4bb9f34ea7..1bf892008a6670f21687a551f5ab06ac57ff3468 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
index ccb0edbce651877a285b355d8c8d637e3c2e4e59..06dd1d93c5b90e6719933ae3c10d139f6a778a1f 100644 (file)
@@ -23,6 +23,11 @@ if { [is_remote target] } then {
     continue
 }
 
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
index 097d1529abd8d8469d1f211881edb5432085ce8d..c4019439ede1a318c95acfe443e679292bbde4e7 100644 (file)
@@ -22,6 +22,11 @@ if $tracelevel then {
     strace $tracelevel
 }
 
+if { ![support_displaced_stepping] } { 
+    unsupported "displaced stepping"
+    return -1
+}
+
 load_lib gdb-python.exp
 
 set testfile "py-evthreads"