From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28208 invoked by alias); 28 Feb 2008 19:36:09 -0000 Received: (qmail 28198 invoked by uid 22791); 28 Feb 2008 19:36:09 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Feb 2008 19:35:50 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id CC51B3C233; Thu, 28 Feb 2008 11:35:47 -0800 (PST) Subject: Re: Beginner question regarding gdb symbol files From: Michael Snyder To: Daniel Jacobowitz Cc: luca regini , gdb@sourceware.org In-Reply-To: <20080228165941.GA1954@caradoc.them.org> References: <64077c280802210543r163ce60aje62c2d6fc4632554@mail.gmail.com> <20080221134725.GA6642@caradoc.them.org> <64077c280802280757n76d94f5ckd839cca266437296@mail.gmail.com> <20080228161244.GA31641@caradoc.them.org> <64077c280802280852j67689f54g6e6fefc8f6ba1ba4@mail.gmail.com> <20080228165941.GA1954@caradoc.them.org> Content-Type: text/plain Date: Fri, 29 Feb 2008 01:10:00 -0000 Message-Id: <1204227347.19253.456.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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: 2008-02/txt/msg00253.txt.bz2 On Thu, 2008-02-28 at 11:59 -0500, Daniel Jacobowitz wrote: > On Thu, Feb 28, 2008 at 05:52:42PM +0100, luca regini wrote: > > > > > > --add-gnu-debuglink is not related to this situation. GDB should > > > automatically load symbols for your plugin when the application loads > > > it. What doesn't work? > > > > > > > The plug-in is loaded dynamically by the server application so it runs > > in the server application address space. When i try to attach to the > > server application gdb displays a message about a successeful load of > > the symbols but then complains about missing source files, then i am > > not able to set a breakpoint in the source of the plug-in. > > Sorry, this is not enough information. We need the exact output from > GDB to help you. Yes, please attach a log of your gdb session. Thanks. You say you're using attach? What happens if you launch the server under gdb? What happens if you attach to the server before it dlopens the plugin? (I assume you're using dlopen...)