augie wrote: > > i read this in the gdb documentation: > > Set catchpoints to catch events. > Raised exceptions may be caught: > catch throw - all exceptions, when thrown > > i read somewhere that when you use this gdb will break when a c++ > exception is thrown, but im not quite sure how to use it? > > i compiled with debugging set and then ran gdb on the program and tried > just typing "catch throw" but i get an error: > > "warning: Unsupported with this platform/compiler combination."
Well, that's because breaking on a C++ exception is unsupported with your platform and/or compiler. I don't think there are many for which it is supported -- possibly hpux. _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb