commit | 0757a50396e3638434f806aec2ee8c8f79a7026c | [log] [tgz] |
---|---|---|
author | Tiezhu Yang <yangtiezhu@loongson.cn> | Sat Jun 25 09:20:00 2022 +0800 |
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | Sat Jun 25 10:12:48 2022 +0800 |
tree | 0ff0f17828e57b093d8503649d5205e0c91ddf04 | |
parent | c3467df4acf770ad6ed1a7c826843fee22396b38 [diff] |
gdb: LoongArch: Define register numbers and clean up code This commit defines register numbers of various important registers, we can use them directly in the related code, and also clean up some code to make them more clear and readable. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>