🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #621

How to start GDB?

#621
From: Dr R M Damerell, RHBNC
Date: Thu, 17 Nov 1988 15:29
26 lines
1024 bytes
GDB is unable to debug the following program:
(compiled with     pc -g     on a SUN 3/60 SUN-OS 3.5)
dbx has no difficulty. This looks very much like a RTM-type
question, but there aint no manual (at least, not on the tape I got 
from FSF). Please could you kindly advise?



program  test(input,output);
var
n,i : integer ;
ss: packed array[1..100] of char ;

begin
writeln( 'argc = ', argc) ;
for n := 1 to argc do 
begin
argv( n-1, ss );
writeln( n:1, '   ', ss);
end;
end.


(gdb) symbol-file test
Reading symbol data from /usr/mathsun4/uhah208/test...Invalid symbol data: 
does not start by identifying a source file.
Technical Details
Message-ID: <8811231021.AA01203@prep.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!NSS.CS.UCL.AC.UK!damerell

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!NSS.CS.UCL.AC.UK!damerell
From: damerell@NSS.CS.UCL.AC.UK (Dr R M Damerell, RHBNC)
Newsgroups: gnu.gdb.bug
Subject: How to start GDB?
Message-ID: <8811231021.AA01203@prep.ai.mit.edu>
Date: 17 Nov 88 15:29:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 26