Subject: CVS commit: src/lib/libpthread_dbg
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 06/10/2004 01:38:29
Module Name:	src
Committed By:	nathanw
Date:		Thu Jun 10 01:38:29 UTC 2004

Modified Files:
	src/lib/libpthread_dbg: pthread_dbg.c pthread_dbg_int.h

Log Message:
Avoid depending on declarations of struct reg and struct fpreg by using
the proc_regsize() callback to allocate reg and fpreg buffers as part of the
proc state (lazily initialized by the PT_STATE_RUNNING case of
td_thr_suspend()).

Fixes build on sh3 (and probably sh5) platforms.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/lib/libpthread_dbg/pthread_dbg.c
cvs rdiff -r1.4 -r1.5 src/lib/libpthread_dbg/pthread_dbg_int.h

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