summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/db_machdep.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-28 12:46:52 +0000
committerbde <bde@FreeBSD.org>1997-03-28 12:46:52 +0000
commit743b3751bfc046e39cb39ac2ea1687fdd77d6b32 (patch)
treedfeb64b819ead2ecbb695aa6293e8fb8bec81a13 /sys/i386/include/db_machdep.h
parentb0b8f0ac085b019d7d57e4ce4c8c30f7736d2810 (diff)
downloadFreeBSD-src-743b3751bfc046e39cb39ac2ea1687fdd77d6b32.zip
FreeBSD-src-743b3751bfc046e39cb39ac2ea1687fdd77d6b32.tar.gz
Backed out rev.1.5. if %cs is bad, %eip may be bad, but this is no longer
fatal.
Diffstat (limited to 'sys/i386/include/db_machdep.h')
-rw-r--r--sys/i386/include/db_machdep.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/include/db_machdep.h b/sys/i386/include/db_machdep.h
index 644f266..aaa32f6 100644
--- a/sys/i386/include/db_machdep.h
+++ b/sys/i386/include/db_machdep.h
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*
- * $Id$
+ * $Id: db_machdep.h,v 1.12 1997/02/22 09:34:24 peter Exp $
*/
#ifndef _MACHINE_DB_MACHDEP_H_
@@ -41,8 +41,7 @@ typedef struct i386_saved_state db_regs_t;
extern db_regs_t ddb_regs; /* register state */
#define DDB_REGS (&ddb_regs)
-#define PC_REGS(regs) (((regs)->tf_cs & 0xfffc) == 0x08 \
- ? (db_addr_t)(regs)->tf_eip : 0)
+#define PC_REGS(regs) ((db_addr_t)(regs)->tf_eip)
#define BKPT_INST 0xcc /* breakpoint instruction */
#define BKPT_SIZE (1) /* size of breakpoint inst */
OpenPOWER on IntegriCloud