Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bryan Wilkerson <bryanwilkerson@yahoo.com>
To: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
Cc: Daniel Jacobowitz <drow@false.org>, gdb@sources.redhat.com
Subject: Re: Fwd: gdb & pthreads - the Ike and Tina of Linux dev
Date: Fri, 03 Jun 2005 12:57:00 -0000	[thread overview]
Message-ID: <20050603125729.58958.qmail@web53410.mail.yahoo.com> (raw)
In-Reply-To: <429DB228.9020207@codito.com>



--- Ramana Radhakrishnan
<ramana.radhakrishnan@codito.com> wrote:

> Hi Bryan ,
> 
> Whats the compiler / binutils / glibc version you
> are using? 


That information, except binutils, was in my original
post.  To summarize:  

gcc - 3.3.5-5 20050117 Thread model: posix
binutils - 2.15.94.0.2.2-3 
glibc - 2.3.4-23
kernel - 2.6.11.4-20a-default

All up to date, standard, SuSE Pro 9.3 components.
I've repeated the problem on two different hardware
platforms - a Prescott P4 system and a Pentium-M
system. 

Below is a screen dump of my attempt to debug the
previously attached test case.  Note that I didn't
type the final "Quit" it did that in response to my
running the program.  If I don't put in the breakpoint
or put a breakpoint in main() only, everything works
fine.

If there is any other information I can provide, let
me know.



bwilkers@bwilkers-mobl:~/proj/temp/gdbthread> gdb
gdbthread
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"...Using
host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) b gdbthread.cpp:30
Breakpoint 1 at 0x804879f: file gdbthread.cpp, line
30.
(gdb) r
Starting program:
/home/bwilkers/proj/temp/gdbthread/gdbthread

Program terminated with signal SIGTRAP,
Trace/breakpoint trap.
The program no longer exists.
(gdb) Quit
(gdb)


      reply	other threads:[~2005-06-03 12:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-27 16:22 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 message]

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=20050603125729.58958.qmail@web53410.mail.yahoo.com \
    --to=bryanwilkerson@yahoo.com \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=ramana.radhakrishnan@codito.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