[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 29/74] gdbstub: convert to cpu_halted
From: |
Robert Foley |
Subject: |
[PATCH v9 29/74] gdbstub: convert to cpu_halted |
Date: |
Thu, 21 May 2020 12:39:26 -0400 |
From: "Emilio G. Cota" <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Signed-off-by: Robert Foley <address@hidden>
---
gdbstub.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index 6950fd243f..b25796b33d 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2062,10 +2062,10 @@ static void handle_query_thread_extra(GdbCmdContext
*gdb_ctx, void *user_ctx)
g_autofree char *cpu_name =
object_get_canonical_path_component(OBJECT(cpu));
g_string_printf(rs, "%s %s [%s]", cpu_model, cpu_name,
- cpu->halted ? "halted " : "running");
+ cpu_halted(cpu) ? "halted " : "running");
} else {
g_string_printf(rs, "CPU#%d [%s]", cpu->cpu_index,
- cpu->halted ? "halted " : "running");
+ cpu_halted(cpu) ? "halted " : "running");
}
trace_gdbstub_op_extra_info(rs->str);
memtohex(gdbserver_state.str_buf, (uint8_t *)rs->str, rs->len);
--
2.17.1
- [PATCH v9 17/74] hw/semihosting: convert to cpu_halted_set, (continued)
- [PATCH v9 17/74] hw/semihosting: convert to cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 18/74] arm: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 20/74] sh4: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 19/74] ppc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 21/74] i386: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 23/74] m68k: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 22/74] lm32: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 24/74] mips: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 25/74] riscv: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 28/74] xtensa: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 29/74] gdbstub: convert to cpu_halted,
Robert Foley <=
- [PATCH v9 30/74] openrisc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 26/74] s390x: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 27/74] sparc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 31/74] cpu-exec: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 32/74] cpu: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 33/74] cpu: define cpu_interrupt_request helpers, Robert Foley, 2020/05/21
- [PATCH v9 34/74] ppc: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 35/74] exec: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 36/74] i386: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 37/74] s390x: use cpu_reset_interrupt, Robert Foley, 2020/05/21