From: porton@ex-code.com (Victor Porton)
Subject: Re: Catching exceptions in debugger (Unix)
Date: Wed, 29 Jan 2003 13:58:08 +0500
Date: 2003-01-29T09:01:29+00:00 [thread overview]
Message-ID: <3e379869$0$347$bed64819@news.gradwell.net> (raw)
In-Reply-To: 3e3649d3$0$345$bed64819@news.gradwell.net
In article <3e378e03@baen1673807.greenlnk.net>,
"Alex Proudfoot" <alex.proudfoot@amsjv.com> writes:
> Try "break exception".
>
> Victor Porton <porton@ex-code.com> 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?
next prev parent reply other threads:[~2003-01-29 8:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-28 9:11 Catching exceptions in debugger (Unix) Victor Porton
2003-01-28 16:56 ` Toshitaka Kumano
2003-01-28 17:18 ` Victor Porton
2003-02-05 18:16 ` Georg Bauhaus
2003-01-29 8:20 ` Alex Proudfoot
2003-01-29 8:58 ` Victor Porton [this message]
2003-01-30 20:33 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox