🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52348

Help, gdb 4.7 cannot debug g++ 2.3.1 code

#52348
From: Eddie Fung
Date: Thu, 26 Nov 1992 01:38
26 lines
1689 bytes

Yesterday I asked about using gdb 4.7 to debug C++ code compiled using
gcc 2.3.1.  The answer was yes and thank you for those who answered me.

But this does not seems to be my case.  I have installed gcc 2.3.1 on SCO
ODT 1.1 together with libg++ 2.2 and gdb 4.7.  Whenever I try to debug a
C++ program, gdb prints out the following message and refuses to load the
program:

     Invalid symbol data: .bb/.eb symbol mismatch at symbol nnn.

where nnn is a number.

Apart from debugging, the program compiles well and runs well.  But it is
hard life to live without a debugger!  Any solution to this?  Please help!



    _____________________________________________________________
    |    Eddie Fung          | Department of Computer Science   |
    |    efung@cs.uq.oz.au   | University of Queensland         |
    |    (617) 365 2425      | Brisbane Qld 4072 Australia      |
    |-----------------------------------------------------------|
    |         The above opinion is mine and only mine.          |
    -------------------------------------------------------------
Technical Details
Message-ID: <11181@uqcspe.cs.uq.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!efung

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c9f340f7a1929a2a,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-11-25 17:56:20 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!efung
From: efung@cs.uq.oz.au (Eddie Fung)
Newsgroups: gnu.gcc.help
Subject: Help, gdb 4.7 cannot debug g++ 2.3.1 code
Summary: Help, gdb 4.7 cannot debug g++ 2.3.1 code.
Keywords: g++ gcc gdb
Message-ID: <11181@uqcspe.cs.uq.oz.au>
Date: 26 Nov 92 01:38:11 GMT
Sender: news@cs.uq.oz.au
Reply-To: efung@cs.uq.oz.au
Lines: 28