Commit Graph
175 Commits
Author SHA1 Message Date
Glenn Maynard 22570a4c33 cleanup 2004-09-08 21:19:13 +00:00
Glenn Maynard 4d829e3d29 wait, no. It's GetThreadBacktraceContext's job to suspend the thread. 2004-09-08 21:17:43 +00:00
Steve Checkoway 03e703e447 Fix OS X compile. 2004-09-08 08:35:07 +00:00
Glenn Maynard 96d780514e ForceCrashHandlerDeadlock(GetInvalidThreadId()) support 2004-09-08 08:08:06 +00:00
Glenn Maynard 8c92f9ec0f cleanup, simplify 2004-09-08 07:34:38 +00:00
Glenn Maynard 30a5054533 fix mutexes under valgrind; type fix 2004-09-08 04:45:16 +00:00
Steve Checkoway 98580f128b Remove Exceptions. 2004-09-07 14:00:35 +00:00
Steve Checkoway f08a2d00c9 Remove Exceptions since OS X does not catch them. Instead, it waits for the signal. 2004-09-07 13:44:06 +00:00
Steve Checkoway 54f869a424 If it is invalid, GetThreadBacktraceContext will fail anyway. 2004-09-07 13:25:47 +00:00
Steve Checkoway 7b2ec2cee3 Use uint64_t except where other types are expected. 2004-09-07 12:59:08 +00:00
Steve Checkoway a50839e1d0 Remove stubs, const fix 2004-09-07 12:40:44 +00:00
Steve Checkoway 0669938e81 Fix comment 2004-09-07 11:12:29 +00:00
Glenn Maynard 7b2521654e split out RunningUnderValgrind() 2004-09-06 08:29:50 +00:00
Steve Checkoway a2fb826774 Writing to stdin just doesn't seem right. Also, why not just FILE *tty = fopen(/dev/stderr, w); if you worried about it having been closed by the crashed parent? 2004-08-26 21:30:59 +00:00
Glenn Maynard da3361ec23 fix exception backtraces not always resolving 2004-08-25 04:08:43 +00:00
Glenn Maynard 0f7572ad8c work around gettid warning spam in valgrind 2004-08-22 01:16:00 +00:00
Steve Checkoway e88a5994c1 cleanup 2004-08-11 21:52:29 +00:00
Glenn Maynard 8ce2ae57d9 whoops 2004-06-16 03:41:33 +00:00
Glenn Maynard 7cb385a56f improve output 2004-06-16 03:39:43 +00:00
Glenn Maynard 92e389f019 DoEmergencyShutdown 2004-06-16 03:32:46 +00:00
Glenn Maynard 48b6c6b50a compile fix 2004-06-16 03:01:54 +00:00
Glenn Maynard 3a56c870ba cleanup 2004-06-16 02:58:58 +00:00
Glenn Maynard 9911c10540 remove BACKTRACE_METHOD_BACKTRACE 2004-06-16 02:55:13 +00:00
Glenn Maynard c73edb179e compile fix 2004-06-16 02:35:07 +00:00
Sean Burke 4aa1d94a35 Work on x86-64 compile. 2004-06-15 23:38:11 +00:00
Glenn Maynard 02ed651ed3 go away, Linux, I'll do it myself 2004-06-15 00:31:12 +00:00
Sean Burke 00c8d1ef80 Make sure CPU_PPC is defined before defining __KERNEL__ 2004-06-15 00:29:55 +00:00
Glenn Maynard d9f5ba7821 try extern C-ing asm/byteorder.h 2004-06-14 22:00:22 +00:00
Glenn Maynard a6047d407f revert; this is here for a reason, please don't change core files if you don't understand them 2004-06-14 21:53:01 +00:00
Fred Wulff 32c5e5720a Linux fix 2004-06-14 21:25:42 +00:00
Sean Burke ae40217dff Fix possible compile error on PPC Linux. 2004-06-14 11:02:09 +00:00
Glenn Maynard 12fc5b9440 add EmergencyShutdown 2004-06-14 07:06:37 +00:00
Glenn Maynard d0361ce63f stdint.h on all unix 2004-06-13 07:56:33 +00:00
Glenn Maynard da2cd0686c fix 2004-06-12 07:46:09 +00:00
Glenn Maynard 59fce6b7ca linux arch_setup 2004-06-12 07:23:23 +00:00
Glenn Maynard 0805aef930 ForceCrashHandlerDeadlock is only implemented in Linux 2004-06-12 01:01:30 +00:00
Glenn Maynard ef219fce39 small fixes preparing for arch/Threads 2004-06-11 07:09:43 +00:00
Glenn Maynard b1a320fc95 Linuxthreads (pre-NPTL) sigaltstack is broken even if we're in 2.6. 2004-05-27 04:57:15 +00:00
Glenn Maynard dbef3cc14f export UsingNPTL 2004-05-27 04:56:09 +00:00
Glenn Maynard 73e5838b97 fix InitializePidThreadHelpers sometimes doing emory allocation in crash conditions
fix InitializePidThreadHelpers initializing multiple times
2004-05-25 06:54:37 +00:00
Glenn Maynard af88a2be4f Asserting copyright on a signal handler is dumb, but disclaiming warranty isn't. 2004-05-15 08:27:42 +00:00
Glenn Maynard c51a588a45 license update 2004-05-15 08:23:53 +00:00
Glenn Maynard c4d501081f s/__THROW/throw()/
fix assertion handling when !CRASH_HANDLER
improve assertion handling output
2004-05-06 09:08:41 +00:00
Glenn Maynard 24af9a4825 add SignalHandler::ResetSignalHandlers 2004-05-06 08:40:53 +00:00
Glenn Maynard e5de37f23c fix HAVE_DECL_SIGPWR check 2004-05-06 08:26:09 +00:00
Glenn Maynard 0b5644a9b9 make sigaltstack work on Darwin 2004-04-19 23:31:47 +00:00
Glenn Maynard ab4e87d7d7 don't ignore local symbols (fixes some backtraces) 2004-04-19 23:09:12 +00:00
Glenn Maynard 7f970858dc CrashSignalHandler works on DARWIN 2004-04-16 07:13:18 +00:00
Glenn Maynard 507b5ba7de make signalHandler work on DARWIN 2004-04-16 07:12:05 +00:00
Glenn Maynard 481886f8cf cleanup 2004-04-16 07:07:09 +00:00