diff options
author | Youling Tang <tangyouling@loongson.cn> | 2022-05-30 20:08:30 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-06-14 22:21:43 +0800 |
commit | e5ab6af52d38ee068c1860ef113b7db4cc985cfb (patch) | |
tree | 8bad8cacb35f0635adbe82e3ed6837c0f5b9e3ef /gdb/NEWS | |
parent | 476288fa2bddecf0f0e13dee826a076309bf01fe (diff) | |
download | fsf-binutils-gdb-e5ab6af52d38ee068c1860ef113b7db4cc985cfb.zip fsf-binutils-gdb-e5ab6af52d38ee068c1860ef113b7db4cc985cfb.tar.gz fsf-binutils-gdb-e5ab6af52d38ee068c1860ef113b7db4cc985cfb.tar.bz2 |
gdbserver: Add LoongArch/Linux support
Implement LoongArch/Linux support, including XML target description
handling based on features determined, GPR regset support, and software
breakpoint handling.
In the Linux kernel code of LoongArch, ptrace implements PTRACE_POKEUSR
and PTRACE_PEEKUSR in the arch_ptrace function, so srv_linux_usrregs is
set to yes.
With this patch on LoongArch:
$ make check-gdb TESTS="gdb.server/server-connect.exp"
[...]
# of expected passes 18
[...]
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -694,6 +694,8 @@ QMemTags ** GDBserver is now supported on RISC-V GNU/Linux. + ** GDBserver is now supported on LoongArch GNU/Linux. + ** GDBserver no longer supports these host triplets: i[34567]86-*-lynxos* @@ -785,6 +787,7 @@ alias [-a] [--] ALIAS = COMMAND [DEFAULT-ARGS...] * New targets GNU/Linux/RISC-V (gdbserver) riscv*-*-linux* +GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux* BPF bpf-unknown-none Z80 z80-unknown-* |