[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debugging g++-3.0 programs



On Tue, Jul 03, 2001 at 01:41:00AM +0300, Eray Ozkural wrote:
> So, I have compiled tons of stuff using g++-3.0 and only then I realized the 
> big problem. I knew that name demangling for all the template and namespace 
> heavy code would be a bit different but I had expected to be able to debug. 
> In my experience, I found out that none of the C++ debuggers I use worked 
> with the new g++ version. I've tried ddd, insight and kdbg which all seemed 
> to fail at some common debugging operations. I don't think I've been able to 
> watch or display anything properly. And of course, none of them seem to be 
> able to demangle much in the code that I work on.
> 
> What do you suggest to debug C++ programs compiled under g++-3.0?

Don't.  Of course they all fail; unless I'm completely mistaken those
are all gdb frontends.  The conversation currently happening on the gdb
development list about the issues might be interesting to you.  It'll
probably be another few months before they are resolved.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



Reply to: