Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfa/gdb.threads] Test static thread program
@ 2004-08-10 14:19 Andrew Cagney
  2004-08-10 14:32 ` Michael Chastain
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Cagney @ 2004-08-10 14:19 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 119 bytes --]

Hello,

This test a static threaded program being debugged (it picks up kfails). 
  Tested on RHEL3 amd64.

ok?
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 4980 bytes --]

2004-08-10  Andrew Cagney  <cagney@gnu.org>

	* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
	files.

Index: gdb.threads/staticthreads.c
===================================================================
RCS file: gdb.threads/staticthreads.c
diff -N gdb.threads/staticthreads.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gdb.threads/staticthreads.c	10 Aug 2004 14:14:10 -0000
@@ -0,0 +1,73 @@
+/* This test program is part of GDB, The GNU debugger.
+
+   Copyright 2004 Free Software Foundation, Inc.
+
+   Originally written by Jeff Johnston <jjohnstn@redhat.com>,
+   contributed by Red Hat
+
+   This file is part of GDB.
+
+   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
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#include <pthread.h>
+#include <semaphore.h>
+#include <stdio.h>
+#include <limits.h>
+#include <errno.h>
+
+sem_t semaphore;
+
+void *
+thread_function (void *arg)
+{
+  printf ("Thread executing\n");
+  while (sem_wait (&semaphore) != 0)
+    {
+      if (errno != EINTR)
+	{
+	  perror ("thread_function");
+	  return;
+	}
+    }
+  return NULL;
+}
+
+int 
+main (int argc, char **argv)
+{
+  pthread_attr_t attr;
+
+  pthread_attr_init (&attr);
+  pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
+
+  if (sem_init (&semaphore, 0, 0) == -1)
+    {
+      perror ("semaphore");
+      return -1;
+    }
+
+
+  /* Create a thread, wait for it to complete.  */
+  {
+    pthread_t thread;
+    pthread_create (&thread, &attr, thread_function, NULL);
+    sem_post (&semaphore);
+    pthread_join (thread, NULL);
+  }
+
+  pthread_attr_destroy (&attr);
+  return 0;
+}
Index: gdb.threads/staticthreads.exp
===================================================================
RCS file: gdb.threads/staticthreads.exp
diff -N gdb.threads/staticthreads.exp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gdb.threads/staticthreads.exp	10 Aug 2004 14:14:10 -0000
@@ -0,0 +1,87 @@
+# static.exp -- test script, for GDB, the GNU debugger.
+
+# Copyright 2004 Free Software Foundation, Inc.
+
+# Originally written by Jeff Johnston, contributed by Red Hat.
+
+# 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
+
+if $tracelevel then {
+	strace $tracelevel
+}
+
+set prms_id 0
+set bug_id 0
+
+set testfile "staticthreads"
+set srcfile ${testfile}.c
+set binfile ${objdir}/${subdir}/${testfile}
+set static_flag "-static"
+
+if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
+	 executable \
+	 [list debug "incdir=${objdir}" "additional_flags=${static_flag}" \
+	     ]] != "" } {
+    return -1
+}
+
+gdb_start
+gdb_reinitialize_dir $srcdir/$subdir
+gdb_load ${binfile}
+gdb_test "set print sevenbit-strings" ""
+
+
+# See if the static multi-threaded program runs.
+
+runto_main
+gdb_test "break sem_post"
+set test "Continue to main's call of sem_post"
+gdb_test_multiple "continue" "$test" {
+    -re " sem_post .*$gdb_prompt " {
+	pass "$test"
+    }
+    -re "Program received signal .*$gdb_prompt " {
+	kfail gdb/1328 "$test"
+    }
+}
+    
+
+# See if handle SIG32 helps (a little) with a static multi-threaded
+# program.
+
+rerun_to_main
+gdb_test "handle SIG32 nostop noprint pass"
+set test "Handle SIG32 helps"
+gdb_test "continue" " sem_post .*" "handle SIG32 helps"
+
+
+# See if info threads produces anything approaching a thread list.
+
+set test "info threads"
+gdb_test "info threads" " Thread .*$gdb_prompt"
+
+
+# Check that the program can be quit.
+
+set test "GDB exits with static thread program"
+gdb_test_multiple "quit" "$test" {
+    -re "The program is running.  Exit anyway\\? \\(y or n\\) $" {
+	send_gdb "y\n"
+	exp_continue
+    }
+    eof {
+        pass "$test"
+    }
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-10 14:19 [rfa/gdb.threads] Test static thread program Andrew Cagney
@ 2004-08-10 14:32 ` Michael Chastain
  2004-08-12  0:33 ` Michael Snyder
  2004-09-01 19:28 ` Andrew Cagney
  2 siblings, 0 replies; 8+ messages in thread
