[all-commits] [llvm/llvm-project] 97842f: [LLDB] Add LoongArch software breakpoint trap opcode
Lu Weining via All-commits
all-commits at lists.llvm.org
Wed Nov 9 21:50:07 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97842fcba9e3a3fa4db52a47215641f9141fea63
https://github.com/llvm/llvm-project/commit/97842fcba9e3a3fa4db52a47215641f9141fea63
Author: Teizhu Yang <yangtiezhu at loongson.cn>
Date: 2022-11-10 (Thu, 10 Nov 2022)
Changed paths:
M lldb/source/Host/common/NativeProcessProtocol.cpp
M lldb/source/Target/Platform.cpp
Log Message:
-----------
[LLDB] Add LoongArch software breakpoint trap opcode
Use `break 0x5` for LoongArch software breakpoint traps.
The magic number 0x5 means `BRK_SSTEPBP` as defined in
the kernel header `asm/break.h` on LoongArch.
Reviewed By: SixWeining, xen0n
Differential Revision: https://reviews.llvm.org/D137519
More information about the All-commits
mailing list