This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Referencing C++ functions with non-demangled names.


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]