Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2007 15:18:12 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
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
Message-ID:  <474049A4.7020603@FreeBSD.org>
In-Reply-To: <200711162217.lAGMHbNd077328@repoman.freebsd.org>
References:  <200711162217.lAGMHbNd077328@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474049A4.7020603>