From: Bryan Wilkerson <bryanwilkerson@yahoo.com>
To: gdb@sources.redhat.com
Subject: Fwd: gdb & pthreads - the Ike and Tina of Linux dev
Date: Fri, 27 May 2005 16:22:00 -0000 [thread overview]
Message-ID: <20050527162200.56470.qmail@web53404.mail.yahoo.com> (raw)
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>
>
>
next reply other threads:[~2005-05-27 16:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-27 16:22 Bryan Wilkerson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050527162200.56470.qmail@web53404.mail.yahoo.com \
--to=bryanwilkerson@yahoo.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox