aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-04-30 19:56:47 +0000
committerDaniel Jacobowitz <drow@false.org>2005-04-30 19:56:47 +0000
commit1690f9cfbac2cc9d234c5d545d68fd78e39d3fad (patch)
tree6f3d8a710bcc22c524533f3b9904b1262334cb88 /gdb/testsuite
parent66aba65dca9116ffc223470363056b5ed7cde8e9 (diff)
downloadgdb-1690f9cfbac2cc9d234c5d545d68fd78e39d3fad.zip
gdb-1690f9cfbac2cc9d234c5d545d68fd78e39d3fad.tar.gz
gdb-1690f9cfbac2cc9d234c5d545d68fd78e39d3fad.tar.bz2
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
Slightly relax "sem_post" name checking.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.threads/staticthreads.exp15
2 files changed, 16 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 32c7281..e133fd8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-30 Randolph Chung <tausq@debian.org>
+
+ * gdb.threads/staticthreads.exp: Override signal to check for hppa.
+ Slightly relax "sem_post" name checking.
+
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/unload.exp: Use new shared library infrastructure.
diff --git a/gdb/testsuite/gdb.threads/staticthreads.exp b/gdb/testsuite/gdb.threads/staticthreads.exp
index bf04fa3..53ceaa0 100644
--- a/gdb/testsuite/gdb.threads/staticthreads.exp
+++ b/gdb/testsuite/gdb.threads/staticthreads.exp
@@ -1,6 +1,6 @@
# static.exp -- test script, for GDB, the GNU debugger.
-# Copyright 2004 Free Software Foundation, Inc.
+# Copyright 2004, 2005 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
@@ -62,10 +62,17 @@ gdb_test_multiple "continue" "$test" {
# See if handle SIG32 helps (a little) with a static multi-threaded
# program.
+set sig "SIG32"
+
+# SIGRTMIN is 37 on hppa-linux and hpux
+if [istarget hppa*-*-*] {
+ set sig "SIG37"
+}
+
rerun_to_main
-gdb_test "handle SIG32 nostop noprint pass"
-set test "Handle SIG32 helps"
-gdb_test "continue" " sem_post .*" "handle SIG32 helps"
+gdb_test "handle $sig nostop noprint pass"
+set test "Handle $sig helps"
+gdb_test "continue" " .*sem_post .*" "handle $sig helps"
# See if info threads produces anything approaching a thread list.