gdb/testsuite/

* 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.
This commit is contained in:
Yao Qi 2011-07-18 04:14:21 +00:00
parent b12c3949ab
commit d5b4a7be2c
9 changed files with 54 additions and 0 deletions

View 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.

View File

@ -14,6 +14,12 @@
# 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
}

View File

@ -13,6 +13,11 @@
# 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"

View File

@ -14,6 +14,12 @@
# 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"

View File

@ -17,6 +17,11 @@
# 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"

View File

@ -13,6 +13,11 @@
# 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"

View File

@ -13,6 +13,11 @@
# 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"

View 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"

View 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"