Skip to content
Commit be908bd6 authored by Tiezhu Yang's avatar Tiezhu Yang
Browse files

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: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
parent e4d74c01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment