This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: catch-throw conditions?
On 22/02/2008, Daniel Jacobowitz <drow@false.org> wrote:
> On Fri, Feb 22, 2008 at 09:36:50AM -0800, Doug Evans wrote:
> > On Fri, Feb 22, 2008 at 6:24 AM, Daniel Jacobowitz <drow@false.org> wrote:
> > > On Fri, Feb 22, 2008 at 09:19:40AM -0500, Daniel Jacobowitz wrote:
> > > > "help catch", unfortunately, is incorrect :-(
> > > >
> > > > IIRC this was implemented for HP aCC. The GNU support does not (yet)
> > > > handle an exceptname.
> > >
> > > ... But if someone is interested, this would not be a huge project.
> > > Ada already supports something similar.
> >
> > Ok if I add something like the following to the ProjectIdeas page?
> > [what are the rules for editing the wiki btw?]
>
>
> There aren't any. Far as I'm concerned you can add anything you want
> :-)
>
> Another useful thing would be to display the exception and to
> automatically show the frame with the throw/catch. I think Ada does
> those, too.
I suppose just adding a breakpoint in the exception constructor is a
little hacky for what you are after here
-Adrian