Converting SIGSEGV signals to C++ exception in gcc/g++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

Is there a flag in compiling or using gcc/g++ so that a signal like
SIGSEGV in my C++ program will result in an exception being thrown?
If not, why not?  I mean, is this is not a reasonable expectation in
OOPS?

Is there anything I need to be careful in throwing an exception in my
signal handlers that convert SIGSEGV to an exception. I will ensure
that no malloc style calls are called.


Thanks for your help.

Sincerely,
--Sudhakar


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux