On 1/29/26 8:40 AM, Philippe Mathieu-Daudé wrote:
HMPCommand arrays are filled with target-specific
commands, so defined in a target-specific unit.
Introduce the hmp_cmds_for_target() to allow
target-agnostic code to access the arrays.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
---
monitor/monitor-internal.h | 9 +++++++--
monitor/hmp-target.c | 13 ++++++++-----
monitor/hmp.c | 8 +++++---
3 files changed, 20 insertions(+), 10 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>