* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
This commit is contained in:
parent
8e46892cd5
commit
f3ce5b9c8d
|
@ -1,3 +1,7 @@
|
||||||
|
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||||
|
|
||||||
|
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
|
||||||
|
|
||||||
2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
|
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
|
||||||
|
|
|
@ -39,6 +39,14 @@ gdb_test "tfind none" ".*" ""
|
||||||
runto_main
|
runto_main
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
|
|
||||||
|
# We generously give ourselves one "pass" if we successfully
|
||||||
|
# detect that this test cannot be run on this target!
|
||||||
|
if { ![gdb_target_supports_trace] } then {
|
||||||
|
pass "Current target does not support trace"
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
# If testing on a remote host, download the source file.
|
# If testing on a remote host, download the source file.
|
||||||
# remote_download host $srcdir/$subdir/$srcfile
|
# remote_download host $srcdir/$subdir/$srcfile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue