]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: rename cpu_index -> cpu_gdb_index
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 Jul 2017 10:52:14 +0000 (11:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 10:04:41 +0000 (12:04 +0200)
commitd2a6c8570b15413f43891fbb3c41521c68ef8297
treedb012df273cee106b1b82ae36535688b2897c07b
parent118e226884a762f3ef21351c05043e32be44c1f1
gdbstub: rename cpu_index -> cpu_gdb_index

This is to make it clear the index is purely a gdbstub function and
should not be confused with the value of cpu->cpu_index. At the same
time we move the function from the header to gdbstub itself which will
help with later changes.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170712105216.747-3-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
gdbstub.c
include/exec/gdbstub.h