mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
gdbstub/system: Rename 'user_ctx' argument as 'ctx'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240313213339.82071-4-philmd@linaro.org>
This commit is contained in:
parent
25f34eb708
commit
0eaf7fb9a8
2 changed files with 8 additions and 8 deletions
|
@ -488,13 +488,13 @@ bool gdb_can_reverse(void)
|
|||
*/
|
||||
|
||||
void gdb_handle_query_qemu_phy_mem_mode(GArray *params,
|
||||
void *user_ctx)
|
||||
void *ctx)
|
||||
{
|
||||
g_string_printf(gdbserver_state.str_buf, "%d", phy_memory_mode);
|
||||
gdb_put_strbuf();
|
||||
}
|
||||
|
||||
void gdb_handle_set_qemu_phy_mem_mode(GArray *params, void *user_ctx)
|
||||
void gdb_handle_set_qemu_phy_mem_mode(GArray *params, void *ctx)
|
||||
{
|
||||
if (!params->len) {
|
||||
gdb_put_packet("E22");
|
||||
|
@ -509,7 +509,7 @@ void gdb_handle_set_qemu_phy_mem_mode(GArray *params, void *user_ctx)
|
|||
gdb_put_packet("OK");
|
||||
}
|
||||
|
||||
void gdb_handle_query_rcmd(GArray *params, void *user_ctx)
|
||||
void gdb_handle_query_rcmd(GArray *params, void *ctx)
|
||||
{
|
||||
const guint8 zero = 0;
|
||||
int len;
|
||||
|
@ -539,7 +539,7 @@ void gdb_handle_query_rcmd(GArray *params, void *user_ctx)
|
|||
* Execution state helpers
|
||||
*/
|
||||
|
||||
void gdb_handle_query_attached(GArray *params, void *user_ctx)
|
||||
void gdb_handle_query_attached(GArray *params, void *ctx)
|
||||
{
|
||||
gdb_put_packet("1");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue