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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c54bb73b6fd8d22 X-Google-Attributes: gid103376,public From: "Marin David Condic, 561.796.8997, M/S 731-96" Subject: Re: GDB Woes Continued... Date: 1998/02/03 Message-ID: <98020309134734@psavax.pwfl.com>#1/1 X-Deja-AN: 322173088 Sender: Ada programming language Comments: To: wanker@exploited.barmy.army X-VMS-To: SMTP%"INFO-ADA@VM1.NODAK.EDU" X-VMS-Cc: SMTP%"wanker@EXPLOITED.BARMY.ARMY",CONDIC Newsgroups: comp.lang.ada Date: 1998-02-03T00:00:00+00:00 List-Id: wanker@EXPLOITED.BARMY.ARMY writes: >In article <6b50fl$knt@lotho.delphi.com>, wrote: >>>deleted it from my system because there wasn't a useful debugger >>>available. Without being able to debug my code, ... >> Did your Ada system give source code walkbacks on unhandled >>exceptions, or (in Ada 95) in Ada.Exceptions.Exception_Information? >>I find *much* less usage of the debugger now that I have those. > >Unfortunately, it did not give me any sort of walkback. > If you are using gdb, try these instructions to get a traceback. It's bailed me out more than once: Instructions for getting the Gnat Debugger to do a stack dump (traceback) when some crash is occurring. 1) Compile and link with debug options set. gnatmake -f -g
-largs g 2) Run program with GDB as documentation indicates. gdb (gdb) break __gnat_unhandled_exception (gdb) run (gdb) backtrace (gdb) quit Good luck with it... MDC Marin David Condic, Senior Computer Engineer Voice: 561.796.8997 Pratt & Whitney GESP, M/S 731-95, P.O.B. 109600 Fax: 561.796.4669 West Palm Beach, FL, 33410-9600 Internet: CONDICMA@PWFL.COM ============================================================================= "I filled out an application that said, 'In Case Of Emergency Notify'. I wrote 'Doctor'... What's my mother going to do?" -- Steven Wright =============================================================================