On 3/20/26 2:10 AM, Philippe Mathieu-Daudé wrote:
None of the few targets still using MonitorDef use MD_TLONG,
they either use MD_I32 or the %get_value handler. Remove the
MonitorDef::type and its definitions altogether: simply check
for the %get_value handler, if NULL then consider 32-bit.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  include/monitor/hmp-target.h |  4 ----
  monitor/hmp-target.c         | 12 +-----------
  target/i386/monitor.c        |  2 +-
  target/m68k/monitor.c        | 24 ++++++++++++------------
  target/sparc/monitor.c       | 14 +++++++-------
  5 files changed, 21 insertions(+), 35 deletions(-)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to