This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Catchpoint problems.
- To: dany_100 at yahoo dot com
- Subject: Re: Catchpoint problems.
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: 23 May 2001 16:03:58 -0400
- Cc: gdb at sourceware dot cygnus dot com
- References: <3B0C2F22.23110.88D08@localhost>
"Daniel Manfis" <dany_100@yahoo.com> writes:
> Hello.
>
> Why when i use "catch throw" in C++ debugging session i get a
> warning: "Unsupported with this platform/compiler combination", and
> thrown exception is not caught, though according to the info
> documentation my platform/compiler combination are supported
> (actually it is not mentioned at all that there is a
> platforms/compilers for which that feature is not implemented,
> from what i came to a conclusion that a feature is supported
> universaly, because info manual mentions when a platform is *not*
> supported, like in case with "catch exec", "catch fork" etc.).
>
> Why when i use "catch catch" expression i get an error: "catch NAME
> not implemented", though "catch catch" is a perfectly legal syntax
> according to the manual.
This isn't implemented yet.
Except on HP aCC.
It's on my todo list, i implemented support for it for GCC once
already, a while ago.
>
>
> I use the following hardware/software:
>
> Pentium 166, 32RAM
> linux : Mandrake 7.2 (kernel 2.2.17-24mkd)
> gcc : 3.0, snapshot 20010423
> gdb : snapshot 20010522
>
>
> code example:
> ////////////////////////////////////////////////////
> class A {};
>
> int main()
> {
> throw A() ;
> }
> ////////////////////////////////////////////////////
>
>
> Daniel.
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
--
"Winny and I lived in a house that ran on static electricity...
If you wanted to run the blender, you had to rub balloons on
your head. If you wanted to cook, you had to pull off a sweater
real quick.
"-Steven Wright