summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/alpha/include/db_machdep.h3
-rw-r--r--sys/arch/amd64/include/db_machdep.h3
-rw-r--r--sys/arch/arm/include/db_machdep.h3
-rw-r--r--sys/arch/hppa/include/db_machdep.h3
-rw-r--r--sys/arch/hppa64/include/db_machdep.h3
-rw-r--r--sys/arch/i386/include/db_machdep.h3
-rw-r--r--sys/arch/m88k/include/db_machdep.h3
-rw-r--r--sys/arch/mips64/include/db_machdep.h3
-rw-r--r--sys/arch/powerpc/include/db_machdep.h3
-rw-r--r--sys/arch/sh/include/db_machdep.h3
-rw-r--r--sys/arch/sparc/include/db_machdep.h3
-rw-r--r--sys/arch/sparc64/include/db_machdep.h3
12 files changed, 12 insertions, 24 deletions
diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h
index d4cb38f0e33..8ea9b848300 100644
--- a/sys/arch/alpha/include/db_machdep.h
+++ b/sys/arch/alpha/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.24 2016/02/27 13:08:06 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.25 2016/04/27 11:10:48 mpi Exp $ */
/*
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -43,7 +43,6 @@ typedef long db_expr_t;
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs;
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_regs[FRAME_PC])
#define SET_PC_REGS(regs, value) (regs)->tf_regs[FRAME_PC] = (unsigned long)(value)
diff --git a/sys/arch/amd64/include/db_machdep.h b/sys/arch/amd64/include/db_machdep.h
index 4f2a5179697..64740270691 100644
--- a/sys/arch/amd64/include/db_machdep.h
+++ b/sys/arch/amd64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.13 2016/02/27 13:08:06 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.14 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.2 2003/04/29 17:06:04 scw Exp $ */
/*
@@ -45,7 +45,6 @@ typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_rip)
#define SET_PC_REGS(regs, value) (regs)->tf_rip = (int64_t)(value)
diff --git a/sys/arch/arm/include/db_machdep.h b/sys/arch/arm/include/db_machdep.h
index c4b9272eb44..381eaf80061 100644
--- a/sys/arch/arm/include/db_machdep.h
+++ b/sys/arch/arm/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.10 2016/02/27 13:08:06 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.11 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.5 2001/11/22 18:00:00 thorpej Exp $ */
/*
@@ -49,7 +49,6 @@ typedef long db_expr_t; /* expression - signed */
typedef trapframe_t db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_pc)
#define SET_PC_REGS(regs, value) (regs)->tf_pc = (register_t)(value)
diff --git a/sys/arch/hppa/include/db_machdep.h b/sys/arch/hppa/include/db_machdep.h
index d787c99829e..fe4e9dab284 100644
--- a/sys/arch/hppa/include/db_machdep.h
+++ b/sys/arch/hppa/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.19 2016/02/27 13:08:06 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.20 2016/04/27 11:10:48 mpi Exp $ */
/*
* Copyright (c) 1998-2005 Michael Shalayeff
@@ -28,7 +28,6 @@ typedef long db_expr_t;
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs;
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_iioq_head)
#define SET_PC_REGS(regs, value) \
diff --git a/sys/arch/hppa64/include/db_machdep.h b/sys/arch/hppa64/include/db_machdep.h
index ba4e7566b95..bb4174a416e 100644
--- a/sys/arch/hppa64/include/db_machdep.h
+++ b/sys/arch/hppa64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.5 2016/02/27 13:08:07 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.6 2016/04/27 11:10:48 mpi Exp $ */
/*
* Copyright (c) 1998-2005 Michael Shalayeff
@@ -28,7 +28,6 @@ typedef long db_expr_t;
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs;
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_iioq[0])
#define SET_PC_REGS(r,pc) ((r)->tf_iioq[0] = (pc), (r)->tf_iioq[1] = (pc) + 4)
diff --git a/sys/arch/i386/include/db_machdep.h b/sys/arch/i386/include/db_machdep.h
index 77ca36b80c9..6866b8b316d 100644
--- a/sys/arch/i386/include/db_machdep.h
+++ b/sys/arch/i386/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.24 2016/02/27 13:08:07 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.25 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.9 1996/05/03 19:23:59 christos Exp $ */
/*
@@ -43,7 +43,6 @@ typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_eip)
#define SET_PC_REGS(regs, value) (regs)->tf_eip = (int)(value)
diff --git a/sys/arch/m88k/include/db_machdep.h b/sys/arch/m88k/include/db_machdep.h
index ec9c41c6595..c4d96efb9ad 100644
--- a/sys/arch/m88k/include/db_machdep.h
+++ b/sys/arch/m88k/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.18 2014/03/16 20:31:46 guenther Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.19 2016/04/27 11:10:48 mpi Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -60,7 +60,6 @@ typedef vaddr_t db_addr_t;
typedef long db_expr_t;
typedef struct reg db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
int ddb_break_trap(int, db_regs_t *);
int ddb_entry_trap(int, db_regs_t *);
diff --git a/sys/arch/mips64/include/db_machdep.h b/sys/arch/mips64/include/db_machdep.h
index f53a2e78b51..7367d00a7be 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.16 2016/03/06 19:42:27 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.17 2016/04/27 11:10:48 mpi Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -53,7 +53,6 @@ db_addr_t next_instr_address(db_addr_t, boolean_t);
#define PC_REGS(regs) ((db_addr_t)(regs)->pc)
#define SET_PC_REGS(regs, value) (regs)->pc = (register_t)(value)
-#define DDB_REGS (&ddb_regs)
/*
* Test of instructions to see class.
diff --git a/sys/arch/powerpc/include/db_machdep.h b/sys/arch/powerpc/include/db_machdep.h
index 91be2456923..787af221bcd 100644
--- a/sys/arch/powerpc/include/db_machdep.h
+++ b/sys/arch/powerpc/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.28 2016/03/05 17:41:55 mpi Exp $*/
+/* $OpenBSD: db_machdep.h,v 1.29 2016/04/27 11:10:48 mpi Exp $*/
/* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */
/*
@@ -41,7 +41,6 @@ typedef vaddr_t db_addr_t; /* address - unsigned */
typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((regs)->srr0)
#define SET_PC_REGS(regs, value) PC_REGS(regs) = (value)
diff --git a/sys/arch/sh/include/db_machdep.h b/sys/arch/sh/include/db_machdep.h
index f8aed1ace73..83900af2bf0 100644
--- a/sys/arch/sh/include/db_machdep.h
+++ b/sys/arch/sh/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.7 2016/02/27 13:08:07 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.8 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.12 2006/05/10 06:24:03 skrll Exp $ */
/*
@@ -43,7 +43,6 @@ typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_spc)
#define PC_ADVANCE(regs) ((regs)->tf_spc += BKPT_SIZE)
diff --git a/sys/arch/sparc/include/db_machdep.h b/sys/arch/sparc/include/db_machdep.h
index b8c504d54a8..49a871d7518 100644
--- a/sys/arch/sparc/include/db_machdep.h
+++ b/sys/arch/sparc/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.17 2016/02/27 13:08:07 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.18 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.10 1997/08/31 21:23:40 pk Exp $ */
/*
@@ -52,7 +52,6 @@ typedef struct {
} db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define DDB_TF (&ddb_regs.db_tf)
#define DDB_FR (&ddb_regs.db_fr)
diff --git a/sys/arch/sparc64/include/db_machdep.h b/sys/arch/sparc64/include/db_machdep.h
index fff62e8ddcc..54fd7eabdbf 100644
--- a/sys/arch/sparc64/include/db_machdep.h
+++ b/sys/arch/sparc64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.17 2016/03/07 13:21:51 naddy Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.18 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.12 2001/07/07 15:16:13 eeh Exp $ */
/*
@@ -81,7 +81,6 @@ typedef struct db_regs {
#endif
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define DDB_TF (&ddb_regs.ddb_tf)
#define DDB_FR (&ddb_regs.ddb_fr)
#define DDB_FP (&ddb_regs.ddb_fpstate)