🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Keith Bostic Mon, 03 Feb 1986 17:24
CSS/Harvard 2.9BSD bug report
#287
Author: Keith Bostic
Date: Mon, 03 Feb 1986 17:24
37 lines
1411 bytes
Subject: adb is broken
Index:	bin/adb 2.9BSD

Description:
	Adb only works on the kernel.
Repeat-By:
	Try to get an adb stack trace from any program.
Fix:
	Apply the following fixes, provided by Peter Staubach at
	the University of Oklahoma.

defs.h.wrong ----- defs.h.right
112c112
< #define UAR0    (&corhdr[509]) /* default address of r0 (u.u_ar0) */
---
> #define UAR0	(&corhdr[ctob(USIZE)/sizeof(POS) - 3])

pcs.c.wrong ----- pcs.c.right
22c22
< POS		corhdr[512];
---
> POS		corhdr[ctob(USIZE)/sizeof(POS)];
136d135
< 
setup.c.wrong ----- setup.c.right
39c38
< POS             corhdr[ctob(USIZE)];
---
> POS		corhdr[ctob(USIZE)/sizeof(POS)];	/* was just 512 */
179c178
< 			datmap.e2 = 0140000L + ctob(USIZE);
---
> 			datmap.e2 = 0140000L + stksiz;
242c241
< 			  if ((ar0>(POS *)0140000) & (ar0<(POS *)0142000)
---
> 			  if ((ar0>(POS *)0140000) & (ar0<(POS *)(0140000+ctob(USIZE)))
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads