This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Fwd: How to use gcov even when segmentation fault happens


Dear all,
I am studying about locating faults in a program automatically.
Therefore, I need to get code coverage when a program encounters a
segmentation fault.
However, gcov does not work as segmentation fault causes a program to
exit abnormally.

Could you give me some suggestion to make gcov to work in the case a
segmentation fault happens? Or any other alternative way to get code
coverage in this case?

Best regards,
Duke


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