🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13302

Manx SDB (3.6) bug?

#13302
From: Frank Ch. Eigler
Date: Wed, 03 Jan 1990 23:44
39 lines
1628 bytes
Hi, again, folks.

I haven't quite gotten to Manx 5.0 yet..  But just found a
seeming anomaly in SDB of 3.6a.

Singlestepping a program behaves differently than actually
running it.  Everything else is the same (ie. plenty of
memory, etc.), except it's not getting stopped after every line.

The problem seems to be around an AllocMem() call.  I invoke it
as:

#define SSIZE ((ULONG) sizeof(struct Big96ByteStruct))

	ptr = AllocMem(SSIZE, MEMF_PUBLIC | MEMF_CLEAR);

This AllocMem() just doesn't want to succeed while being single-
stepped.  SSIZE is confirmed at 96L.  There is 400K free.

When the program is run straight, it does succeed (but fail at
a different point ...  I don't know WHERE because SDB dies long
before then!).


This is strange.

Any suggestions?  (I will try using a variable instead of a macro
there, and see how it works out, but it _shouldn't_ make any
difference, should it?!)

Thanks! (again!)

--Frank
-- 
  Frank Ch. Eigler                                              //
    fche@db.toronto.edu                                        //
                                                           \\ //
"I'll be your sledgehammer"                           AMIGA \X/
Technical Details
Message-ID: <1990Jan3.184409.4061@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!db.toronto.edu!fche

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!db.toronto.edu!fche
Newsgroups: comp.sys.amiga.tech
From: fche@db.toronto.edu (Frank Ch. Eigler)
Subject: Manx SDB (3.6) bug?
Message-ID: <1990Jan3.184409.4061@jarvis.csri.toronto.edu>
Summary: Trace and execution different!
Reply-To: fche@db.toronto.edu
Organization: University of Toronto, CSRI
Date: 3 Jan 90 23:44:09 GMT
Lines: 39