From: Gavin Sinclair Newsgroups: comp.os.msdos.djgpp Subject: C++ debugging with GDB Date: Fri, 1 May 1998 12:25:42 +1000 Organization: University of New South Wales Lines: 20 Message-ID: NNTP-Posting-Host: pipe10.orchestra.cse.unsw.edu.au Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello there, Can anybody offer me some advice in using GDB to debug C++ programs? Using DOS/Win95 with DJGPP and GDB 4.16, I notice the following problems: - method names are not demangled. - cannot refer to class variables directly, must use this->foo - can't find inline code I've pored through the documentation for GDB and it seems the problem lies with the executable file format. In UNIX at university, I use the same version of GDB and can debug C++ no problems. Is there anything I can do at home? Thanks in advance, Gavin Sinclair Australia nder Win95. :-) -- --------------------------------------------------------------------- | John M. Aldrich | "Animals can be driven crazy by pla- | | aka Fighteer I | cing too many in too small a pen. | | mailto:fighteer AT cs DOT com | Homo sapiens is the only animal that | | http://www.cs.com/fighteer | voluntarily does this to himself." | ---------------------------------------------------------------------