]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: Change GDBState::query_cpu to CPUState
authorAndreas Färber <afaerber@suse.de>
Thu, 27 Jun 2013 11:44:40 +0000 (13:44 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 23 Jul 2013 00:38:32 +0000 (02:38 +0200)
commit52f34623b499cb0273118b1f637c2c6ebaf5d5a1
treed8062f318976c4f02dce7891c4ad048100b17c23
parent3464700f6aecb3e2aa9098839d90672d6b3fa974
gdbstub: Change GDBState::query_cpu to CPUState

Since first_cpu/next_cpu are CPUState, CPUArchState is no longer needed.

This resolves a NULL pointer dereference of query_cpu, introduced
with commit 182735efaf956ccab50b6d74a4fed163e0f35660 and reported by
TeLeMan and Max Filippov.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
gdbstub.c