/* this struct defines the way the registers are stored on the
stack during a system call. */
struct pt_regs { long d1; long d2; long d3; long d4; long d5; long a0; long a1; long a2; long d0; long orig_d0; long stkadj; #ifdef __mcoldfire__ unsigned format : 4; /* frame format specifier */ unsigned vector : 12; /* vector offset */ unsignedshort sr; unsignedlong pc; #else unsignedshort sr; unsignedlong pc; unsigned format : 4; /* frame format specifier */ unsigned vector : 12; /* vector offset */ #endif
};
/* * This is the extended stack used by signal handlers and the context * switcher: it's pushed after the normal "struct pt_regs".
*/ struct switch_stack { unsignedlong d6; unsignedlong d7; unsignedlong a3; unsignedlong a4; unsignedlong a5; unsignedlong a6; unsignedlong retpc;
};
/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ #define PTRACE_GETREGS 12 #define PTRACE_SETREGS 13 #define PTRACE_GETFPREGS 14 #define PTRACE_SETFPREGS 15
#define PTRACE_GET_THREAD_AREA 25
#define PTRACE_GETFDPIC 31
#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.