HP3000-L Archives

June 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Tue, 2 Jun 1998 14:47:52 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
I'm trying to convert an old CM program over to NM.  The program gets as
many as 43 procedure calls deep at some points during "normal?" operation,
and apparently uses the FindPMapAddr intrinsic to determine if it has "run
away" during some recursive operations.  It looks for the names of certain
procedures, and if it counts more than "x" occurrances of those procedure
in the stack aborts.

Obviously, the MPE architecture changes make taking this program from CM to
NM lots of fun.  That plus a  complete lack of documentation of this
program makes the task even more enjoyable, along the lines of getting a
root canal without novocain.

I'm not aware of an NM procedure that will tell you the name of the
procedure that called you, and the name of the procedure that called them,
etc., but perhaps someone knows of something that didn't show up in my
search of the LaserROM, or knows of some undocumented call or other solution.

Any ideas?

John
--------------------------------------------------------------
John Korb                            email: [log in to unmask]
Innovative Software Solutions, Inc.

The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.

ATOM RSS1 RSS2