Allow building a cross-kgdb for ia64.

This commit is contained in:
Marcel Moolenaar 2010-03-26 19:41:40 +00:00
parent 10da4aa601
commit 2a4510e122
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205711
2 changed files with 8 additions and 1 deletions

View File

@ -41,7 +41,7 @@ CFLAGS+= -I${CNTRB_BU}/bfd
GENSRCS+= nm.h tm.h
.if defined(GDB_CROSS_DEBUGGER)
CFLAGS+= -DCROSS_DEBUGGER
CFLAGS+= -DCROSS_DEBUGGER -I${BMAKE_ROOT}/../..
GDB_SUFFIX= -${TARGET_ARCH}
NO_MAN=
.endif

View File

@ -28,9 +28,16 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
#ifdef CROSS_DEBUGGER
#include <sys/ia64/include/_regset.h>
#include <sys/ia64/include/frame.h>
#include <sys/ia64/include/md_var.h>
#include <sys/ia64/include/pcb.h>
#else
#include <machine/frame.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
#endif
#include <err.h>
#include <kvm.h>
#include <string.h>