Subject: Re: CVS commit: [nathanw_sa] src/lib/libpthread/arch/arm
To: Nathan J Williams <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
Date: 01/16/2003 20:03:09
On Fri, Jan 17, 2003 at 05:26:58AM +0200, Nathan J Williams wrote:
> 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.
This isn't quite right, because NetBSD/acorn26 runs ATPCS32 binaries
in NetBSD (i.e. not compiled with __ATPCS_26__). The determination
needs to be made at run-time.
-- Jason R. Thorpe <email@example.com>