From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14341 invoked by alias); 8 Sep 2008 13:41:43 -0000 Received: (qmail 14326 invoked by uid 22791); 8 Sep 2008 13:41:42 -0000 X-Spam-Check-By: sourceware.org Received: from relay-pt2.poste.it (HELO relay-pt2.poste.it) (62.241.5.253) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Sep 2008 13:40:49 +0000 Received: from geppetto.reilabs.com (212.123.91.176) by relay-pt2.poste.it (7.3.122) (authenticated as stefano.sabatini-lala@poste.it) id 48C45D7000006A90 for gdb@sources.redhat.com; Mon, 8 Sep 2008 15:40:46 +0200 Received: from stefano by geppetto.reilabs.com with local (Exim 4.67) (envelope-from ) id 1Kcgy9-0005BL-WD for gdb@sources.redhat.com; Mon, 08 Sep 2008 15:39:54 +0200 Date: Mon, 08 Sep 2008 13:41:00 -0000 From: Stefano Sabatini To: gdb Mailing List Subject: Single stepping and "no line information" Message-ID: <20080908133953.GA19559@geppetto> Mail-Followup-To: gdb Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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-09/txt/msg00043.txt.bz2 I'm debugging an application which use a shared lib. That library has been compiled on my system, and I added to the CFLAGS used the -ggdb -O0 flags, so I'm quite sure that lib should contain the source line symbol informations. Nonetheless when I try to step into the library functions I get: (gdb) s Single stepping until exit from function su_clone_start, which has no line number information. stefano@geppetto ~/s/ptlib> gdb --version GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". Why gdb can't find the source line informations? How can I verify (e.g. with a commandline tool) wether that information is present directly analyzing the library files? TIA. Best regards.