[COMMITTED PATCH] gdbserver: Add LoongArch/Linux support
Tom Tromey
tom@tromey.com
Wed Jun 15 18:11:08 GMT 2022
>>>>> Tiezhu Yang <yangtiezhu@loongson.cn> writes:
> +++ b/gdb/NEWS
> @@ -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-*
This is in the GDB 10 section -- please move it to the "Changes since
GDB 12" section, where it belongs.
> +#ifndef GDBSERVER
> +#define STATIC_IN_GDB static
> +#else
> +#define STATIC_IN_GDB
> +#endif
I was going to complain about this but I see it's done elsewhere in
gdb/arch :(
Tom
More information about the Gdb-patches
mailing list