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 ?