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]

Re: Debugging GCC


Brendon Costa wrote:
Does anyone know a way of invoking g++ inside gdb or compiling g++ so that g++ will not handle the SIGSEGV signal but would crash instead so GDB can give me a stack trace of the place where the segmentation fault occurred?
http://gcc.gnu.org/wiki/DebuggingGCC explains how to debug the compiler. Also, you can put a breakpoint on fancy_abort() to see what happens when an ICE is occured.

Andrey



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