Skip to content
Commit 3eba4833 authored by Youling Tang's avatar Youling Tang Committed by Tiezhu Yang
Browse files

gdbserver: LoongArch: Simplify code with register number macros



Move "enum loongarch_regnum" to gdb/arch/loongarch.h so that the
macro definitions can be used in gdbserver/linux-loongarch-low.cc
to simplify the code.

Signed-off-by: default avatarYouling Tang <tangyouling@loongson.cn>
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
parent e5c0531c
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