From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b91cf512a733b15d,start X-Google-Attributes: gid103376,public From: "Anthony E. Glover" Subject: SGI N32 Program Error Date: 1998/11/27 Message-ID: <365F5AE3.E58F1678@hiwaay.net>#1/1 X-Deja-AN: 416378059 Content-Type: multipart/mixed; boundary="------------59E26789FE4E0E3CA3F60C2A" Organization: ELMCO, Inc. MIME-Version: 1.0 Reply-To: aeg@hiwaay.net, glover@thaad.tecmasters.com Newsgroups: comp.lang.ada Date: 1998-11-27T00:00:00+00:00 List-Id: This is a multi-part message in MIME format. --------------59E26789FE4E0E3CA3F60C2A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit SGI's tech support line is off for the holidays, so I thought I would give the net a try. My environment is as follows: SGI Irix 6.2 SGI Ada95 1.3 (gnat 3.11b, I think) I have tried switching from '-o32' to '-n32' binaries; however, when I try to run my new '-n32' executable, I get 'program error' exceptions raised. Upon debugging the executable, I believe I might have come across a code generation problem, or maybe I just don't understand something about Ada95. The program error appears to be comming from a de-reference of a pointer. This bad pointer appears to be comming from an 'in out' of a procedure call. This is my situation: I have a list type that is defined as a record of three pointers, head, handle, and tail. I pass a variable of this list type to a procdure as an 'in out' parameter. Prior to calling the routine, the variable has 0x0's for all fields. Immediately upon stepping into the routine, the 'in out' parameter now has values in the three fields. Of course these new values are not good pointers. I do not get these exceptions raised when compiled as '-o32' so I believe that it is a '-n32' code generation problem. I will try and isolate the problem into a much smaller piece of code next week. Does anyone have any idea as to what is happening???? Thanks, Tony -- Tony Glover ELMCO, Inc. (256)721-6317 aeg@hiwaay.net --------------59E26789FE4E0E3CA3F60C2A Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Anthony E. Glover Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Anthony E. Glover n: Glover;Anthony E. org: ELMCO, Inc. email;internet: aeg@hiwaay.net title: Senior Software Engineer x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------59E26789FE4E0E3CA3F60C2A--