[mdb-discuss] Breakpoints with C++

2005-09-20 Thread Alexandre CHARTRE - Solaris Sustaining
Currently you can set breakpoint using the mangled name, that's fairly simple: suppose you want to set a breakpoint in the C++ function foo::bar(). Then you first have to look for the mangled name of that function, you will find it in the symbol table given by ::nm and it will match with the reg

[mdb-discuss] Breakpoints with C++

2005-09-19 Thread Nicolas Droux
Jonathan Adams wrote: > On Mon, Sep 19, 2005 at 12:27:31PM -0700, Nicolas Droux wrote: > >>Hi Folks, >> >>Is setting breakpoints on C++ methods using demangled names supposed to >>work from mdb? > > > No. Are there any plans to support this feature? > > >>My attempts have failed. $G provide

[mdb-discuss] Breakpoints with C++

2005-09-19 Thread Jonathan Adams
On Mon, Sep 19, 2005 at 12:27:31PM -0700, Nicolas Droux wrote: > Hi Folks, > > Is setting breakpoints on C++ methods using demangled names supposed to > work from mdb? No. > My attempts have failed. $G provides some demangling > support, is that option used only for displaying names? Yes. No

[mdb-discuss] Breakpoints with C++

2005-09-19 Thread Nicolas Droux
Hi Folks, Is setting breakpoints on C++ methods using demangled names supposed to work from mdb? My attempts have failed. $G provides some demangling support, is that option used only for displaying names? Thanks, Nicolas.