freebsd-dev/sys/amd64
John Baldwin c79408a059 Implement db_print_backtrace() if DDB is compiled into the kernel. This
MD function is just a wrapper around db_stack_trace_cmd() that prints out
a backtrace of curthread.  Currently, this function is only implemented
on i386 and alpha (and the alpha version isn't quite tested yet, will do
that in a bit).  Other changes:

- For i386, fix a bug in the raw frame address case.  The eip we extract
  from the passed in frame address does not match the frame we received.
  Thus, instead of printing a bogus frame with the wrong eip, go ahead
  and advance frame down to the same frame as the eip we are using.
- For alpha, attempt to add a way of doing a raw trace for alpha.  Instead
  of passing a frame address in 'addr', pass in a pointer to a structure
  containing PC and KSP and use those to start the backtrace.  The alpha
  db_print_backtrace() uses asm to read in the current PC and KSP values
  into such a request.

Tested on:	i386
Requested by:	many
2002-09-19 18:46:29 +00:00
..
acpica If we are using APIC_IO tell ACPI so it can route interrupts properly. 2002-09-06 17:02:01 +00:00
amd64 Implement db_print_backtrace() if DDB is compiled into the kernel. This 2002-09-19 18:46:29 +00:00
compile Make space for compilations. 2002-07-06 02:49:07 +00:00
conf Whitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: use 2002-09-11 16:51:48 +00:00
ia32 Added fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections to 2002-09-01 21:41:24 +00:00
include Implement C99's va_copy() macro. 2002-09-18 07:33:16 +00:00
isa Restore status register A of RTC at resume time. 2002-09-18 07:34:04 +00:00
pci Make sure a $PIR table header has a valid length before accepting the table 2002-09-09 18:24:35 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00