This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[rfc] Disable 3 testcases for gdbserver
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Fri, 27 Apr 2007 13:04:27 +0200
- Subject: [rfc] Disable 3 testcases for gdbserver
Hi,
this patch marks 3 testcases as unsupported for running with gdbserver.
Testcase auxv.exp wants to create a core file, multi-forks.exp uses follow-fork
and checkpoints.exp is using checkpoints :-)
All features aren't (yet) implemented in gdbserver.
Is this ok?
ChangeLog:
* gdb.base/auxv.exp: Disabled for gdbserver.
* gdb.base/checkpoint.exp: Likewise.
* gdb.base/multi-forks.exp: Likewise.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
diff -urN src/gdb/testsuite/gdb.base/auxv.exp dev/gdb/testsuite/gdb.base/auxv.exp
--- src/gdb/testsuite/gdb.base/auxv.exp 2007-01-09 18:59:09.000000000 +0100
+++ dev/gdb/testsuite/gdb.base/auxv.exp 2007-04-27 11:43:11.000000000 +0200
@@ -28,6 +28,11 @@
return
}
+if [is_remote target] {
+ unsupported "gdbserver cannot create core files yet."
+ return -1
+}
+
if $tracelevel then {
strace $tracelevel
}
diff -urN src/gdb/testsuite/gdb.base/checkpoint.exp dev/gdb/testsuite/gdb.base/checkpoint.exp
--- src/gdb/testsuite/gdb.base/checkpoint.exp 2007-03-12 05:58:06.000000000 +0100
+++ dev/gdb/testsuite/gdb.base/checkpoint.exp 2007-04-27 11:24:02.000000000 +0200
@@ -24,6 +24,11 @@
if { ![isnative] } then {
continue
}
+if [is_remote target] {
+ unsupported "This testcase cannot be run via gdbserver."
+ return -1
+}
+
# Until "set follow-fork-mode" and "catch fork" are implemented on
# other targets...
diff -urN src/gdb/testsuite/gdb.base/multi-forks.exp dev/gdb/testsuite/gdb.base/multi-forks.exp
--- src/gdb/testsuite/gdb.base/multi-forks.exp 2007-01-26 15:53:10.000000000 +0100
+++ dev/gdb/testsuite/gdb.base/multi-forks.exp 2007-04-27 11:24:02.000000000 +0200
@@ -22,6 +22,11 @@
continue
}
+if [is_remote target] {
+ unsupported "follow_fork is not yet implemented for remote target."
+ return -1
+}
+
# Until "set follow-fork-mode" and "catch fork" are implemented on
# other targets...
#