summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-04-28 17:24:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-04-28 17:24:51 +0000
commit09976350673fbf371d5634c20246c0be1275c26a (patch)
tree094284a58d0848acdda6f5f9a33b8bf2ac3d833a /sys/arch
parent6e9c4f7fb041f0a99b7a2bd18be872bcd3887c7b (diff)
Rework the definition of label_t to get it correctly aligned to an 8 byte
boundary; this makes ddb usable again.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/include/_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/_types.h b/sys/arch/sparc/include/_types.h
index 90c4c0f338a..cbdd9920bb8 100644
--- a/sys/arch/sparc/include/_types.h
+++ b/sys/arch/sparc/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.16 2011/11/15 17:12:14 deraadt Exp $ */
+/* $OpenBSD: _types.h,v 1.17 2012/04/28 17:24:50 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,8 @@
#if defined(_KERNEL)
typedef struct label_t {
- long val[3];
+ unsigned long long sp_pc;
+ unsigned long fp;
} label_t;
#endif