]> git.proxmox.com Git - qemu.git/commit - gdbstub.c
target-xtensa: add gdb support
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 5 Sep 2011 23:55:52 +0000 (03:55 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 16:57:40 +0000 (16:57 +0000)
commitccfcaba6fd9f69a9322af1911302e71127bee1e0
treef68ec83f8fae54bf2dd78565966d58af6f3cf008
parent97836ceed39bb1be9a72c9d7c122657d569731d9
target-xtensa: add gdb support

Specific xtensa processor overlay for GDB contains register map in
the gdb/xtensa-config.c. This description is used by the GDB to e.g.
parse 'g' response packets and it may be reused in the qemu's gdbstub
(only XTREG definitions for non-pseudoregisters are needed).

Currently mainline GDB does not support operations with privileged SRs
(see http://sourceware.org/ml/gdb/2011-07/msg00075.html). This support
may be enabled, see NUM_CORE_REGS comment in the gdbstub.c

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
gdbstub.c
target-xtensa/cpu.h
target-xtensa/gdb-config-sample-xtensa-core.c [new file with mode: 0644]
target-xtensa/helper.c