From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6881 invoked by alias); 14 Nov 2007 22:27:37 -0000 Received: (qmail 6872 invoked by uid 22791); 14 Nov 2007 22:27:36 -0000 X-Spam-Check-By: sourceware.org Received: from web56602.mail.re3.yahoo.com (HELO web56602.mail.re3.yahoo.com) (66.196.97.46) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 14 Nov 2007 22:27:34 +0000 Received: (qmail 79104 invoked by uid 60001); 14 Nov 2007 22:27:32 -0000 X-YMail-OSG: 5gzTnzUVM1niBkd7G6PVFuFzvlS6o21Yx5rSlkInKqrwgCa0d8RGphYDZo6Tclw2GQpiwXy9QDGY_uVOKdbtzqq1OykVTkDYAfqG.CRK_uM8NEaQOWUejJYNm94MGICONp4LPJWBqWey7h8- Received: from [91.124.209.55] by web56602.mail.re3.yahoo.com via HTTP; Wed, 14 Nov 2007 14:27:32 PST Date: Wed, 14 Nov 2007 22:27:00 -0000 From: "Oleg V. Zhylin" Subject: Re: threads/2292: GDB process stops when debugging threaded program To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20071114132545.GA7892@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <536096.78475.qm@web56602.mail.re3.yahoo.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00149.txt.bz2 Sorry for not looking this up myself, I definitely should have. It seems like a lot of people use "pure" gdb (w/o DDD or other "shells") for pthread projects debugging, but for some reason I experience behavior described threads/2292 on every Linux box I have access to. Looks like I'm missing something obvious, but I would be very grateful if someone points out what is it exactly. --- Daniel Jacobowitz wrote: > On Wed, Nov 14, 2007 at 03:33:20AM -0800, Oleg V. Zhylin wrote: > > Hi, > > > > As this issue came up again, I've checked with DDD folks, since > DDD > > steps through threads successfully. DDD does use gdb as debugging > > engine, so clearly it does some configuraiton. We didn't figure out > > what exactly DDD does, but the effect of it is that gdb locates > > /lib/libthread_db.so.1. Thus it looks like my problem can be > > re-formulated > > > > How to make gdb locate libpthread_db library? > > Take a look at the messages from the first message you posted about > the bug. GDB already was finding libthread_db.so.1. If it can't, it > will let you know loudly. > > -- > Daniel Jacobowitz > CodeSourcery > WBR Oleg V. Zhylin ovz@yahoo.com ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs