3c90d1ea74
- Introduce per-architecture stack_machdep.c to hold stack_save(9). - Introduce per-architecture machine/stack.h to capture any common definitions required between db_trace.c and stack_machdep.c. - Add new kernel option "options STACK"; we will build in stack(9) if it is defined, or also if "options DDB" is defined to provide compatibility with existing users of stack(9). Add new stack_save_td(9) function, which allows the capture of a stacktrace of another thread rather than the current thread, which the existing stack_save(9) was limited to. It requires that the thread be neither swapped out nor running, which is the responsibility of the consumer to enforce. Update stack(9) man page. Build tested: amd64, arm, i386, ia64, powerpc, sparc64, sun4v Runtime tested: amd64 (rwatson), arm (cognet), i386 (rwatson)
77 lines
2.8 KiB
Plaintext
77 lines
2.8 KiB
Plaintext
# $FreeBSD$
|
|
crypto/blowfish/bf_enc.c optional crypto | ipsec
|
|
crypto/des/des_enc.c optional crypto | ipsec | netsmb
|
|
arm/arm/autoconf.c standard
|
|
arm/arm/bcopy_page.S standard
|
|
arm/arm/bcopyinout.S standard
|
|
arm/arm/blockio.S standard
|
|
arm/arm/bootconfig.c standard
|
|
arm/arm/bus_space_asm_generic.S standard
|
|
arm/arm/busdma_machdep.c standard
|
|
arm/arm/copystr.S standard
|
|
arm/arm/cpufunc.c standard
|
|
arm/arm/cpufunc_asm.S standard
|
|
arm/arm/cpufunc_asm_armv4.S standard
|
|
arm/arm/db_disasm.c optional ddb
|
|
arm/arm/db_interface.c optional ddb
|
|
arm/arm/db_trace.c optional ddb
|
|
arm/arm/disassem.c optional ddb
|
|
arm/arm/dump_machdep.c standard
|
|
arm/arm/elf_machdep.c standard
|
|
arm/arm/exception.S standard
|
|
arm/arm/fiq.c standard
|
|
arm/arm/fiq_subr.S standard
|
|
arm/arm/fusu.S standard
|
|
arm/arm/gdb_machdep.c optional gdb
|
|
arm/arm/identcpu.c standard
|
|
arm/arm/in_cksum.c optional inet
|
|
arm/arm/in_cksum_arm.S optional inet
|
|
arm/arm/intr.c standard
|
|
arm/arm/locore.S standard no-obj
|
|
arm/arm/machdep.c standard
|
|
arm/arm/mem.c optional mem
|
|
arm/arm/nexus.c standard
|
|
arm/arm/pmap.c standard
|
|
arm/arm/setcpsr.S standard
|
|
arm/arm/setstack.s standard
|
|
arm/arm/stack_machdep.c optional ddb | stack
|
|
arm/arm/support.S standard
|
|
arm/arm/swtch.S standard
|
|
arm/arm/sys_machdep.c standard
|
|
arm/arm/trap.c standard
|
|
arm/arm/uio_machdep.c standard
|
|
arm/arm/undefined.c standard
|
|
arm/arm/vectors.S standard
|
|
arm/arm/vm_machdep.c standard
|
|
arm/fpe-arm/armfpe_glue.S optional armfpe
|
|
arm/fpe-arm/armfpe_init.c optional armfpe
|
|
arm/fpe-arm/armfpe.S optional armfpe
|
|
geom/geom_bsd.c standard
|
|
geom/geom_bsd_enc.c standard
|
|
geom/geom_mbr.c standard
|
|
geom/geom_mbr_enc.c standard
|
|
hal.o optional ath_hal \
|
|
compile-with "ATH_HAL_CPU=`echo ${CONF_CFLAGS}|sed 's/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/'`; ATH_ENDIAN=`if (echo ${CC}|grep mbig-endian>/dev/null); then echo be; else echo le; fi;`; uudecode < $S/contrib/dev/ath/public/$$ATH_HAL_CPU-$$ATH_ENDIAN-elf.hal.o.uu" \
|
|
no-implicit-rule
|
|
opt_ah.h optional ath_hal \
|
|
compile-with "ATH_HAL_CPU=`echo ${CONF_CFLAGS}|sed 's/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/'`; ATH_ENDIAN=`if (echo ${CC}|grep mbig-endian>/dev/null); then echo be; else echo le; fi;`; rm -f opt_ah.h; cp $S/contrib/dev/ath/public/$$ATH_HAL_CPU-$$ATH_ENDIAN-elf.opt_ah.h opt_ah.h" \
|
|
no-obj no-implicit-rule before-depend \
|
|
clean "opt_ah.h"
|
|
libkern/arm/divsi3.S standard
|
|
libkern/arm/ffs.S standard
|
|
libkern/arm/muldi3.c standard
|
|
libkern/ashldi3.c standard
|
|
libkern/ashrdi3.c standard
|
|
libkern/divdi3.c standard
|
|
libkern/ffsl.c standard
|
|
libkern/fls.c standard
|
|
libkern/flsl.c standard
|
|
libkern/lshrdi3.c standard
|
|
libkern/moddi3.c standard
|
|
libkern/qdivrem.c standard
|
|
libkern/udivdi3.c standard
|
|
libkern/umoddi3.c standard
|
|
#XXX: We can't use these versions, as strcmp.c is included conf/files
|
|
#libkern/arm/strcmp.S standard
|
|
#libkern/arm/strncmp.S standard
|