freebsd-dev/gnu/usr.bin/gdb/kgdb
John Baldwin f157925999 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
2007-11-16 22:17:37 +00:00
..
kgdb.1 Bump document date for the previous change. 2006-10-21 17:39:35 +00:00
kgdb.h Teach kgdb how to handle double fault frames on i386: 2007-11-16 22:17:37 +00:00
kthr.c Teach kgdb how to handle double fault frames on i386: 2007-11-16 22:17:37 +00:00
main.c Add -w parameter which tells kgdb to open kmem-based targets in read-write 2006-01-04 23:17:52 +00:00
Makefile Restore r1.2 change to use TARGET_ARCH. 2005-02-20 23:06:03 +00:00
trgt_amd64.c NMIs now come from 'nmi_calltrap' rather than 'calltrap', so teach 'kgdb' 2007-08-22 20:28:13 +00:00
trgt_arm.c Trim trailing whitespace. 2006-10-16 20:07:23 +00:00
trgt_i386.c Teach kgdb how to handle double fault frames on i386: 2007-11-16 22:17:37 +00:00
trgt_ia64.c Unwind across trap frames. Handles all entry points, except the EPC 2005-09-11 00:47:03 +00:00
trgt_powerpc.c Trim trailing whitespace. 2006-10-16 20:07:23 +00:00
trgt_sparc64.c Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. I 2005-09-11 06:52:14 +00:00
trgt.c Restore the 'proc' and 'tid' commands which allow one to switch to the 2006-10-16 20:06:32 +00:00