help please

Varun Kacholia varunk@cse.iitb.ac.in
Fri Oct 11 21:11:00 GMT 2002


Hi,
> Hi Charles,
> 
>   You could compile your program with symbolic debug
> information(-g) and run it under a debugger like gdb,
> that should give you the spot. 

Isnt it possible to have a small call within the program which can display
the stack-contents at that particular instant.I mean a much smaller
version of GDB .. but handy from within the code!

> You might also want to
> try to use some sort of memory checking library to
> help find memory corruption:)

any suggestions , which?

> Yours sincerely,
> 
> Bjorn
> 

-- 
Varun
------
Satisfaction is the end of success



More information about the Gcc-help mailing list