From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28315 invoked by alias); 4 Aug 2009 07:27:10 -0000 Received: (qmail 28304 invoked by uid 22791); 4 Aug 2009 07:27:09 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=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, 04 Aug 2009 07:27:03 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MYEQH-0001JZ-Dt for gdb@sourceware.org; Tue, 04 Aug 2009 00:27:01 -0700 Message-ID: <24803540.post@talk.nabble.com> Date: Tue, 04 Aug 2009 07:27:00 -0000 From: Fizzo To: gdb@sourceware.org Subject: Problem with ddd and source file visibility MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-08/txt/msg00007.txt.bz2 Hello, I am having a problem using ddd: I cant seem to fix the source file visibility in ddd. here is the situation... I have a project made up of the following components: - library A in its own directory where source files are split in src and inc directories - library B in its own directory where source files are split in src and inc directories - the program itself in its own directory where source files are split in in src and inc directories. When I debug the executable file I can correctly see the main file (which is part of the program) and it can debugged fine, until I try to step into a function listed in library A. If I open the "Open Source" Dialog, I can see the files being part of the program, then I can see some header files of library A, but I cant see any of the source files of library A. I tried to add the directory both using the gdb 'directory' command from gdb prompt, and the 'GDB Settings' dialog box of DDD; nevertheless source files for library A are nowhere to be seen :( If I try to list a function defined in library A using 'list ' here is the result: No line number information available for address 0x..... As far as I know both executables and libraries have been compiled using the -ggdb option. Is there anybody who could give me some hints on how to detect the problem? If you need additional feel free to ask. thanks in advance Have a Nice Day -- View this message in context: http://www.nabble.com/Problem-with-ddd-and-source-file-visibility-tp24803540p24803540.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.