Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!strath-cs!stl!robobar!ronald From: ronald@robobar.co.uk (Ronald S H Khoo) Newsgroups: comp.unix.xenix.sco Subject: Re: Xenix version of gdb Message-ID: <9106070941.AA07875@robobar.Co.Uk> Date: 7 Jun 91 08:41:41 GMT References: <151@nimbus.UUCP> Sender: ronald@robobar.co.uk (Ronald S H Khoo) Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 30 Cc: steve@robobar.co.uk X-Mailer: Mail User's Shell (7.2.2 4/12/91) [ Mail bounced, so I'm posting. nimbus doesn't seem to be able to !bill. Do you have a domain address ? ] In article <151@nimbus.UUCP> wds@bill.uucp wrote: > I reccently obtained the gcc/gas/gdb package from anomaly. > The gcc compiler works and so does gdb with one exception. > I can't get symbols in gdb. I have tried various options > but the problem seems to be that the linker is not putting > the symbols in the binary. How strange. It works for us. I haven't got enough information to figure out what's happening from your message. Try this compiling the main() { printf("Hello World\n"); } program with this command line: gcc -v -g hello.c 2> temp (bourne shell) or gcc -v -g hello.c >& temp (C shell) Then do what /bin/ld >> temp grep rel= /etc/perms/soft >> temp and mail me the contents of the temp file. That will give me a bit more info then we can take it from there. -- Ronald Khoo +44 81 991 1142 (O) +44 71 229 7741 (H)