From aec140380f31a24949a7b36c69d1bf588d20cccb Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 23 Feb 2015 15:28:42 +0000 Subject: [PATCH] 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 --- lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp b/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp index ead959508d88..fd0d0a90fb6f 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; }