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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,477d2c7239b77805,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-07 12:56:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.swip.net!swipnet!nntpserver.swip.net!not-for-mail From: Bj�rn Lundin Newsgroups: comp.lang.ada Subject: no crash dump ? Message-ID: <20020307215639.37cf3f6d.bjorn.lundin@swipnet.se> X-Newsreader: Sylpheed version 0.7.2 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 212.151.28.189 X-Complaints-To: news-abuse@swip.net X-Trace: nntpserver.swip.net 1015534583 212.151.28.189 (Thu, 07 Mar 2002 21:56:23 MET DST) NNTP-Posting-Date: Thu, 07 Mar 2002 21:56:23 MET DST Organization: A Customer of Tele2 X-Sender: x-367446@d212-151-28-189.swipnet.se Date: Thu, 7 Mar 2002 21:56:39 +0100 Xref: archiver1.google.com comp.lang.ada:20913 Date: 2002-03-07T21:56:39+01:00 List-Id: Hi! I'm trying to get access to the joystick port with this program (using linux mandrake 8.1 and gnat 3.13) I don't get access (running as root) AND I don't get a crash dump either? Does anyone know why? /Bj�rn -------- with Text_io; use Text_io; with system; with GNAT.Traceback.Symbolic; procedure interrupt is Joystick_address : system.address := system'to_address(16#0201#); type byte is range 0..255; for byte'size use 8; Joystick : byte; for Joystick'address use Joystick_address; begin put_line("Main program started!"); loop put_line("In loop"); put_line(byte'image(b)); delay 0.2; end loop; exception when Event : others => Put_Line (GNAT.Traceback.Symbolic.Symbolic_Traceback (Event)); end interrupt;