haiku/src
Ingo Weinhold 7805eb0cc2 Changed the handling for hardware-caused terminal signals:
* No longer send a SIGKILL when a page fault occurred, there was no
  signal handler, and the debugger told us to continue as usual. Instead
  we send a SIGSEGV. Instead in handle_signal() when not in the main
  thread and there's no handler for the signal, we first send the main
  thread a SIGKILL before letting the thread die.
  So in cases where the main thread caused an unhandled page fault, the
  team will die from the SIGSEGV, now. This fixes bug #2773. 
* For the other hardware-caused signals we do now do the same as in case
  of page faults, i.e. we first check whether the thread has a handler
  for the signal in question. If so, we don't notify the debugger, but
  send the signal right away.
* B_GENERAL_PROTECTION_FAULT is translated to SIGILL now. Seems better
  than SIGKILL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-27 14:08:13 +00:00
..
add-ons Add or fix copyright headers. 2008-09-27 01:04:05 +00:00
apps Hack to fix building for R5. Should go away later. 2008-09-26 15:30:32 +00:00
bin Should fix problems with whitespace in path names (#2770). 2008-09-25 12:41:36 +00:00
build Added header directory missing for <asm_defs.h>. Should fix the build on 2008-09-26 13:36:29 +00:00
data - Further updated supertypes. 2008-08-22 12:33:07 +00:00
documentation removed former haiku_book and headersampler tool 2007-10-04 22:15:58 +00:00
kits don't leak the bmessenger. CID 888 2008-09-25 15:51:29 +00:00
libs * Patch by tqh from ticket #2761 that adds max_hdr, and puts some extra 2008-09-24 07:33:03 +00:00
preferences don't leak the BMessengers. CID 1009 and 1010 2008-09-25 14:03:25 +00:00
servers Check for NULL before dereferencing the pointer. CID 1050 2008-09-25 13:56:50 +00:00
system Changed the handling for hardware-caused terminal signals: 2008-09-27 14:08:13 +00:00
tests Added command line option "-d" to disable the debugger before crashing. 2008-09-23 19:54:12 +00:00
tools * Moved strace sourced to src/bin/debug/. 2008-09-15 13:45:43 +00:00
Jamfile libshared.a doesn't deserve a src/ subdirectory. Moved to 2007-06-15 18:32:50 +00:00