Newsgroups: comp.lang.c++,comp.os.msdos.djgpp Date: Sat, 6 Jul 1996 12:57:46 +0200 (MET DST) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: jonathan coupe <101667 DOT 3707 AT CompuServe DOT COM> cc: djgpp AT delorie DOT com Subject: Re: C++ & djgpp debugger ? urgent In-Reply-To: <4rhi2j$t0d$1@mhafc.production.compuserve.com> Message-ID: References: <4rhi2j$t0d$1 AT mhafc DOT production DOT compuserve DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 4 Jul 1996, jonathan coupe wrote: > gdb can't demangle C++ names, which makes it almost impossible > to set breakpoints etc. Oh yes, it can" it has a feature called 'name completion' built in. It is as easy as writing the class name the method belongs to (I assume you are using classes), then the beginning of the method's name and pressing the key. Should it not work you can always compile to asm and see what the function name looks like, then use it in GDB. As far as I remember now, you must enclose the function being searched for in single quotes. like this: `FooClass::foo` Forgive me if I missed anything, but usually I use the other method with compiling into asm ;-))))))) > under Unix and dj's just used for the port. Pity: this is a dman > good compiler. You bet it is! Greetings, Mark /*******************************/ /** So here I am once more... **************************************/ /** When you grown up and leave your playground, where you kissed **/ /** your Prince and found your Frog - remember the Jester that **/ /** showed you tears, a Script for Tears... ************************/ /*********************************************/