Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/db_machdep.h
Show All 24 Lines | |||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _MACHINE_DB_MACHDEP_H_ | #ifndef _MACHINE_DB_MACHDEP_H_ | ||||
#define _MACHINE_DB_MACHDEP_H_ | #define _MACHINE_DB_MACHDEP_H_ | ||||
#include <machine/frame.h> | #include <machine/frame.h> | ||||
#include <machine/reg.h> | |||||
#include <machine/trap.h> | #include <machine/trap.h> | ||||
typedef vm_offset_t db_addr_t; /* address - unsigned */ | typedef vm_offset_t db_addr_t; /* address - unsigned */ | ||||
typedef long db_expr_t; /* expression - signed */ | typedef long db_expr_t; /* expression - signed */ | ||||
#define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_rip) | #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_rip) | ||||
#define BKPT_INST 0xcc /* breakpoint instruction */ | #define BKPT_INST 0xcc /* breakpoint instruction */ | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |