This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Debugging G++
- From: John Love-Jensen <eljay at adobe dot com>
- To: Alexander <a dot shabanov at geovid dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Fri, 31 Mar 2006 06:17:13 -0600
- Subject: Re: Debugging G++
Hi Alexander,
One way is this trick:
1. Rename cc1plus.exe to cc1plus_real.exe
2. Create a shell script called cc1plus, use it to bootstrap gdb, refer to
cc1plus_real.exe, passing along "$@" command line parameters as appropriate.
There's probably other good tricks as well. This "low-jack" technique works
well on Unix, and probably will work in the Cygwin environment too.
Good luck,
--Eljay