This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Skip gdb2495.exp if nosignals
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 8 Jan 2010 12:49:09 -0500
- Subject: [ob] Skip gdb2495.exp if nosignals
As per $SUBJECT. The test uses raise(SIGABRT); this compiles on
arm-eabi, but does not have the desired effect. The program
just exits.
--
Daniel Jacobowitz
CodeSourcery
2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
Index: gdb.cp/gdb2495.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/gdb2495.exp,v
retrieving revision 1.2
diff -u -p -r1.2 gdb2495.exp
--- gdb.cp/gdb2495.exp 27 Sep 2009 20:41:53 -0000 1.2
+++ gdb.cp/gdb2495.exp 8 Jan 2010 17:45:45 -0000
@@ -35,6 +35,11 @@ if $tracelevel then {
if { [skip_cplus_tests] } { continue }
+if [target_info exists gdb,nosignals] {
+ verbose "Skipping gdb2495.exp because of nosignals."
+ continue
+}
+
# On SPU this test fails because the executable exceeds local storage size.
if { [istarget "spu*-*-*"] } {
return 0