1 /* $NetBSD: db_machdep.h,v 1.3 2011/04/30 16:58:35 christos Exp $ */
3 #ifndef _X86_DB_MACHDEP_H_
4 #define _X86_DB_MACHDEP_H_
6 #define INKERNEL(va) (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS)
12 #define INTERRUPT_TSS 4
23 #define pcb_bp pcb_rbp
24 #define pcb_sp pcb_rsp
25 #define x86_frame x86_64_frame
30 #define pcb_bp pcb_ebp
31 #define pcb_sp pcb_esp
32 #define x86_frame i386_frame
35 int db_x86_regop(const struct db_variable
*, db_expr_t
*, int);
36 int db_numargs(long *);
37 int db_nextframe(long **, long **, long **, db_addr_t
*, long *, int,
38 void (*) (const char *, ...));
39 db_sym_t
db_frame_info(long *, db_addr_t
, const char **, db_expr_t
*,
42 #endif /* _X86_DB_MACHDEP_H_ */