summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-27 19:57:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-27 19:57:24 +0000
commit0ed7bf7b63c6099fc1205fa39502c78fba9d94c0 (patch)
tree305a037847e752d58307b5307bc7e15b5ef94c58 /sys/arch/mips64/include
parent5e5b8791118667f1de14d12971ebf359c1488cec (diff)
Remove ddb single-step load and store counters. Most platforms do not
implement them, and they are of questionable usefulness.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/db_machdep.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/mips64/include/db_machdep.h b/sys/arch/mips64/include/db_machdep.h
index 0361060620e..26f2d9f4371 100644
--- a/sys/arch/mips64/include/db_machdep.h
+++ b/sys/arch/mips64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.10 2010/09/20 23:37:08 miod Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.11 2010/11/27 19:57:23 miod Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -61,15 +61,11 @@ db_addr_t next_instr_address(db_addr_t, boolean_t);
*/
#define IT_CALL 0x01
#define IT_BRANCH 0x02
-#define IT_LOAD 0x03
-#define IT_STORE 0x04
#define inst_branch(i) (db_inst_type(i) == IT_BRANCH)
#define inst_trap_return(i) ((i) & 0)
#define inst_call(i) (db_inst_type(i) == IT_CALL)
#define inst_return(i) ((i) == 0x03e00008)
-#define inst_load(i) (db_inst_type(i) == IT_LOAD)
-#define inst_store(i) (db_inst_type(i) == IT_STORE)
int db_inst_type(int);
void db_machine_init(void);