From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17434 invoked by alias); 2 Jun 2009 17:15:34 -0000 Received: (qmail 17424 invoked by uid 22791); 2 Jun 2009 17:15:33 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 17:15:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MBXaB-0006mk-5b for gdb@sourceware.org; Tue, 02 Jun 2009 10:15:27 -0700 Message-ID: <23836680.post@talk.nabble.com> Date: Tue, 02 Jun 2009 17:15:00 -0000 From: maybedoo To: gdb@sourceware.org Subject: Re: Elf debugging In-Reply-To: <4A242D62.1020604@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <23814190.post@talk.nabble.com> <4A242D62.1020604@vmware.com> 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: 2009-06/txt/msg00011.txt.bz2 I'm using GCC 4, that's why I'm wondering that it isn't working. Michael Snyder-6 wrote: > > maybedoo wrote: >> Hi, >> >> I want to debug an elf binary. Compiling with the debugging symbols works >> fine, but when I'm connected with gdb, after loading it, it can't find my >> source files. I've set the path to the src with "directory" but the same. >> How can I find out what files are loaded and how can I load my file I >> need >> for a breakpoint? > > It should work. What compiler are you using? > > > > -- View this message in context: http://www.nabble.com/Elf-debugging-tp23814190p23836680.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.