[all-commits] [llvm/llvm-project] 3a9e07: [LLDB][LoongArch] Make software single stepping work
Lu Weining via All-commits
all-commits at lists.llvm.org
Thu Dec 8 03:06:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a9e07b1e7f4718a0e117f3a732f1679c4bf2e30
https://github.com/llvm/llvm-project/commit/3a9e07b1e7f4718a0e117f3a732f1679c4bf2e30
Author: Weining Lu <luweining at loongson.cn>
Date: 2022-12-08 (Thu, 08 Dec 2022)
Changed paths:
M lldb/source/Plugins/Instruction/CMakeLists.txt
A lldb/source/Plugins/Instruction/LoongArch/CMakeLists.txt
A lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.cpp
A lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.h
M lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
M lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.cpp
M lldb/tools/lldb-server/CMakeLists.txt
M lldb/tools/lldb-server/SystemInitializerLLGS.cpp
Log Message:
-----------
[LLDB][LoongArch] Make software single stepping work
Hardware single stepping is not currently supported by the linux kernel.
In order to support single step debugging, add EmulateInstructionLoongArch
to implement the software Single Stepping. This patch only support the
simplest single step execution of non-jump instructions.
Reviewed By: SixWeining, DavidSpickett
Differential Revision: https://reviews.llvm.org/D139158
More information about the All-commits
mailing list