diff options
author | Andreas Färber <afaerber@suse.de> | 2013-06-27 13:44:40 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-07-23 02:38:32 +0200 |
commit | 52f34623b499cb0273118b1f637c2c6ebaf5d5a1 (patch) | |
tree | d8062f318976c4f02dce7891c4ad048100b17c23 /include | |
parent | 3464700f6aecb3e2aa9098839d90672d6b3fa974 (diff) | |
download | hqemu-52f34623b499cb0273118b1f637c2c6ebaf5d5a1.zip hqemu-52f34623b499cb0273118b1f637c2c6ebaf5d5a1.tar.gz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions