diff options
author | Hui Li <lihui@loongson.cn> | 2024-11-25 15:31:34 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-11-25 19:13:08 +0800 |
commit | 19b5accc3f85734e381d381d38f028c3379fa3a3 (patch) | |
tree | b42b05fd479683dcd7a5cd37687a689272fa31b3 /gdb/python/python-internal.h | |
parent | 66df4f72b64b18b089b5a1a715230885ce0aaf14 (diff) | |
download | binutils-19b5accc3f85734e381d381d38f028c3379fa3a3.zip binutils-19b5accc3f85734e381d381d38f028c3379fa3a3.tar.gz binutils-19b5accc3f85734e381d381d38f028c3379fa3a3.tar.bz2 |
gdb: LoongArch: Add instruction definition for process record
GDB provides a special process record function that can record a log
of the process execution. The core of this feature is need to record
the execution of all instructions. This patch adds opcode definitions
and judgments in gdb/arch/loongarch-insn.h. This is preparation for
later patch on LoongArch, there is no effect for the other archs with
this patch.
The LoongArch opcode and mask definitions are obtained from
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=opcodes/loongarch-opc.c
LoongArch instruction description refer to the LoongArch Reference Manual:
https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html
Signed-off-by: Hui Li <lihui@loongson.cn>
Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
Approved-By: Tom Tromey <tom@tromey.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions