Skip to content
Commit e76d385e authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

debug: gdbstub: add arch-specific funcs to read/write registers



This adds architecture-specific functions to read/write registers.
This allows architecture to have a sparse representation of
the register file as not all registers are saved during context
switches. This saves some runtime space, and provides some
flexibility on what architectures can do.

Remove from header the need to define ARCH_GDB_NUM_REGISTERS as
it is no longer used in the common gdbstub code.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent e1180c8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment