* gdb.threads/staticthreads.exp: Override signal to check for hppa.
authorDaniel Jacobowitz <drow@false.org>
Sat, 30 Apr 2005 19:56:47 +0000 (19:56 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 30 Apr 2005 19:56:47 +0000 (19:56 +0000)
Slightly relax "sem_post" name checking.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/staticthreads.exp

index 32c72811045f4858510005e32243b3cc1cf1f82b..e133fd821f9d2f53de15b9abfd5ad20cc8314f65 100644 (file)
@@ -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.
index bf04fa3bcee11c895bcc6625766bc23252aa67e8..53ceaa06fa6974f0b699cec81e2497235c70c5f7 100644 (file)
@@ -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.
This page took 0.034165 seconds and 4 git commands to generate.