c7f87cc77f
least on i386)... fbsd-* changes started out as s/linux/fbsd/g and then additional changes to handle different ptrace defines among other things.. (use vfork to eliminate a race for progress group creation) reg-i386.c is generated by regdat.sh..
23 lines
555 B
Makefile
23 lines
555 B
Makefile
# $FreeBSD$
|
|
|
|
# Not elf specific so don't install in /usr/libexec/elf
|
|
BINDIR=/usr/bin
|
|
|
|
GDBDIR= ${.CURDIR}/../../../../contrib/gdb
|
|
.PATH: ${GDBDIR}/gdb/signals
|
|
.PATH: ${GDBDIR}/gdb/gdbserver
|
|
.PATH: ${GDBDIR}/gdb
|
|
|
|
PROG= gdbserver
|
|
|
|
SRCS= i387-fp.c inferiors.c mem-break.c regcache.c remote-utils.c \
|
|
server.c signals.c target.c reg-i386.c utils.c
|
|
SRCS+= fbsd-low.c fbsd-i386-low.c
|
|
|
|
#CFLAGS+= -I${.CURDIR}/../arch/${MACHINE_ARCH}
|
|
CFLAGS+= -I${GDBDIR}/gdb/gdbserver
|
|
CFLAGS+= -I${GDBDIR}/gdb/regformats
|
|
CFLAGS+= -DNO_MMALLOC -DGDBSERVER
|
|
|
|
.include <bsd.prog.mk>
|