Tests :
[1] creating divide of 0 in executable hat was compiled with optimization (O2) and debugging symbols , thus a core was generated.
[2] creating divide of 0 in shared object hat was compiled with optimization (O2) and debugging symbols , thus a core was generated.
Results:
[First] analysing the core generated by [1] was succeeded and an exact location of the crush could be seen in GDB/Totalview.
[Second] analysing the core generated by [2] was NOT succeeded and a hex numeric location was the output of the crush.
can someone tell how can i get [2] to succeed ?
Solved it ,
i was opening the core file like this :
then the binary symbols was loaded, BUT Not any shared objects !!!!!
going this way :
this caused binary symbols to be loaded BUT ALSO shared objects symbols to be loaded as well !!!
thanks for the help.