diff options
author | Greg Clayton <gclayton@apple.com> | 2011-01-10 03:47:25 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-01-10 03:47:25 +0000 |
commit | 1bf55f2af74a8401ab2b868db61423a82d4bf71c (patch) | |
tree | 661c52996bfbdfe42803282aeb1779f05f1fde62 /lldb/source/Target/UnixSignals.cpp | |
parent | 0710f5c5e136da4f4507399d059cd6e152ddd833 (diff) | |
download | bcm5719-llvm-1bf55f2af74a8401ab2b868db61423a82d4bf71c.tar.gz bcm5719-llvm-1bf55f2af74a8401ab2b868db61423a82d4bf71c.zip |
Change the default signal setting for SIBABRT to SUPPRESS the signal. Why?
When debugging, if an expression hits a SIGABRT, it the expression ends up
completing and stopping due the the "SIGABRT". Then the next thing that runs
(another expression, or continuing the program) ends up progating the SIGABRT
and causing the parent processes to die.
We should probably think of a different solution where we suppress any signal
that resulted due to an expression, or we modifyin the UnixSignals class to
contain a row for "suppress for expression".
So the settings for SIGABRT are: suppress = true, stop = true, and
notify = true.
llvm-svn: 123157
Diffstat (limited to 'lldb/source/Target/UnixSignals.cpp')
-rw-r--r-- | lldb/source/Target/UnixSignals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/UnixSignals.cpp b/lldb/source/Target/UnixSignals.cpp index de3dfec1bbd..0ee149f12ea 100644 --- a/lldb/source/Target/UnixSignals.cpp +++ b/lldb/source/Target/UnixSignals.cpp @@ -66,7 +66,7 @@ UnixSignals::Reset () AddSignal (3, "SIGQUIT", "QUIT", false, true, true, "quit"); AddSignal (4, "SIGILL", "ILL", false, true, true, "illegal instruction"); AddSignal (5, "SIGTRAP", "TRAP", true, true, true, "trace trap (not reset when caught)"); - AddSignal (6, "SIGABRT", "ABRT", false, true, true, "abort()"); + AddSignal (6, "SIGABRT", "ABRT", true, true, true, "abort()"); AddSignal (7, "SIGEMT", "EMT", false, true, true, "pollable event"); AddSignal (8, "SIGFPE", "FPE", false, true, true, "floating point exception"); AddSignal (9, "SIGKILL", "KILL", false, true, true, "kill"); |