llvm-project/lldb/source/Plugins/Process/elf-core
Pavel Labath a933d5179e Fix a bug in linux core file handling
Summary:
There was a bug in linux core file handling, where if there was a running process with the same
process id as the id in the core file, the core file debugging would fail, as we would pull some
pieces of information (ProcessInfo structure) from the running process instead of the core file.
I fix this by routing the ProcessInfo requests through the Process class and overriding it in
ProcessElfCore to return correct data.

A (slightly convoluted) test is included.

Reviewers: clayborg, zturner

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D18697

llvm-svn: 265391
2016-04-05 13:07:16 +00:00
..
CMakeLists.txt [cmake] Remove LLVM_NO_RTTI. 2015-09-03 08:46:55 +00:00
ProcessElfCore.cpp Fix a bug in linux core file handling 2016-04-05 13:07:16 +00:00
ProcessElfCore.h Fix a bug in linux core file handling 2016-04-05 13:07:16 +00:00
RegisterContextPOSIXCore_arm.cpp Limit scope of RegisterContextPOSIX.h header 2015-09-14 13:16:59 +00:00
RegisterContextPOSIXCore_arm.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-19 18:52:10 +00:00
RegisterContextPOSIXCore_arm64.cpp Limit scope of RegisterContextPOSIX.h header 2015-09-14 13:16:59 +00:00
RegisterContextPOSIXCore_arm64.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-19 18:52:10 +00:00
RegisterContextPOSIXCore_mips64.cpp Limit scope of RegisterContextPOSIX.h header 2015-09-14 13:16:59 +00:00
RegisterContextPOSIXCore_mips64.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-19 18:52:10 +00:00
RegisterContextPOSIXCore_powerpc.cpp Limit scope of RegisterContextPOSIX.h header 2015-09-14 13:16:59 +00:00
RegisterContextPOSIXCore_powerpc.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-19 18:52:10 +00:00
RegisterContextPOSIXCore_x86_64.cpp Limit scope of RegisterContextPOSIX.h header 2015-09-14 13:16:59 +00:00
RegisterContextPOSIXCore_x86_64.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-19 18:52:10 +00:00
ThreadElfCore.cpp Report original thread ID for FreeBSD core files 2015-07-31 14:24:32 +00:00
ThreadElfCore.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-19 18:52:10 +00:00