On Nov 3, 12:32 am, Tom Tromey <[EMAIL PROTECTED]> wrote:
> >>>>> "Tarmik" == Tarmik  <[EMAIL PROTECTED]> writes:
>
> Tarmik> /usr/include/stdio.h:528: internal compiler error: Segmentation fault
>
> Put a breakpoint on internal_error.

Finally I have figure out how to pass long command line to ddd. You
need to tamper .ddd\history file and add long command line arguments
there.
I'm trying to debug using command line:
ddd /cygdrive/c/projects6/code_analysis/gcc-dehydra/gcc-build/
installed/bin/g++.exe

and after that it cannot find symbol "internal_error".
I've actually checked from gcc source codes that this is correct name.
One thing puzzles me is that may be I need somehow to load cc1.exe
debug symbols and may be internal_error function which I'm looking for
is there ?
(Do you know which parameter I should use for that?)

I have also attempted to add shared object / dll:
add-shared-symbol-files gcc_dehydra.dll
and it works, but I cannot set breakpoint to any of symbols.
but after that ddd says - cannot insert breakpoint
error accessing memory.

So dll is not loaded ?


> GCC ships a .gdbinit that you might find useful when debugging gcc.

Is it necessary to debug gcc ?

> I believe there is some debug advice on the GCC wiki as well.
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to