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-7-bit X-Google-Thread: 103376,f3736ba5772f394c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 01:01:30 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!newsfeed.freenet.de!feed.news.nacamar.de!newsfeed.vmunix.org!news-peer.gradwell.net!not-for-mail Newsgroups: comp.lang.ada From: porton@ex-code.com (Victor Porton) Date: Wed, 29 Jan 2003 13:58:08 +0500 References: <3e3649d3$0$345$bed64819@news.gradwell.net> Organization: Extreme Code Software (http://ex-code.com) Subject: Re: Catching exceptions in debugger (Unix) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Content-Type: text/plain; charset=us-ascii X-URL: http://www.ex-code.com/ Message-ID: <3e379869$0$347$bed64819@news.gradwell.net> NNTP-Posting-Date: 29 Jan 2003 09:01:29 GMT NNTP-Posting-Host: 195.149.39.13 X-Trace: 1043830889 news.gradwell.net 347 mail2news/195.149.39.13 X-Complaints-To: news-abuse@gradwell.net Xref: archiver1.google.com comp.lang.ada:33543 Date: 2003-01-29T09:01:29+00:00 List-Id: In article <3e378e03@baen1673807.greenlnk.net>, "Alex Proudfoot" writes: > Try "break exception". > > Victor Porton wrote in message > news:3e3649d3$0$345$bed64819@news.gradwell.net... >> 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: >> >> (gdb) catch throw >> warning: Unsupported with this platform/compiler combination. >> warning: Perhaps you can achieve the effect you want by setting >> warning: a breakpoint on __raise_exception(). It does not work with my GDB (GNU gdb 2002-04-01-cvs, Debian package version 5.2.cvs20020401-6). Where to get the right GDB for Ada?