From owner-cvs-src@FreeBSD.ORG Sat Jul 10 19:56:00 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6156416A4CE; Sat, 10 Jul 2004 19:56:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BAD643D1D; Sat, 10 Jul 2004 19:56:00 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6AJu09l037971; Sat, 10 Jul 2004 19:56:00 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6AJu0qM037970; Sat, 10 Jul 2004 19:56:00 GMT (envelope-from marcel) Message-Id: <200407101956.i6AJu0qM037970@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 10 Jul 2004 19:56:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/alpha/include pcb.h src/sys/amd64/amd64 machdep.c src/sys/amd64/include pcb.h src/sys/i386/i386 machdep.c src/sys/i386/include pcb.h src/sys/ia64/ia64 machdep.c src/sys/ia64/include pcb.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 19:56:00 -0000 marcel 2004-07-10 19:56:00 UTC FreeBSD src repository Modified files: sys/alpha/alpha machdep.c sys/alpha/include pcb.h sys/amd64/amd64 machdep.c sys/amd64/include pcb.h sys/i386/i386 machdep.c sys/i386/include pcb.h sys/ia64/ia64 machdep.c sys/ia64/include pcb.h sys/sparc64/sparc64 machdep.c sys/sparc64/include pcb.h Log: Implement makectx(). The makectx() function is used by KDB to create a PCB from a trapframe for purposes of unwinding the stack. The PCB is used as the thread context and all but the thread that entered the debugger has a valid PCB. This function can also be used to create a context for the threads running on the CPUs that have been stopped when the debugger got entered. This however is not done at the time of this commit. Revision Changes Path 1.221 +23 -0 src/sys/alpha/alpha/machdep.c 1.10 +1 -0 src/sys/alpha/include/pcb.h 1.612 +21 -0 src/sys/amd64/amd64/machdep.c 1.60 +3 -0 src/sys/amd64/include/pcb.h 1.593 +19 -0 src/sys/i386/i386/machdep.c 1.52 +3 -0 src/sys/i386/include/pcb.h 1.179 +17 -0 src/sys/ia64/ia64/machdep.c 1.14 +5 -1 src/sys/ia64/include/pcb.h 1.17 +1 -0 src/sys/sparc64/include/pcb.h 1.108 +15 -0 src/sys/sparc64/sparc64/machdep.c