delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/06/08:46:40

Xref: news2.mv.net comp.lang.c++:94296 comp.os.msdos.djgpp:5694
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: C++ & djgpp debugger ? urgent
Date: Sat, 6 Jul 1996 12:57:46 +0200
Organization: Adam Mickiewicz University
Lines: 30
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>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
NNTP-Posting-Host: ananke.amu.edu.pl
Mime-Version: 1.0
To: jonathan coupe <101667 DOT 3707 AT CompuServe DOT COM>
cc: djgpp AT delorie DOT com
In-Reply-To: <4rhi2j$t0d$1@mhafc.production.compuserve.com>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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