From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel Manfis" To: gdb@sourceware.cygnus.com Subject: Referencing C++ functions with non-demangled names. Date: Mon, 21 May 2001 11:24:00 -0000 Message-id: <3B0987CD.7848.1387DF@localhost> X-SW-Source: 2001-05/msg00309.html 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