[Lldb-commits] [lldb] r206466 - Move FreeBSDSignals to Utility

Ed Maste emaste at freebsd.org
Thu Apr 17 06:03:11 PDT 2014


Author: emaste
Date: Thu Apr 17 08:03:10 2014
New Revision: 206466

URL: http://llvm.org/viewvc/llvm-project?rev=206466&view=rev
Log:
Move FreeBSDSignals to Utility

It will shortly be need by FreeBSD elf core support on all hosts.

Added:
    lldb/trunk/source/Plugins/Process/Utility/FreeBSDSignals.cpp
      - copied unchanged from r206459, lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.cpp
    lldb/trunk/source/Plugins/Process/Utility/FreeBSDSignals.h
      - copied unchanged from r206459, lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.h
Removed:
    lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.cpp
    lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.h
Modified:
    lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt
    lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h
    lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt

Modified: lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt?rev=206466&r1=206465&r2=206466&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt Thu Apr 17 08:03:10 2014
@@ -6,7 +6,6 @@ include_directories(../Utility)
 
 add_lldb_library(lldbPluginProcessFreeBSD
   ProcessFreeBSD.cpp
-  FreeBSDSignals.cpp
   FreeBSDThread.cpp
   ProcessMonitor.cpp
   )

Removed: lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.cpp?rev=206465&view=auto
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.cpp (removed)
@@ -1,31 +0,0 @@
-//===-- FreeBSDSignals.cpp --------------------------------------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
-#include "FreeBSDSignals.h"
-
-FreeBSDSignals::FreeBSDSignals()
-    : UnixSignals()
-{
-    Reset();
-}
-
-void
-FreeBSDSignals::Reset()
-{
-    UnixSignals::Reset();
-
-    //        SIGNO  NAME         SHORT NAME SUPPRESS STOP   NOTIFY DESCRIPTION 
-    //        ====== ============ ========== ======== ====== ====== ===================================================
-    AddSignal (32,   "SIGTHR",    "THR",     false,   true , true , "thread interrupt");
-    AddSignal (33,   "SIGLIBRT",  "LIBRT",   false,   true , true , "reserved by real-time library");
-}

Removed: lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.h?rev=206465&view=auto
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.h (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDSignals.h (removed)
@@ -1,28 +0,0 @@
-//===-- FreeBSDSignals.h ----------------------------------------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef liblldb_FreeBSDSignals_H_
-#define liblldb_FreeBSDSignals_H_
-
-// Project includes
-#include "lldb/Target/UnixSignals.h"
-
-/// FreeBSD specific set of Unix signals.
-class FreeBSDSignals
-    : public lldb_private::UnixSignals
-{
-public:
-    FreeBSDSignals();
-
-private:
-    void
-    Reset();
-};
-
-#endif // liblldb_FreeBSDSignals_H_

Modified: lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h?rev=206466&r1=206465&r2=206466&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h Thu Apr 17 08:03:10 2014
@@ -18,7 +18,7 @@
 // Other libraries and framework includes
 #include "lldb/Target/Process.h"
 #include "lldb/Target/ThreadList.h"
-#include "FreeBSDSignals.h"
+#include "Plugins/Process/Utility/FreeBSDSignals.h"
 #include "ProcessMessage.h"
 #include "ProcessPOSIX.h"
 

Modified: lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt?rev=206466&r1=206465&r2=206466&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt Thu Apr 17 08:03:10 2014
@@ -4,6 +4,7 @@ set(LLVM_NO_RTTI 1)
 
 add_lldb_library(lldbPluginProcessUtility
   DynamicRegisterInfo.cpp
+  FreeBSDSignals.cpp
   HistoryThread.cpp
   HistoryUnwind.cpp
   InferiorCallPOSIX.cpp





More information about the lldb-commits mailing list