From owner-cvs-src@FreeBSD.ORG  Sun Nov 18 14:18:12 2007
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BB55D16A41A;
	Sun, 18 Nov 2007 14:18:12 +0000 (UTC)
	(envelope-from kris@FreeBSD.org)
Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b])
	by mx1.freebsd.org (Postfix) with ESMTP id AE32F13C44B;
	Sun, 18 Nov 2007 14:18:09 +0000 (UTC)
	(envelope-from kris@FreeBSD.org)
Message-ID: <474049A4.7020603@FreeBSD.org>
Date: Sun, 18 Nov 2007 15:18:12 +0100
From: Kris Kennaway <kris@FreeBSD.org>
User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
MIME-Version: 1.0
To: John Baldwin <jhb@FreeBSD.org>
References: <200711162217.lAGMHbNd077328@repoman.freebsd.org>
In-Reply-To: <200711162217.lAGMHbNd077328@repoman.freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: Re: cvs commit: src/gnu/usr.bin/gdb/kgdb kgdb.h kthr.c trgt_i386.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Nov 2007 14:18:12 -0000

John Baldwin wrote:
> jhb         2007-11-16 22:17:37 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     gnu/usr.bin/gdb/kgdb kgdb.h kthr.c trgt_i386.c 
>   Log:
>   Teach kgdb how to handle double fault frames on i386:
>   - Save td_oncpu in 'struct kthr' so the i386 target code can see which CPU
>     a thread is running on.
>   - Add a new frame unwinder for double fault frames.  This unwinder is used
>     when "dblfault_handler" is encountered in the stack.  It uses the CPU of
>     the current thread to lookup the base address of the TSS used for the
>     double fault from the GDT.  It then fetches the various registers out
>     of the TSS similar to how the current trapframe unwinder fetches
>     registers out of the trapframe.
>   
>   MFC after:      3 days
>   
>   Revision  Changes    Path
>   1.6       +1 -0      src/gnu/usr.bin/gdb/kgdb/kgdb.h
>   1.8       +1 -0      src/gnu/usr.bin/gdb/kgdb/kthr.c
>   1.7       +152 -1    src/gnu/usr.bin/gdb/kgdb/trgt_i386.c
> 
> 

\o/