From bee4d6efe1781365cb82dcc94ad959309354af6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 12 Feb 2021 00:40:52 +0100 Subject: [PATCH] [lldb] Rename FreeBSDRemote to FreeBSD (NFC) Differential Revision: https://reviews.llvm.org/D96557 --- lldb/source/Plugins/Process/CMakeLists.txt | 2 +- lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/CMakeLists.txt | 2 +- .../Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeProcessFreeBSD.cpp | 0 .../Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeProcessFreeBSD.h | 0 .../Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD.cpp | 2 +- .../Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD.h | 0 .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm.cpp | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm.h | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm64.cpp | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm64.h | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_mips64.cpp | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_mips64.h | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_powerpc.cpp | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_powerpc.h | 2 +- .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_x86_64.cpp | 0 .../{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_x86_64.h | 2 +- .../Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeThreadFreeBSD.cpp | 0 .../Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeThreadFreeBSD.h | 2 +- lldb/tools/lldb-server/CMakeLists.txt | 2 +- lldb/tools/lldb-server/lldb-gdbserver.cpp | 2 +- 20 files changed, 15 insertions(+), 15 deletions(-) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/CMakeLists.txt (90%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeProcessFreeBSD.cpp (100%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeProcessFreeBSD.h (100%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD.cpp (93%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD.h (100%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm.cpp (99%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm.h (96%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm64.cpp (99%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_arm64.h (96%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_mips64.cpp (98%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_mips64.h (96%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_powerpc.cpp (99%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_powerpc.h (96%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_x86_64.cpp (100%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeRegisterContextFreeBSD_x86_64.h (97%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeThreadFreeBSD.cpp (100%) rename lldb/source/Plugins/Process/{FreeBSDRemote => FreeBSD}/NativeThreadFreeBSD.h (97%) diff --git a/lldb/source/Plugins/Process/CMakeLists.txt b/lldb/source/Plugins/Process/CMakeLists.txt index 55ad582..fdeb211 100644 --- a/lldb/source/Plugins/Process/CMakeLists.txt +++ b/lldb/source/Plugins/Process/CMakeLists.txt @@ -2,7 +2,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android") add_subdirectory(Linux) add_subdirectory(POSIX) elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") - add_subdirectory(FreeBSDRemote) + add_subdirectory(FreeBSD) add_subdirectory(POSIX) elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD") add_subdirectory(NetBSD) diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/CMakeLists.txt b/lldb/source/Plugins/Process/FreeBSD/CMakeLists.txt similarity index 90% rename from lldb/source/Plugins/Process/FreeBSDRemote/CMakeLists.txt rename to lldb/source/Plugins/Process/FreeBSD/CMakeLists.txt index 7480154..598911c 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/CMakeLists.txt +++ b/lldb/source/Plugins/Process/FreeBSD/CMakeLists.txt @@ -1,4 +1,4 @@ -add_lldb_library(lldbPluginProcessFreeBSDRemote +add_lldb_library(lldbPluginProcessFreeBSD NativeProcessFreeBSD.cpp NativeRegisterContextFreeBSD.cpp NativeRegisterContextFreeBSD_arm.cpp diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp similarity index 100% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h b/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.h similarity index 100% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h rename to lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.h diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.cpp similarity index 93% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.cpp index ac3cc4fe..3d744f7 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.cpp @@ -8,7 +8,7 @@ #include "NativeRegisterContextFreeBSD.h" -#include "Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeProcessFreeBSD.h" #include "lldb/Host/common/NativeProcessProtocol.h" diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h similarity index 100% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp similarity index 99% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp index 18926d7..c4ee377 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp @@ -14,7 +14,7 @@ #include "lldb/Utility/RegisterValue.h" #include "lldb/Utility/Status.h" -#include "Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeProcessFreeBSD.h" #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm.h" // clang-format off diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.h similarity index 96% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm.h rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.h index 106aa07..4be75b9 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.h @@ -17,7 +17,7 @@ #include // clang-format on -#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h" #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm.h" #include diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp similarity index 99% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp index 25e83e9..2fa08bf 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp @@ -14,7 +14,7 @@ #include "lldb/Utility/RegisterValue.h" #include "lldb/Utility/Status.h" -#include "Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeProcessFreeBSD.h" #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h" // clang-format off diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.h similarity index 96% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.h rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.h index a3f8f54..fb242a8 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.h @@ -16,7 +16,7 @@ #include // clang-format on -#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h" #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h" #include diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp similarity index 98% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp index b6d9d64..8e722c0 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp @@ -14,7 +14,7 @@ #include "lldb/Utility/RegisterValue.h" #include "lldb/Utility/Status.h" -#include "Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeProcessFreeBSD.h" // clang-format off #include diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h similarity index 96% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.h rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h index b6e1848..6a3eb86 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h @@ -16,7 +16,7 @@ #include // clang-format on -#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h" #include "Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h" #include diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_powerpc.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp similarity index 99% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_powerpc.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp index 98daa25..5b5d44a 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_powerpc.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp @@ -15,7 +15,7 @@ #include "lldb/Utility/RegisterValue.h" #include "lldb/Utility/Status.h" -#include "Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeProcessFreeBSD.h" // for register enum definitions #include "Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h" diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_powerpc.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.h similarity index 96% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_powerpc.h rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.h index 456ea30..884c2598 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_powerpc.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.h @@ -16,7 +16,7 @@ #include // clang-format on -#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h" #include "Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h" #include diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp similarity index 100% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.h similarity index 97% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h rename to lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.h index 673cffd..1a9f8fe 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.h @@ -20,7 +20,7 @@ #include -#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h" #include "Plugins/Process/Utility/RegisterContext_x86.h" #include "Plugins/Process/Utility/NativeRegisterContextWatchpoint_x86.h" #include "Plugins/Process/Utility/lldb-x86-register-enums.h" diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp similarity index 100% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.cpp rename to lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.h b/lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h similarity index 97% rename from lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.h rename to lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h index 4e997b3..249d248 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h @@ -11,7 +11,7 @@ #include "lldb/Host/common/NativeThreadProtocol.h" -#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h" #include #include diff --git a/lldb/tools/lldb-server/CMakeLists.txt b/lldb/tools/lldb-server/CMakeLists.txt index 3f41a96..9ed25929 100644 --- a/lldb/tools/lldb-server/CMakeLists.txt +++ b/lldb/tools/lldb-server/CMakeLists.txt @@ -10,7 +10,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux|Android") endif() if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") - list(APPEND LLDB_PLUGINS lldbPluginProcessFreeBSDRemote) + list(APPEND LLDB_PLUGINS lldbPluginProcessFreeBSD) endif() if(CMAKE_SYSTEM_NAME MATCHES "NetBSD") diff --git a/lldb/tools/lldb-server/lldb-gdbserver.cpp b/lldb/tools/lldb-server/lldb-gdbserver.cpp index 9b8c67a..a9db73f 100644 --- a/lldb/tools/lldb-server/lldb-gdbserver.cpp +++ b/lldb/tools/lldb-server/lldb-gdbserver.cpp @@ -40,7 +40,7 @@ #if defined(__linux__) #include "Plugins/Process/Linux/NativeProcessLinux.h" #elif defined(__FreeBSD__) -#include "Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h" +#include "Plugins/Process/FreeBSD/NativeProcessFreeBSD.h" #elif defined(__NetBSD__) #include "Plugins/Process/NetBSD/NativeProcessNetBSD.h" #elif defined(_WIN32) -- 2.7.4