This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configuring gdb 5.x for use with threads

On Nov 17,  2:27pm, wrote:

> I rebuild my glibc+linuxthreads 2.2.4 agains my linuxkernel
> 2.4.15-pre5 SMP, a was build.

Make sure that you have the following patch (to glibc) applied.  I too
was having problems with debugging multithreaded programs that were
linked against libraries from glibc 2.2.4.  This patch fixed the
problems that I was seeing...

2001-10-05  Kevin Buettner  <>

	* pthread.c (__linuxthread_pthread_sizeof_descr): Change name
	to __linuxthreads_pthread_sizeof_descr to match name used by

RCS file: /cvs/glibc/libc/linuxthreads/pthread.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- libc/linuxthreads/pthread.c	2001/09/12 03:51:41	1.86
+++ libc/linuxthreads/pthread.c	2001/10/07 20:19:16	1.87
@@ -211,7 +211,7 @@
 const int __pthread_offsetof_pid = offsetof(struct _pthread_descr_struct,
-const int __linuxthread_pthread_sizeof_descr
+const int __linuxthreads_pthread_sizeof_descr
   = sizeof(struct _pthread_descr_struct);
 /* Forward declarations */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]