mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 07:41:02 -04:00
Change gcore in order to get rid of the procfs support and use FreeBSD's specific interfaces. Main changes: - now gcore recognizes threads within the the process and handle dumps on a thread scope - the process to be analyzed should be stopped while gcore runs - gcore may not work with processes that are being debugged with gdb or truss - ptrace may let interruptible calls to return EINTR, thus dirtying signals handling within the process Sponsored by: Sandvine Incorporated
8 lines
125 B
Makefile
8 lines
125 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
LDADD+= -lutil
|
|
PROG= gcore
|
|
SRCS= elfcore.c gcore.c
|
|
|
|
.include <bsd.prog.mk>
|