This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: sources / step
- From: Daniel Jacobowitz <drow at false dot org>
- To: Oliver Block <lists at block-online dot eu>
- Cc: gdb at sourceware dot org
- Date: Tue, 13 Jun 2006 18:06:00 -0400
- Subject: Re: sources / step
- References: <200606140004.12965.lists@block-online.eu>
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