This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Referencing C++ functions with non-demangled names.
- To: gdb at sourceware dot cygnus dot com
- Subject: Referencing C++ functions with non-demangled names.
- From: "Daniel Manfis" <dany_100 at yahoo dot com>
- Date: Mon, 21 May 2001 21:25:33 +0200
- Reply-to: dany_100 at yahoo dot com
Hello.
If i want to set breakpoint on a C++ function, how could i do it
using it's usual and not mangled name? I tried to turn on
"set print demangle" and "set print asm-demangle", but it doesn't
help: whenever i try to put breakpoint on a C++ function (in my own
code) with it's non-demangled name (like: 'break main.cc:f'), i get a
message:
'function "f" not defined'
and i have to either use mangled name or line number.
Daniel.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com