| commit | 3eba483364436567fd1b6ac4b5d82e23bb223a54 | [log] [tgz] |
|---|---|---|
| author | Youling Tang <tangyouling@loongson.cn> | Sun Jul 10 10:22:33 2022 +0800 |
| committer | Tiezhu Yang <yangtiezhu@loongson.cn> | Sun Jul 10 17:27:50 2022 +0800 |
| tree | e28a404bcf927b5bc244ccd8c96c70ce1551da50 | |
| parent | e5c0531cfe8667e4f510f6357e62f488113b7049 [diff] |
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: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>