Statistics
| Branch: | Revision:

root / target-openrisc / gdbstub.c @ 5b50e790

History | View | Annotate | Download (2.1 kB)

# Date Author Comment
986a2998 07/27/2013 01:04 am Andreas Färber

gdbstub: Replace GET_REG*() macros with gdb_get_reg*() functions

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...

5b50e790 07/27/2013 01:04 am Andreas Färber

cpu: Introduce CPUClass::gdb_{read,write}_register()

Completes migration of target-specific code to new target-*/gdbstub.c.

Acked-by: Michael Walle <> (for lm32)
Acked-by: Max Filippov <> (for xtensa)
Signed-off-by: Andreas Färber <>

30028739 07/27/2013 01:04 am Andreas Färber

target-openrisc: Move cpu_gdb_{read,write}_register()

Reviewed-by: Jia Liu <>
Signed-off-by: Andreas Färber <>