🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #32

SVR4 & gdb-4.7

#32
From: Ivan Prochazka[+46-8-6237391]
Date: Sat, 31 Oct 1992 12:42
44 lines
1806 bytes
	gdb 4-7
	System  i386,  DELL SVR4 issue 2.2
	Native cc  
	Cfront <<AT&T C++ Translator 2.1.0 03/31/90>>.

Howdy!


We have attemted to construct gdb on above mentioned system.

It was straigth-forward built with the native c-compiler.

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.

We could make links to the *.C whith extension *.c and when we gave
commands 
	set language c++
	set demangle-style cfront

It worked fine. Stepping thrue programs, inspecting data etc,etc!!.

I have been trying to compile with  definitions as 
   -D__BASE_FILE__='"Test.C"' -D__FILE__='"Test.C"'

But no success. Still it only looks for '*.c' files. We are using 
Computer Innovations port of Cfront. 


Where ,the ):--(, is he looking for the extension.Any advice is welcome. 

				Greetings Ivan P.


When compiling the test.C program with gcc-2.2.2 this problem dosn't occur.
Unfortunately gcc doesn't work very often with -g flag on C++ files
on SVR4.



------------------------------------------------------------
Frontec Datakom,  PO Box 204,  S-191 23 Sollentuna,   Sweden
Ph: +46 8 6237391    Fax: +46 8  965510    Memo:extr.xkkivan
Technical Details
Message-ID: <1992Oct31.124215.4676@sth.frontec.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!think.com!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!sth.FRontec.SE!ivpr

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!think.com!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!sth.FRontec.SE!ivpr
From: ivpr@sth.FRontec.SE (Ivan Prochazka[+46-8-6237391])
Subject: SVR4 & gdb-4.7
Message-ID: <1992Oct31.124215.4676@sth.frontec.se>
Sender: gnulists@ai.mit.edu
Organization: IDK&FRONTEC, PoBox 204, S-191 23 Sollentuna, Sweden
Distribution: gnu
Date: Sat, 31 Oct 1992 12:42:15 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 45