>>>>> "Tarmik" == Tarmik  <[EMAIL PROTECTED]> writes:

Tarmik> I'm trying to debug using command line:
Tarmik> ddd /cygdrive/c/projects6/code_analysis/gcc-dehydra/gcc-build/
Tarmik> installed/bin/g++.exe

You probably want to be debugging cc1plus, not g++.

Tarmik> One thing puzzles me is that may be I need somehow to load cc1.exe
Tarmik> debug symbols and may be internal_error function which I'm looking for
Tarmik> is there ?
Tarmik> (Do you know which parameter I should use for that?)

What I do is run g++ with -v, then use what it prints to set arguments
in the debugger.  There are other approaches, probably documented on
the wiki.

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

Tarmik> Is it necessary to debug gcc ?

No, just useful.

Tom
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to