🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10136

Fixes for gdb 3.5 on PYRAMID

#10136
From: paul a steckler
Date: Thu, 07 Jun 1990 02:31
39 lines
1843 bytes
A couple of weeks ago, I asked for help compiling gdb 3.5 on
the Pyramid.  I received no responses.  Alas, I've figured out
the fixes on my own.

At about line 342 in dep.c, the declarations for 

	global_reg_offset,
	last_frame_offset,
	reg_stack_offset

must be changed so they are not static:

-----

/* need this so we can find the global registers: they never get saved. */

 CORE_ADDR global_reg_offset;
 static CORE_ADDR last_frame_address;
 CORE_ADDR last_frame_offset;

/* Address in core file of start of register window stack area.
   Don't know if is this any of meaningful, useful or necessary.   */

 CORE_ADDR reg_stack_offset;

-----

Also, compiling gdb 3.5 with gcc 1.36 caused problems in handling 
user commands (the readline functions).  Text on the command line
was not always properly displayed - you type control-P, and the
last command would indeed execute, but you wouldn't see that command
on the screen.  I assume this was a gcc 1.36 problem.  Compilation
with the Pyramid cc caused gdb 3.5 to run just fine.  Eventually,
I'll get gcc 1.37.1 running, and recompile gdb 3.5, and issue a report.

Hope this is useful.

-- Paul Steckler
   steck@eric.ccs.northeastern.edu
Technical Details
Message-ID: <9006070231.AA04547@bleys.CCS.Northeastern.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!BLEYS.CCS.NORTHEASTERN.EDU!steck

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,48b61b240af214d5,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-06-07 09:17:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!BLEYS.CCS.NORTHEASTERN.EDU!steck
From: steck@BLEYS.CCS.NORTHEASTERN.EDU (paul a steckler)
Newsgroups: gnu.gdb.bug
Subject: Fixes for gdb 3.5 on PYRAMID
Message-ID: <9006070231.AA04547@bleys.CCS.Northeastern.EDU>
Date: 7 Jun 90 02:31:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 39
Posted: Thu Jun  7 03:31:45 1990