[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/23] target/arm: hide aliased MIDR from gdbstub
From: |
Alex Bennée |
Subject: |
[PULL 05/23] target/arm: hide aliased MIDR from gdbstub |
Date: |
Tue, 7 Nov 2023 14:23:36 +0000 |
This is just a constant alias register with the same value as the
"other" MIDR so it serves no purpose being presented to gdbstub.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20231106185112.2755262-6-alex.bennee@linaro.org>
diff --git a/target/arm/helper.c b/target/arm/helper.c
index 6acd87f5b9..ff1970981e 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -9000,7 +9000,7 @@ void register_cp_regs_for_features(ARMCPU *cpu)
.type = ARM_CP_CONST, .resetvalue = cpu->revidr },
};
ARMCPRegInfo id_v8_midr_alias_cp_reginfo = {
- .name = "MIDR", .type = ARM_CP_ALIAS | ARM_CP_CONST,
+ .name = "MIDR", .type = ARM_CP_ALIAS | ARM_CP_CONST |
ARM_CP_NO_GDB,
.cp = 15, .crn = 0, .crm = 0, .opc1 = 0, .opc2 = 4,
.access = PL1_R, .resetvalue = cpu->midr
};
--
2.39.2
- [PULL 00/23] Final test, gdbstub, plugin and gitdm updates for 8.2, Alex Bennée, 2023/11/07
- [PULL 04/23] target/arm: hide all versions of DBGD[RS]AR from gdbstub, Alex Bennée, 2023/11/07
- [PULL 03/23] target/arm: mark the 32bit alias of PAR when LPAE enabled, Alex Bennée, 2023/11/07
- [PULL 02/23] gdb-xml: fix duplicate register in arm-neon.xml, Alex Bennée, 2023/11/07
- [PULL 01/23] default-configs: Add TARGET_XML_FILES definition, Alex Bennée, 2023/11/07
- [PULL 05/23] target/arm: hide aliased MIDR from gdbstub,
Alex Bennée <=
- [PULL 10/23] gdbstub: Introduce GDBFeatureBuilder, Alex Bennée, 2023/11/07
- [PULL 08/23] gdbstub: Add num_regs member to GDBFeature, Alex Bennée, 2023/11/07
- [PULL 12/23] configure: tell meson and contrib_plugins about DLLTOOL, Alex Bennée, 2023/11/07
- [PULL 06/23] tests/tcg: add an explicit gdbstub register tester, Alex Bennée, 2023/11/07
[PULL 14/23] plugins: make test/example plugins work on windows, Alex Bennée, 2023/11/07
[PULL 13/23] plugins: add dllexport and dllimport to api funcs, Alex Bennée, 2023/11/07