Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Catchpoint problems.
@ 2001-05-23 11:42 Daniel Manfis
  2001-05-23 13:04 ` Daniel Berlin
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Manfis @ 2001-05-23 11:42 UTC (permalink / raw)
  To: gdb

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.


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Catchpoint problems.
  2001-05-23 11:42 Catchpoint problems Daniel Manfis
@ 2001-05-23 13:04 ` Daniel Berlin
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Berlin @ 2001-05-23 13:04 UTC (permalink / raw)
  To: dany_100; +Cc: gdb

"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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-23 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23 11:42 Catchpoint problems Daniel Manfis
2001-05-23 13:04 ` Daniel Berlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox