#include "mdb.h"#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/ptrace.h>#include "proto.h"#include <kernel/arch/i386/include/archtypes.h>#include <kernel/const.h>#include <kernel/type.h>#include <kernel/proc.h>Go to the source code of this file.
Defines | |
| #define | ptrace mdbtrace |
| #define | SIZ (1 + sizeof(struct proc)/sizeof(long)) |
Functions | |
| PUBLIC void | disp_maps () |
| PUBLIC void | update () |
| PUBLIC int | disp_regs () |
| PUBLIC long | get_reg (int pid, long k) |
| PUBLIC void | set_reg (int pid, long k, long value) |
| PUBLIC long | reg_addr (char *s) |
| PUBLIC int | outsegreg (off_t num) |
Variables | |
| struct proc * | prc |
| long | lbuf [SIZ] |
| PRIVATE char | segment_name [] = "TDS" |
| PRIVATE char | regs [] = "es ds di si bp bx dx cx ax ip cs ps sp ss" |
| PRIVATE char segment_name[] = "TDS" |
1.5.8