From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8321 invoked by alias); 31 Mar 2008 12:52:43 -0000 Received: (qmail 8282 invoked by uid 22791); 31 Mar 2008 12:52:42 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0910.google.com (HELO rv-out-0910.google.com) (209.85.198.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 12:52:10 +0000 Received: by rv-out-0910.google.com with SMTP id l15so933376rvb.48 for ; Mon, 31 Mar 2008 05:52:09 -0700 (PDT) Received: by 10.141.18.14 with SMTP id v14mr3308220rvi.125.1206967929317; Mon, 31 Mar 2008 05:52:09 -0700 (PDT) Received: by 10.140.173.21 with HTTP; Mon, 31 Mar 2008 05:52:09 -0700 (PDT) Message-ID: <66e6e8900803310552sff6e6acmec1fe490611cb35c@mail.gmail.com> Date: Mon, 31 Mar 2008 15:48:00 -0000 From: "M K" To: "M K" , gdb@sourceware.org Subject: Re: finding source location In-Reply-To: <20080330213623.GA3195@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <66e6e8900803301426k6994fc4x92e4b17b10bda6e0@mail.gmail.com> <20080330213623.GA3195@caradoc.them.org> 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-03/txt/msg00277.txt.bz2 Thanks. That works :) On Sun, Mar 30, 2008 at 5:36 PM, Daniel Jacobowitz wrote: > > On Sun, Mar 30, 2008 at 05:26:04PM -0400, M K wrote: > > Hello, > > > > When I am debugging a binary which was compiled with debug info, I can > > set a breakpoint and jump to the source location by using the TUI mode > > (hitting Cx-Ca). But how do I find out the location of the .C file? I > > did read the manual and it mentions the show directories command but > > that is not useful here. > > Try info source. > > -- > Daniel Jacobowitz > CodeSourcery >