* sources / step
@ 2006-06-13 22:06 Oliver Block
2006-06-13 22:43 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Oliver Block @ 2006-06-13 22:06 UTC (permalink / raw)
To: gdb
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?
best regards,
Oliver
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sources / step
2006-06-13 22:06 sources / step Oliver Block
@ 2006-06-13 22:43 ` Daniel Jacobowitz
2006-06-13 23:49 ` Oliver Block
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-06-13 22:43 UTC (permalink / raw)
To: Oliver Block; +Cc: gdb
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sources / step
2006-06-13 22:43 ` Daniel Jacobowitz
@ 2006-06-13 23:49 ` Oliver Block
2006-06-14 0:02 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Oliver Block @ 2006-06-13 23:49 UTC (permalink / raw)
To: gdb
Am Mittwoch, 14. Juni 2006 00:06 schrieb Daniel Jacobowitz:
> You can only do this if the library is compiled with debugging
> information. If it is, it will happen automatically.
And if it doesn't!?
I compile my prog
gcc -g ....
and the library is compiled with g flag, too.
--Oliver
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sources / step
2006-06-13 23:49 ` Oliver Block
@ 2006-06-14 0:02 ` Daniel Jacobowitz
2006-06-14 0:04 ` Oliver Block
2006-06-14 9:02 ` Oliver Block
0 siblings, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-06-14 0:02 UTC (permalink / raw)
To: Oliver Block; +Cc: gdb
On Wed, Jun 14, 2006 at 12:43:00AM +0200, Oliver Block wrote:
> Am Mittwoch, 14. Juni 2006 00:06 schrieb Daniel Jacobowitz:
> > You can only do this if the library is compiled with debugging
> > information. If it is, it will happen automatically.
>
> And if it doesn't!?
>
> I compile my prog
>
> gcc -g ....
>
> and the library is compiled with g flag, too.
You would have to provide a testcase, or at least some more detail as
to what you think is wrong.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-06-14 0:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 22:06 sources / step Oliver Block
2006-06-13 22:43 ` Daniel Jacobowitz
2006-06-13 23:49 ` Oliver Block
2006-06-14 0:02 ` Daniel Jacobowitz
2006-06-14 0:04 ` Oliver Block
2006-06-14 9:02 ` Oliver Block
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox