Revision 6620d3ce monitor.c
b/monitor.c | ||
---|---|---|
194 | 194 |
return (mon->flags & MONITOR_USE_CONTROL); |
195 | 195 |
} |
196 | 196 |
|
197 |
/* Return non-zero iff we have a current monitor, and it is in QMP mode. */ |
|
198 |
int monitor_cur_is_qmp(void) |
|
199 |
{ |
|
200 |
return cur_mon && monitor_ctrl_mode(cur_mon); |
|
201 |
} |
|
202 |
|
|
197 | 203 |
static void monitor_read_command(Monitor *mon, int show_prompt) |
198 | 204 |
{ |
199 | 205 |
if (!mon->rs) |
Also available in: Unified diff