Path: icaen!news.uiowa.edu!hobbes.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!udel!news2.sprintlink.net!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!rpi!batcomputer!cornell!travelers.mail.cornell.edu!tuba.cit.cornell.edu!crux4!jmk3 From: jmk3@crux4.cit.cornell.edu (Jay Krell) Newsgroups: comp.binaries.apple2 Subject: fix one of GSBug's reentrancy crashes Date: 7 May 1994 23:35:31 GMT Organization: Cornell University Lines: 70 Message-ID: <2qh8k3$8iv@tuba.cit.cornell.edu> NNTP-Posting-Host: 128.253.232.66 X-Newsreader: NN version 6.5.0 #6 (NOV) GSBug crashes in a number of reentrant situations. This simple init fixes one of them, X-ing over a routine that calls DebugStr. If you press x when stepping on a jsl (or jsr?) the routine is run at full speed. It doesn't work if the routine uses the return address as a parameter. Be sure to place it _after_ GSBug in Sytem.Setup. (gsbf = GSBug fix) -- cut here -- FiLeStArTfIlEsTaRt ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789() HGSBF.SHK AowEAAAAAYwwHIAA8eKAnKBCSgAvAowEAsJQ GVvTlzW6DcOOAAAAQATCEYgXMcAMeBBMBQgBAEwBAAAAAAAATAAAAAgCAAAAAAAA GVvTZsC2DAAPAIAABAAAAoDAAAw4AULAAAAAAAAAAAQAeBxEAQgBvAwBG4FEHAAB QAjCEYgXAcAAAAAAAAwAAAAAEAAAAAAAAAAIAIAAAAAAXaJAAEg(BoPAnBAAmJ2c AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoPAAAAAAAAAAEQkAAAAAIABAEAA AAAAAAAAAAAAAAAABAAAAAAAwAAAAUEAAAAAgACAgACIgACIKACIgACIgACIgACI RKPIAAQAAAA9AcgYAElI6pHANw1acBAAAAQEAUBXZwFArBAAcQ)SwIMAJ8P4IhO0 EAwrLnc4bAd(EAwrlnM4SANoDIKaAICLiGOAgCAAcBABhHAhADIapjzObAABIs1C KQNeigA1AEQ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