This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Why does debugging "pure virtual method called" have to be so hard?


|> How to others feel about calling abort instead of _exit?  abort might
|> be more useful.

Please!  That would make post-mortem debugging much easier for those of
who have to deal with developers that know just about nothing about
debugging.  Another benefit would be that if it did `abort', we would
get a stack dump for the bug reports -- our fatal error handlers can
dump stack trace or drop a core, or both, on certain systems.

Cheers,
//lat
--
With sufficient thrust, pigs fly just fine.  However, this is not
necessarily a good idea.  It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  --RFC1925, "The Twelve Networking Truths"



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