[comp.lang.c++] C++ and debugger for SVR4

kornegay@oiscola.Columbia.NCR.COM (Michael L. Kornegay) (03/08/91)

I am looking for a good implementation of C++ with source level
debugger for Intel 386/486 based SVR4 implemetations.

We have kludged the Glockenspeil SVR3 compiler to work and have
AT&T's CFront, but debugging is using sdb (and a real pain).

Anyone know of any other possibilities with C++ source level
debugging?  

Dont tell me about SVR3 C++ implementations, most will not work 
because they mess with the object files to allow linking of static 
objects, and obviously debuggers need to mess with object files 
(SVR3 uses COFF format, SVR4 used ELF format).

Thanks,
-- 
----------
Michael L. Kornegay,
  michael.kornegay@columbia.ncr.com, or
  mlk@bir.com, and mlk@bir.uucp

rfg@NCD.COM (Ron Guilmette) (03/16/91)

In article <360@oiscola.Columbia.NCR.COM> kornegay@oiscola.UUCP (Michael L. Kornegay) writes:
>I am looking for a good implementation of C++ with source level
>debugger for Intel 386/486 based SVR4 implemetations.

Isn't everybody? :-)

But seriously folks, I (and some other people) are working on some
things which may provide people with some nice debugging capabilities
for C++ under svr4 in the not too distant future.  Unfortunately,
I have nothing which I can give you today which works.

Later on I hope to be in a position to provide GNU software tools (i.e.
C compiler, C++ compiler, and debugger) which work with ELF (that's the
easy part) and with "extended" DWARF (i.e. the hard part) to provide a
robust debugging environment for C++ on System V Release 4.

Many problems have already been solved and much development has already
been done, but much work remains.  ELF and DWARF support are available
now in the GNU C compiler, but the adaptations of the GNU debugger and
the GNU G++ compiler still have quite a long way to go.

Expect *robust* extended DWARF support in G++ perhaps around Q391 (and
perhaps some not-so-robust DWARF support before then.

I'd kinda like to see somebody hack cfront to get it to output special
#pragmas (which I could then make GCC understand) which would effectively
transmit additional crucial C++ level debugging information from cfront
through the C compiler, and down into the DWARF information in the object
files, but I haven't got either the necessary $20K for a cfront source
licence or the necessary time to do that little project.  Oh, well. :-(
-- 

// Ron Guilmette  -  C++ Entomologist
// Internet: rfg@ncd.com      uucp: ...uunet!lupine!rfg
// New motto:  If it ain't broke, try using a bigger hammer.

davidm@uunet.UU.NET (David S. Masterson) (03/18/91)

>>>>> On 16 Mar 91 00:14:17 GMT, rfg@NCD.COM (Ron Guilmette) said:

Ron> Later on I hope to be in a position to provide GNU software tools (i.e.
Ron> C compiler, C++ compiler, and debugger) which work with ELF (that's the
Ron> easy part) and with "extended" DWARF (i.e. the hard part) to provide a
Ron> robust debugging environment for C++ on System V Release 4.

Okay, I'll bite.  What are "ELF" and "DWARF"?

--
====================================================================
David Masterson					Consilium, Inc.
(415) 691-6311					640 Clyde Ct.
uunet!cimshop!davidm				Mtn. View, CA  94043
====================================================================
"If someone thinks they know what I said, then I didn't say it!"

rfg@NCD.COM (Ron Guilmette) (03/25/91)

In article <CIMSHOP!DAVIDM.91Mar17131134@uunet.UU.NET> cimshop!davidm@uunet.UU.NET (David S. Masterson) writes:
>>>>>> On 16 Mar 91 00:14:17 GMT, rfg@NCD.COM (Ron Guilmette) said:
>
>Ron> Later on I hope to be in a position to provide GNU software tools (i.e.
>Ron> C compiler, C++ compiler, and debugger) which work with ELF (that's the
>Ron> easy part) and with "extended" DWARF (i.e. the hard part) to provide a
>Ron> robust debugging environment for C++ on System V Release 4.
>
>Okay, I'll bite.  What are "ELF" and "DWARF"?

ELF stands for "Extensible Linking Format" (or some such thing).  It is the
new object file format which is now being used in System V Release 4.

DWARF is the debugging information format which is being used within
System V Release 4 ELF files by almost everybody who is using V.4
(except Sun).



-- 

// Ron ("Shoot From The Hip") Guilmette
// Internet: rfg@ncd.com      uucp: ...uunet!lupine!rfg
// New motto:  If it ain't broke, try using a bigger hammer.