🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10126

GDB confused?

#10126
From: randy Longshot
Date: Thu, 31 May 1990 03:57
18 lines
1644 bytes
I got gdb running on our system (an Encore Multimax), and decided to give it
a few simple tests. So, I forced a core dump in a program and proceeded to
load the dump and a.out into gdb, which reported the proper termination
signal. However, trying to "list" resulted in the message "no default source
file specified yet." Trying a "list test:main" to list the main() in test.c
resulted in "no line number known for main in test" Is gdb not reading the
symbol data properly? At all? There is a file in the distribution called
"cofread.c" and the documentation on both gcc and gdb tout sdb data-
compatibility. I compiled with both gcc and our native cc, both with -g, but
no luck.

Randy

-- 
Randy J. Ray       University of Oklahoma, Norman Campus	(405)/325-5370
!chinet!uokmax!randy	randy@uokmax.uucp    randy@uokmax.ecn.uoknor.edu
Systems programmers are the high priests of a low cult.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Technical Details
Message-ID: <9005310357.AA07733@uokmax.ecn.uoknor.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!uokmax!apple!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!uokmax..ecn.uoknor.edu!randy

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,27b23cc0359d1d80,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-05-30 20:57:13 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!uokmax!apple!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!uokmax..ecn.uoknor.edu!randy
From: randy@uokmax..ecn.uoknor.edu (Longshot)
Newsgroups: gnu.gdb.bug
Subject: GDB confused?
Message-ID: <9005310357.AA07733@uokmax.ecn.uoknor.edu>
Date: 31 May 90 03:57:13 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18
Posted: Thu May 31 04:57:13 1990