libdebugger: Add accessor for cpu state size

Operating Systems / Haiku - Rene Gollent [gollent.com] - 31 July 2016 16:30 UTC

Architecture:- Store and provide accessor for the size in bytes of the low-level debug_cpu_state size of the respective target CPU. Adjust subclasses to pass in the appropriate size information.

9c9c24c libdebugger: Add accessor for cpu state size.
headers/private/debugger/arch/Architecture.h | 10 ++++++++--
src/kits/debugger/arch/Architecture.cpp | 4 +++-
src/kits/debugger/arch/x86/ArchitectureX86.cpp | 7 +++++--
.../debugger/arch/x86_64/ArchitectureX8664.cpp | 4 ++--
4 files changed, 18 insertions(+), 7 deletions(-)

Upstream: cgit.haiku-os.org


  • Share