No description
Find a file
Andreas Färber 35143f0164 gdbstub: Fix gdb_register_coprocessor() register counting
Commit a0e372f0c4 reorganized the register
counting for GDB. While it seems correct not to let the total number of
registers skyrocket in an SMP scenario through a static variable, the
distinction between total register count and 'g' packet register count
(last_reg vs. num_g_regs) got lost among the way.

Fix this by introducing CPUState::gdb_num_g_regs and using that in
gdb_handle_packet().

Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org (stable-1.6)
Tested-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-08-16 18:44:33 +02:00
audio
backends
block raw: add license header 2013-08-12 09:15:11 -05:00
bsd-user
default-configs mips_malta: do not raise exceptions when accessing invalid memory 2013-08-14 16:47:30 +02:00
disas
docs
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw mips_malta: do not raise exceptions when accessing invalid memory 2013-08-14 16:47:30 +02:00
include gdbstub: Fix gdb_register_coprocessor() register counting 2013-08-16 18:44:33 +02:00
libcacard
linux-headers
linux-user
net
pc-bios Update OpenBIOS images 2013-07-30 23:11:07 +01:00
pixman@97336fad32
po po: Update all *.po files 2013-08-07 12:48:00 -05:00
qapi
qga
QMP
qobject
qom gdbstub: Fix gdb_register_coprocessor() register counting 2013-08-16 18:44:33 +02:00
roms Update OpenBIOS images 2013-07-30 23:11:07 +01:00
scripts
slirp
stubs dump: rebase from host-private RAMBlock offsets to guest-physical addresses 2013-08-08 11:01:46 -04:00
sysconfigs/target
target-alpha
target-arm
target-cris
target-i386 dump: rebase from host-private RAMBlock offsets to guest-physical addresses 2013-08-08 11:01:46 -04:00
target-lm32
target-m68k
target-microblaze
target-mips target-mips: fix decoding of microMIPS POOL32Axf instructions 2013-08-06 13:09:14 +02:00
target-moxie
target-openrisc
target-ppc target-ppc: Add POWER5+ v2.1 CPU model 2013-08-07 12:47:44 -05:00
target-s390x dump: rebase from host-private RAMBlock offsets to guest-physical addresses 2013-08-08 11:01:46 -04:00
target-sh4
target-sparc
target-unicore32
target-xtensa xtensa queue 2013-07-29 2013-08-05 08:06:25 -05:00
tcg tcg/mips: fix invalid op definition errors 2013-08-08 23:06:02 +02:00
tests vmdk: check l1 size before opening image 2013-08-06 15:27:32 +02:00
trace
ui spice: fix display initialization 2013-07-30 10:25:47 +02:00
util qemu-option: Guard against qemu_opts_set_defaults() misuse 2013-08-12 09:15:37 -05:00
.exrc
.gitignore
.gitmodules
.mailmap
aio-posix.c
aio-win32.c
arch_init.c
async.c
balloon.c
block-migration.c
block.c
blockdev-nbd.c
blockdev.c block: Dont ignore previously set bdrv_flags 2013-08-14 08:34:00 -05:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure xtensa queue 2013-07-29 2013-08-05 08:06:25 -05:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c
cpus.c
cputlb.c
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c dump: rebase from host-private RAMBlock offsets to guest-physical addresses 2013-08-08 11:01:46 -04:00
exec.c cpu: Fix VMSTATE_CPU() semantics 2013-07-31 21:03:59 +02:00
gdbstub.c gdbstub: Fix gdb_register_coprocessor() register counting 2013-08-16 18:44:33 +02:00
HACKING
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
kvm-all.c
kvm-stub.c
LICENSE LICENSE: clarify 2013-08-12 09:15:12 -05:00
main-loop.c
MAINTAINERS MAINTAINERS: change Igor Mitsyanko's email address 2013-07-31 13:28:46 -05:00
Makefile w32: Add missing version.o to all executables (fix regression) 2013-08-12 09:19:05 -05:00
Makefile.objs w32: Add missing version.o to all executables (fix regression) 2013-08-12 09:19:05 -05:00
Makefile.target
memory.c memory.c: drop kvm.h dependency 2013-08-02 18:05:16 +04:00
memory_mapping.c dump: rebase from host-private RAMBlock offsets to guest-physical addresses 2013-08-08 11:01:46 -04:00
migration-exec.c
migration-fd.c
migration-rdma.c rdma: IPv6 over Ethernet (RoCE) is broken in linux - workaround 2013-08-12 09:31:16 -05:00
migration-tcp.c
migration-unix.c
migration.c migration: don't use uninitialized variables 2013-08-01 09:40:46 -04:00
monitor.c
nbd.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qemu-char: fix infinite recursion connecting to monitor pty 2013-08-13 13:24:50 -05:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi
qemu-img-cmds.hx
qemu-img.c ignore SIGPIPE in qemu-img and qemu-io 2013-08-06 10:41:56 +02:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c ignore SIGPIPE in qemu-img and qemu-io 2013-08-06 10:41:56 +02:00
qemu-log.c
qemu-nbd.c
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c seccomp: add arch_prctl() to the syscall whitelist 2013-07-29 19:56:52 -05:00
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp-commands.hx rdma: remaining documentation fixes 2013-08-12 09:31:16 -05:00
qmp.c
qtest.c
readline.c
README
rules.mak
savevm.c
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events
translate-all.c
translate-all.h
user-exec.c
VERSION Open up 1.7 development branch 2013-08-15 15:41:13 -05:00
version.rc
vl.c spice: fix display initialization 2013-07-30 10:25:47 +02:00
xbzrle.c
xen-all.c
xen-mapcache.c
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team