summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-01-08 05:44:54 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-01-08 05:44:54 +0000
commitafc762bc8915af471ae5a1b214d3bbea3045cb89 (patch)
tree3d237bb6a1d19fc6d83aa7a9a8fc2a40cf14d0ee
parent5673126f3eec127dc685472f2303514a6ef88341 (diff)
slight structure rearrange for gdb thread support
-rw-r--r--lib/libc_r/uthread/pthread_private.h7
-rw-r--r--lib/libpthread/uthread/pthread_private.h7
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index 7b3f6a7bcd4..d3b3fead2bd 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/uthread/pthread_private.h
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $OpenBSD: pthread_private.h,v 1.8 1999/01/08 05:42:18 d Exp $
+ * $OpenBSD: pthread_private.h,v 1.9 1999/01/08 05:44:53 d Exp $
*
*/
@@ -343,8 +343,6 @@ struct pthread {
void *stack;
struct pthread_attr attr;
- struct _machdep_struct _machdep;
-
/*
* Saved signal context used in call to sigreturn by
* _thread_kern_sched if sig_saved is TRUE.
@@ -454,6 +452,9 @@ struct pthread {
struct pthread_cleanup *cleanup;
const char *fname; /* Ptr to source file name */
int lineno; /* Source line number. */
+
+ /* Machine dependent information */
+ struct _machdep_struct _machdep;
};
/*
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index 7b3f6a7bcd4..d3b3fead2bd 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $OpenBSD: pthread_private.h,v 1.8 1999/01/08 05:42:18 d Exp $
+ * $OpenBSD: pthread_private.h,v 1.9 1999/01/08 05:44:53 d Exp $
*
*/
@@ -343,8 +343,6 @@ struct pthread {
void *stack;
struct pthread_attr attr;
- struct _machdep_struct _machdep;
-
/*
* Saved signal context used in call to sigreturn by
* _thread_kern_sched if sig_saved is TRUE.
@@ -454,6 +452,9 @@ struct pthread {
struct pthread_cleanup *cleanup;
const char *fname; /* Ptr to source file name */
int lineno; /* Source line number. */
+
+ /* Machine dependent information */
+ struct _machdep_struct _machdep;
};
/*