next up previous contents index
Next: 10.17.5 gdb_trap: default trap Up: 10.17 Remote Kernel Debugging Previous: 10.17.3 Debugging address spaces

10.17.4 gdb_state: processor register state frame used by GDB

   

SYNOPSIS

#include <oskit/gdb.h>

struct gdb_state  {

		 ...;	/* architecture-specific definitions */
	 
};

DESCRIPTION

This structure represents the processor register state for the target architecture in the form in which GDB expects it. GDB uses a standard internal data structure for each processor architecture to represent the register state of a program being debugged, and most of GDB's architecture-neutral remote debugging protocols use this standard structure. The gdb_state structure defined by the OSKit is defined to match GDB's corresponding register state structure for each supported architecture.



University of Utah Flux Research Group