🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dr R M Damerell, RHBNC Thu, 17 Nov 1988 15:29
How to start GDB?
#621
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads