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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f3736ba5772f394c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-28 08:57:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: Toshitaka Kumano Newsgroups: comp.lang.ada Subject: Re: Catching exceptions in debugger (Unix) Date: Wed, 29 Jan 2003 01:56:43 +0900 Organization: ENST, France Message-ID: References: <3e3649d3$0$345$bed64819@news.gradwell.net> Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1043772983 42076 137.194.161.2 (28 Jan 2003 16:56:23 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 28 Jan 2003 16:56:23 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: Mozilla 4.78 [ja] (Win98; U) X-Accept-Language: en-US,en,ja X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:33497 Date: 2003-01-29T01:56:43+09:00 Victor Porton wrote: > Linux/i386 Gnat 3.14p and Gnat-3.2 . > > I want to see the point in the debugged program where an exception is > thrown (and also see the backtrace). > > I tried "catch throw" command of GDB (which does this with C++ > exceptions), but this does not work for Ada: If you use GDB coming with GNAT 3.14p, http://gcc.gnu.org/onlinedocs/gnat_ug_unx/Ada-Exceptions.html#Ada%20Exceptions would be helpful, although the documentation is not released officially from FSF yet. I recall the same level of documentation as above should be included in 3.14p: ftp://cs.nyu.edu/pub/gnat/3.14p/gnat-3.14p-docs.tar.gz BTW, why don't you use 3.15p ? -- Toshitaka Kumano Kamakura, Japan