#include <minix/config.h>#include <ansi.h>#include <sys/types.h>#include <minix/const.h>#include <minix/type.h>#include <limits.h>#include <errno.h>#include <minix/ipc.h>#include <timers.h>Include dependency graph for mdb.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | MDBVERSION "2.6" |
| #define | MDBBUILD 0 |
| #define | MINIX_SYMBOLS 1 |
| #define | GNU_SYMBOLS 2 |
| #define | GNU_SUPPORT 0 |
| #define | SYSCALLS_SUPPORT 0 |
| #define | DEBUG 1 |
| #define | EXTRA_SYMBOLS 0 |
| #define | __mc68000__ |
| #define | MINIX_ST |
| #define | MINIX_PC |
| #define | BP_OFF ((long)&((struct proc *)0)->p_reg.a6) |
| #define | PC_MEMBER(rp) ((rp)->p_reg.pc) |
| #define | PC_OFF ((long)&((struct proc *)0)->p_reg.pc) |
| #define | SP_MEMBER(rp) ((rp)->p_reg.sp) |
| #define | PSW_MEMBER(rp) ((rp)->p_reg.psw) |
| #define | BP_OFF ((long)&((struct proc *)0)->p_reg.fp) |
| #define | PC_MEMBER(rp) ((rp)->p_reg.pc) |
| #define | PC_OFF ((long)&((struct proc *)0)->p_reg.pc) |
| #define | ADDRSIZE _WORD_SIZE |
| #define | BITSIZE(size) (8 * (size)) |
| #define | INTSIZE (sizeof(int)) |
| #define | LONGSIZE (sizeof(long)) |
| #define | UCHAR(x) ((x) & 0xFF) |
| #define | NOSEG (-1) |
| #define | CSEG 0x2E |
| #define | DSEG 0x3E |
| #define | ADDA(l) ((u16_t) (l) == 0xC481) |
| #define | ADDA_CNT(l) ((i16_t) (l)) |
| #define | ADDQ(l) ((u16_t) (l) == 0xC483) |
| #define | ADDQ_CNT(l) (((((l) >> 16) + 128) & 0x000000FF) - 128) |
| #define | BREAK(l) (0x000000CC | ((l) & 0xFFFFFF00)) |
| #define | BREAKPOINT_ADVANCE 1 |
| #define | INCSP2(l) ((u16_t) (l) == 0x4444) |
| #define | POPBX2(l) ((u16_t) (l) == 0x5B5B) |
| #define | POPBX(l) ( (l & 0xFF) == 0x5B) |
| #define | POPCX2(l) ((u16_t) (l) == 0x5959) |
| #define | POPCX(l) ( (l & 0xFF) == 0x59) |
| #define | ADDA(l) ((int)((l) >> 16) == 0xDFFC) |
| #define | ADDA_CNT(l) (l) |
| #define | ADDQ(l) (((l >> 16) & 0xF13F) == 0x500F) |
| #define | ADDQ_CNT(l) (((((l) >> 25) - 1) & 7) + 1) |
| #define | BREAK(l) (0xA0000000 | ((l) & 0xFFFF)) |
| #define | BREAKPOINT_ADVANCE 0 |
| #define | BYTES_SWAPPED |
| #define | LEA(l) (((l) >> 16) == 0x4FEF) |
| #define | LEA_DISP(l) ((long)( l & 0xFFFF)) |
| #define | MASK(size) ((size) >= LONGSIZE ? -1L : (1L << BITSIZE(size)) - 1) |
| #define | SHIFT(size) BITSIZE(LONGSIZE - (size)) |
Variables | |
| long | lbuf [] |
| EXTERN long | st_addr |
| EXTERN long | et_addr |
| EXTERN long | sd_addr |
| EXTERN long | ed_addr |
| EXTERN long | end_addr |
| EXTERN long | sk_addr |
| EXTERN long | sk_size |
| EXTERN int | curpid |
| EXTERN int | corepid |
| EXTERN int | coreonly |
| EXTERN int | fileonly |
| EXTERN int | cursig |
| EXTERN int | seg |
| EXTERN int | is_separate |
| EXTERN int | paging |
| EXTERN int | debug |
|
|
|
|
|
|
|
|
Definition at line 130 of file mdb.h. Referenced by backtrace(). |
|
|
|
|
|
Definition at line 131 of file mdb.h. Referenced by backtrace(). |
|
|
|
|
|
Definition at line 132 of file mdb.h. Referenced by backtrace(). |
|
|
|
|
|
Definition at line 133 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 83 of file mdb.h. Referenced by backtrace(), c_status(), command(), display(), dump_stack(), and read_core(). |
|
|
Definition at line 84 of file mdb.h. Referenced by get_reg(). |
|
|
|
|
|
Definition at line 78 of file mdb.h. Referenced by backtrace(), and dorun(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 135 of file mdb.h. Referenced by findbpnt(). |
|
|
|
|
|
Definition at line 91 of file mdb.h. Referenced by ack_emit_instruction(), finds_pc(), findsval(), gnu_finds_pc(), gnu_sval(), gnu_symbolic(), gnu_text_symbol(), symbolic(), and text_symbol(). |
|
|
|
|
|
Definition at line 92 of file mdb.h. Referenced by ack_emit_instruction(), gnu_symbolic(), puti(), and symbolic(). |
|
|
|
|
|
|
|
|
Definition at line 8 of file mdb.h. Referenced by check_exec(), finds_data(), finds_pc(), listsym(), symbolic(), symbolvalue(), syminit(), and text_symbol(). |
|
|
Definition at line 119 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 85 of file mdb.h. Referenced by backtrace(), and dump_stack(). |
|
|
Definition at line 137 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 138 of file mdb.h. Referenced by backtrace(). |
|
|
|
|
|
Definition at line 141 of file mdb.h. Referenced by backtrace(), c_status(), display(), dump_stack(), fill(), get_reg(), modify(), read_core(), and test01(). |
|
|
Definition at line 5 of file mdb.h. Referenced by version_info(). |
|
|
Definition at line 4 of file mdb.h. Referenced by version_info(). |
|
|
Definition at line 63 of file mdb.h. Referenced by update(). |
|
|
|
|
|
Definition at line 7 of file mdb.h. Referenced by check_exec(). |
|
|
Definition at line 88 of file mdb.h. Referenced by command(). |
|
|
|
|
|
Definition at line 79 of file mdb.h. Referenced by c_status(), command(), disp_regs(), findbpnt(), modify(), and tstart(). |
|
|
|
|
|
Definition at line 80 of file mdb.h. Referenced by backtrace(), findbpnt(), and modify(). |
|
|
Definition at line 121 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 120 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 125 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 124 of file mdb.h. Referenced by backtrace(). |
|
|
Definition at line 74 of file mdb.h. Referenced by disp_regs(). |
|
|
|
|
|
Definition at line 73 of file mdb.h. Referenced by disp_regs(). |
|
|
Definition at line 18 of file mdb.h. Referenced by findbpnt(). |
|
|
|
|
|
Definition at line 165 of file mdb.h. Referenced by read_info(). |
|
|
Definition at line 164 of file mdb.h. Referenced by c_status(), command(), dowait(), file_init(), main(), mdbtrace(), not_for_core(), and prtmap(). |
|
|
Definition at line 163 of file mdb.h. Referenced by backtrace(), breakpt(), c_status(), cleanup(), command(), disp_regs(), display(), do_syscall(), dorun(), dowait(), dump_stack(), exebpnt(), file_init(), fill(), findbpnt(), freepnt(), get_data(), get_message(), modify(), peek_dword(), prtmap(), tstart(), update(), and value(). |
|
|
|
|
|
|
|
|
Definition at line 159 of file mdb.h. Referenced by read_info(), and update(). |
|
|
Definition at line 160 of file mdb.h. Referenced by command(), dump_stack(), gnu_symbolic(), Read_Block(), read_info(), setmap(), symbolic(), and update(). |
|
|
Definition at line 157 of file mdb.h. Referenced by command(), read_info(), setmap(), and update(). |
|
|
|
|
|
Definition at line 169 of file mdb.h. Referenced by check_exec(), file_init(), map_addr(), prtmap(), read_info(), and setmap(). |
|
|
Definition at line 24 of file kernel.c. Referenced by kernel_info(), main(), read_core(), and update(). |
|
|
|
|
|
Definition at line 158 of file mdb.h. Referenced by lookup(), read_info(), setmap(), and update(). |
|
|
Definition at line 168 of file mdb.h. Referenced by addbyte(), byte(), command(), display(), dump_core(), fill(), m_transfer(), and read_write(). |
|
|
Definition at line 161 of file mdb.h. Referenced by dump_stack(), lookup(), read_info(), setmap(), and update(). |
|
|
Definition at line 162 of file mdb.h. Referenced by dump_stack(), read_info(), and update(). |
|
|
Definition at line 156 of file mdb.h. Referenced by gnu_symbolic(), lookup(), read_info(), setmap(), symbolic(), and update(). |
1.4.6