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]

Catchpoint problems.



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



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