From: Michael Chastain @ 2004-08-10 14:32 UTC (permalink / raw)
  To: gdb-patches, ac131313

It would be nice to have some -static tests.

I gave it a superficial look and didn't find anything
to complain about.  Just my two cents from the sidelines.

Michael C


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-10 14:19 [rfa/gdb.threads] Test static thread program Andrew Cagney
  2004-08-10 14:32 ` Michael Chastain
@ 2004-08-12  0:33 ` Michael Snyder
  2004-08-12  1:21   ` Andrew Cagney
  2004-09-01 19:28 ` Andrew Cagney
  2 siblings, 1 reply; 8+ messages in thread
From: Michael Snyder @ 2004-08-12  0:33 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

Andrew Cagney wrote:
> Hello,
> 
> This test a static threaded program being debugged (it picks up kfails). 
>  Tested on RHEL3 amd64.
> 
> ok?
> Andrew

I really really appreciate the contribution of a static thread test.
I'd like to know what specific failure mode(s) you're looking for.
Any chance you could test it on Solaris?




> ------------------------------------------------------------------------
> 
> 2004-08-10  Andrew Cagney  <cagney@gnu.org>
> 
> 	* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
> 	files.
> 
> Index: gdb.threads/staticthreads.c
> ===================================================================
> RCS file: gdb.threads/staticthreads.c
> diff -N gdb.threads/staticthreads.c
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ gdb.threads/staticthreads.c	10 Aug 2004 14:14:10 -0000
> @@ -0,0 +1,73 @@
> +/* This test program is part of GDB, The GNU debugger.
> +
> +   Copyright 2004 Free Software Foundation, Inc.
> +
> +   Originally written by Jeff Johnston <jjohnstn@redhat.com>,
> +   contributed by Red Hat
> +
> +   This file is part of GDB.
> +
> +   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
> +   the Free Software Foundation; either version 2 of the License, or
> +   (at your option) any later version.
> +   
> +   This program is distributed in the hope that it will be useful,
> +   but WITHOUT ANY WARRANTY; without even the implied warranty of
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +   GNU General Public License for more details.
> +   
> +   You should have received a copy of the GNU General Public License
> +   along with this program; if not, write to the Free Software
> +   Foundation, Inc., 59 Temple Place - Suite 330,
> +   Boston, MA 02111-1307, USA.  */
> +
> +#include <pthread.h>
> +#include <semaphore.h>
> +#include <stdio.h>
> +#include <limits.h>
> +#include <errno.h>
> +
> +sem_t semaphore;
> +
> +void *
> +thread_function (void *arg)
> +{
> +  printf ("Thread executing\n");
> +  while (sem_wait (&semaphore) != 0)
> +    {
> +      if (errno != EINTR)
> +	{
> +	  perror ("thread_function");
> +	  return;
> +	}
> +    }
> +  return NULL;
> +}
> +
> +int 
> +main (int argc, char **argv)
> +{
> +  pthread_attr_t attr;
> +
> +  pthread_attr_init (&attr);
> +  pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
> +
> +  if (sem_init (&semaphore, 0, 0) == -1)
> +    {
> +      perror ("semaphore");
> +      return -1;
> +    }
> +
> +
> +  /* Create a thread, wait for it to complete.  */
> +  {
> +    pthread_t thread;
> +    pthread_create (&thread, &attr, thread_function, NULL);
> +    sem_post (&semaphore);
> +    pthread_join (thread, NULL);
> +  }
> +
> +  pthread_attr_destroy (&attr);
> +  return 0;
> +}
> Index: gdb.threads/staticthreads.exp
> ===================================================================
> RCS file: gdb.threads/staticthreads.exp
> diff -N gdb.threads/staticthreads.exp
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ gdb.threads/staticthreads.exp	10 Aug 2004 14:14:10 -0000
> @@ -0,0 +1,87 @@
> +# static.exp -- test script, for GDB, the GNU debugger.
> +
> +# Copyright 2004 Free Software Foundation, Inc.
> +
> +# Originally written by Jeff Johnston, contributed by Red Hat.
> +
> +# 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
> +# the Free Software Foundation; either version 2 of the License, or
> +# (at your option) any later version.
> +# 
> +# This program is distributed in the hope that it will be useful,
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +# GNU General Public License for more details.
> +# 
> +# You should have received a copy of the GNU General Public License
> +# along with this program; if not, write to the Free Software
> +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
> +
> +if $tracelevel then {
> +	strace $tracelevel
> +}
> +
> +set prms_id 0
> +set bug_id 0
> +
> +set testfile "staticthreads"
> +set srcfile ${testfile}.c
> +set binfile ${objdir}/${subdir}/${testfile}
> +set static_flag "-static"
> +
> +if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
> +	 executable \
> +	 [list debug "incdir=${objdir}" "additional_flags=${static_flag}" \
> +	     ]] != "" } {
> +    return -1
> +}
> +
> +gdb_start
> +gdb_reinitialize_dir $srcdir/$subdir
> +gdb_load ${binfile}
> +gdb_test "set print sevenbit-strings" ""
> +
> +
> +# See if the static multi-threaded program runs.
> +
> +runto_main
> +gdb_test "break sem_post"
> +set test "Continue to main's call of sem_post"
> +gdb_test_multiple "continue" "$test" {
> +    -re " sem_post .*$gdb_prompt " {
> +	pass "$test"
> +    }
> +    -re "Program received signal .*$gdb_prompt " {
> +	kfail gdb/1328 "$test"
> +    }
> +}
> +    
> +
> +# See if handle SIG32 helps (a little) with a static multi-threaded
> +# program.
> +
> +rerun_to_main
> +gdb_test "handle SIG32 nostop noprint pass"
> +set test "Handle SIG32 helps"
> +gdb_test "continue" " sem_post .*" "handle SIG32 helps"
> +
> +
> +# See if info threads produces anything approaching a thread list.
> +
> +set test "info threads"
> +gdb_test "info threads" " Thread .*$gdb_prompt"
> +
> +
> +# Check that the program can be quit.
> +
> +set test "GDB exits with static thread program"
> +gdb_test_multiple "quit" "$test" {
> +    -re "The program is running.  Exit anyway\\? \\(y or n\\) $" {
> +	send_gdb "y\n"
> +	exp_continue
> +    }
> +    eof {
> +        pass "$test"
> +    }
> +}



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-12  0:33 ` Michael Snyder
@ 2004-08-12  1:21   ` Andrew Cagney
  2004-08-27  2:57     ` Michael Snyder
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Cagney @ 2004-08-12  1:21 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Andrew Cagney, gdb-patches

> I really really appreciate the contribution of a static thread test.
> I'd like to know what specific failure mode(s) you're looking for.

GDB's thread debugging does not work on GNU/Linux when the program is 
linked statically.

> Any chance you could test it on Solaris? 

Nope.

Andrew



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-12  1:21   ` Andrew Cagney
@ 2004-08-27  2:57     ` Michael Snyder
  2004-08-27 14:49       ` Andrew Cagney
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Snyder @ 2004-08-27  2:57 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Andrew Cagney, gdb-patches

Andrew Cagney wrote:
>> I really really appreciate the contribution of a static thread test.
>> I'd like to know what specific failure mode(s) you're looking for.
> 
> 
> GDB's thread debugging does not work on GNU/Linux when the program is 
> linked statically.

Well yes, I guessed that much.  Can you be more specific?


>> Any chance you could test it on Solaris? 
> 
> 
> Nope.

That worries me, since it sounds like you've only tested on linux.
Solaris has static/dynamic linking and thread debugging too.
Are there no solaris machines available to you?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-27  2:57     ` Michael Snyder
@ 2004-08-27 14:49       ` Andrew Cagney
  2004-09-01  2:27         ` Michael Snyder
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Cagney @ 2004-08-27 14:49 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Andrew Cagney, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

> Andrew Cagney wrote:
> 
>>> I really really appreciate the contribution of a static thread test.
>>> I'd like to know what specific failure mode(s) you're looking for.
>>
>>
>>
>> GDB's thread debugging does not work on GNU/Linux when the program is linked statically.
> 
> 
> Well yes, I guessed that much.  Can you be more specific?

Bug 1328 contains all the information I know, which at present isn't 
much (I'm guessing that it is missing a thread library loaded event). 
I've attached a gdb.log.

Andrew


[-- Attachment #2: gdb.log --]
[-- Type: text/plain, Size: 5525 bytes --]

Test Run By cagney on Fri Aug 27 10:34:37 2004
Native configuration is i686-pc-linux-gnu

		=== gdb tests ===

Schedule of variations:
    unix

Running target unix
Using /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/../../dejagnu/baseboards/unix.exp as board description file for target.
Using /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/../../dejagnu/config/unix.exp as generic interface file for target.
Using /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.exp ...
Executing on host: gcc /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.c  -I/home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite -static -g  -lpthreads -lm   -o /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/gdb.threads/staticthreads    (timeout = 300)
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status

Executing on host: gcc /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.c  -I/home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite -static -g  -lpthread -lm   -o /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/gdb.threads/staticthreads    (timeout = 300)
PASS: gdb.threads/staticthreads.exp: successfully compiled posix threads test case
GNU gdb 2004-08-12-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads 
^[[A
(gdb) dir /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.thread^[[Ks
Source directories searched: /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads:$cdir:$cwd
(gdb) file /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/tes 
tsuite/gdb.threads/staticthreads
Reading symbols from /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/gdb.threads/staticthreads...done.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.threads/staticthreads.exp: set print sevenbit-strings
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x8048254: file /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.c, line 53.
(gdb) run 
Starting program: /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/gdb.threads/staticthreads 

Breakpoint 1, main (argc=1, argv=0xfef0e694) at /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.c:53
53	  pthread_attr_init (&attr);
(gdb) break sem_post
Breakpoint 2 at 0x804bf8d
(gdb) PASS: gdb.threads/staticthreads.exp: break sem_post
continue
Continuing.
Thread executing

Program received signal SIG32, Real-time event 32.
0x0804b367 in __pthread_sigsuspend ()
(gdb) KFAIL: gdb.threads/staticthreads.exp: Continue to main's call of sem_post (PRMS: gdb/1328)
run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/gdb.threads/staticthreads 

Breakpoint 1, main (argc=1, argv=0xfee72504) at /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.c:53
53	  pthread_attr_init (&attr);
(gdb) PASS: gdb.threads/staticthreads.exp: rerun to main
handle SIG32 nostop noprint pass
Signal        Stop	Print	Pass to program	Description
SIG32         No	No	Yes		Real-time event 32
(gdb) PASS: gdb.threads/staticthreads.exp: handle SIG32 nostop noprint pass
continue
Continuing.
Thread executing

Breakpoint 2, 0x0804bf8d in sem_post ()
(gdb) PASS: gdb.threads/staticthreads.exp: handle SIG32 helps
info threads
(gdb) KFAIL: gdb.threads/staticthreads.exp: info threads (PRMS: gdb/1328)
quit
The program is running.  Exit anyway? (y or n) y
PASS: gdb.threads/staticthreads.exp: GDB exits with static thread program
testcase /home/cygnus/cagney/PENDING/rh-th-static/src/gdb/testsuite/gdb.threads/staticthreads.exp completed in 6 seconds

		=== gdb Summary ===

# of expected passes		7
# of known failures		2
Executing on host: /home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/../../gdb/gdb -nw --command gdb_cmd    (timeout = 300)
GNU gdb 2004-08-12-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
/home/cagney/PENDING/rh-th-static/N-tourist-i686-pc-linux-gnu/gdb/testsuite/../../gdb/gdb version  2004-08-12-cvs -nx

runtest completed at Fri Aug 27 10:34:46 2004

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-27 14:49       ` Andrew Cagney
@ 2004-09-01  2:27         ` Michael Snyder
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Snyder @ 2004-09-01  2:27 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Andrew Cagney, gdb-patches

Andrew Cagney wrote:
>> Andrew Cagney wrote:
>>
>>>> I really really appreciate the contribution of a static thread test.
>>>> I'd like to know what specific failure mode(s) you're looking for.
>>>
>>>
>>>
>>>
>>> GDB's thread debugging does not work on GNU/Linux when the program is 
>>> linked statically.
>>
>>
>>
>> Well yes, I guessed that much.  Can you be more specific?
> 
> 
> Bug 1328 contains all the information I know, which at present isn't 
> much (I'm guessing that it is missing a thread library loaded event). 
> I've attached a gdb.log.

All right, then since you're unwilling to do any non-linux testing,
please check it in, and we'll deal with any problems if they come up.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rfa/gdb.threads] Test static thread program
  2004-08-10 14:19 [rfa/gdb.threads] Test static thread program Andrew Cagney
  2004-08-10 14:32 ` Michael Chastain
  2004-08-12  0:33 ` Michael Snyder
@ 2004-09-01 19:28 ` Andrew Cagney
  2 siblings, 0 replies; 8+ messages in thread
From: Andrew Cagney @ 2004-09-01 19:28 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

> Hello,
> 
> This test a static threaded program being debugged (it picks up kfails).  Tested on RHEL3 amd64.

I've checked this in (I did test it on NetBSD/PPC but with no thread 
support it wasn't relevant).

Now to fix the bug.

Andrew

> 2004-08-10  Andrew Cagney  <cagney@gnu.org>
> 
> 	* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
> 	files.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-09-01 19:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-10 14:19 [rfa/gdb.threads] Test static thread program Andrew Cagney
2004-08-10 14:32 ` Michael Chastain
2004-08-12  0:33 ` Michael Snyder
2004-08-12  1:21   ` Andrew Cagney
2004-08-27  2:57     ` Michael Snyder
2004-08-27 14:49       ` Andrew Cagney
2004-09-01  2:27         ` Michael Snyder
2004-09-01 19:28 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox