Article View: gnu.gdb.bug
Article #34Re: SVR4 & gdb-4.7
From: Peggy Fieland
Date: Sun, 01 Nov 1992 22:39
Date: Sun, 01 Nov 1992 22:39
19 lines
1398 bytes
1398 bytes
In article <1992Oct31.124215.4676@sth.frontec.se> ivpr@sth.FRontec.SE (Ivan Prochazka[+46-8-6237391]) writes: > > gdb 4-7 > System i386, DELL SVR4 issue 2.2 > Native cc > Cfront <<AT&T C++ Translator 2.1.0 03/31/90>>. > >When run, gdb was not able to find c++ source files! >That means files with extension .C. It is always looking for .c files. >And from it deducing that the source is a c-program. This is a bug in the SVR4 c compiler, which assumes (incorrectly) that any file you're compiling with the c compiler has suffix ".c". Your best bet is to get whoever is in charge of the c compiler at your site to fix the compiler. Alternatively, you could write a post-processor to fix up the information yourself. It's easiest to do this using the ".s" file, since this will keep you from needing to learn the elf access library.
Technical Details
Message-ID:
<7749@transfer.stratus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!citron.sw.stratus.com!pfielandReferences:
<1992Oct31.124215.4676@sth.frontec.se>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!citron.sw.stratus.com!pfieland From: pfieland@citron.sw.stratus.com (Peggy Fieland) Subject: Re: SVR4 & gdb-4.7 Message-ID: <7749@transfer.stratus.com> Sender: gnulists@ai.mit.edu Organization: Stratus Computer, Software Engineering References: <1992Oct31.124215.4676@sth.frontec.se> Distribution: gnu Date: Sun, 1 Nov 1992 22:39:14 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 23