325ce5d8fb
it to recognise what ABI to use on amd64 (and possibly others) platform. Display PID and process name as a part of the 'info threads' output, TIDs alone are too confusing. Introduce new commmands 'tid <tid>' and 'proc <pid>' to accompany gdb's default 'thread <thread num>' to make the task of switching between different contexts easier.
15 lines
422 B
Makefile
15 lines
422 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= kgdb${GDB_SUFFIX}
|
|
SRCS= main.c kthr.c trgt.c trgt_${MACHINE_ARCH}.c
|
|
WARNS?= 2
|
|
|
|
BULIBS= ${OBJ_BU}/libbfd/libbfd.a ${OBJ_BU}/libopcodes/libopcodes.a \
|
|
${OBJ_BU}/libiberty/libiberty.a
|
|
GDBLIBS= ${OBJ_GDB}/libgdb/libgdb.a
|
|
|
|
DPADD= ${GDBLIBS} ${BULIBS} ${LIBKVM} ${LIBM} ${LIBREADLINE} ${LIBTERMCAP} ${LIBGNUREGEX}
|
|
LDADD= ${GDBLIBS} ${BULIBS} -lkvm -lm -lreadline -ltermcap -lgnuregex
|
|
|
|
.include <bsd.prog.mk>
|