From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32550 invoked by alias); 13 Jun 2006 22:06:06 -0000 Received: (qmail 32542 invoked by uid 22791); 13 Jun 2006 22:06:05 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 13 Jun 2006 22:06:03 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FqH1M-0006El-GF; Tue, 13 Jun 2006 18:06:00 -0400 Date: Tue, 13 Jun 2006 22:43:00 -0000 From: Daniel Jacobowitz To: Oliver Block Cc: gdb@sourceware.org Subject: Re: sources / step Message-ID: <20060613220600.GA23961@nevyn.them.org> Mail-Followup-To: Oliver Block , gdb@sourceware.org References: <200606140004.12965.lists@block-online.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606140004.12965.lists@block-online.eu> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00079.txt.bz2 On Wed, Jun 14, 2006 at 12:04:11AM +0200, Oliver Block wrote: > Hi, > > when using gdb - and I am pretty new to it - you have the possibility to > follow the souce code 'step' by step. Now my program uses a static lib and I > got the sources of that lib. Now I would like gdb to step into that lib > soucres. How is that possible? You can only do this if the library is compiled with debugging information. If it is, it will happen automatically. -- Daniel Jacobowitz CodeSourcery