public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Fwd: gdb & pthreads - the Ike and Tina of Linux dev
@ 2005-05-27 16:22 Bryan Wilkerson
  2005-05-27 16:42 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Bryan Wilkerson @ 2005-05-27 16:22 UTC (permalink / raw)
  To: gdb


I tried sending this to gdb-prs but that failed so....
 Any help is greatly appreciated.

-b

--- Bryan Wilkerson <bryanwilkerson@yahoo.com> wrote:
> Date: Fri, 27 May 2005 09:13:41 -0700 (PDT)
> From: Bryan Wilkerson <bryanwilkerson@yahoo.com>
> Subject: gdb & pthreads - the Ike and Tina of Linux
> dev
> To: gdb-prs@sources.redhat.com
> 
> 
> I've submitted a bug regarding this issue but maybe
> there is something I'm doing wrong or could do
> better.
>  
> 
> It's seems as though I have *never* been able to get
> gdb to debug pthread threaded applications.  The
> latest problem is that when gdb hits a breakpoint in
> code that running on a thread other than the main
> thread, I get the following:
> 
> Program terminated with signal SIGTRAP,
> Trace/breakpoint trap.
> The program no longer exists
> 
> ...and no further debugging is possible.  
> 
> below is all of the relevant version information.
> Perhaps someone could suggest a workaround?  Note
> that
> while I am using the kernel.org 2.6.12-rc3 kernel
> with
> the inotify 0.23 patch, I've confirmed that the
> problem also happens with the stock SuSE 9.3 kernel.
> 
> Please CC my e-mail on any replies. 
> 
> Thanks,
> 
> -bryan
> 
> 
> Linux vincent 2.6.12-rc3-inotify-smp #2 SMP Sat May
> 21
> 08:50:26 PDT 2005 i686 i686 i386 GNU/Linux
> bwilkers@vincent:~/proj/aux-media/bin>
> bwilkers@vincent:~/proj/aux-media/bin> gcc -v
> Reading specs from
> /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
> Configured with: ../configure --enable-threads=posix
> --prefix=/usr --with-local-prefix=/usr/local
> --infodir=/usr/share/info --mandir=/usr/share/man
> --enable-languages=c,c++,f77,objc,java,ada
> --disable-checking --libdir=/usr/lib --enable-libgcj
> --with-slibdir=/lib --with-system-zlib
> --enable-shared
> --enable-__cxa_atexit i586-suse-linux
> Thread model: posix
> gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
> bwilkers@vincent:~/proj/aux-media/bin>
> bwilkers@vincent:~/proj/aux-media/bin> gdb -v
> GNU gdb 6.3
> 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 "i586-suse-linux".
> bwilkers@vincent:~/proj/aux-media/bin>
> bwilkers@vincent:~/proj/aux-media/bin>
> /lib/libc.so.6
> GNU C Library stable release version 2.3.4
> (20050218),
> by Roland McGrath et al.
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying
> conditions.
> There is NO warranty; not even for MERCHANTABILITY
> or
> FITNESS FOR A
> PARTICULAR PURPOSE.
> Configured for i686-suse-linux.
> Compiled by GNU CC version 3.3.5 20050117
> (prerelease)
> (SUSE Linux).
> Compiled on a Linux 2.6.9 system on 2005-03-19.
> Available extensions:
>         GNU libio by Per Bothner
>         crypt add-on version 2.1 by Michael Glad and
> others
>         linuxthreads-0.10 by Xavier Leroy
>         GNU Libidn by Simon Josefsson
>         NoVersion patch for broken glibc 2.0
> binaries
>         BIND-8.2.3-T5B
>         libthread_db work sponsored by Alpha
> Processor
> Inc
>         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten
> Kukuk
> Thread-local storage support included.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/libc/bugs.html>.
> bwilkers@vincent:~/proj/aux-media/bin>   
> 
> 

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

end of thread, other threads:[~2005-06-03 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-27 16:22 Fwd: gdb & pthreads - the Ike and Tina of Linux dev Bryan Wilkerson
2005-05-27 16:42 ` Daniel Jacobowitz
2005-06-01 12:43   ` Bryan Wilkerson
2005-06-01 13:04     ` Ramana Radhakrishnan
2005-06-03 12:57       ` Bryan Wilkerson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).