[Lldb-commits] [lldb] r230227 - elf-core: correct "no sections" to "no segments."
Ed Maste
emaste at freebsd.org
Mon Feb 23 07:28:42 PST 2015
Author: emaste
Date: Mon Feb 23 09:28:42 2015
New Revision: 230227
URL: http://llvm.org/viewvc/llvm-project?rev=230227&view=rev
Log:
elf-core: correct "no sections" to "no segments."
The error reported here is that there are no phdr entries, so it's
referring to segments, not sections.
Modified:
lldb/trunk/source/Plugins/Process/elf-core/ProcessElfCore.cpp
Modified: lldb/trunk/source/Plugins/Process/elf-core/ProcessElfCore.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/elf-core/ProcessElfCore.cpp?rev=230227&r1=230226&r2=230227&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/elf-core/ProcessElfCore.cpp (original)
+++ lldb/trunk/source/Plugins/Process/elf-core/ProcessElfCore.cpp Mon Feb 23 09:28:42 2015
@@ -191,7 +191,7 @@ ProcessElfCore::DoLoadCore ()
const uint32_t num_segments = core->GetProgramHeaderCount();
if (num_segments == 0)
{
- error.SetErrorString ("core file has no sections");
+ error.SetErrorString ("core file has no segments");
return error;
}
More information about the lldb-commits
mailing list