summaryrefslogtreecommitdiffstats
path: root/target-alpha/gdbstub.c
Commit message (Collapse)AuthorAgeFilesLines
* target-alpha: Use separate TCGv temporaries for the shadow registersRichard Henderson2015-08-181-2/+2
| | | | | | | | | | | | This avoids having to manually swap them around when swapping to and from PALmode. We simply encode the shadow registers into the translation. The VMStateDescription version changes, because the meaning of "shadow" changes in the save file when in PALmode. It would be possible to fix this, but I don't think it's worth the effort. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
* cpu: Introduce CPUClass::gdb_{read,write}_register()Andreas Färber2013-07-271-2/+9
| | | | | | | | Completes migration of target-specific code to new target-*/gdbstub.c. Acked-by: Michael Walle <michael@walle.cc> (for lm32) Acked-by: Max Filippov <jcmvbkbc@gmail.com> (for xtensa) Signed-off-by: Andreas Färber <afaerber@suse.de>
* gdbstub: Replace GET_REG*() macros with gdb_get_reg*() functionsAndreas Färber2013-07-271-1/+1
| | | | | | | | | | | | | This avoids polluting the global namespace with a non-prefixed macro and makes it obvious in the call sites that we return. Semi-automatic conversion using, e.g., sed -i 's/GET_REGL(/return gdb_get_regl(mem_buf, /g' target-*/gdbstub.c followed by manual tweaking for sparc's GET_REGA() and Coding Style. Acked-by: Michael Walle <michael@walle.cc> (for lm32) Acked-by: Max Filippov <jcmvbkbc@gmail.com> (for xtensa) Signed-off-by: Andreas Färber <afaerber@suse.de>
* target-alpha: Move cpu_gdb_{read,write}_register()Andreas Färber2013-07-271-0/+86
Signed-off-by: Andreas Färber <afaerber@suse.de>
OpenPOWER on IntegriCloud