[Lldb-commits] [PATCH] Add missing cases to NativeProcessLinux LogThreadStopInfo

Pavel Labath labath at google.com
Thu Mar 19 10:50:37 PDT 2015


Hi tberghammer,

http://reviews.llvm.org/D8453

Files:
  source/Plugins/Process/Linux/NativeThreadLinux.cpp

Index: source/Plugins/Process/Linux/NativeThreadLinux.cpp
===================================================================
--- source/Plugins/Process/Linux/NativeThreadLinux.cpp
+++ source/Plugins/Process/Linux/NativeThreadLinux.cpp
@@ -52,6 +52,18 @@
             case eStopReasonExec:
                 log.Printf ("%s: %s exec, stopping signal 0x%" PRIx32, __FUNCTION__, header, stop_info.details.signal.signo);
                 return;
+            case eStopReasonWatchpoint:
+                log.Printf ("%s: %s watchpoint, stopping signal 0x%" PRIx32, __FUNCTION__, header, stop_info.details.signal.signo);
+                return;
+            case eStopReasonTrace:
+                log.Printf ("%s: %s trace, stopping signal 0x%" PRIx32, __FUNCTION__, header, stop_info.details.signal.signo);
+                return;
+            case eStopReasonNone:
+                log.Printf ("%s: %s no stop reason", __FUNCTION__, header);
+                return;
+            case eStopReasonThreadExiting:
+                log.Printf ("%s: %s thread exiting", __FUNCTION__, header);
+                return;
             default:
                 log.Printf ("%s: %s invalid stop reason %" PRIu32, __FUNCTION__, header, static_cast<uint32_t> (stop_info.reason));
         }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8453.22281.patch
Type: text/x-patch
Size: 1279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150319/50372565/attachment.bin>


More information about the lldb-commits mailing list