Allow building a cross-kgdb for ia64.
This commit is contained in:
parent
c7bb7d9511
commit
a46b38a42f
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user