From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10043 invoked by alias); 30 Mar 2008 21:36:46 -0000 Received: (qmail 10034 invoked by uid 22791); 30 Mar 2008 21:36:46 -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; Sun, 30 Mar 2008 21:36:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 977C29802B; Sun, 30 Mar 2008 21:36:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 8066A98011; Sun, 30 Mar 2008 21:36:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Jg5CR-0000q1-Pd; Sun, 30 Mar 2008 17:36:23 -0400 Date: Mon, 31 Mar 2008 12:51:00 -0000 From: Daniel Jacobowitz To: M K Cc: gdb@sourceware.org Subject: Re: finding source location Message-ID: <20080330213623.GA3195@caradoc.them.org> Mail-Followup-To: M K , gdb@sourceware.org References: <66e6e8900803301426k6994fc4x92e4b17b10bda6e0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66e6e8900803301426k6994fc4x92e4b17b10bda6e0@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-03/txt/msg00274.txt.bz2 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