summaryrefslogtreecommitdiffstats
path: root/contrib/less/defines.wn
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-16 22:17:37 +0000
committerjhb <jhb@FreeBSD.org>2007-11-16 22:17:37 +0000
commit5b26270d093ab5e2d9bd18eb90756e8c45a29106 (patch)
tree0ae21b085bc5abb202d3c9c7ec8c111f2598256c /contrib/less/defines.wn
parent34d08946eefbe42dc7f210995f595dc5c6dd95ec (diff)
downloadFreeBSD-src-5b26270d093ab5e2d9bd18eb90756e8c45a29106.zip
FreeBSD-src-5b26270d093ab5e2d9bd18eb90756e8c45a29106.tar.gz
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
Diffstat (limited to 'contrib/less/defines.wn')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud