target/riscv: Remove empty target_monitor_defs() symbol
Prefer the stub target_monitor_defs() symbol introduced in commit bf957284006 ("monitor: remove target-specific code from monitor.c"). Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Chao Liu <chao.liu.zevorn@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260219191955.83815-24-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Feb 17, 2026 at 12:57 UTC
6bd0ccc4555ec44b290f5a3e5f51cd6fd898c595
1 file changed
-13
target/riscv/monitor.c
-13
@@ -244,19 +244,6 @@ void hmp_info_mem(Monitor *mon, const QDict *qdict)
244
mem_info_svxx(mon, env);
245
}
246
247
-/*
248
- * We have way too many potential CSRs and regs being added
249
- * regularly to register them in a static array.
250
- *
251
- * Declare an empty array instead, making get_monitor_def() use
252
- * the target_get_monitor_def() API directly.
253
- */
254
-const MonitorDef monitor_defs[] = { { } };
255
-const MonitorDef *target_monitor_defs(void)
256
-{
257
- return monitor_defs;
258
-}
259
-
247
static bool reg_is_ulong_integer(CPURISCVState *env, const char *name,
248
target_ulong *val, bool is_gprh)
249
{