how to debug using “*.stackdump” file in cygwin
问题 I am newbie on cygwin(and linux). When I tried to run my executable file based on C language, segmentation fault occured, and I take stackdump file. but, I don't know how to use it for debugging. I have been searching for the way how to debug using stackdump file, but I cound't find it. Any small tips are very useful to me. thanks for reading my poor english (english is not my 1st language). 回答1: First : you need to compile your program passing to gcc the flag -ggdb otherwise the stackdump