Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!news2.uunet.ca!apple.com!netcomsv!netcom.com!netcom4!ceb From: ceb@netcom4.netcom.com (Buckley) Subject: Re: C++ debugging/FreeBSD In-Reply-To: galbrait@rintintin.Colorado.EDU's message of Mon, 18 Oct 1993 23:14:04 GMT Message-ID: <CEB.93Oct20055733@netcom4.netcom.com> Sender: ceb@netcom.com (Buckley) Organization: NETCOM On-line services References: <CF48JH.Ixn@cnsnews.Colorado.EDU> Date: Wed, 20 Oct 1993 12:57:32 GMT Lines: 31 In article <CF48JH.Ixn@cnsnews.Colorado.EDU> galbrait@rintintin.Colorado.EDU (GALBRAITH JOHN) writes: Newsgroups: comp.os.386bsd.questions From: galbrait@rintintin.Colorado.EDU (GALBRAITH JOHN) Does anybody but me have trouble debugging C++ generated with gcc 2.4.5 (stock) with gdb 3.5 (stock)? Gdb does not appear to like the symbol tables. I used to have gdb 4.7 running on 386bsd 0.1, but I lost it and can't find it again. That used to work with gcc1 that came with 386bsd. I got the latest gdb from prep (I think it's 4.9, could be wrong), and built it. The dejagnu testing stuff didn't run, but gdb seems (admittedly subjectively) to run fine. I can't debug mixed C and C++ code so well with it, but that is a limitation of gdb itself. I had wanted to upgrade all the hard-to-use Fortranoid legacy C code to C++ anyway. You'll want to keep the 3.5 that comes with the FreeBSD distribution around because it has kernel debugging support and floating point support. These pointers courtesy of nate@coe.montana.edu. (Thanks.) I don't want to package the new gdb up until I can figure out why the test suite doesn't work. Right now, though, my plate is full (too bad it's dog food). But really, compiling the latest gdb is a cinch. --