From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29315 invoked by alias); 12 Apr 2005 13:16:28 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29036 invoked from network); 12 Apr 2005 13:16:17 -0000 Received: from unknown (HELO post.ift.uib.no) (129.177.40.40) by sourceware.org with SMTP; 12 Apr 2005 13:16:17 -0000 Received: from termo1.fi.uib.no ([129.177.39.206] helo=termo1.fi.uib.no.ift.uib.no) by post.ift.uib.no with esmtp (Exim 3.36 #2) id 1DLLFS-0006Ta-00 for gdb@sources.redhat.com; Tue, 12 Apr 2005 15:16:10 +0200 To: gdb@sources.redhat.com Subject: Re: Setting breakpoint in src file located in different directory References: <20050412120746.GB6951@nevyn.them.org> <20050412122148.GA7954@nevyn.them.org> <20050412130410.GA10078@nevyn.them.org> From: Joakim Hove Date: Tue, 12 Apr 2005 13:16:00 -0000 In-Reply-To: <20050412130410.GA10078@nevyn.them.org> (Daniel Jacobowitz's message of "Tue, 12 Apr 2005 09:04:10 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-04/txt/msg00067.txt.bz2 Daniel Jacobowitz writes: > On Tue, Apr 12, 2005 at 01:59:46PM +0200, Joakim Hove wrote: >> o I have a directory ~/libdos/src/ which contains many different >> source files. These files are compiled and linked to a shared >> library. > > That's the key. Shared library. OK - sorry for being late with that information. > [...] If you want this to work from .gdbinit, see "help set > breakpoint pending". "set breakpoint pending on" at the top of .gdbinit did the trick. Thank you very much for your help. Best Regards Joakim Hove -- Joakim Hove hove AT ift uib no / Tlf: +47 (55 5)8 27 90 / Stabburveien 18 Fax: +47 (55 5)8 94 40 / N-5231 Paradis http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04