🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #252

gdb help

#252
From: Ben Chigier
Date: Thu, 07 Sep 1989 15:39
39 lines
1803 bytes

Hi, 
	I am a user of gdb and I don't think that this is a bug, just
that i have compiled or am running gdb incorrectly anyway...
	It seems that when i try and load in large core files into gdb
(and sometimes small ones too) and i try get some info on the stack i
get the following message:

	runfeat > ll core
	-rw-r--r--  1 ben       8454576 Sep  7 11:01 core
	runfeat > gdb brdfeat
	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 /home/oberon/ben/src/brd/brd12/src/runfeat/brdfeat...done.
	type "help" for a list of commands.
	(gdb) core core
	Core file is from "brdfeat".
	Program terminated with signal 11, Segmentation fault.
	(gdb) where
	#0  0x0 in ?? ()
	Error reading memory address 0x0: Not owner (1).
	(gdb)

I am the owner of the core file and I am working in the dir that
contains the main source code. But when I use dbx i can examine the
stack and debug my program. I am using a sun4/280 running sunOS 4.0
I configured gdb with sun4os4. When i run my program from inside gdb 
it works fine and i can examine the stack etc. Do you have any ideas
as to what it is i am doing wrong???

Thanks in advance.

Ben Chigier.

ben@nynexst.com
914-683-2610
Technical Details
Message-ID: <8909071539.AA25138@oberon.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!NYNEXST.COM!ben

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!NYNEXST.COM!ben
From: ben@NYNEXST.COM (Ben Chigier)
Newsgroups: gnu.gdb.bug
Subject: gdb help
Message-ID: <8909071539.AA25138@oberon.com>
Date: 7 Sep 89 15:39:29 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 39