cvs commit: src/sys/amd64/amd64 db_trace.c exception.S machdep.c trap.c

Kris Kennaway kris at FreeBSD.org
Thu Nov 15 14:32:39 PST 2007


John Baldwin wrote:
> On Thursday 15 November 2007 05:00:57 pm John Baldwin wrote:
>> jhb         2007-11-15 22:00:57 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:
>>     sys/amd64/amd64      db_trace.c exception.S machdep.c trap.c 
>>   Log:
>>   Add support for cross double fault frames in stack traces:
>>   - Populate the register values for the trapframe put on the stack by the
>>     double fault handler.
>>   - Teach DDB's trace routine to treat a double fault like other trap 
> frames.
>>   
>>   MFC after:      3 days
> 
> As an aside, because amd64 uses much saner stack frames than i386, kgdb will 
> trace across a double fault just fine w/o any further patches if the kernel 
> has this fix.
> 

Nice.

Kris


More information about the cvs-src mailing list