This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]