🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10175

gdb 3.5 on V.3 68k

#10175
From: Ian G Batten
Date: Wed, 11 Apr 1990 16:39
18 lines
1369 bytes
I'm tidying up a port of gdb 3.5 to the local System V.3 680[23]0
machines.  I have two outstanding problems

(1) If a break point is set in a function which is then executed from a
print or set command to gdb, the breakpoint causes an error ``Cannot
restore previous stack frame''.  This is also seem on a Sun 3/50 running
4.0.

(2) The V.3 machines are compiled entirely with gcc 1.35.  Therefore
small structures are returned in a set of registers.  If a function is
written which returns a structure, executing it from a print or set
(again!) errors as the structure doesn't seem to be where it's expected.
Moreover, I can't see any code to do this right.  Anyone have any ideas?

ian
-- 
Ian G Batten, BT Fulcrum - igb@fulcrum.bt.co.uk - ...!uunet!ukc!fulcrum!igb
Technical Details
Message-ID: <W|Q#R-#@masalla.fulcrum.bt.co.uk>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ukc!axion!masalla.fulcrum.bt.co.uk!igb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,c4526e32ea6e975f,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-04-11 09:39:11 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ukc!axion!masalla.fulcrum.bt.co.uk!igb
From: I.G.Batten@fulcrum.bt.co.uk (Ian G Batten)
Newsgroups: gnu.gdb.bug
Subject: gdb 3.5 on V.3 68k
Message-ID: <W|Q#R-#@masalla.fulcrum.bt.co.uk>
Date: 11 Apr 90 16:39:11 GMT
Sender: root@fulcrum.bt.co.uk (Root on Masalla)
Distribution: gnu
Organization: BT Fulcrum, Birmingham, England.
Lines: 18
Posted: Wed Apr 11 17:39:11 1990