This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Catchpoint problems.


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]