From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: dany_100@yahoo.com Cc: gdb@sourceware.cygnus.com Subject: Re: Catchpoint problems. Date: Wed, 23 May 2001 13:04:00 -0000 Message-id: <874rubu91t.fsf@dynamic-addr-83-177.resnet.rochester.edu> References: <3B0C2F22.23110.88D08@localhost> X-SW-Source: 2001-05/msg00321.html "Daniel Manfis" 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