diff --git a/lldb/source/Plugins/Process/Utility/RegisterInfos_loongarch64.h b/lldb/source/Plugins/Process/Utility/RegisterInfos_loongarch64.h --- a/lldb/source/Plugins/Process/Utility/RegisterInfos_loongarch64.h +++ b/lldb/source/Plugins/Process/Utility/RegisterInfos_loongarch64.h @@ -100,7 +100,6 @@ DEFINE_GPR64_ALT(r20, t8, LLDB_INVALID_REGNUM), DEFINE_GPR64(r21, LLDB_INVALID_REGNUM), DEFINE_GPR64_ALT(r22, fp, LLDB_REGNUM_GENERIC_FP), - DEFINE_GPR64_ALT(r22, s9, LLDB_REGNUM_GENERIC_FP), DEFINE_GPR64_ALT(r23, s0, LLDB_INVALID_REGNUM), DEFINE_GPR64_ALT(r24, s1, LLDB_INVALID_REGNUM), DEFINE_GPR64_ALT(r25, s2, LLDB_INVALID_REGNUM), diff --git a/lldb/source/Plugins/Process/Utility/lldb-loongarch-register-enums.h b/lldb/source/Plugins/Process/Utility/lldb-loongarch-register-enums.h --- a/lldb/source/Plugins/Process/Utility/lldb-loongarch-register-enums.h +++ b/lldb/source/Plugins/Process/Utility/lldb-loongarch-register-enums.h @@ -85,7 +85,6 @@ gpr_t7_loongarch = gpr_r19_loongarch, gpr_t8_loongarch = gpr_r20_loongarch, gpr_fp_loongarch = gpr_r22_loongarch, - gpr_s9_loongarch = gpr_r22_loongarch, gpr_s0_loongarch = gpr_r23_loongarch, gpr_s1_loongarch = gpr_r24_loongarch, gpr_s2_loongarch = gpr_r25_loongarch, diff --git a/lldb/source/Utility/LoongArch_DWARF_Registers.h b/lldb/source/Utility/LoongArch_DWARF_Registers.h --- a/lldb/source/Utility/LoongArch_DWARF_Registers.h +++ b/lldb/source/Utility/LoongArch_DWARF_Registers.h @@ -128,7 +128,6 @@ dwarf_gpr_t7 = dwarf_gpr_r19, dwarf_gpr_t8 = dwarf_gpr_r20, dwarf_gpr_fp = dwarf_gpr_r22, - dwarf_gpr_s9 = dwarf_gpr_r22, dwarf_gpr_s0 = dwarf_gpr_r23, dwarf_gpr_s1 = dwarf_gpr_r24, dwarf_gpr_s2 = dwarf_gpr_r25,