diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-01-31 16:10:30 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-02-06 18:40:40 +0800 |
commit | be908bd6e7fdcf0b91b949b152a063b5791856b5 (patch) | |
tree | f1c0cd155f3c4b8fc757c5b934c7df25e4cebc6c /gdb/arch/tic6x.c | |
parent | e4d74c01e77365f1327e4e567e7579cdd3bf74f6 (diff) | |
download | gdb-be908bd6e7fdcf0b91b949b152a063b5791856b5.zip gdb-be908bd6e7fdcf0b91b949b152a063b5791856b5.tar.gz gdb-be908bd6e7fdcf0b91b949b152a063b5791856b5.tar.bz2 |
gdb: LoongArch: Implement the get_syscall_number gdbarch method
In the current code, the feature 'catch syscall' is not supported
on LoongArch, implement the "get_syscall_number" gdbarch method to
get the system call number from the register a7.
Without this patch:
(gdb) catch syscall
The feature 'catch syscall' is not supported on this architecture yet.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/arch/tic6x.c')
0 files changed, 0 insertions, 0 deletions