aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Use MACHINE_CPUARCH when checking for arm64Andrew Turner2020-09-141-1/+1
| | | | | | | | | | | | | | | Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run on any 64-bit Arm instruction set. This will simplify checks in downstream consumers targeting prototype instruction sets. The only place we check for MACHINE_ARCH == aarch64 is when building the device tree blobs. As these are targeting current generation ISAs. Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D26370 Notes: svn path=/head/; revision=365726
* gcore: Add powerpc64 32-bit gcore supportJustin Hibbits2019-10-111-1/+2
| | | | | | | | | | Summary: Add the necessary bits for taking 32-bit gcore coredumps on powerpc64. Reviewed by: luporl Differential Revision: https://reviews.freebsd.org/D21954 Notes: svn path=/head/; revision=353437
* gcore: Add aarch64 32-bit core supportJustin Hibbits2019-10-111-1/+1
| | | | | | | | | | | | Summary: Add trivial 32-bit arm cores on aarch64 support for gcore. This doesn't handle fpregs. Reviewed by: #arm, andrew Sponsored by: Juniper Networks, Inc Differential Revision: https://reviews.freebsd.org/D21947 Notes: svn path=/head/; revision=353436
* Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* Create 32-bit core files for 32-bit processes on 64-bit machines.Marcel Moolenaar2014-07-261-0/+4
| | | | | | | | | | The 64-bit machine supported right now is amd64, but it's not too hard to add powerpc64. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=269128
* Add some missing DPADD.Antoine Brodin2013-05-111-1/+1
| | | | Notes: svn path=/head/; revision=250511
* Sync gcore(1) with the recent changes in kernel code aimed at addingMikolaj Golub2013-04-201-1/+1
| | | | | | | | | | procstat notes to a process core file. Suggested by: jhb MFC after: 1 month Notes: svn path=/head/; revision=249687
* Fixed dependencies (make checkdpadd).Ruslan Ermilov2010-02-251-1/+2
| | | | Notes: svn path=/head/; revision=204329
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Change gcore in order to get rid of the procfs accesses and use FreeBSD'sAttilio Rao2009-11-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | specific sysctls and ptrace interfaces. This change switches a bit gcore POLA that is summarized here: - now gcore can recognize threads within the process and handle dumps on thread-scope - the process to be analyzed will be stopped during its gcore run - gcore may not work with processes which are actively being analyzed by gdb or truss - the ptrace interface may cause syscalls to return EINTR, thus interferring with signals handling within the process Side note: <janitor task> the interface can be further lifted in order to get rid of the very last procfs interfaces remnants and made more suitable for copying with sysctl/ptrace interface </janitor task>. Obtained from: Sandvine Incorporated Reviewed by: emaste, rwatson Sponsored by: Sandvine Incorporated MFC: 1 month Notes: svn path=/head/; revision=199805
* Remove a.out support from gcore(1).David Schultz2004-11-271-6/+0
| | | | Notes: svn path=/head/; revision=138127
* Use a crowbar to move the a.out code out of gcore.c and into its ownPeter Wemm2002-09-131-5/+3
| | | | | | | | | file so that we have a chance of using gcore on non-i386 platforms. Use linker sets to reduce the registration glue. Remove md-sparc.c, we do not have an a.out sparc32 port. aoutcore.c was repocopied from gcore.c. Notes: svn path=/head/; revision=103299
* Don't use gcc specific flags.David Malone2002-03-301-1/+0
| | | | Notes: svn path=/head/; revision=93442
* ${MACHINE} -> ${MACHINE_ARCH}Marcel Moolenaar1999-11-141-2/+3
| | | | | | | | | | | | | | | | | | | All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH Notes: svn path=/head/; revision=53152
* Make gcore work for ELF.John Polstra1998-10-191-1/+2
| | | | Notes: svn path=/head/; revision=40525
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8874
* Add dependencies on libraries to DPADD. Someday this should be doneBruce Evans1994-08-281-0/+1
| | | | | | | | | automagically. -lfoo has to be right to work, but ${LIBFO0} is too easy to forget or misspell; nothing checks it and it should be different for shared libraries. Notes: svn path=/head/; revision=2375
* Corrected to work without symbolic links for md-${MACHINE}.c.Rodney W. Grimes1994-05-291-1/+7
| | | | Notes: svn path=/head/; revision=1626
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+7
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590