[gnu.gdb.bug] How to start GDB?

damerell@NSS.CS.UCL.AC.UK (Dr R M Damerell, RHBNC) (11/17/88)

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.