From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems debugging templates Date: Fri, 06 Dec 1996 14:07:15 +0100 Organization: TU Chemnitz-Zwickau Lines: 34 Message-ID: <32A81A83.5CF2@Mathematik.tu-chemnitz.de> References: NNTP-Posting-Host: errno.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp A.V. Kondratiev wrote: > > I tried to debug a program using multiple modules and template classes > via GDB and RHIDE. There are much problems with multiple modules and it > seems impossible to debug templates as they are in include files. As already posted to you, here also for all others. All the problems when debugging C++ code can be solved, when using stabs debugging information. For this it is only needed to change the configuration file 'go32.h' from the gcc sources and rebuild gcc (cc1 cc1plus). I made this already for my own and it works wonderfull. There is only one side effect which I couldn't solve until now. If you mix the COFF debugging information (SDB) with stabs debugging information, gdb is absolutely confused and you will not be able to debug correct. And the next is: You cannot debug programs, which have stabs debugging information, with fsdb or edebug32. Because I have realy not time for it, I searched not longer for the reason and I made my changes also not public. But I would send my changes to every one (or here in that group) if there is someone who want to make a correct patch and send it to FSF for the next releases of gcc. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************