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.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aa7b0448abeecbba X-Google-Attributes: gid103376,public From: Greg Bond Subject: Re: How to print Task_ID type? (GNAT SunOS) Date: 1996/04/05 Message-ID: <3165AB02.3983@ee.ubc.ca>#1/1 X-Deja-AN: 146021573 references: <316308F0.6375@ee.ubc.ca> <31642F61.1D2B@ee.ubc.ca> content-type: text/plain; charset=us-ascii organization: Dept. of Electrical Eng., UBC mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (Macintosh; I; PPC) Date: 1996-04-05T00:00:00+00:00 List-Id: Keith Thompson wrote: > > In <31642F61.1D2B@ee.ubc.ca> Greg Bond writes: > [...] > > Indeed it is. My oversight. This function does not handle the more > > general problem I posed though. Is there a general facility for printing > > access types? > A more relevant question might be, why do you want to print access types? > If you just want to display them for debugging purposes, a non-portable > solution involving Unchecked_Conversion is probably good enough. > If you have something else in mind, perhaps you're trying to solve the > wrong problem. I'm writing a system level event monitor for GNAT. This is a debugging application, but I see no reason why debugging and portability should be mutually exclusive. -- * Greg Bond * Dept. of Electrical Eng. * email: bond@ee.ubc.ca * Univ. of British Columbia * voice: (604) 822 0899 * 2356 Main Mall * fax: (604) 822 5949 * Vancouver, BC * web: http://www.ee.ubc.ca/~bond * Canada, V6T 1Z4