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



Kevin Buettner wrote:

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 test executable code was compiled using gcc-2.95.2 with the -g3 option.
Using the same test executable code: Steps Into with the gdb-5.0 and gdb-5.1.0.1 but not with gdb-5.2 or gdb-5.2.1.

All gdb executables were generated and installed the same way on the same machine/enviroment for the same platform (i686-pc-linux-gnu).

If you are interested, I can send you all execs and needed sources in concern, as they are.

The only time I see the
behavior you describe is when I've forgotten to use -g.

True, yet I have not forgotten ...


Kevin


Iztok








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