Allow building a cross-kgdb for ia64.
This commit is contained in:
parent
10da4aa601
commit
2a4510e122
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205711
@ -41,7 +41,7 @@ CFLAGS+= -I${CNTRB_BU}/bfd
|
|||||||
GENSRCS+= nm.h tm.h
|
GENSRCS+= nm.h tm.h
|
||||||
|
|
||||||
.if defined(GDB_CROSS_DEBUGGER)
|
.if defined(GDB_CROSS_DEBUGGER)
|
||||||
CFLAGS+= -DCROSS_DEBUGGER
|
CFLAGS+= -DCROSS_DEBUGGER -I${BMAKE_ROOT}/../..
|
||||||
GDB_SUFFIX= -${TARGET_ARCH}
|
GDB_SUFFIX= -${TARGET_ARCH}
|
||||||
NO_MAN=
|
NO_MAN=
|
||||||
.endif
|
.endif
|
||||||
|
@ -28,9 +28,16 @@
|
|||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
#include <sys/types.h>
|
#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/frame.h>
|
||||||
#include <machine/md_var.h>
|
#include <machine/md_var.h>
|
||||||
#include <machine/pcb.h>
|
#include <machine/pcb.h>
|
||||||
|
#endif
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <kvm.h>
|
#include <kvm.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user