summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2015-02-23 15:28:42 +0000
committerEd Maste <emaste@freebsd.org>2015-02-23 15:28:42 +0000
commitaec140380f31a24949a7b36c69d1bf588d20cccb (patch)
tree1005e5386a4ad46b41a508db3c55d90005b59546
parentf488e2ae69e9677ccffacf6ab5e5e2a31b64a7c9 (diff)
downloadbcm5719-llvm-aec140380f31a24949a7b36c69d1bf588d20cccb.tar.gz
bcm5719-llvm-aec140380f31a24949a7b36c69d1bf588d20cccb.zip
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. llvm-svn: 230227
-rw-r--r--lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp b/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
index ead959508d8..fd0d0a90fb6 100644
--- a/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
+++ b/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
@@ -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;
}
OpenPOWER on IntegriCloud