opnsense-src/gnu/usr.bin
Marcel Moolenaar d7aa5f02d0 In kthr.c, obtain the address of the PCB for threads that were running
on a core, when the core was stopped, by calling kgdb_trgt_core_pcb().
This has 2 advantages:
1.  We don't need to include a machine-specific header anymore and as
    such kthr.c is truly machine independent. This allows the code to
    be used in a cross-debugger.
2.  We don't need to lookup stoppcbs in generic code when it's an
    inherently target-spicific symbol. It does not exist for ia64.

Implement kgdb_trgt_core_pcb() for all architectures, except ia64, by
calling a common function called kgdb_trgt_stop_pcb(). This function
differs from kgdb_trgt_core_pcb() in that it gets the size of the PCB
structure as an argument and as such remains machine independent.

On ia64 the PCB for stopped cores is in the PCPU structure itself.
This for better scaling. The implementation of kgdb_trgt_core_pcb()
for ia64 uses the cpuid_to_pcpu[] array to to obtain the address of
the PCB structure.
2013-02-17 02:15:19 +00:00
..
binutils Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. The 2013-01-06 07:14:04 +00:00
cc bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is defined 2013-01-25 06:18:49 +00:00
cvs Don't include <sys/timeb.h>. 2012-01-08 12:38:41 +00:00
dialog Fix a dependency 2013-01-01 18:31:21 +00:00
diff Catch up with the subversion conversion and apply these build-time patches. 2012-08-17 18:20:38 +00:00
diff3 POSIX patch(1) would treat -b as different meaning (the functionality 2010-02-22 22:32:24 +00:00
dtc Sanitize CFLAGS and add WARNS?=2. The hardcoding of -Os -fPIC 2010-07-15 02:22:50 +00:00
gdb In kthr.c, obtain the address of the PCB for threads that were running 2013-02-17 02:15:19 +00:00
gperf upgrade gperf to the last GPLv2 version (3.0.3) 2011-11-28 12:29:16 +00:00
grep Make "-D skip" option work with FIFO by opening file in non-blocking mode. 2013-01-22 03:23:14 +00:00
groff A workaround in r238563 was for makes (notably bmake) without the 2012-08-24 06:55:16 +00:00
patch - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from 2013-01-29 17:03:18 +00:00
rcs Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
sdiff POSIX patch(1) would treat -b as different meaning (the functionality 2010-02-22 22:32:24 +00:00
send-pr Add support for the "&" character in usernames. 2012-10-22 03:41:19 +00:00
texinfo Catch up with the demise of /usr/X11R6 2007-09-19 14:21:18 +00:00
Makefile Import new (BSDL) device tree compiler. Now built by default, so that it can't 2013-01-22 17:49:51 +00:00
Makefile.inc