This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] Don't try to run auxv tests in simulator
- From: Fred Fish <fnf at specifix dot com>
- To: gdb-patches at sourceware dot org
- Cc: fnf at specifix dot com
- Date: Thu, 11 May 2006 05:45:35 -0400
- Subject: [RFA] Don't try to run auxv tests in simulator
- Reply-to: fnf at specifix dot com
AFAIK all available simulators don't support auxv info, so trying to
run the auxv tests will fail. They also need corefile support.
I see that corefile.exp has:
# are we on a target board
if ![isnative] then {
return
}
which may be too restrictive for auxv. So I'd propose suppressing the
auxv tests just for simulators, for now at least.
2006-05-11 Fred Fish <fnf@specifix.com>
* gdb.base/auxv.exp: Simulators don't support auxv info
so don't run test if executing in a simulator.
Index: gdb.base/auxv.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/auxv.exp,v
retrieving revision 1.4
diff -u -p -r1.4 auxv.exp
--- gdb.base/auxv.exp 2 May 2005 20:57:30 -0000 1.4
+++ gdb.base/auxv.exp 11 May 2006 09:43:40 -0000
@@ -30,6 +30,12 @@ if $tracelevel then {
set prms_id 0
set bug_id 0
+# Simulators don't support auxv.
+if [target_info exists is_simulator] {
+ unsupported "auxv tests running in simulator"
+ return
+}
+
set testfile "auxv"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}