[Lldb-commits] [lldb] r213194 - Fix some warnings in the Windows build.
Zachary Turner
zturner at google.com
Wed Jul 16 13:28:25 PDT 2014
Author: zturner
Date: Wed Jul 16 15:28:24 2014
New Revision: 213194
URL: http://llvm.org/viewvc/llvm-project?rev=213194&view=rev
Log:
Fix some warnings in the Windows build.
Modified:
lldb/trunk/source/API/SBTarget.cpp
lldb/trunk/source/Commands/CommandObjectThread.cpp
lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp
Modified: lldb/trunk/source/API/SBTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBTarget.cpp?rev=213194&r1=213193&r2=213194&view=diff
==============================================================================
--- lldb/trunk/source/API/SBTarget.cpp (original)
+++ lldb/trunk/source/API/SBTarget.cpp Wed Jul 16 15:28:24 2014
@@ -2565,7 +2565,7 @@ SBTarget::ClearModuleLoadAddress (lldb::
{
SectionSP section_sp (section_list->GetSectionAtIndex(sect_idx));
if (section_sp)
- changed |= target_sp->SetSectionUnloaded (section_sp) > 0;
+ changed |= target_sp->SetSectionUnloaded (section_sp);
}
if (changed)
{
Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=213194&r1=213193&r2=213194&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Wed Jul 16 15:28:24 2014
@@ -616,7 +616,7 @@ protected:
if (m_options.m_step_count > 1)
{
- if (new_plan_sp->SetIterationCount(m_options.m_step_count) != m_options.m_step_count)
+ if (new_plan_sp->SetIterationCount(m_options.m_step_count))
{
result.AppendWarning ("step operation does not support iteration count.");
}
Modified: lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp?rev=213194&r1=213193&r2=213194&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp Wed Jul 16 15:28:24 2014
@@ -202,8 +202,8 @@ PlatformKalimba::ResolveExecutable (cons
}
Error
-PlatformKalimba::GetFileWithUUID (const FileSpec &/*platform_file*/,
- const UUID */*uuid_ptr*/, FileSpec &/*local_file*/)
+PlatformKalimba::GetFileWithUUID (const FileSpec & /*platform_file*/,
+ const UUID * /*uuid_ptr*/, FileSpec & /*local_file*/)
{
return Error();
}
@@ -262,8 +262,8 @@ PlatformKalimba::GetStatus (Stream &strm
}
size_t
-PlatformKalimba::GetSoftwareBreakpointTrapOpcode (Target &/*target*/,
- BreakpointSite */*bp_site*/)
+PlatformKalimba::GetSoftwareBreakpointTrapOpcode (Target & /*target*/,
+ BreakpointSite * /*bp_site*/)
{
// the target hardware does not support software breakpoints
return 0;
More information about the lldb-commits
mailing list