This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem debugging SOs


On Aug 27,  7:40am, Iztok Kobal wrote:

> code to be debugged was compiled with the gcc-2.95.2 -g3
> 
> No more problems seem to be directly related to the SO debugging
> New problem with gdb-5.2.1 is that the <Step Into> (gdb step) behaves as 
> if it was the <Step Over) (gdb next) even in the simplest (statically 
> linked single .c) projects.

Are you certain that the files containing the functions that you're
trying to step into were compiled with -g ?  The only time I see the
behavior you describe is when I've forgotten to use -g.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]