{"push_id":678826639,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"8783029230b2f62b73f4c2a2e178abd27c602506","before":"464fc58a77fd7a82049217478c1a9090ea3e664c","commits":[{"sha":"8783029230b2f62b73f4c2a2e178abd27c602506","author":{"email":"35a3eb87f592a65aefbe4aff272c5798e4119370@google.com","name":"Pavel Labath"},"message":"Report inferior SIGSEGV as a signal instead of an exception on linux\n\nSummary:\nPreviously, we reported inferior receiving SIGSEGV (or SIGILL, SIGFPE, SIGBUS) as an \"exception\"\nto LLDB, presumably to match OSX behaviour. Beside the fact that we were basically lying to the\nuser, this was also causing problems with inferiors which handle SIGSEGV by themselves, since\nLLDB was unable to reinject this signal back into the inferior.\n\nThis commit changes LLGS to report SIGSEGV as a signal. This has necessitated some changes in the\ntest-suite, which had previously used eStopReasonException to locate threads that crashed. Now it\nuses platform-specific logic, which in the case of linux searches for eStopReasonSignaled with\nsignal=SIGSEGV.\n\nI have also added the ability to set the description of StopInfoUnixSignal using the description\nfield of the gdb-remote packet. The linux stub uses this to display additional information about\nthe segfault (invalid address, address access protected, etc.).\n\nTest Plan: All tests pass on linux and osx.\n\nReviewers: ovyalov, clayborg, emaste\n\nSubscribers: emaste, lldb-commits\n\nDifferential Revision: http://reviews.llvm.org/D10057\n\ngit-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@238549 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/lldb/commits/8783029230b2f62b73f4c2a2e178abd27c602506"}]}