1 /* $NetBSD: db_machdep.h,v 1.4 2014/01/11 17:10:40 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
24 #define pcb_bp pcb_rbp
25 #define pcb_sp pcb_rsp
26 #define x86_frame x86_64_frame
31 #define pcb_bp pcb_ebp
32 #define pcb_sp pcb_esp
33 #define x86_frame i386_frame
36 int db_x86_regop(const struct db_variable
*, db_expr_t
*, int);
37 int db_numargs(long *);
38 int db_nextframe(long **, long **, long **, db_addr_t
*, long *, int,
39 void (*) (const char *, ...));
40 db_sym_t
db_frame_info(long *, db_addr_t
, const char **, db_expr_t
*,
43 #endif /* _X86_DB_MACHDEP_H_ */