This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA]: Don't execute gdb.mi/mi-syn-frame.exp when gdb,nosignals
- From: Stephane Carrez <stcarrez at nerim dot fr>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Feb 2003 21:48:14 +0100
- Subject: [RFA]: Don't execute gdb.mi/mi-syn-frame.exp when gdb,nosignals
Hi!
The test mi-syn-frame.exp uses signals (signal, alarm, sleep, SIGALRM) but signals
are not always available.
Can you approve this patch to test gdb,nosignals and avoid executing this test?
(see gdb.base/signals.exp which does the same)
Thanks,
Stephane
2003-02-23 Stephane Carrez <stcarrez at nerim dot fr>
* mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.
Index: testsuite/gdb.mi/mi-syn-frame.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-syn-frame.exp,v
retrieving revision 1.1
diff -u -p -r1.1 mi-syn-frame.exp
--- testsuite/gdb.mi/mi-syn-frame.exp 2 Feb 2003 05:51:09 -0000 1.1
+++ testsuite/gdb.mi/mi-syn-frame.exp 23 Feb 2003 20:43:45 -0000
@@ -1,4 +1,4 @@
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,11 @@
# Test MI output with synthetic frames on the stack (call dummies,
# signal handlers).
+
+if [target_info exists gdb,nosignals] {
+ verbose "Skipping mi-syn-frame.exp because of nosignals."
+ continue
+}
load_lib mi-support.exp
set MIFLAGS "-i=mi"