pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lldb-netbsd: Recognize in messages TRAP_EXEC, TRAP_CHLD, TRAP_LWP



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jan 21 13:53:04 2017 +0100
Changeset:	b5e41a011c9507e6149a63cfddddd324e60c8cd5

Modified Files:
	lldb-netbsd/distinfo
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp

Log Message:
lldb-netbsd: Recognize in messages TRAP_EXEC, TRAP_CHLD, TRAP_LWP

This effects only printing to user part.

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5e41a011c9507e6149a63cfddddd324e60c8cd5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb-netbsd/distinfo                                          |  2 +-
 ...patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 5ca844c..cefa97e 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -30,7 +30,7 @@ SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = c0168f81da56d9896eb414e6b8b
 SHA1 (patch-source_Plugins_Process_NetBSD_CMakeLists.txt) = df17afdf71c29d945c887e318718904793cd48ad
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 8217ddf97267ada5ee1bd579555e07b3a557edae
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 3470c54fa069c9df8a70f08d49df319dece9e0c8
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = 74f1503d6e402b8429e0b523c394a0fc725f6c1b
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = e3543fca9b33de37defa303704bd700f1e5b0ccb
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = 52686c2b13e9de5be9818668750b27b5c37843a7
 SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = 851c82ac61e1241018755fbd7236af00379ac986
 SHA1 (patch-tools_lldb-mi_MICmnBase.h) = f550d5e10bcf02fb46472733acdbb820791f22e5
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
index d9ba8cb..e0abe76 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
@@ -2,7 +2,7 @@ $NetBSD$
 
 --- source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp.orig	2017-01-20 20:30:48.343442890 +0000
 +++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
-@@ -0,0 +1,382 @@
+@@ -0,0 +1,391 @@
 +//===-- NativeThreadNetBSD.cpp --------------------------------- -*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -238,6 +238,15 @@ $NetBSD$
 +      case TRAP_TRACE:
 +        stringStream << "Process Trace Trap type";
 +        break;
++      case TRAP_EXEC:
++        stringStream << "Process Exec Trap type";
++        break;
++      case TRAP_CHLD:
++        stringStream << "Process Child Trap type";
++        break;
++      case TRAP_LWP:
++        stringStream << "Process LWP Trap type";
++        break;
 +      default:
 +        stringStream << "unknown si_code value " << std::hex << std::showbase
 +                     << info->si_code;


Home | Main Index | Thread Index | Old Index