Newsgroups: comp.sys.atari.st.tech
Path: utzoo!utdoe!david
From: david@doe.utoronto.ca (David Megginson)
Subject: Using gdb (problems!!!)
Message-ID: <1990Nov3.185009.7044@doe.utoronto.ca>
Sender: david@doe.utoronto.ca (David Megginson)
Organization: Dictionary of Old English Project - U of Toronto
Date: Sat, 3 Nov 90 18:50:09 GMT

I have tried using gdb under TOS 1.2 and TOS 1.4, under RTX, Mupfel
and standard TOS, in MT-CShell and Gulam. In every configuration,
it bombs with the command "symbol-file". Here is what I tried:

	gcc -gg -c hello.c
	gcc_ld -o hello.ttp f:\gnu\lib\crt0.o hello.o -lgnu
	sym_ld -o hello.sym f:\gnu\lib\crt0.o hello.o -lgnu
[run gdb]
	(gdb) exec-file hello.ttp
[no problem]
	(gdb) symbol-file hello.sym
[BOMBS!! (2)]

When I try it with -g instead of -gg, I get a bogon alert from
gcc_ld (it does not write enough symbols) and the executable is
buggy, but the "symbol-file" command does not crash (the program
will not run, though).

What am I doing wrong? The gdb binary is from atari.archive. Thanks.


David Megginson
-- 
////////////////////////////////////////////////////////////////////////
/  David Megginson                      david@doe.utoronto.ca          /
/  Centre for Medieval Studies          meggin@vm.epas.utoronto.ca     /
////////////////////////////////////////////////////////////////////////
