🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #262

GDB 3.2 won't read cc -g output on a Vax

#262
From: Andrew Thomas
Date: Mon, 18 Sep 1989 19:32
27 lines
1343 bytes
I'm running GDB 3.2 on a uVaxII under Ultrix 2.0.  I am unable to use
gdb to debug files output by cc.  This bug does not occur on a Sun 3
running SUNOS 3.x

Script started on Mon Sep 18 13:30:00 1989
% cat ttt.c
main()
{
  printf ("hello world\n");
}
% cc -g ttt.c
% gdb a.out
GDB 3.2, Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /tmp/a.out...gdb: Bad symbol type 0x1e encountered in gdb scan
% exit
% 
script done on Mon Sep 18 13:30:32 1989

I assume this is the fault of Ultrix's cc compiler.  Is there a fix?
--

Andrew Thomas
andrewt@watsnew.waterloo.edu	Systems Design Eng.	University of Waterloo
"If a million people do a stupid thing, it's still a stupid thing." - Opus
Technical Details
Message-ID: <ANDREWT.89Sep18153239@watsnew.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!andrewt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!andrewt
From: andrewt@watsnew.waterloo.edu (Andrew Thomas)
Newsgroups: gnu.gdb.bug
Subject: GDB 3.2 won't read cc -g output on a Vax
Message-ID: <ANDREWT.89Sep18153239@watsnew.waterloo.edu>
Date: 18 Sep 89 19:32:39 GMT
Sender: daemon@watcgl.waterloo.edu
Distribution: world
Organization: University of Waterloo, Waterloo, Ontario, Canada
Lines: 27