This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: A way to enter G++ core
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Sun, 30 Nov 2003 21:17:39 -0800
- Subject: Re: A way to enter G++ core
- References: <20031201041445.99931.qmail@mail.com>
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