Mail Archives: djgpp/1996/07/06/07:02:53
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 -