Subject: CVS commit: [nathanw_sa] src/lib/libpthread/arch/arm
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 01/17/2003 05:26:58
Module Name:	src
Committed By:	nathanw
Date:		Fri Jan 17 03:26:58 UTC 2003

Modified Files:
	src/lib/libpthread/arch/arm [nathanw_sa]: pthread_md.h

Log Message:
Add _INITCONTEXT_U_MD() code that sets up the PC or CPSR.

Adjust PTHREAD_UCONTEXT_TO_REG() to set a plausable value in
reg->r_cpsr when _UC_USER is set in the ucontext; otherwise, GDB gets
very confused and thinks it's dealing with 26-bit ARM state.


To generate a diff of this commit:
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/lib/libpthread/arch/arm/pthread_md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.