www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/06/07:02:53

Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Date: Sat, 6 Jul 1996 12:57:46 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
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: <Pine.NEB.3.93.960706124954.4500B-100000@ananke.amu.edu.pl>
References: <4rhi2j$t0d$1 AT mhafc DOT production DOT compuserve DOT com>
MIME-Version: 1.0

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 <TAB>
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<TAB>`

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... ************************/
/*********************************************/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019