A way to enter G++ core

Nathan Myers ncm-nospam@cantrip.org
Mon Dec 1 05:17:00 GMT 2003


On Sun, Nov 30, 2003 at 11:14:45PM -0500, Jean Gauthier wrote:
> I'm a C++ user trying to enter G++ using gdb working on a cygwin
> platform. I start running G++ in debug mode, then the program fork()
> to cc1plus executable with many parameters cc1plus seems to waiting
> for. When any of you debug G++, whats is the way you do it to see the
> core of G++ (which seems to live in another executable than G++
> itself).

If you use "g++ -v", you can see tha arguments passed to cc1plus,
and then run cc1plus directly with those arguments from within gdb.

Nathan Myers
ncm-nospam@cantrip.org



More information about the Libstdc++ mailing list