diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
| commit | 145449b1e420787bb99721a429341fa6be3adfb6 (patch) | |
| tree | 1d56ae694a6de602e348dd80165cf881a36600ed /lldb/source/Host/common/NativeRegisterContext.cpp | |
| parent | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff) | |
Diffstat (limited to 'lldb/source/Host/common/NativeRegisterContext.cpp')
| -rw-r--r-- | lldb/source/Host/common/NativeRegisterContext.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/source/Host/common/NativeRegisterContext.cpp b/lldb/source/Host/common/NativeRegisterContext.cpp index d0afc2b47dac..7e4ffe8dfa18 100644 --- a/lldb/source/Host/common/NativeRegisterContext.cpp +++ b/lldb/source/Host/common/NativeRegisterContext.cpp @@ -7,8 +7,7 @@ //===----------------------------------------------------------------------===// #include "lldb/Host/common/NativeRegisterContext.h" - -#include "lldb/Utility/Log.h" +#include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/RegisterValue.h" #include "lldb/Host/PosixApi.h" @@ -122,7 +121,7 @@ const char *NativeRegisterContext::GetRegisterSetNameForRegisterAtIndex( } lldb::addr_t NativeRegisterContext::GetPC(lldb::addr_t fail_value) { - Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_THREAD)); + Log *log = GetLog(LLDBLog::Thread); uint32_t reg = ConvertRegisterKindToRegisterNumber(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); @@ -197,7 +196,7 @@ NativeRegisterContext::ReadRegisterAsUnsigned(uint32_t reg, uint64_t NativeRegisterContext::ReadRegisterAsUnsigned(const RegisterInfo *reg_info, lldb::addr_t fail_value) { - Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_THREAD)); + Log *log = GetLog(LLDBLog::Thread); if (reg_info) { RegisterValue value; |
