On 12/02/08 10:59, Peter Memishian wrote: > > Yes, I added some CTF support for C++ mainly for Sun Cluster debugging. > > > > The CTF tools (ctfconvert and ctfmerge) with C++ support are available in > > Open HA Cluster sources. They currently only work with stabs (i.e. > debugging > > information generated by the Sun Studio C++ compiler), support for dwarf > (i.e. > > debugging information from gcc and newer Sun Studio C++ compiler) will come > > with the next release of Solaris cluster. > > Are you saying the ctfconvert/ctfmerge sources have been forked and there > are C++ extensions in one fork, which is in the Sun Cluster tree? If so,
Yes. This was done because C++ stabs have a lot of bugs and problems, so the CTF support for C++ stabs has a lot of hacks to workaround these problems. With Sun Studio C++ compilers moving to use dwarf instead of stabs, it was not worth including all these hacks into ON. Instead this was integrated into the cluster gate because the primary goal was to add CTF support for Sun Cluster. > that's a serious maintenance problem which needs to be rectified before it > gets worse. The CTF support for C++ dwarf is much more simple and clean, so this is probably what we would want to integrate into ON. And with Sun Cluster moving to use dwarf instead of stabs, we would not need CTF tools in the cluster tree anymore. I have an ON workspace ready with the changes, it just need more testing and some corner cases to be worked out. See also RFE 6284625 (CTF tools should support C++). alex.