From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16070 invoked by alias); 28 Feb 2008 17:00:06 -0000 Received: (qmail 16056 invoked by uid 22791); 28 Feb 2008 17:00:06 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Feb 2008 16:59:44 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 8459B983A1; Thu, 28 Feb 2008 16:59:42 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 61CC798140; Thu, 28 Feb 2008 16:59:42 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JUm6f-0000Vr-JC; Thu, 28 Feb 2008 11:59:41 -0500 Date: Thu, 28 Feb 2008 17:13:00 -0000 From: Daniel Jacobowitz To: luca regini Cc: gdb@sourceware.org Subject: Re: Beginner question regarding gdb symbol files Message-ID: <20080228165941.GA1954@caradoc.them.org> Mail-Followup-To: luca regini , gdb@sourceware.org References: <64077c280802210543r163ce60aje62c2d6fc4632554@mail.gmail.com> <20080221134725.GA6642@caradoc.them.org> <64077c280802280757n76d94f5ckd839cca266437296@mail.gmail.com> <20080228161244.GA31641@caradoc.them.org> <64077c280802280852j67689f54g6e6fefc8f6ba1ba4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64077c280802280852j67689f54g6e6fefc8f6ba1ba4@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00248.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery