Build glue for x86_64. This is working gdb for amd64 minus kernel stacktrace

support. It is disabled for now because it breaks user program traces.
This commit is contained in:
christos 2011-09-26 03:02:44 +00:00
parent 97417a67ca
commit 605c6d89d1
39 changed files with 19710 additions and 0 deletions

7
external/gpl3/gdb/Makefile vendored Normal file
View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
.include "Makefile.inc"
SUBDIR= lib .WAIT bin
.include <bsd.subdir.mk>

11
external/gpl3/gdb/Makefile.inc vendored Normal file
View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile.inc,v 1.1 2011/09/26 03:02:44 christos Exp $
USE_LIBEDIT=no
USE_TUI=yes
WARNS?= 0
CWARNFLAGS.clang+= -Wno-unused-value -Wno-conversion \
-Wno-switch-enum -Wno-parentheses -Wno-comment \
-Wno-tautological-compare -Wno-format-extra-args
DIST= ${NETBSDSRCDIR}/external/gpl3/gdb/dist

14
external/gpl3/gdb/bin/Makefile vendored Normal file
View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
.include "../Makefile.inc"
#SUBDIR+= sim .WAIT
SUBDIR+= gdb
.if ${USE_TUI} == yes
SUBDIR+= gdbtui
.endif
#SUBDIR+= gdbserver
.include <bsd.subdir.mk>

1
external/gpl3/gdb/bin/Makefile.inc vendored Normal file
View File

@ -0,0 +1 @@
.include "../Makefile.inc"

83
external/gpl3/gdb/bin/gdb/Makefile vendored Normal file
View File

@ -0,0 +1,83 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
.include "../Makefile.inc"
GDBARCHDIR=${.CURDIR}/../../lib/libgdb/arch/${MACHINE_ARCH}
.include "${GDBARCHDIR}/defs.mk"
PROG= gdb
SRCS= gdb.c
CPPFLAGS+= -I${.CURDIR} \
-I${GDBARCHDIR} \
-I${DIST}/gdb \
-I${DIST}/gdb/config \
-I${DIST}/include/opcode \
-I${DIST} \
-I${.CURDIR}/../../lib/libbfd/arch/${MACHINE_ARCH} \
-I${DIST}/bfd \
-I${DIST}/include \
${GCPPFLAGS:M-D*}
#TEXINFO= gdb.texinfo gdbint.texinfo stabs.texinfo
#INFOFLAGS= -I${DIST}/gdb/doc -I${DIST}/gdb/mi \
# -I${DIST}/readline/doc -I${.CURDIR}/..
.include "../../Makefile.inc"
.include <bsd.info.mk>
LIBOPCODESDIR!= cd ${.CURDIR}/../../lib/libopcodes && ${PRINTOBJDIR}
LIBBFDDIR!= cd ${.CURDIR}/../../lib/libbfd && ${PRINTOBJDIR}
LIBIBERTYDIR!= cd ${.CURDIR}/../../lib/libiberty && ${PRINTOBJDIR}
LIBGDBDIR!= cd ${.CURDIR}/../../lib/libgdb && ${PRINTOBJDIR}
LIBDECNUMBERDIR!= cd ${.CURDIR}/../../lib/libdecnumber && ${PRINTOBJDIR}
.if ${USE_LIBEDIT} == yes
LIBRL=-ledit
LIBRLDP=${LIBEDIT}
.else
LIBRLDIR!= cd ${.CURDIR}/../../lib/libreadline && ${PRINTOBJDIR}
LIBRL= -L${LIBRLDIR} -lreadline
LIBRLDP= ${LIBRLDIR}/libreadline.a
.endif
LDADD+= -L${LIBGDBDIR} -lgdb
DPADD+= ${LIBGDBDIR}/libgdb.a
# Simulator support
.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpcle || \
${MACHINE_ARCH} == powerpc64
SIMOBJ!= cd ${.CURDIR}/../sim/ppc && ${PRINTOBJDIR}
LDADD+= -L${SIMOBJ} -lsim
DPADD+= ${SIMOBJ}/libsim.a
.elif ${MACHINE_CPU} == xxmips
SIMOBJ!= cd ${.CURDIR}/../sim/mips && ${PRINTOBJDIR}
LDADD+= -L${SIMOBJ} -lsim
DPADD+= ${SIMOBJ}/libsim.a
.endif
LDADD+= -L${LIBOPCODESDIR} -lopcodes \
-L${LIBBFDDIR} -lbfd \
-L${LIBDECNUMBERDIR} -ldecnumber \
${LIBRL} \
-lterminfo \
-L${LIBIBERTYDIR} -liberty
DPADD+= ${LIBOPCODESDIR}/libopcodes.a \
${LIBBFDDIR}/libbfd.a \
${LIBDECNUMBERDIR}/libdecnumber.a \
${LIBRLDP} \
${LIBTERMINFO} \
${LIBIBERTYDIR}/libiberty.a
LDADD+= -lz -lcurses -lintl -lm -lkvm
DPADD+= ${LIBZ} ${LIBCURSES} ${LIBINTL} ${LIBM} ${LIBKVM}
.if ${SRCS:Mnbsd-thread.c} != ""
LDADD+= -lpthread_dbg
.endif
.include <bsd.prog.mk>
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \
${DIST}/gdb/signals ${DIST}/gdb/doc ${.CURDIR}/../arch/${MACHINE_ARCH}

77
external/gpl3/gdb/bin/gdbtui/Makefile vendored Normal file
View File

@ -0,0 +1,77 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
.include "../Makefile.inc"
GDBARCHDIR=${.CURDIR}/../../lib/libgdb/arch/${MACHINE_ARCH}
.include "${GDBARCHDIR}/defs.mk"
PROG= gdbtui
SRCS= tui-main.c
CPPFLAGS+= -I${.CURDIR} \
-I${GDBARCHDIR} \
-I${DIST}/gdb \
-I${DIST}/gdb/config \
-I${DIST}/include/opcode \
-I${DIST} \
-I${.CURDIR}/../../lib/libbfd/arch/${MACHINE_ARCH} \
-I${DIST}/bfd \
-I${DIST}/include \
${GCPPFLAGS:M-D*}
NOMAN= # defined
.include <bsd.prog.mk>
LIBOPCODESDIR!= cd ${.CURDIR}/../../lib/libopcodes && ${PRINTOBJDIR}
LIBBFDDIR!= cd ${.CURDIR}/../../lib/libbfd && ${PRINTOBJDIR}
LIBIBERTYDIR!= cd ${.CURDIR}/../../lib/libiberty && ${PRINTOBJDIR}
LIBGDBDIR!= cd ${.CURDIR}/../../lib/libgdb && ${PRINTOBJDIR}
LIBDECNUMBERDIR!= cd ${.CURDIR}/../../lib/libdecnumber && ${PRINTOBJDIR}
.if ${USE_LIBEDIT} == yes
LIBEDIT=-ledit
.else
LIBRLDIR!= cd ${.CURDIR}/../../lib/libreadline && ${PRINTOBJDIR}
LIBRL= -L${LIBRLDIR} -lreadline
LIBRLDP= ${LIBRLDIR}/libreadline.a
.endif
LDADD+= -L${LIBGDBDIR} -lgdb
DPADD+= ${LIBGDBDIR}/libgdb.a
# Simulator support
.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpcle || \
${MACHINE_ARCH} == powerpc64
SIMOBJ!= cd ${.CURDIR}/../sim/ppc && ${PRINTOBJDIR}
LDADD+= -L${SIMOBJ} -lsim
DPADD+= ${SIMOBJ}/libsim.a
.elif ${MACHINE_CPU} == xxmips
SIMOBJ!= cd ${.CURDIR}/../sim/mips && ${PRINTOBJDIR}
LDADD+= -L${SIMOBJ} -lsim
DPADD+= ${SIMOBJ}/libsim.a
.endif
LDADD+= -L${LIBOPCODESDIR} -lopcodes \
-L${LIBBFDDIR} -lbfd \
-L${LIBDECNUMBERDIR} -ldecnumber \
${LIBRL} \
-lterminfo \
-L${LIBIBERTYDIR} -liberty
DPADD+= ${LIBOPCODESDIR}/libopcodes.a \
${LIBBFDDIR}/libbfd.a \
${LIBRLDP} \
${LIBTERMINFO} \
${LIBIBERTYDIR}/libiberty.a
LDADD+= -lz -lcurses -lintl -lm -lkvm
DPADD+= ${LIBZ} ${LIBCURSES} ${LIBINTL} ${LIBM} ${LIBKVM}
.if ${SRCS:Mnbsd-thread.c} != ""
LDADD+= -lpthread_dbg
.endif
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \
${DIST}/gdb/signals ${DIST}/gdb/doc ${.CURDIR}/../arch/${MACHINE_ARCH}

12
external/gpl3/gdb/lib/Makefile vendored Normal file
View File

@ -0,0 +1,12 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
.include "../Makefile.inc"
#SUBDIR+= libsim .WAIT
SUBDIR= libbfd libiberty libopcodes libgdb libdecnumber
.if ${USE_LIBEDIT} == no || ${USE_TUI} == yes
SUBDIR+= libreadline
.endif
.include <bsd.subdir.mk>

1
external/gpl3/gdb/lib/Makefile.inc vendored Normal file
View File

@ -0,0 +1 @@
.include "../Makefile.inc"

59
external/gpl3/gdb/lib/libbfd/Makefile vendored Normal file
View File

@ -0,0 +1,59 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= bfd
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} -I${DIST}/include -I. \
-I${DIST}/bfd ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*} \
-DDEBUGDIR=\"${DESTDIR}/usr/libdata/debug\"
GSRCS= ${G_libbfd_la_OBJECTS:libbfd.lo=lib_bfd.lo} \
${G_libbfd_la_DEPENDENCIES:M*.lo}
SRCS= ${GSRCS:.lo=.c}
DPSRCS+= elf32-target.h elf64-target.h targmatch.h \
elf32-ia64.c elf64-ia64.c
CLEANFILES+= elf32-target.h elf64-target.h targmatch.h \
elf32-ia64.c elf64-ia64.c
.PATH: ${DIST}/bfd
.include <bsd.lib.mk>
${OBJS} ${SOBJS}: elf32-target.h elf64-target.h
targets.o targets.pico: targmatch.h Makefile
targmatch.h: config.bfd targmatch.sed
${_MKTARGET_CREATE}
${TOOL_SED} -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} >$@
elf32-target.h: elfxx-target.h
${_MKTARGET_CREATE}
${TOOL_SED} -e s/NN/32/g < $> > $@
elf64-target.h: elfxx-target.h
${_MKTARGET_CREATE}
${TOOL_SED} -e s/NN/64/g < $> > $@
elf32-ia64.c: elfxx-ia64.c
${_MKTARGET_CREATE}
${TOOL_SED} -e s/NN/32/g < $> > $@
elf64-ia64.c: elfxx-ia64.c
${_MKTARGET_CREATE}
${TOOL_SED} -e s/NN/64/g < $> > $@
#peigen.c: peXXigen.c
# ${_MKTARGET_CREATE}
# ${TOOL_SED} -e s/XX/pe/g < $> > $@
pex64igen.c: peXXigen.c
${_MKTARGET_CREATE}
${TOOL_SED} -e s/XX/pex64/g < $> > $@

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,51 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* generated for x86_64--netbsd-gcc (NetBSD nb1 20110620) 4.5.3 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
#include <sys/types.h>
#include <stdint.h>
/* glibc uses these symbols as guards to prevent redefinitions. */
#ifdef __int8_t_defined
#define _INT8_T
#define _INT16_T
#define _INT32_T
#endif
#ifdef __uint32_t_defined
#define _UINT32_T
#endif
/* Some systems have guard macros to prevent redefinitions, define them. */
#ifndef _INT8_T
#define _INT8_T
#endif
#ifndef _INT16_T
#define _INT16_T
#endif
#ifndef _INT32_T
#define _INT32_T
#endif
#ifndef _UINT8_T
#define _UINT8_T
#endif
#ifndef _UINT16_T
#define _UINT16_T
#endif
#ifndef _UINT32_T
#define _UINT32_T
#endif
/* system headers have good uint64_t and int64_t */
#ifndef _INT64_T
#define _INT64_T
#endif
#ifndef _UINT64_T
#define _UINT64_T
#endif
#endif /* GCC_GENERATED_STDINT_H */

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
#define BFD_VERSION_DATE 20110403
#define BFD_VERSION 221510000
#define BFD_VERSION_STRING "(GNU Binutils)" "2.21.51.20110403"
#define REPORT_BUGS_TO "<http://www.sourceware.org/bugzilla/>"

View File

@ -0,0 +1,356 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.in by configure. */
/* config.in. Generated from configure.in by autoheader. */
/* Name of host specific core header file to include in elf.c. */
/* #undef CORE_HEADER */
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#define ENABLE_NLS 1
/* Define to 1 if you have the <alloca.h> header file. */
/* #undef HAVE_ALLOCA_H */
/* Define to 1 if you have the declaration of `basename', and to 0 if you
don't. */
#define HAVE_DECL_BASENAME 0
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
#define HAVE_DECL_FFS 1
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
*/
#define HAVE_DECL_FREE 1
/* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't.
*/
#define HAVE_DECL_FSEEKO 1
/* Define to 1 if you have the declaration of `fseeko64', and to 0 if you
don't. */
#define HAVE_DECL_FSEEKO64 0
/* Define to 1 if you have the declaration of `ftello', and to 0 if you don't.
*/
#define HAVE_DECL_FTELLO 1
/* Define to 1 if you have the declaration of `ftello64', and to 0 if you
don't. */
#define HAVE_DECL_FTELLO64 0
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
*/
#define HAVE_DECL_GETENV 1
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
*/
#define HAVE_DECL_MALLOC 1
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
don't. */
#define HAVE_DECL_REALLOC 1
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
don't. */
#define HAVE_DECL_SNPRINTF 1
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
*/
#define HAVE_DECL_STPCPY 1
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
*/
#define HAVE_DECL_STRSTR 1
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */
#define HAVE_DECL_VSNPRINTF 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the `fcntl' function. */
#define HAVE_FCNTL 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fdopen' function. */
#define HAVE_FDOPEN 1
/* Define to 1 if you have the `fileno' function. */
#define HAVE_FILENO 1
/* Define to 1 if you have the `fopen64' function. */
/* #undef HAVE_FOPEN64 */
/* Define to 1 if you have the `fseeko' function. */
#define HAVE_FSEEKO 1
/* Define to 1 if you have the `fseeko64' function. */
/* #undef HAVE_FSEEKO64 */
/* Define to 1 if you have the `ftello' function. */
#define HAVE_FTELLO 1
/* Define to 1 if you have the `ftello64' function. */
/* #undef HAVE_FTELLO64 */
/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getuid' function. */
#define HAVE_GETUID 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define if <sys/procfs.h> has lwpstatus_t. */
/* #undef HAVE_LWPSTATUS_T */
/* Define if <sys/procfs.h> has lwpstatus_t.pr_context. */
/* #undef HAVE_LWPSTATUS_T_PR_CONTEXT */
/* Define if <sys/procfs.h> has lwpstatus_t.pr_fpreg. */
/* #undef HAVE_LWPSTATUS_T_PR_FPREG */
/* Define if <sys/procfs.h> has lwpstatus_t.pr_reg. */
/* #undef HAVE_LWPSTATUS_T_PR_REG */
/* Define if <sys/procfs.h> has lwpxstatus_t. */
/* #undef HAVE_LWPXSTATUS_T */
/* Define to 1 if you have the `madvise' function. */
#define HAVE_MADVISE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have a working `mmap' system call. */
#define HAVE_MMAP 1
/* Define to 1 if you have the `mprotect' function. */
#define HAVE_MPROTECT 1
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define if <sys/procfs.h> has prpsinfo32_t. */
/* #undef HAVE_PRPSINFO32_T */
/* Define if <sys/procfs.h> has prpsinfo_t. */
/* #undef HAVE_PRPSINFO_T */
/* Define if <sys/procfs.h> has prstatus32_t. */
/* #undef HAVE_PRSTATUS32_T */
/* Define if <sys/procfs.h> has prstatus32_t.pr_who. */
/* #undef HAVE_PRSTATUS32_T_PR_WHO */
/* Define if <sys/procfs.h> has prstatus_t. */
/* #undef HAVE_PRSTATUS_T */
/* Define if <sys/procfs.h> has prstatus_t.pr_who. */
/* #undef HAVE_PRSTATUS_T_PR_WHO */
/* Define if <sys/procfs.h> has psinfo32_t. */
/* #undef HAVE_PSINFO32_T */
/* Define if <sys/procfs.h> has psinfo_t. */
/* #undef HAVE_PSINFO_T */
/* Define if <sys/procfs.h> has pstatus32_t. */
/* #undef HAVE_PSTATUS32_T */
/* Define if <sys/procfs.h> has pstatus_t. */
/* #undef HAVE_PSTATUS_T */
/* Define if <sys/procfs.h> has pxstatus_t. */
/* #undef HAVE_PXSTATUS_T */
/* Define to 1 if you have the `setitimer' function. */
#define HAVE_SETITIMER 1
/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strtoull' function. */
#define HAVE_STRTOULL 1
/* Define if struct core_dumpx has member c_impl */
/* #undef HAVE_ST_C_IMPL */
/* Define to 1 if you have the `sysconf' function. */
#define HAVE_SYSCONF 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/procfs.h> header file. */
/* #undef HAVE_SYS_PROCFS_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if <sys/procfs.h> has win32_pstatus_t. */
/* #undef HAVE_WIN32_PSTATUS_T */
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Name of package */
#define PACKAGE "bfd"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* The size of `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
/* The size of `int', as computed by sizeof. */
/* #undef SIZEOF_INT */
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 8
/* The size of `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
/* The size of `off_t', as computed by sizeof. */
#define SIZEOF_OFF_T 8
/* The size of `short', as computed by sizeof. */
/* #undef SIZEOF_SHORT */
/* The size of `void *', as computed by sizeof. */
#define SIZEOF_VOID_P 8
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <string.h> and <strings.h>. */
#define STRING_WITH_STRINGS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Name of host specific header file to include in trad-core.c. */
/* #undef TRAD_HEADER */
/* Use b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
/* Define if we should use leading underscore on 64 bit mingw targets */
/* #undef USE_MINGW64_LEADING_UNDERSCORES */
/* Use mmap if it's available? */
/* #undef USE_MMAP */
/* Define if we should default to creating read-only plt entries */
/* #undef USE_SECUREPLT */
/* Define if we may generate symbols with ELF's STT_COMMON type */
/* #undef USE_STT_COMMON */
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
/* Version number of package */
#define VERSION "2.21.51"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */

View File

@ -0,0 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_libbfd_la_DEPENDENCIES=elf64-x86-64.lo elf-ifunc.lo elf64.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo elf32-i386.lo elf-vxworks.lo elf32.lo i386netbsd.lo aout32.lo coff-i386.lo cofflink.lo pei-i386.lo peigen.lo pei-x86_64.lo pex64igen.lo elf64-gen.lo elf32-gen.lo cpu-i386.lo cpu-l1om.lo netbsd-core.lo archive64.lo ofiles
G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo verilog.lo
G_DEFS=-DHAVE_CONFIG_H
G_INCLUDES=-DNETBSD_CORE -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include -DHAVE_bfd_elf64_x86_64_vec -DHAVE_bfd_elf32_i386_vec -DHAVE_i386netbsd_vec -DHAVE_i386coff_vec -DHAVE_i386pei_vec -DHAVE_x86_64pei_vec -DHAVE_bfd_elf64_l1om_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -I./../intl
G_TDEFAULTS=-DDEFAULT_VECTOR=bfd_elf64_x86_64_vec -DSELECT_VECS='&bfd_elf64_x86_64_vec,&bfd_elf32_i386_vec,&i386netbsd_vec,&i386coff_vec,&i386pei_vec,&x86_64pei_vec,&bfd_elf64_l1om_vec,&bfd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch,&bfd_l1om_arch'

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
/* $NetBSD: lib_bfd.c,v 1.1 2011/09/26 03:02:44 christos Exp $ */
/* ELF systems need this to avoid the "wrong" libbfd.so. */
#include "libbfd.c"

View File

@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:45 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= decnumber
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} \
-I${.CURDIR}/../libbfd/arch/${MACHINE_ARCH} \
-I${DIST}/include -I. \
-I${DIST}/libdecnumber ${GCPPFLAGS:M-D*} \
${GCPPFLAGS:M-I*:N-I.*}
SRCS= ${G_OBJS:.o=.c} ${G_SOURCES}
.PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd
.include <bsd.lib.mk>

View File

@ -0,0 +1,243 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Maintained by hand. */
/* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte
characters, even if the OS supports them. */
/* #undef NO_MULTIBYTE_SUPPORT */
/* Define if on MINIX. */
/* #undef _MINIX */
/* Define as the return type of signal handlers (int or void). */
#define RETSIGTYPE void
#define VOID_SIGHANDLER 1
/* Characteristics of the compiler. */
/* #undef const */
/* #undef size_t */
/* #undef ssize_t */
#define PROTOTYPES 1
/* #undef __CHAR_UNSIGNED__ */
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define if you have the fcntl function. */
#define HAVE_FCNTL 1
/* Define if you have the getpwent function. */
#define HAVE_GETPWENT 1
/* Define if you have the getpwnam function. */
#define HAVE_GETPWNAM 1
/* Define if you have the getpwuid function. */
#define HAVE_GETPWUID 1
/* Define if you have the isascii function. */
#define HAVE_ISASCII 1
/* Define if you have the isxdigit function. */
#define HAVE_ISXDIGIT 1
/* Define if you have the kill function. */
#define HAVE_KILL 1
/* Define if you have the lstat function. */
#define HAVE_LSTAT 1
/* Define if you have the mbrlen function. */
#define HAVE_MBRLEN 1
/* Define if you have the mbrtowc function. */
#define HAVE_MBRTOWC 1
/* Define if you have the mbsrtowcs function. */
#define HAVE_MBSRTOWCS 1
/* Define if you have the memmove function. */
#define HAVE_MEMMOVE 1
/* Define if you have the putenv function. */
#define HAVE_PUTENV 1
/* Define if you have the select function. */
#define HAVE_SELECT 1
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlocale function. */
#define HAVE_SETLOCALE 1
/* Define if you have the strcasecmp function. */
#define HAVE_STRCASECMP 1
/* Define if you have the strcoll function. */
#define HAVE_STRCOLL 1
/* #undef STRCOLL_BROKEN */
/* Define if you have the strpbrk function. */
#define HAVE_STRPBRK 1
/* Define if you have the tcgetattr function. */
#define HAVE_TCGETATTR 1
/* Define if you have the vsnprintf function. */
#define HAVE_VSNPRINTF 1
/* Define if you have the wctomb function. */
#define HAVE_WCTOMB 1
/* Define if you have the wcwidth function. */
#define HAVE_WCWIDTH 1
#define STDC_HEADERS 1
/* Define if you have the <dirent.h> header file. */
#define HAVE_DIRENT_H 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <langinfo.h> header file. */
#define HAVE_LANGINFO_H 1
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the <ndir.h> header file. */
/* #undef HAVE_NDIR_H */
/* Define if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/dir.h> header file. */
/* #undef HAVE_SYS_DIR_H */
/* Define if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define if you have the <sys/ndir.h> header file. */
/* #undef HAVE_SYS_NDIR_H */
/* Define if you have the <sys/pte.h> header file. */
/* #undef HAVE_SYS_PTE_H */
/* Define if you have the <sys/ptem.h> header file. */
/* #undef HAVE_SYS_PTEM_H */
/* Define if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define if you have the <sys/stream.h> header file. */
/* #undef HAVE_SYS_STREAM_H */
/* Define if you have the <termcap.h> header file. */
#define HAVE_TERMCAP_H 1
/* Define if you have the <termio.h> header file. */
/* #undef HAVE_TERMIO_H */
/* Define if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the <varargs.h> header file. */
/* #undef HAVE_VARARGS_H */
/* Define if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define if you have the <varargs.h> header file. */
#define HAVE_WCTYPE_H 1
#define HAVE_MBSTATE_T 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
/* Definitions pulled in from aclocal.m4. */
#define VOID_SIGHANDLER 1
/* #undef GWINSZ_IN_SYS_IOCTL */
#define STRUCT_WINSIZE_IN_SYS_IOCTL 1
/* #undef STRUCT_WINSIZE_IN_TERMIOS */
#define TIOCSTAT_IN_SYS_IOCTL 1
#define FIONREAD_IN_SYS_IOCTL 1
/* #undef SPEED_T_IN_SYS_TYPES */
#define HAVE_GETPW_DECLS 1
/* #undef STRUCT_DIRENT_HAS_D_INO */
/* #undef STRUCT_DIRENT_HAS_D_FILENO */
/* #undef HAVE_BSD_SIGNALS */
#define HAVE_POSIX_SIGNALS 1
/* #undef HAVE_USG_SIGHOLD */
/* #undef MUST_REINSTALL_SIGHANDLERS */
#define HAVE_POSIX_SIGSETJMP 1
#define CTYPE_NON_ASCII 1
/* modify settings or make new ones based on what autoconf tells us. */
/* Ultrix botches type-ahead when switching from canonical to
non-canonical mode, at least through version 4.3 */
#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
# define TERMIOS_MISSING
#endif
#if defined (STRCOLL_BROKEN)
# define HAVE_STRCOLL 1
#endif
#if defined (__STDC__) && defined (HAVE_STDARG_H)
# define PREFER_STDARG
# define USE_VARARGS
#else
# if defined (HAVE_VARARGS_H)
# define PREFER_VARARGS
# define USE_VARARGS
# endif
#endif

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_OBJS=decNumber.o decContext.o decimal32.o decimal64.o decimal128.o

View File

@ -0,0 +1,51 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* generated for x86_64--netbsd-gcc (NetBSD nb1 20110620) 4.5.3 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
#include <sys/types.h>
#include <stdint.h>
/* glibc uses these symbols as guards to prevent redefinitions. */
#ifdef __int8_t_defined
#define _INT8_T
#define _INT16_T
#define _INT32_T
#endif
#ifdef __uint32_t_defined
#define _UINT32_T
#endif
/* Some systems have guard macros to prevent redefinitions, define them. */
#ifndef _INT8_T
#define _INT8_T
#endif
#ifndef _INT16_T
#define _INT16_T
#endif
#ifndef _INT32_T
#define _INT32_T
#endif
#ifndef _UINT8_T
#define _UINT8_T
#endif
#ifndef _UINT16_T
#define _UINT16_T
#endif
#ifndef _UINT32_T
#define _UINT32_T
#endif
/* system headers have good uint64_t and int64_t */
#ifndef _INT64_T
#define _INT64_T
#endif
#ifndef _UINT64_T
#define _UINT64_T
#endif
#endif /* GCC_GENERATED_STDINT_H */

56
external/gpl3/gdb/lib/libgdb/Makefile vendored Normal file
View File

@ -0,0 +1,56 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:45 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= gdb
GDBARCHDIR= ${.CURDIR}/arch/${MACHINE_ARCH}
.include "${GDBARCHDIR}/defs.mk"
DIST= ${NETBSDSRCDIR}/gnu/dist/gdb6
SRCS= ${G_LIBGDB_OBS:.o=.c}
GCPPFLAGS= ${G_INTERNAL_CFLAGS}
CPPFLAGS+= -I${.CURDIR} \
-I${GDBARCHDIR} \
-I${DIST}/gdb \
-I${DIST}/gdb/config \
-I${DIST}/gdb/common \
-I${DIST}/include/opcode \
-I${DIST}/libdecnumber \
-I${DIST} \
-I${.CURDIR}/../libbfd/arch/${MACHINE_ARCH} \
-I${DIST}/bfd \
-I${DIST}/include \
-DTARGET_SYSTEM_ROOT=\"\" \
-DTARGET_SYSTEM_ROOT_RELOCATABLE=0 \
-DBINDIR=\"${BINDIR}\" \
${GCPPFLAGS:M-D*}
# XXX inf-ptrace.c has some bogus (PTRACE_TYPE_ARG3) casts, but in
# code that's never exercised on NetBSD.
CPPFLAGS.inf-ptrace.c= -Wno-error
.include "../../Makefile.inc"
.include <bsd.lib.mk>
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \
${DIST}/gdb/python ${DIST}/gdb/common ${DIST}/gdb/doc \
${GDBARCHDIR}
#
COPTS+= -Wno-stack-protector
# Don't run yacc/bison or lex
.y.c .y.h .l.c:
.if ${MACHINE} == "amiga"
COPTS.dwarf2-frame.c+=-O1
.endif
.if defined(HAVE_GCC) && HAVE_GCC == 4 && ${MACHINE} == "sun2"
COPTS.dwarf2-frame.c+=-O0
.endif

View File

@ -0,0 +1,986 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.in by configure. */
/* config.in. Generated from configure.ac by autoheader. */
/* Define if the compiler is building for multiple architectures of Apple
platforms at once. */
/* #undef AA_APPLE_UNIVERSAL_BUILD */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define to the number of bits in type 'ptrdiff_t'. */
#define BITSIZEOF_PTRDIFF_T 64
/* Define to the number of bits in type 'sig_atomic_t'. */
#define BITSIZEOF_SIG_ATOMIC_T 32
/* Define to the number of bits in type 'size_t'. */
#define BITSIZEOF_SIZE_T 64
/* Define to the number of bits in type 'wchar_t'. */
#define BITSIZEOF_WCHAR_T 32
/* Define to the number of bits in type 'wint_t'. */
#define BITSIZEOF_WINT_T 32
/* Define to 1 if the compiler supports long long. */
#define CC_HAS_LONG_LONG 1
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
/* #undef CRAY_STACKSEG_END */
/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */
/* look for global separate debug info in this path [LIBDIR/debug] */
#define DEBUGDIR "/usr/libdata/debug"
/* Define if the separate-debug-dir directory should be relocated when GDB is
moved. */
#define DEBUGDIR_RELOCATABLE 1
/* Define to BFD's default architecture. */
#define DEFAULT_BFD_ARCH bfd_i386_arch
/* Define to BFD's default target vector. */
#define DEFAULT_BFD_VEC bfd_elf64_x86_64_vec
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#define ENABLE_NLS 1
/* look for global separate data files in this path [DATADIR/gdb] */
#define GDB_DATADIR "/usr/share/gdb"
/* Define if the gdb-datadir directory should be relocated when GDB is moved.
*/
#define GDB_DATADIR_RELOCATABLE 1
/* Define to be a string naming the default host character set. */
#define GDB_DEFAULT_HOST_CHARSET "UTF-8"
/* Host double floatformat */
#define GDB_HOST_DOUBLE_FORMAT 0
/* Host float floatformat */
#define GDB_HOST_FLOAT_FORMAT 0
/* Host long double floatformat */
#define GDB_HOST_LONG_DOUBLE_FORMAT 0
/* nativefile */
/* #undef GDB_NM_FILE */
/* Define to the default OS ABI for this configuration. */
/* #undef GDB_OSABI_DEFAULT */
/* Define to 1 when the gnulib module memchr should be tested. */
#define GNULIB_TEST_MEMCHR 1
/* Define to 1 when the gnulib module memmem should be tested. */
#define GNULIB_TEST_MEMMEM 1
/* Define to 1 if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
/* #undef HAVE_ALLOCA_H */
/* Define to 1 if you have the <bp-sym.h> header file. */
/* #undef HAVE_BP_SYM_H */
/* Define to 1 if you have the `btowc' function. */
#define HAVE_BTOWC 1
/* Define to 1 if you have the `canonicalize_file_name' function. */
/* #undef HAVE_CANONICALIZE_FILE_NAME */
/* Define to 1 if you have the <ctype.h> header file. */
#define HAVE_CTYPE_H 1
/* Define to 1 if you have the <cursesX.h> header file. */
/* #undef HAVE_CURSESX_H */
/* Define to 1 if you have the <curses.h> header file. */
#define HAVE_CURSES_H 1
/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
you don't. */
#define HAVE_DECL_ADDR_NO_RANDOMIZE 0
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
*/
#define HAVE_DECL_FREE 1
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
*/
#define HAVE_DECL_GETOPT 1
/* Define to 1 if you have the declaration of `getthrds', and to 0 if you
don't. */
/* #undef HAVE_DECL_GETTHRDS */
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
*/
#define HAVE_DECL_MALLOC 1
/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
*/
#define HAVE_DECL_MEMMEM 1
/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't.
*/
#define HAVE_DECL_PTRACE 1
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
don't. */
#define HAVE_DECL_REALLOC 1
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
don't. */
#define HAVE_DECL_SNPRINTF 1
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
don't. */
#define HAVE_DECL_STRERROR 1
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
*/
#define HAVE_DECL_STRSTR 1
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */
#define HAVE_DECL_VSNPRINTF 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define if ELF support should be included. */
#define HAVE_ELF 1
/* Define to 1 if you have the <elf_hp.h> header file. */
/* #undef HAVE_ELF_HP_H */
/* Define to 1 if your system has the etext variable. */
#define HAVE_ETEXT 1
/* Define to 1 if you have the `fork' function. */
#define HAVE_FORK 1
/* Define if <sys/procfs.h> has fpregset_t. */
/* #undef HAVE_FPREGSET_T */
/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getrlimit' function. */
#define HAVE_GETRLIMIT 1
/* Define to 1 if you have the `getrusage' function. */
#define HAVE_GETRUSAGE 1
/* Define to 1 if you have the `getuid' function. */
#define HAVE_GETUID 1
/* Define to 1 if you have the <gnu/libc-version.h> header file. */
/* #undef HAVE_GNU_LIBC_VERSION_H */
/* Define if <sys/procfs.h> has gregset_t. */
/* #undef HAVE_GREGSET_T */
/* Define if you have the iconv() function. */
#define HAVE_ICONV 1
/* Define to 1 if you have the `iconvlist' function. */
/* #undef HAVE_ICONVLIST */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
/* Define if your <locale.h> file defines LC_MESSAGES. */
#define HAVE_LC_MESSAGES 1
/* Define to 1 if you have the `dl' library (-ldl). */
/* #undef HAVE_LIBDL */
/* Define if you have the expat library. */
/* #undef HAVE_LIBEXPAT */
/* Define to 1 if you have the `libiconvlist' function. */
/* #undef HAVE_LIBICONVLIST */
/* Define to 1 if you have the `m' library (-lm). */
#define HAVE_LIBM 1
/* Define if Python 2.4 is being used. */
/* #undef HAVE_LIBPYTHON2_4 */
/* Define if Python 2.5 is being used. */
/* #undef HAVE_LIBPYTHON2_5 */
/* Define if Python 2.6 is being used. */
/* #undef HAVE_LIBPYTHON2_6 */
/* Define if Python 2.7 is being used. */
/* #undef HAVE_LIBPYTHON2_7 */
/* Define if libunwind library is being used. */
/* #undef HAVE_LIBUNWIND */
/* Define to 1 if you have the <libunwind.h> header file. */
/* #undef HAVE_LIBUNWIND_H */
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
/* #undef HAVE_LIBUNWIND_IA64_H */
/* Define to 1 if you have the `w' library (-lw). */
/* #undef HAVE_LIBW */
/* Define to 1 if you have the <link.h> header file. */
#define HAVE_LINK_H 1
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if the compiler supports long double. */
#define HAVE_LONG_DOUBLE 1
/* Define to 1 if the system has the type `long long int'. */
#define HAVE_LONG_LONG_INT 1
/* Define if <sys/procfs.h> has lwpid_t. */
/* #undef HAVE_LWPID_T */
/* Define to 1 if you have the <machine/reg.h> header file. */
#define HAVE_MACHINE_REG_H 1
/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
config.h and <sys/mman.h>. */
#define HAVE_MAP_ANONYMOUS 1
/* Define to 1 if you have the `memchr' function. */
#define HAVE_MEMCHR 1
/* Define to 1 if you have the `memmem' function. */
#define HAVE_MEMMEM 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have a working `mmap' system call. */
#define HAVE_MMAP 1
/* Define to 1 if you have the `monstartup' function. */
#define HAVE_MONSTARTUP 1
/* Define to 1 if you have the `mprotect' function. */
#define HAVE_MPROTECT 1
/* Define to 1 if you have the <ncurses.h> header file. */
/* #undef HAVE_NCURSES_H */
/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
/* #undef HAVE_NCURSES_NCURSES_H */
/* Define to 1 if you have the <ncurses/term.h> header file. */
/* #undef HAVE_NCURSES_TERM_H */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the <nlist.h> header file. */
#define HAVE_NLIST_H 1
/* Define if you support the personality syscall. */
/* #undef HAVE_PERSONALITY */
/* Define to 1 if you have the `pipe' function. */
#define HAVE_PIPE 1
/* Define to 1 if you have the `poll' function. */
#define HAVE_POLL 1
/* Define to 1 if you have the <poll.h> header file. */
#define HAVE_POLL_H 1
/* Define to 1 if you have the `posix_madvise' function. */
#define HAVE_POSIX_MADVISE 1
/* Define to 1 if you have the `pread64' function. */
/* #undef HAVE_PREAD64 */
/* Define if <sys/procfs.h> has prfpregset32_t. */
/* #undef HAVE_PRFPREGSET32_T */
/* Define if <sys/procfs.h> has prfpregset_t. */
/* #undef HAVE_PRFPREGSET_T */
/* Define if <sys/procfs.h> has prgregset32_t. */
/* #undef HAVE_PRGREGSET32_T */
/* Define if <sys/procfs.h> has prgregset_t. */
/* #undef HAVE_PRGREGSET_T */
/* Define if ioctl argument PIOCSET is available. */
/* #undef HAVE_PROCFS_PIOCSET */
/* Define to 1 if you have the <proc_service.h> header file. */
/* #undef HAVE_PROC_SERVICE_H */
/* Define if <sys/procfs.h> has prrun_t. */
/* #undef HAVE_PRRUN_T */
/* Define if <sys/procfs.h> has prsysent_t. */
/* #undef HAVE_PRSYSENT_T */
/* Define if <sys/procfs.h> has pr_sigaction64_t. */
/* #undef HAVE_PR_SIGACTION64_T */
/* Define if <sys/procfs.h> has pr_siginfo64_t. */
/* #undef HAVE_PR_SIGINFO64_T */
/* Define if <sys/procfs.h> has pr_sigset_t. */
/* #undef HAVE_PR_SIGSET_T */
/* Define if <sys/procfs.h> has psaddr_t. */
/* #undef HAVE_PSADDR_T */
/* Define if <sys/procfs.h> has pstatus_t. */
/* #undef HAVE_PSTATUS_T */
/* Define if sys/ptrace.h defines the PTRACE_GETFPXREGS request. */
/* #undef HAVE_PTRACE_GETFPXREGS */
/* Define if sys/ptrace.h defines the PTRACE_GETREGS request. */
/* #undef HAVE_PTRACE_GETREGS */
/* Define to 1 if you have the <ptrace.h> header file. */
/* #undef HAVE_PTRACE_H */
/* Define if sys/ptrace.h defines the PT_GETDBREGS request. */
/* #undef HAVE_PT_GETDBREGS */
/* Define if sys/ptrace.h defines the PT_GETXMMREGS request. */
/* #undef HAVE_PT_GETXMMREGS */
/* Define if Python interpreter is being linked in. */
/* #undef HAVE_PYTHON */
/* Define to 1 if btowc is declared even after undefining macros. */
#define HAVE_RAW_DECL_BTOWC 1
/* Define to 1 if mbrlen is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBRLEN 1
/* Define to 1 if mbrtowc is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBRTOWC 1
/* Define to 1 if mbsinit is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBSINIT 1
/* Define to 1 if mbsnrtowcs is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MBSNRTOWCS */
/* Define to 1 if mbsrtowcs is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBSRTOWCS 1
/* Define to 1 if memmem is declared even after undefining macros. */
#define HAVE_RAW_DECL_MEMMEM 1
/* Define to 1 if mempcpy is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MEMPCPY */
/* Define to 1 if memrchr is declared even after undefining macros. */
#define HAVE_RAW_DECL_MEMRCHR 1
/* Define to 1 if rawmemchr is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_RAWMEMCHR */
/* Define to 1 if stpcpy is declared even after undefining macros. */
#define HAVE_RAW_DECL_STPCPY 1
/* Define to 1 if stpncpy is declared even after undefining macros. */
#define HAVE_RAW_DECL_STPNCPY 1
/* Define to 1 if strcasestr is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRCASESTR 1
/* Define to 1 if strchrnul is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STRCHRNUL */
/* Define to 1 if strdup is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRDUP 1
/* Define to 1 if strncat is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRNCAT 1
/* Define to 1 if strndup is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRNDUP 1
/* Define to 1 if strnlen is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRNLEN 1
/* Define to 1 if strpbrk is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRPBRK 1
/* Define to 1 if strsep is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRSEP 1
/* Define to 1 if strsignal is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRSIGNAL 1
/* Define to 1 if strtok_r is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOK_R 1
/* Define to 1 if strverscmp is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STRVERSCMP */
/* Define to 1 if wcrtomb is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCRTOMB 1
/* Define to 1 if wcsnrtombs is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_WCSNRTOMBS */
/* Define to 1 if wcsrtombs is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSRTOMBS 1
/* Define to 1 if wctob is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCTOB 1
/* Define to 1 if wcwidth is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCWIDTH 1
/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1
/* Define to 1 if you have the `resize_term' function. */
/* #undef HAVE_RESIZE_TERM */
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define to 1 if you have the `setpgid' function. */
#define HAVE_SETPGID 1
/* Define to 1 if you have the `setpgrp' function. */
#define HAVE_SETPGRP 1
/* Define to 1 if you have the `setrlimit' function. */
#define HAVE_SETRLIMIT 1
/* Define to 1 if you have the `setsid' function. */
#define HAVE_SETSID 1
/* Define to 1 if you have the <sgtty.h> header file. */
#define HAVE_SGTTY_H 1
/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
#define HAVE_SIGNED_SIG_ATOMIC_T 1
/* Define to 1 if 'wchar_t' is a signed integer type. */
#define HAVE_SIGNED_WCHAR_T 1
/* Define to 1 if 'wint_t' is a signed integer type. */
#define HAVE_SIGNED_WINT_T 1
/* Define to 1 if you have the `sigprocmask' function. */
#define HAVE_SIGPROCMASK 1
/* Define if sigsetjmp is available. */
#define HAVE_SIGSETJMP 1
/* Define to 1 if you have the `sigsetmask' function. */
#define HAVE_SIGSETMASK 1
/* Define to 1 if you have the `socketpair' function. */
#define HAVE_SOCKETPAIR 1
/* Define to 1 if the system has the type `socklen_t'. */
#define HAVE_SOCKLEN_T 1
/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if <sys/link.h> has struct link_map32 */
/* #undef HAVE_STRUCT_LINK_MAP32 */
/* Define if <link.h> exists and defines struct link_map which has members
with an ``lm_'' prefix. (For SunOS.) */
/* #undef HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS */
/* Define if <link.h> exists and defines struct link_map which has members
with an ``l_'' prefix. (For Solaris, SVR4, and SVR4-like systems.) */
#define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
/* Define to 1 if your system has struct lwp. */
#define HAVE_STRUCT_LWP 1
/* Define to 1 if your system has struct reg in <machine/reg.h>. */
#define HAVE_STRUCT_REG 1
/* Define to 1 if `struct reg' is a member of `r_fs'. */
/* #undef HAVE_STRUCT_REG_R_FS */
/* Define to 1 if `struct reg' is a member of `r_gs'. */
/* #undef HAVE_STRUCT_REG_R_GS */
/* Define if <link.h> exists and defines a struct so_map which has members
with an ``som_'' prefix. (Found on older *BSD systems.) */
/* #undef HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS */
/* Define to 1 if `struct stat' is a member of `st_blksize'. */
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
/* Define to 1 if `struct stat' is a member of `st_blocks'. */
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
/* Define to 1 if `struct thread' is a member of `td_pcb'. */
/* #undef HAVE_STRUCT_THREAD_TD_PCB */
/* Define to 1 if you have the `syscall' function. */
#define HAVE_SYSCALL 1
/* Define to 1 if you have the <sys/bitypes.h> header file. */
/* #undef HAVE_SYS_BITYPES_H */
/* Define to 1 if you have the <sys/debugreg.h> header file. */
/* #undef HAVE_SYS_DEBUGREG_H */
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/fault.h> header file. */
/* #undef HAVE_SYS_FAULT_H */
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/filio.h> header file. */
#define HAVE_SYS_FILIO_H 1
/* Define to 1 if you have the <sys/inttypes.h> header file. */
#define HAVE_SYS_INTTYPES_H 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/poll.h> header file. */
#define HAVE_SYS_POLL_H 1
/* Define to 1 if you have the <sys/procfs.h> header file. */
/* #undef HAVE_SYS_PROCFS_H */
/* Define to 1 if you have the <sys/proc.h> header file. */
#define HAVE_SYS_PROC_H 1
/* Define to 1 if you have the <sys/ptrace.h> header file. */
#define HAVE_SYS_PTRACE_H 1
/* Define to 1 if you have the <sys/reg.h> header file. */
/* #undef HAVE_SYS_REG_H */
/* Define to 1 if you have the <sys/resource.h> header file. */
#define HAVE_SYS_RESOURCE_H 1
/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/syscall.h> header file. */
#define HAVE_SYS_SYSCALL_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/user.h> header file. */
#define HAVE_SYS_USER_H 1
/* Define to 1 if you have the <sys/wait.h> header file. */
#define HAVE_SYS_WAIT_H 1
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define to 1 if you have the <termio.h> header file. */
/* #undef HAVE_TERMIO_H */
/* Define to 1 if you have the <term.h> header file. */
#define HAVE_TERM_H 1
/* Define to 1 if you have the <thread_db.h> header file. */
/* #undef HAVE_THREAD_DB_H */
/* Define if using Solaris thread debugging. */
/* #undef HAVE_THREAD_DB_LIB */
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define if you support the tkill syscall. */
/* #undef HAVE_TKILL_SYSCALL */
/* Define to 1 if you have the `ttrace' function. */
/* #undef HAVE_TTRACE */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if the system has the type `unsigned long long int'. */
#define HAVE_UNSIGNED_LONG_LONG_INT 1
/* Define to 1 if you have the `vfork' function. */
#define HAVE_VFORK 1
/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */
/* Define to 1 if you have the `waitpid' function. */
#define HAVE_WAITPID 1
/* Define to 1 if you have the <wait.h> header file. */
/* #undef HAVE_WAIT_H */
/* Define to 1 if you have the `wborder' function. */
#define HAVE_WBORDER 1
/* Define to 1 if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define if you have the 'wchar_t' type. */
#define HAVE_WCHAR_T 1
/* Define if you have the 'wint_t' type. */
#define HAVE_WINT_T 1
/* Define to 1 if `fork' works. */
#define HAVE_WORKING_FORK 1
/* Define to 1 if `vfork' works. */
#define HAVE_WORKING_VFORK 1
/* Define to 1 if you have the `wresize' function. */
#define HAVE_WRESIZE 1
/* Define to 1 if you have the `XML_StopParser' function. */
/* #undef HAVE_XML_STOPPARSER */
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
/* Define to 1 if your system has the _etext variable. */
#define HAVE__ETEXT 1
/* Define to 1 if you have the `_mcleanup' function. */
#define HAVE__MCLEANUP 1
/* Define as const if the declaration of iconv() needs const. */
#define ICONV_CONST const
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
#define MAP_ANONYMOUS MAP_ANON
/* Define if you want to use new multi-fd /proc interface (replaces
HAVE_MULTIPLE_PROC_FDS as well as other macros). */
/* #undef NEW_PROC_API */
/* Name of this package. */
#define PACKAGE "gdb"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Additional package description */
#define PKGVERSION "(GDB) "
/* Define if the prfpregset_t type is broken. */
/* #undef PRFPREGSET_T_BROKEN */
/* Define to 1 if the "%H, %D and %DD" formats work to print decfloats. */
/* #undef PRINTF_HAS_DECFLOAT */
/* Define to 1 if the "%Lg" format works to print long doubles. */
/* #undef PRINTF_HAS_LONG_DOUBLE */
/* Define to 1 if the "%ll" format works to print long longs. */
/* #undef PRINTF_HAS_LONG_LONG */
/* Define if <proc_service.h> on solaris uses int instead of size_t, and
assorted other type changes. */
/* #undef PROC_SERVICE_IS_OLD */
/* Define to the type of arg 3 for ptrace. */
#define PTRACE_TYPE_ARG3 void *
/* Define to the type of arg 5 for ptrace. */
/* #undef PTRACE_TYPE_ARG5 */
/* Define as the return type of ptrace. */
#define PTRACE_TYPE_RET int
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'ptrdiff_t'. */
#define PTRDIFF_T_SUFFIX l
/* Define if the python directory should be relocated when GDB is moved. */
/* #undef PYTHON_PATH_RELOCATABLE */
/* Relocated directory for source files. */
/* #undef RELOC_SRCDIR */
/* Bug reporting address */
#define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define to 1 if the "%Lg" format works to scan long doubles. */
/* #undef SCANF_HAS_LONG_DOUBLE */
/* Define to 1 if the `setpgrp' function takes no argument. */
/* #undef SETPGRP_VOID */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'sig_atomic_t'. */
#define SIG_ATOMIC_T_SUFFIX
/* The size of `long', as computed by sizeof. */
/* #undef SIZEOF_LONG */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'size_t'. */
#define SIZE_T_SUFFIX ul
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* automatically load a system-wide gdbinit file */
#define SYSTEM_GDBINIT ""
/* Define if the system-gdbinit directory should be relocated when GDB is
moved. */
#define SYSTEM_GDBINIT_RELOCATABLE 0
/* Define if <thread_db.h> has the TD_NOTALLOC error code. */
/* #undef THREAD_DB_HAS_TD_NOTALLOC */
/* Define if <thread_db.h> has the TD_NOTLS error code. */
/* #undef THREAD_DB_HAS_TD_NOTLS */
/* Define if <thread_db.h> has the TD_VERSION error code. */
/* #undef THREAD_DB_HAS_TD_VERSION */
/* Define to 1 if the regex included in libiberty should be used. */
#define USE_INCLUDED_REGEX 1
/* Define if we should use the Windows API, instead of the POSIX API. On
Windows, we use the Windows API when building for MinGW, but the POSIX API
when building for Cygwin. */
/* #undef USE_WIN32API */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wchar_t'. */
#define WCHAR_T_SUFFIX
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wint_t'. */
#define WINT_T_SUFFIX
/* Define if --with-python provides a path, either directly or via
python-config.py --exec-prefix. */
/* #undef WITH_PYTHON_PATH */
/* Define if the simulator is being linked in. */
/* #undef WITH_SIM */
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
<sys/proc.h> problem on IRIX 5. */
/* #undef _KMEMUSER */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on Solaris
2.[789] when using GCC. */
/* #undef _MSE_INT_H */
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */
/* Define if <sys/link.h> has link_map32 (solaris sparc-64 target) */
/* #undef _SYSCALL32 */
/* Define to 500 only on HP-UX. */
/* #undef _XOPEN_SOURCE */
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
__APPLE__ && __MACH__ test for MacOS X.
__APPLE_CC__ tests for the Apple compiler and its version.
__STDC_VERSION__ tests for the C99 mode. */
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
# define __GNUC_STDC_INLINE__ 1
#endif
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
/* readline-6.0 started to use different name. */
/* #undef readline_echoing_p */
/* Define to the equivalent of the C99 'restrict' keyword, or to
nothing if this is not supported. Do not define if restrict is
supported directly. */
#define restrict __restrict
/* Work around a bug in Sun C++: it does not support _Restrict or
__restrict__, even though the corresponding Sun C compiler ends up with
"#define restrict _Restrict" or "#define restrict __restrict__" in the
previous line. Perhaps some future version of Sun C++ will work with
restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
#if defined __SUNPRO_CC && !defined __RESTRICT
# define _Restrict
# define __restrict__
#endif
/* Define as a marker that can be attached to declarations that might not
be used. This helps to reduce warnings, such as from
GCC -Wunused-parameter. */
#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
# define _GL_UNUSED __attribute__ ((__unused__))
#else
# define _GL_UNUSED
#endif
/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
is a misnomer outside of parameter lists. */
#define _UNUSED_PARAMETER_ _GL_UNUSED
/* Define as `fork' if `vfork' does not work. */
/* #undef vfork */

View File

@ -0,0 +1,7 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
G_LIBGDB_OBS=amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o nbsd-tdep.o corelow.o solib.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o amd64-nat.o amd64bsd-nat.o nbsd-nat.o amd64nbsd-nat.o bsd-kvm.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-main.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o py-value.o py-prettyprint.o py-auto-load.o elfread.o posix-hdep.o c-exp.o cp-name-parser.o objc-exp.o ada-exp.o jv-exp.o f-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auxv.o bfd-target.o blockframe.o breakpoint.o findvar.o regcache.o charset.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o filesystem.o inf-child.o interps.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o memattr.o mem-break.o target.o parse.o language.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ui-out.o cli-out.o varobj.o vec.o wrapper.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o regset.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o gcore.o jit.o progspace.o inflow.o init.o
G_SIM_OBS=

View File

@ -0,0 +1,51 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* generated for x86_64--netbsd-gcc (NetBSD nb1 20110620) 4.5.3 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
#include <sys/types.h>
#include <stdint.h>
/* glibc uses these symbols as guards to prevent redefinitions. */
#ifdef __int8_t_defined
#define _INT8_T
#define _INT16_T
#define _INT32_T
#endif
#ifdef __uint32_t_defined
#define _UINT32_T
#endif
/* Some systems have guard macros to prevent redefinitions, define them. */
#ifndef _INT8_T
#define _INT8_T
#endif
#ifndef _INT16_T
#define _INT16_T
#endif
#ifndef _INT32_T
#define _INT32_T
#endif
#ifndef _UINT8_T
#define _UINT8_T
#endif
#ifndef _UINT16_T
#define _UINT16_T
#endif
#ifndef _UINT32_T
#define _UINT32_T
#endif
/* system headers have good uint64_t and int64_t */
#ifndef _INT64_T
#define _INT64_T
#endif
#ifndef _UINT64_T
#define _UINT64_T
#endif
#endif /* GCC_GENERATED_STDINT_H */

View File

@ -0,0 +1,254 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Do not modify this file. */
/* It is created automatically by the Makefile. */
#include "defs.h" /* For initialize_file_ftype. */
#include "call-cmds.h" /* For initialize_all_files. */
extern initialize_file_ftype _initialize_gdbtypes;
extern initialize_file_ftype _initialize_amd64_tdep;
extern initialize_file_ftype _initialize_amd64nbsd_tdep;
extern initialize_file_ftype _initialize_i386_tdep;
extern initialize_file_ftype _initialize_corelow;
extern initialize_file_ftype _initialize_solib;
extern initialize_file_ftype _initialize_svr4_solib;
extern initialize_file_ftype _initialize_ser_hardwire;
extern initialize_file_ftype _initialize_ser_pipe;
extern initialize_file_ftype _initialize_ser_tcp;
extern initialize_file_ftype _initialize_fork_child;
extern initialize_file_ftype _initialize_amd64nbsd_nat;
extern initialize_file_ftype _initialize_remote;
extern initialize_file_ftype _initialize_dcache;
extern initialize_file_ftype _initialize_tracepoint;
extern initialize_file_ftype _initialize_ax_gdb;
extern initialize_file_ftype _initialize_elfread;
extern initialize_file_ftype _initialize_ada_exp;
extern initialize_file_ftype _initialize_annotate;
extern initialize_file_ftype _initialize_addrmap;
extern initialize_file_ftype _initialize_auxv;
extern initialize_file_ftype _initialize_breakpoint;
extern initialize_file_ftype _initialize_regcache;
extern initialize_file_ftype _initialize_charset;
extern initialize_file_ftype _initialize_dummy_frame;
extern initialize_file_ftype _initialize_source;
extern initialize_file_ftype _initialize_values;
extern initialize_file_ftype _initialize_valops;
extern initialize_file_ftype _initialize_valarith;
extern initialize_file_ftype _initialize_valprint;
extern initialize_file_ftype _initialize_printcmd;
extern initialize_file_ftype _initialize_symtab;
extern initialize_file_ftype _initialize_symfile;
extern initialize_file_ftype _initialize_symmisc;
extern initialize_file_ftype _initialize_infcall;
extern initialize_file_ftype _initialize_infcmd;
extern initialize_file_ftype _initialize_infrun;
extern initialize_file_ftype _initialize_stack;
extern initialize_file_ftype _initialize_thread;
extern initialize_file_ftype _initialize_filesystem;
extern initialize_file_ftype _initialize_interpreter;
extern initialize_file_ftype _initialize_macrocmd;
extern initialize_file_ftype _initialize_macroscope;
extern initialize_file_ftype _initialize_gdbarch;
extern initialize_file_ftype _initialize_gdbarch_utils;
extern initialize_file_ftype _initialize_gdb_osabi;
extern initialize_file_ftype _initialize_copying;
extern initialize_file_ftype _initialize_mem;
extern initialize_file_ftype _initialize_parse;
extern initialize_file_ftype _initialize_language;
extern initialize_file_ftype _initialize_mem_search;
extern initialize_file_ftype _initialize_frame_reg;
extern initialize_file_ftype _initialize_signals;
extern initialize_file_ftype _initialize_exec;
extern initialize_file_ftype _initialize_reverse;
extern initialize_file_ftype _initialize_objfiles;
extern initialize_file_ftype _initialize_observer;
extern initialize_file_ftype _initialize_maint_cmds;
extern initialize_file_ftype _initialize_demangler;
extern initialize_file_ftype _initialize_dbxread;
extern initialize_file_ftype _initialize_coffread;
extern initialize_file_ftype _initialize_dwarf2_read;
extern initialize_file_ftype _initialize_mipsread;
extern initialize_file_ftype _initialize_stabsread;
extern initialize_file_ftype _initialize_core;
extern initialize_file_ftype _initialize_dwarf2_frame;
extern initialize_file_ftype _initialize_ada_language;
extern initialize_file_ftype _initialize_c_language;
extern initialize_file_ftype _initialize_d_language;
extern initialize_file_ftype _initialize_f_language;
extern initialize_file_ftype _initialize_objc_language;
extern initialize_file_ftype _initialize_objc_lang;
extern initialize_file_ftype _initialize_tasks;
extern initialize_file_ftype _initialize_ui_out;
extern initialize_file_ftype _initialize_varobj;
extern initialize_file_ftype _initialize_java_language;
extern initialize_file_ftype _initialize_m2_language;
extern initialize_file_ftype _initialize_opencl_language;
extern initialize_file_ftype _initialize_pascal_language;
extern initialize_file_ftype _initialize_pascal_valprint;
extern initialize_file_ftype _initialize_complaints;
extern initialize_file_ftype _initialize_typeprint;
extern initialize_file_ftype _initialize_cp_valprint;
extern initialize_file_ftype _initialize_f_valprint;
extern initialize_file_ftype _initialize_serial;
extern initialize_file_ftype _initialize_mdebugread;
extern initialize_file_ftype _initialize_utils;
extern initialize_file_ftype _initialize_user_regs;
extern initialize_file_ftype _initialize_frame;
extern initialize_file_ftype _initialize_frame_unwind;
extern initialize_file_ftype _initialize_doublest;
extern initialize_file_ftype _initialize_frame_base;
extern initialize_file_ftype _initialize_gnu_v2_abi;
extern initialize_file_ftype _initialize_gnu_v3_abi;
extern initialize_file_ftype _initialize_cp_abi;
extern initialize_file_ftype _initialize_cp_support;
extern initialize_file_ftype _initialize_cp_namespace;
extern initialize_file_ftype _initialize_reggroup;
extern initialize_file_ftype _initialize_solib_target;
extern initialize_file_ftype _initialize_xml_support;
extern initialize_file_ftype _initialize_target_descriptions;
extern initialize_file_ftype _initialize_osdata;
extern initialize_file_ftype _initialize_record;
extern initialize_file_ftype _initialize_gcore;
extern initialize_file_ftype _initialize_jit;
extern initialize_file_ftype _initialize_inflow;
extern initialize_file_ftype _initialize_cli_dump;
extern initialize_file_ftype _initialize_cli_logging;
extern initialize_file_ftype _initialize_cli_interp;
extern initialize_file_ftype _initialize_mi_out;
extern initialize_file_ftype _initialize_mi_cmds;
extern initialize_file_ftype _initialize_mi_cmd_env;
extern initialize_file_ftype _initialize_mi_interp;
extern initialize_file_ftype _initialize_tui_hooks;
extern initialize_file_ftype _initialize_tui_interp;
extern initialize_file_ftype _initialize_tui_layout;
extern initialize_file_ftype _initialize_tui_out;
extern initialize_file_ftype _initialize_tui_regs;
extern initialize_file_ftype _initialize_tui_stack;
extern initialize_file_ftype _initialize_tui_win;
extern initialize_file_ftype _initialize_python;
void
initialize_all_files (void)
{
_initialize_gdbtypes ();
_initialize_amd64_tdep ();
_initialize_amd64nbsd_tdep ();
_initialize_i386_tdep ();
_initialize_corelow ();
_initialize_solib ();
_initialize_svr4_solib ();
_initialize_ser_hardwire ();
_initialize_ser_pipe ();
_initialize_ser_tcp ();
_initialize_fork_child ();
_initialize_amd64nbsd_nat ();
_initialize_remote ();
_initialize_dcache ();
_initialize_tracepoint ();
_initialize_ax_gdb ();
_initialize_elfread ();
_initialize_ada_exp ();
_initialize_annotate ();
_initialize_addrmap ();
_initialize_auxv ();
_initialize_breakpoint ();
_initialize_regcache ();
_initialize_charset ();
_initialize_dummy_frame ();
_initialize_source ();
_initialize_values ();
_initialize_valops ();
_initialize_valarith ();
_initialize_valprint ();
_initialize_printcmd ();
_initialize_symtab ();
_initialize_symfile ();
_initialize_symmisc ();
_initialize_infcall ();
_initialize_infcmd ();
_initialize_infrun ();
_initialize_stack ();
_initialize_thread ();
_initialize_filesystem ();
_initialize_interpreter ();
_initialize_macrocmd ();
_initialize_macroscope ();
_initialize_gdbarch ();
_initialize_gdbarch_utils ();
_initialize_gdb_osabi ();
_initialize_copying ();
_initialize_mem ();
_initialize_parse ();
_initialize_language ();
_initialize_mem_search ();
_initialize_frame_reg ();
_initialize_signals ();
_initialize_exec ();
_initialize_reverse ();
_initialize_objfiles ();
_initialize_observer ();
_initialize_maint_cmds ();
_initialize_demangler ();
_initialize_dbxread ();
_initialize_coffread ();
_initialize_dwarf2_read ();
_initialize_mipsread ();
_initialize_stabsread ();
_initialize_core ();
_initialize_dwarf2_frame ();
_initialize_ada_language ();
_initialize_c_language ();
_initialize_d_language ();
_initialize_f_language ();
_initialize_objc_language ();
_initialize_objc_lang ();
_initialize_tasks ();
_initialize_ui_out ();
_initialize_varobj ();
_initialize_java_language ();
_initialize_m2_language ();
_initialize_opencl_language ();
_initialize_pascal_language ();
_initialize_pascal_valprint ();
_initialize_complaints ();
_initialize_typeprint ();
_initialize_cp_valprint ();
_initialize_f_valprint ();
_initialize_serial ();
_initialize_mdebugread ();
_initialize_utils ();
_initialize_user_regs ();
_initialize_frame ();
_initialize_frame_unwind ();
_initialize_doublest ();
_initialize_frame_base ();
_initialize_gnu_v2_abi ();
_initialize_gnu_v3_abi ();
_initialize_cp_abi ();
_initialize_cp_support ();
_initialize_cp_namespace ();
_initialize_reggroup ();
_initialize_solib_target ();
_initialize_xml_support ();
_initialize_target_descriptions ();
_initialize_osdata ();
_initialize_record ();
_initialize_gcore ();
_initialize_jit ();
_initialize_inflow ();
_initialize_cli_dump ();
_initialize_cli_logging ();
_initialize_cli_interp ();
_initialize_mi_out ();
_initialize_mi_cmds ();
_initialize_mi_cmd_env ();
_initialize_mi_interp ();
_initialize_tui_hooks ();
_initialize_tui_interp ();
_initialize_tui_layout ();
_initialize_tui_out ();
_initialize_tui_regs ();
_initialize_tui_stack ();
_initialize_tui_win ();
_initialize_python ();
}

View File

@ -0,0 +1,246 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* GDB Notifications to Observers.
Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--
This file was generated using observer.sh and observer.texi. */
#ifndef OBSERVER_H
#define OBSERVER_H
struct observer;
struct bpstats;
struct so_list;
struct objfile;
struct thread_info;
/* normal_stop notifications. */
typedef void (observer_normal_stop_ftype) (struct bpstats *bs, int print_frame);
extern struct observer *observer_attach_normal_stop (observer_normal_stop_ftype *f);
extern void observer_detach_normal_stop (struct observer *observer);
extern void observer_notify_normal_stop (struct bpstats *bs, int print_frame);
/* target_changed notifications. */
typedef void (observer_target_changed_ftype) (struct target_ops *target);
extern struct observer *observer_attach_target_changed (observer_target_changed_ftype *f);
extern void observer_detach_target_changed (struct observer *observer);
extern void observer_notify_target_changed (struct target_ops *target);
/* executable_changed notifications. */
typedef void (observer_executable_changed_ftype) (void);
extern struct observer *observer_attach_executable_changed (observer_executable_changed_ftype *f);
extern void observer_detach_executable_changed (struct observer *observer);
extern void observer_notify_executable_changed (void);
/* inferior_created notifications. */
typedef void (observer_inferior_created_ftype) (struct target_ops *objfile, int from_tty);
extern struct observer *observer_attach_inferior_created (observer_inferior_created_ftype *f);
extern void observer_detach_inferior_created (struct observer *observer);
extern void observer_notify_inferior_created (struct target_ops *objfile, int from_tty);
/* solib_loaded notifications. */
typedef void (observer_solib_loaded_ftype) (struct so_list *solib);
extern struct observer *observer_attach_solib_loaded (observer_solib_loaded_ftype *f);
extern void observer_detach_solib_loaded (struct observer *observer);
extern void observer_notify_solib_loaded (struct so_list *solib);
/* solib_unloaded notifications. */
typedef void (observer_solib_unloaded_ftype) (struct so_list *solib);
extern struct observer *observer_attach_solib_unloaded (observer_solib_unloaded_ftype *f);
extern void observer_detach_solib_unloaded (struct observer *observer);
extern void observer_notify_solib_unloaded (struct so_list *solib);
/* new_objfile notifications. */
typedef void (observer_new_objfile_ftype) (struct objfile *objfile);
extern struct observer *observer_attach_new_objfile (observer_new_objfile_ftype *f);
extern void observer_detach_new_objfile (struct observer *observer);
extern void observer_notify_new_objfile (struct objfile *objfile);
/* new_thread notifications. */
typedef void (observer_new_thread_ftype) (struct thread_info *t);
extern struct observer *observer_attach_new_thread (observer_new_thread_ftype *f);
extern void observer_detach_new_thread (struct observer *observer);
extern void observer_notify_new_thread (struct thread_info *t);
/* thread_exit notifications. */
typedef void (observer_thread_exit_ftype) (struct thread_info *t, int silent);
extern struct observer *observer_attach_thread_exit (observer_thread_exit_ftype *f);
extern void observer_detach_thread_exit (struct observer *observer);
extern void observer_notify_thread_exit (struct thread_info *t, int silent);
/* thread_stop_requested notifications. */
typedef void (observer_thread_stop_requested_ftype) (ptid_t ptid);
extern struct observer *observer_attach_thread_stop_requested (observer_thread_stop_requested_ftype *f);
extern void observer_detach_thread_stop_requested (struct observer *observer);
extern void observer_notify_thread_stop_requested (ptid_t ptid);
/* target_resumed notifications. */
typedef void (observer_target_resumed_ftype) (ptid_t ptid);
extern struct observer *observer_attach_target_resumed (observer_target_resumed_ftype *f);
extern void observer_detach_target_resumed (struct observer *observer);
extern void observer_notify_target_resumed (ptid_t ptid);
/* about_to_proceed notifications. */
typedef void (observer_about_to_proceed_ftype) (void);
extern struct observer *observer_attach_about_to_proceed (observer_about_to_proceed_ftype *f);
extern void observer_detach_about_to_proceed (struct observer *observer);
extern void observer_notify_about_to_proceed (void);
/* breakpoint_created notifications. */
typedef void (observer_breakpoint_created_ftype) (int bpnum);
extern struct observer *observer_attach_breakpoint_created (observer_breakpoint_created_ftype *f);
extern void observer_detach_breakpoint_created (struct observer *observer);
extern void observer_notify_breakpoint_created (int bpnum);
/* breakpoint_deleted notifications. */
typedef void (observer_breakpoint_deleted_ftype) (int bpnum);
extern struct observer *observer_attach_breakpoint_deleted (observer_breakpoint_deleted_ftype *f);
extern void observer_detach_breakpoint_deleted (struct observer *observer);
extern void observer_notify_breakpoint_deleted (int bpnum);
/* breakpoint_modified notifications. */
typedef void (observer_breakpoint_modified_ftype) (int bpnum);
extern struct observer *observer_attach_breakpoint_modified (observer_breakpoint_modified_ftype *f);
extern void observer_detach_breakpoint_modified (struct observer *observer);
extern void observer_notify_breakpoint_modified (int bpnum);
/* tracepoint_created notifications. */
typedef void (observer_tracepoint_created_ftype) (int tpnum);
extern struct observer *observer_attach_tracepoint_created (observer_tracepoint_created_ftype *f);
extern void observer_detach_tracepoint_created (struct observer *observer);
extern void observer_notify_tracepoint_created (int tpnum);
/* tracepoint_deleted notifications. */
typedef void (observer_tracepoint_deleted_ftype) (int tpnum);
extern struct observer *observer_attach_tracepoint_deleted (observer_tracepoint_deleted_ftype *f);
extern void observer_detach_tracepoint_deleted (struct observer *observer);
extern void observer_notify_tracepoint_deleted (int tpnum);
/* tracepoint_modified notifications. */
typedef void (observer_tracepoint_modified_ftype) (int tpnum);
extern struct observer *observer_attach_tracepoint_modified (observer_tracepoint_modified_ftype *f);
extern void observer_detach_tracepoint_modified (struct observer *observer);
extern void observer_notify_tracepoint_modified (int tpnum);
/* architecture_changed notifications. */
typedef void (observer_architecture_changed_ftype) (struct gdbarch *newarch);
extern struct observer *observer_attach_architecture_changed (observer_architecture_changed_ftype *f);
extern void observer_detach_architecture_changed (struct observer *observer);
extern void observer_notify_architecture_changed (struct gdbarch *newarch);
/* thread_ptid_changed notifications. */
typedef void (observer_thread_ptid_changed_ftype) (ptid_t old_ptid, ptid_t new_ptid);
extern struct observer *observer_attach_thread_ptid_changed (observer_thread_ptid_changed_ftype *f);
extern void observer_detach_thread_ptid_changed (struct observer *observer);
extern void observer_notify_thread_ptid_changed (ptid_t old_ptid, ptid_t new_ptid);
/* inferior_added notifications. */
typedef void (observer_inferior_added_ftype) (struct inferior *inf);
extern struct observer *observer_attach_inferior_added (observer_inferior_added_ftype *f);
extern void observer_detach_inferior_added (struct observer *observer);
extern void observer_notify_inferior_added (struct inferior *inf);
/* inferior_appeared notifications. */
typedef void (observer_inferior_appeared_ftype) (struct inferior *inf);
extern struct observer *observer_attach_inferior_appeared (observer_inferior_appeared_ftype *f);
extern void observer_detach_inferior_appeared (struct observer *observer);
extern void observer_notify_inferior_appeared (struct inferior *inf);
/* inferior_exit notifications. */
typedef void (observer_inferior_exit_ftype) (struct inferior *inf);
extern struct observer *observer_attach_inferior_exit (observer_inferior_exit_ftype *f);
extern void observer_detach_inferior_exit (struct observer *observer);
extern void observer_notify_inferior_exit (struct inferior *inf);
/* inferior_removed notifications. */
typedef void (observer_inferior_removed_ftype) (struct inferior *inf);
extern struct observer *observer_attach_inferior_removed (observer_inferior_removed_ftype *f);
extern void observer_detach_inferior_removed (struct observer *observer);
extern void observer_notify_inferior_removed (struct inferior *inf);
/* memory_changed notifications. */
typedef void (observer_memory_changed_ftype) (CORE_ADDR addr, int len, const bfd_byte *data);
extern struct observer *observer_attach_memory_changed (observer_memory_changed_ftype *f);
extern void observer_detach_memory_changed (struct observer *observer);
extern void observer_notify_memory_changed (CORE_ADDR addr, int len, const bfd_byte *data);
/* test_notification notifications. */
typedef void (observer_test_notification_ftype) (int somearg);
extern struct observer *observer_attach_test_notification (observer_test_notification_ftype *f);
extern void observer_detach_test_notification (struct observer *observer);
extern void observer_notify_test_notification (int somearg);
#endif /* OBSERVER_H */

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
#include "version.h"
const char version[] = "7.3.1";
const char host_name[] = "x86_64--netbsd";
const char target_name[] = "x86_64--netbsd";

View File

@ -0,0 +1,534 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
static const char xml_feature_gdb_target_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '0', '7', ',', ' ', '2', '0', '0', '8', ',',
' ', '2', '0', '0', '9', ',', ' ', '2', '0', '1',
'0', ',', ' ', '2', '0', '1', '1', ' ', 'F', 'r',
'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r',
'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i',
'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', '-', '-', ' ', 'T', 'h', 'e', ' ', 'r',
'o', 'o', 't', ' ', 'e', 'l', 'e', 'm', 'e', 'n',
't', ' ', 'o', 'f', ' ', 'a', ' ', 'G', 'D', 'B',
' ', 't', 'a', 'r', 'g', 'e', 't', ' ', 'd', 'e',
's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', ' ',
'i', 's', ' ', '<', 't', 'a', 'r', 'g', 'e', 't',
'>', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', '-', '-', ' ', 'T', 'h', 'e', ' ', 'o',
's', 'a', 'b', 'i', ' ', 'a', 'n', 'd', ' ', 'c',
'o', 'm', 'p', 'a', 't', 'i', 'b', 'l', 'e', ' ',
'e', 'l', 'e', 'm', 'e', 'n', 't', 's', ' ', 'w',
'e', 'r', 'e', ' ', 'a', 'd', 'd', 'e', 'd', ' ',
'p', 'o', 's', 't', ' ', 'G', 'D', 'B', ' ', '6',
'.', '8', '.', ' ', ' ', 'T', 'h', 'e', ' ', 'v',
'e', 'r', 's', 'i', 'o', 'n', '\n',
' ', ' ', ' ', ' ', ' ', 'w', 'a', 's', 'n', '\'',
't', ' ', 'b', 'u', 'm', 'p', 'e', 'd', ',', ' ',
's', 'i', 'n', 'c', 'e', ' ', 'o', 'l', 'd', 'e',
'r', ' ', 'G', 'D', 'B', 's', ' ', 's', 'i', 'l',
'e', 'n', 't', 'l', 'y', ' ', 'i', 'g', 'n', 'o',
'r', 'e', ' ', 'u', 'n', 'k', 'n', 'o', 'w', 'n',
' ', 'e', 'l', 'e', 'm', 'e', 'n', 't', 's', '.',
' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
't', 'a', 'r', 'g', 'e', 't', '\011', '(', 'a', 'r',
'c', 'h', 'i', 't', 'e', 'c', 't', 'u', 'r', 'e',
'?', ',', ' ', 'o', 's', 'a', 'b', 'i', '?', ',',
' ', 'c', 'o', 'm', 'p', 'a', 't', 'i', 'b', 'l',
'e', '*', ',', ' ', 'f', 'e', 'a', 't', 'u', 'r',
'e', '*', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
't', 'a', 'r', 'g', 'e', 't', '\n',
'\011', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\011', '\011',
'C', 'D', 'A', 'T', 'A', '\011', '#', 'F', 'I', 'X',
'E', 'D', ' ', '"', '1', '.', '0', '"', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'a', 'r', 'c', 'h', 'i', 't', 'e', 'c', 't', 'u',
'r', 'e', '\011', '(', '#', 'P', 'C', 'D', 'A', 'T',
'A', ')', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'o', 's', 'a', 'b', 'i', '\011', '(', '#', 'P', 'C',
'D', 'A', 'T', 'A', ')', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'c', 'o', 'm', 'p', 'a', 't', 'i', 'b', 'l', 'e',
'\011', '(', '#', 'P', 'C', 'D', 'A', 'T', 'A', ')',
'>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'f', 'e', 'a', 't', 'u', 'r', 'e', '\n',
'\011', '(', '(', 'v', 'e', 'c', 't', 'o', 'r', ' ',
'|', ' ', 'f', 'l', 'a', 'g', 's', ' ', '|', ' ',
's', 't', 'r', 'u', 'c', 't', ' ', '|', ' ', 'u',
'n', 'i', 'o', 'n', ' ', ')', '*', ',', ' ', 'r',
'e', 'g', '*', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'f', 'e', 'a', 't', 'u', 'r', 'e', '\n',
'\011', 'n', 'a', 'm', 'e', '\011', '\011', 'I', 'D', '\011',
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'r', 'e', 'g', '\011', '\011', '(', 'd', 'e', 's', 'c',
'r', 'i', 'p', 't', 'i', 'o', 'n', '*', ')', '>',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'r', 'e', 'g', '\n',
'\011', 'n', 'a', 'm', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R',
'E', 'D', '\n',
'\011', 'b', 'i', 't', 's', 'i', 'z', 'e', '\011', '\011',
'C', 'D', 'A', 'T', 'A', '\011', '#', 'R', 'E', 'Q',
'U', 'I', 'R', 'E', 'D', '\n',
'\011', 'r', 'e', 'g', 'n', 'u', 'm', '\011', '\011', 'C',
'D', 'A', 'T', 'A', '\011', '#', 'I', 'M', 'P', 'L',
'I', 'E', 'D', '\n',
'\011', 's', 'a', 'v', 'e', '-', 'r', 'e', 's', 't',
'o', 'r', 'e', '\011', '(', 'y', 'e', 's', ' ', '|',
' ', 'n', 'o', ')', ' ', '\'', 'y', 'e', 's', '\'',
'\n',
'\011', 't', 'y', 'p', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '\'', 'i', 'n', 't', '\'', '\n',
'\011', 'g', 'r', 'o', 'u', 'p', '\011', '\011', 'C', 'D',
'A', 'T', 'A', '\011', '#', 'I', 'M', 'P', 'L', 'I',
'E', 'D', '\n',
'\011', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'v', 'e', 'c', 't', 'o', 'r', '\011', 'E', 'M', 'P',
'T', 'Y', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'v', 'e', 'c', 't', 'o', 'r', '\n',
'\011', 'i', 'd', '\011', '\011', 'C', 'D', 'A', 'T', 'A',
'\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D',
'\n',
'\011', 't', 'y', 'p', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R',
'E', 'D', '\n',
'\011', 'c', 'o', 'u', 'n', 't', '\011', '\011', 'C', 'D',
'A', 'T', 'A', '\011', '#', 'R', 'E', 'Q', 'U', 'I',
'R', 'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'f', 'l', 'a', 'g', 's', '\011', '\011', '(', 'f', 'i',
'e', 'l', 'd', '+', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'f', 'l', 'a', 'g', 's', '\n',
'\011', 'i', 'd', '\011', '\011', 'C', 'D', 'A', 'T', 'A',
'\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D',
'\n',
'\011', 's', 'i', 'z', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R',
'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
's', 't', 'r', 'u', 'c', 't', '\011', '(', 'f', 'i',
'e', 'l', 'd', '+', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
's', 't', 'r', 'u', 'c', 't', '\n',
'\011', 'i', 'd', '\011', '\011', 'C', 'D', 'A', 'T', 'A',
'\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D',
'\n',
'\011', 's', 'i', 'z', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'I', 'M', 'P', 'L', 'I', 'E',
'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'u', 'n', 'i', 'o', 'n', '\011', '\011', '(', 'f', 'i',
'e', 'l', 'd', '+', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'u', 'n', 'i', 'o', 'n', '\n',
'\011', 'i', 'd', '\011', '\011', 'C', 'D', 'A', 'T', 'A',
'\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D',
'>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'f', 'i', 'e', 'l', 'd', '\011', '\011', 'E', 'M', 'P',
'T', 'Y', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'f', 'i', 'e', 'l', 'd', '\n',
'\011', 'n', 'a', 'm', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R',
'E', 'D', '\n',
'\011', 't', 'y', 'p', 'e', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'I', 'M', 'P', 'L', 'I', 'E',
'D', '\n',
'\011', 's', 't', 'a', 'r', 't', '\011', '\011', 'C', 'D',
'A', 'T', 'A', '\011', '#', 'I', 'M', 'P', 'L', 'I',
'E', 'D', '\n',
'\011', 'e', 'n', 'd', '\011', '\011', 'C', 'D', 'A', 'T',
'A', '\011', '#', 'I', 'M', 'P', 'L', 'I', 'E', 'D',
'>', '\n',
'\n',
'<', '!', 'E', 'N', 'T', 'I', 'T', 'Y', ' ', '%',
' ', 'x', 'i', 'n', 'c', 'l', 'u', 'd', 'e', ' ',
'S', 'Y', 'S', 'T', 'E', 'M', ' ', '"', 'x', 'i',
'n', 'c', 'l', 'u', 'd', 'e', '.', 'd', 't', 'd',
'"', '>', '\n',
'%', 'x', 'i', 'n', 'c', 'l', 'u', 'd', 'e', ';',
'\n',
0 };
static const char xml_feature_xinclude_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '0', '7', ',', ' ', '2', '0', '0', '8', ',',
' ', '2', '0', '0', '9', ',', ' ', '2', '0', '1',
'0', ',', ' ', '2', '0', '1', '1', ' ', 'F', 'r',
'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r',
'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i',
'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', '-', '-', ' ', 'G', 'D', 'B', ' ', 's',
'u', 'p', 'p', 'o', 'r', 't', 's', ' ', 'a', ' ',
's', 'u', 'b', 's', 'e', 't', ' ', 'o', 'f', ' ',
'X', 'I', 'n', 'c', 'l', 'u', 'd', 'e', '.', ' ',
' ', 'O', 'n', 'l', 'y', ' ', 'w', 'h', 'o', 'l',
'e', ' ', 'd', 'o', 'c', 'u', 'm', 'e', 'n', 't',
's', ' ', 'c', 'a', 'n', '\n',
' ', ' ', ' ', ' ', ' ', 'b', 'e', ' ', 'i', 'n',
'c', 'l', 'u', 'd', 'e', 'd', ',', ' ', 'a', 'n',
'd', ' ', 'o', 'n', 'l', 'y', ' ', 'a', 's', ' ',
'X', 'M', 'L', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'x', 'i', ':', 'i', 'n', 'c', 'l', 'u', 'd', 'e',
'\011', 'E', 'M', 'P', 'T', 'Y', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'x', 'i', ':', 'i', 'n', 'c', 'l', 'u', 'd', 'e',
'\n',
'\011', 'x', 'm', 'l', 'n', 's', ':', 'x', 'i', '\011',
'C', 'D', 'A', 'T', 'A', '\011', '#', 'F', 'I', 'X',
'E', 'D', ' ', '"', 'h', 't', 't', 'p', ':', '/',
'/', 'w', 'w', 'w', '.', 'w', '3', '.', 'o', 'r',
'g', '/', '2', '0', '0', '1', '/', 'X', 'I', 'n',
'c', 'l', 'u', 'd', 'e', '"', '\n',
'\011', 'h', 'r', 'e', 'f', '\011', '\011', 'C', 'D', 'A',
'T', 'A', '\011', '#', 'R', 'E', 'Q', 'U', 'I', 'R',
'E', 'D', '>', '\n',
0 };
static const char xml_feature_library_list_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '0', '7', ',', ' ', '2', '0', '0', '8', ',',
' ', '2', '0', '0', '9', ',', ' ', '2', '0', '1',
'0', ',', ' ', '2', '0', '1', '1', ' ', 'F', 'r',
'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r',
'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i',
'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', '-', '-', ' ', 'l', 'i', 'b', 'r', 'a',
'r', 'y', '-', 'l', 'i', 's', 't', ':', ' ', 'R',
'o', 'o', 't', ' ', 'e', 'l', 'e', 'm', 'e', 'n',
't', ' ', 'w', 'i', 't', 'h', ' ', 'v', 'e', 'r',
's', 'i', 'o', 'n', 'i', 'n', 'g', ' ', '-', '-',
'>', '\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', '-', 'l', 'i',
's', 't', ' ', ' ', '(', 'l', 'i', 'b', 'r', 'a',
'r', 'y', ')', '*', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', '-', 'l', 'i',
's', 't', ' ', ' ', 'v', 'e', 'r', 's', 'i', 'o',
'n', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ',
'#', 'F', 'I', 'X', 'E', 'D', ' ', ' ', '"', '1',
'.', '0', '"', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', ' ',
' ', ' ', ' ', ' ', '(', 's', 'e', 'g', 'm', 'e',
'n', 't', '*', ',', ' ', 's', 'e', 'c', 't', 'i',
'o', 'n', '*', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'n', 'a', 'm', 'e', ' ', ' ',
' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ',
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
's', 'e', 'g', 'm', 'e', 'n', 't', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'E', 'M', 'P', 'T', 'Y', '>',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
's', 'e', 'g', 'm', 'e', 'n', 't', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'a', 'd', 'd', 'r', 'e', 's',
's', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ',
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
's', 'e', 'c', 't', 'i', 'o', 'n', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'E', 'M', 'P', 'T', 'Y', '>',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
's', 'e', 'c', 't', 'i', 'o', 'n', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'a', 'd', 'd', 'r', 'e', 's',
's', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ',
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
0 };
static const char xml_feature_osdata_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '0', '8', ',', ' ', '2', '0', '0', '9', ',',
' ', '2', '0', '1', '0', ',', ' ', '2', '0', '1',
'1', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f',
't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n',
'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n',
'c', '.', '\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', '-', '-', ' ', 'o', 's', 'd', 'a', 't',
'a', ':', ' ', 'R', 'o', 'o', 't', ' ', 'e', 'l',
'e', 'm', 'e', 'n', 't', ' ', 'w', 'i', 't', 'h',
' ', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n',
'g', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'o', 's', 'd', 'a', 't', 'a', ' ', '(', 'i', 't',
'e', 'm', '*', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'o', 's', 'd', 'a', 't', 'a', ' ', 'v', 'e', 'r',
's', 'i', 'o', 'n', ' ', 'C', 'D', 'A', 'T', 'A',
' ', '#', 'F', 'I', 'X', 'E', 'D', ' ', '"', '1',
'.', '0', '"', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'o', 's', 'd', 'a', 't', 'a', ' ', 't', 'y', 'p',
'e', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#', 'R',
'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'i', 't', 'e', 'm', ' ', '(', 'c', 'o', 'l', 'u',
'm', 'n', '*', ')', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'c', 'o', 'l', 'u', 'm', 'n', ' ', '(', '#', 'P',
'C', 'D', 'A', 'T', 'A', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'c', 'o', 'l', 'u', 'm', 'n', ' ', 'n', 'a', 'm',
'e', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#', 'R',
'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n',
0 };
static const char xml_feature_threads_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '0', '8', ',', ' ', '2', '0', '0', '9', ',',
' ', '2', '0', '1', '1', ' ', 'F', 'r', 'e', 'e',
' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ',
'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n',
',', ' ', 'I', 'n', 'c', '.', '\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
't', 'h', 'r', 'e', 'a', 'd', 's', ' ', '(', 't',
'h', 'r', 'e', 'a', 'd', '*', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
't', 'h', 'r', 'e', 'a', 'd', 's', ' ', 'v', 'e',
'r', 's', 'i', 'o', 'n', ' ', 'C', 'D', 'A', 'T',
'A', ' ', '#', 'F', 'I', 'X', 'E', 'D', ' ', '"',
'1', '.', '0', '"', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
't', 'h', 'r', 'e', 'a', 'd', ' ', '(', '#', 'P',
'C', 'D', 'A', 'T', 'A', ')', '>', '\n',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
't', 'h', 'r', 'e', 'a', 'd', ' ', 'i', 'd', ' ',
'C', 'D', 'A', 'T', 'A', ' ', '#', 'R', 'E', 'Q',
'U', 'I', 'R', 'E', 'D', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
't', 'h', 'r', 'e', 'a', 'd', ' ', 'c', 'o', 'r',
'e', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#', 'I',
'M', 'P', 'L', 'I', 'E', 'D', '>', '\n',
0 };
static const char xml_feature_traceframe_info_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '1', '0', ',', ' ', '2', '0', '1', '1', ' ',
'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w',
'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a',
't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.',
'\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', '-', '-', ' ', 't', 'r', 'a', 'c', 'e',
'f', 'r', 'a', 'm', 'e', '-', 'i', 'n', 'f', 'o',
':', ' ', 'R', 'o', 'o', 't', ' ', 'e', 'l', 'e',
'm', 'e', 'n', 't', ' ', 'w', 'i', 't', 'h', ' ',
'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g',
' ', '-', '-', '>', '\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
't', 'r', 'a', 'c', 'e', 'f', 'r', 'a', 'm', 'e',
'-', 'i', 'n', 'f', 'o', ' ', ' ', '(', 'm', 'e',
'm', 'o', 'r', 'y', ')', '*', ' ', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
't', 'r', 'a', 'c', 'e', 'f', 'r', 'a', 'm', 'e',
'-', 'i', 'n', 'f', 'o', ' ', ' ', 'v', 'e', 'r',
's', 'i', 'o', 'n', ' ', 'C', 'D', 'A', 'T', 'A',
' ', ' ', ' ', '#', 'F', 'I', 'X', 'E', 'D', ' ',
' ', '"', '1', '.', '0', '"', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'm', 'e', 'm', 'o', 'r', 'y', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'E', 'M', 'P', 'T', 'Y', '>',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'm', 'e', 'm', 'o', 'r', 'y', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 's', 't', 'a', 'r', 't', ' ',
' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ',
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\n',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'l', 'e', 'n', 'g', 't', 'h',
' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ',
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
0 };
const char *const xml_builtin[][2] = {
{ "gdb-target.dtd", xml_feature_gdb_target_dtd },
{ "xinclude.dtd", xml_feature_xinclude_dtd },
{ "library-list.dtd", xml_feature_library_list_dtd },
{ "osdata.dtd", xml_feature_osdata_dtd },
{ "threads.dtd", xml_feature_threads_dtd },
{ "traceframe-info.dtd", xml_feature_traceframe_info_dtd },
{ 0, 0 }
};

View File

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:45 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= iberty
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
-I${DIST}/include
COPTS.argv.c = -Wno-stack-protector
COPTS.cp-demangle.c = -Wno-stack-protector
COPTS.make-relative-prefix.c = -Wno-stack-protector
COPTS.regex.c = -Wno-stack-protector
.PATH: ${DIST}/libiberty
.include <bsd.lib.mk>

View File

@ -0,0 +1,495 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.in by configure. */
/* config.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define to 1 if you have the <alloca.h> header file. */
/* #undef HAVE_ALLOCA_H */
/* Define to 1 if you have the `asprintf' function. */
#define HAVE_ASPRINTF 1
/* Define to 1 if you have the `atexit' function. */
#define HAVE_ATEXIT 1
/* Define to 1 if you have the `basename' function. */
#define HAVE_BASENAME 1
/* Define to 1 if you have the `bcmp' function. */
#define HAVE_BCMP 1
/* Define to 1 if you have the `bcopy' function. */
#define HAVE_BCOPY 1
/* Define to 1 if you have the `bsearch' function. */
#define HAVE_BSEARCH 1
/* Define to 1 if you have the `bzero' function. */
#define HAVE_BZERO 1
/* Define to 1 if you have the `calloc' function. */
#define HAVE_CALLOC 1
/* Define to 1 if you have the `canonicalize_file_name' function. */
/* #undef HAVE_CANONICALIZE_FILE_NAME */
/* Define to 1 if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#define HAVE_DECL_ASPRINTF 1
/* Define to 1 if you have the declaration of `basename(char *)', and to 0 if
you don't. */
#define HAVE_DECL_BASENAME 0
/* Define to 1 if you have the declaration of `calloc', and to 0 if you don't.
*/
#define HAVE_DECL_CALLOC 1
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
#define HAVE_DECL_FFS 1
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
*/
#define HAVE_DECL_GETENV 1
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
*/
#define HAVE_DECL_GETOPT 1
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
*/
#define HAVE_DECL_MALLOC 1
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
don't. */
#define HAVE_DECL_REALLOC 1
/* Define to 1 if you have the declaration of `sbrk', and to 0 if you don't.
*/
#define HAVE_DECL_SBRK 1
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
don't. */
#define HAVE_DECL_SNPRINTF 1
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
don't. */
#define HAVE_DECL_STRVERSCMP 0
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
don't. */
#define HAVE_DECL_VASPRINTF 1
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */
#define HAVE_DECL_VSNPRINTF 1
/* Define to 1 if you have the `dup3' function. */
#define HAVE_DUP3 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `ffs' function. */
#define HAVE_FFS 1
/* Define to 1 if you have the `fork' function. */
#define HAVE_FORK 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getrusage' function. */
#define HAVE_GETRUSAGE 1
/* Define to 1 if you have the `getsysinfo' function. */
/* #undef HAVE_GETSYSINFO */
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the `index' function. */
#define HAVE_INDEX 1
/* Define to 1 if you have the `insque' function. */
#define HAVE_INSQUE 1
/* Define to 1 if the system has the type `intptr_t'. */
#define HAVE_INTPTR_T 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
/* #undef HAVE_MACHINE_HAL_SYSINFO_H */
/* Define to 1 if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the `memchr' function. */
#define HAVE_MEMCHR 1
/* Define to 1 if you have the `memcmp' function. */
#define HAVE_MEMCMP 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmem' function. */
#define HAVE_MEMMEM 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the `mkstemps' function. */
/* #undef HAVE_MKSTEMPS */
/* Define to 1 if you have a working `mmap' system call. */
#define HAVE_MMAP 1
/* Define to 1 if you have the `on_exit' function. */
/* #undef HAVE_ON_EXIT */
/* Define to 1 if you have the <process.h> header file. */
/* #undef HAVE_PROCESS_H */
/* Define to 1 if you have the `psignal' function. */
#define HAVE_PSIGNAL 1
/* Define to 1 if you have the `pstat_getdynamic' function. */
/* #undef HAVE_PSTAT_GETDYNAMIC */
/* Define to 1 if you have the `pstat_getstatic' function. */
/* #undef HAVE_PSTAT_GETSTATIC */
/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1
/* Define to 1 if you have the `random' function. */
#define HAVE_RANDOM 1
/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1
/* Define to 1 if you have the `rename' function. */
#define HAVE_RENAME 1
/* Define to 1 if you have the `rindex' function. */
#define HAVE_RINDEX 1
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1
/* Define to 1 if you have the `setproctitle' function. */
#define HAVE_SETPROCTITLE 1
/* Define to 1 if you have the `sigsetmask' function. */
#define HAVE_SIGSETMASK 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the `spawnve' function. */
/* #undef HAVE_SPAWNVE */
/* Define to 1 if you have the `spawnvpe' function. */
/* #undef HAVE_SPAWNVPE */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio_ext.h> header file. */
/* #undef HAVE_STDIO_EXT_H */
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `stpcpy' function. */
#define HAVE_STPCPY 1
/* Define to 1 if you have the `stpncpy' function. */
#define HAVE_STPNCPY 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strncasecmp' function. */
#define HAVE_STRNCASECMP 1
/* Define to 1 if you have the `strndup' function. */
#define HAVE_STRNDUP 1
/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1
/* Define to 1 if you have the `strsignal' function. */
#define HAVE_STRSIGNAL 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the `strtod' function. */
#define HAVE_STRTOD 1
/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1
/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define to 1 if you have the `strverscmp' function. */
/* #undef HAVE_STRVERSCMP */
/* Define to 1 if you have the `sysconf' function. */
#define HAVE_SYSCONF 1
/* Define to 1 if you have the `sysctl' function. */
#define HAVE_SYSCTL 1
/* Define to 1 if you have the `sysmp' function. */
/* #undef HAVE_SYSMP */
/* Define if you have the sys_errlist variable. */
#define HAVE_SYS_ERRLIST 1
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1
/* Define if you have the sys_nerr variable. */
#define HAVE_SYS_NERR 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/prctl.h> header file. */
/* #undef HAVE_SYS_PRCTL_H */
/* Define to 1 if you have the <sys/pstat.h> header file. */
/* #undef HAVE_SYS_PSTAT_H */
/* Define to 1 if you have the <sys/resource.h> header file. */
#define HAVE_SYS_RESOURCE_H 1
/* Define if you have the sys_siglist variable. */
#define HAVE_SYS_SIGLIST 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/sysctl.h> header file. */
#define HAVE_SYS_SYSCTL_H 1
/* Define to 1 if you have the <sys/sysinfo.h> header file. */
/* #undef HAVE_SYS_SYSINFO_H */
/* Define to 1 if you have the <sys/sysmp.h> header file. */
/* #undef HAVE_SYS_SYSMP_H */
/* Define to 1 if you have the <sys/systemcfg.h> header file. */
/* #undef HAVE_SYS_SYSTEMCFG_H */
/* Define to 1 if you have the <sys/table.h> header file. */
/* #undef HAVE_SYS_TABLE_H */
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1
/* Define to 1 if you have the `table' function. */
/* #undef HAVE_TABLE */
/* Define to 1 if you have the `times' function. */
#define HAVE_TIMES 1
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define to 1 if you have the `tmpnam' function. */
#define HAVE_TMPNAM 1
/* Define if you have the \`uintptr_t' type. */
#define HAVE_UINTPTR_T 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the `vasprintf' function. */
#define HAVE_VASPRINTF 1
/* Define to 1 if you have the `vfork' function. */
#define HAVE_VFORK 1
/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */
/* Define to 1 if you have the `vfprintf' function. */
#define HAVE_VFPRINTF 1
/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1
/* Define to 1 if you have the `vsprintf' function. */
#define HAVE_VSPRINTF 1
/* Define to 1 if you have the `wait3' function. */
#define HAVE_WAIT3 1
/* Define to 1 if you have the `wait4' function. */
#define HAVE_WAIT4 1
/* Define to 1 if you have the `waitpid' function. */
#define HAVE_WAITPID 1
/* Define to 1 if `fork' works. */
#define HAVE_WORKING_FORK 1
/* Define to 1 if `vfork' works. */
#define HAVE_WORKING_VFORK 1
/* Define to 1 if you have the `_doprnt' function. */
/* #undef HAVE__DOPRNT */
/* Define if you have the _system_configuration variable. */
/* #undef HAVE__SYSTEM_CONFIGURATION */
/* Define to 1 if you have the `__fsetlocking' function. */
/* #undef HAVE___FSETLOCKING */
/* Define if canonicalize_file_name is not declared in system header files. */
#define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1
/* Define if errno must be declared even when <errno.h> is included. */
/* #undef NEED_DECLARATION_ERRNO */
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* Define if you know the direction of stack growth for your system; otherwise
it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows
toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#define STACK_DIRECTION 0
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Define to an unsigned 64-bit type available in the compiler. */
#define UNSIGNED_64BIT_TYPE uint64_t
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to the type of a signed integer type wide enough to hold a pointer,
if such a type exists, and if the system does not define it. */
/* #undef intptr_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type wide enough to hold a
pointer, if such a type exists, and if the system does not define it. */
/* #undef uintptr_t */
/* Define as `fork' if `vfork' does not work. */
/* #undef vfork */

View File

@ -0,0 +1,8 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_ALLOCA=
G_EXTRA_OFILES=
G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o strncmp.o
G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o sha1.o alloca.o argv.o choose-temp.o concat.o cp-demint.o crc32.o dyn-string.o fdmatch.o fibheap.o filename_cmp.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o safe-ctype.o simple-object.o simple-object-coff.o simple-object-elf.o simple-object-mach-o.o sort.o spaces.o splay-tree.o strerror.o strsignal.o unlink-if-ordinary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o

View File

@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:45 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= opcodes
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} \
-I${.CURDIR}/../libbfd/arch/${MACHINE_ARCH} \
-I${DIST}/include -I. \
-I${DIST}/bfd ${GCPPFLAGS:M-D*} \
${GCPPFLAGS:M-I*:N-I.*}
GSRCS= ${G_BFD_MACHINES}
SRCS= ${GSRCS:.lo=.c} ${G_libopcodes_la_SOURCES}
.PATH: ${DIST}/opcodes
.include <bsd.lib.mk>

View File

@ -0,0 +1,114 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.in by configure. */
/* config.in. Generated from configure.in by autoheader. */
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#define ENABLE_NLS 1
/* Define to 1 if you have the declaration of `basename', and to 0 if you
don't. */
#define HAVE_DECL_BASENAME 0
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
*/
#define HAVE_DECL_STPCPY 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Name of package */
#define PACKAGE "opcodes"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
/* Version number of package */
#define VERSION "2.21.51"
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */

View File

@ -0,0 +1,7 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_archdefs=-DARCH_i386 -DARCH_l1om
G_BFD_MACHINES=i386-dis.lo i386-opc.lo
G_libopcodes_la_SOURCES=dis-buf.c disassemble.c dis-init.c

View File

@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:46 christos Exp $
.include <bsd.own.mk>
LIBISPRIVATE= yes
LIB= readline
NOGCCERROR= yes
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
DIST= ${NETBSDSRCDIR}/gnu/dist/gdb6
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
-I${DIST}/ \
${G_CCFLAGS:M-DRL_*} \
SRCS= ${G_OBJECTS:.o=.c}
.PATH: ${DIST}/readline
.include <bsd.lib.mk>

View File

@ -0,0 +1,243 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Maintained by hand. */
/* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte
characters, even if the OS supports them. */
/* #undef NO_MULTIBYTE_SUPPORT */
/* Define if on MINIX. */
/* #undef _MINIX */
/* Define as the return type of signal handlers (int or void). */
#define RETSIGTYPE void
#define VOID_SIGHANDLER 1
/* Characteristics of the compiler. */
/* #undef const */
/* #undef size_t */
/* #undef ssize_t */
#define PROTOTYPES 1
/* #undef __CHAR_UNSIGNED__ */
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define if you have the fcntl function. */
#define HAVE_FCNTL 1
/* Define if you have the getpwent function. */
#define HAVE_GETPWENT 1
/* Define if you have the getpwnam function. */
#define HAVE_GETPWNAM 1
/* Define if you have the getpwuid function. */
#define HAVE_GETPWUID 1
/* Define if you have the isascii function. */
#define HAVE_ISASCII 1
/* Define if you have the isxdigit function. */
#define HAVE_ISXDIGIT 1
/* Define if you have the kill function. */
#define HAVE_KILL 1
/* Define if you have the lstat function. */
#define HAVE_LSTAT 1
/* Define if you have the mbrlen function. */
#define HAVE_MBRLEN 1
/* Define if you have the mbrtowc function. */
#define HAVE_MBRTOWC 1
/* Define if you have the mbsrtowcs function. */
#define HAVE_MBSRTOWCS 1
/* Define if you have the memmove function. */
#define HAVE_MEMMOVE 1
/* Define if you have the putenv function. */
#define HAVE_PUTENV 1
/* Define if you have the select function. */
#define HAVE_SELECT 1
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlocale function. */
#define HAVE_SETLOCALE 1
/* Define if you have the strcasecmp function. */
#define HAVE_STRCASECMP 1
/* Define if you have the strcoll function. */
#define HAVE_STRCOLL 1
/* #undef STRCOLL_BROKEN */
/* Define if you have the strpbrk function. */
#define HAVE_STRPBRK 1
/* Define if you have the tcgetattr function. */
#define HAVE_TCGETATTR 1
/* Define if you have the vsnprintf function. */
#define HAVE_VSNPRINTF 1
/* Define if you have the wctomb function. */
#define HAVE_WCTOMB 1
/* Define if you have the wcwidth function. */
#define HAVE_WCWIDTH 1
#define STDC_HEADERS 1
/* Define if you have the <dirent.h> header file. */
#define HAVE_DIRENT_H 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <langinfo.h> header file. */
#define HAVE_LANGINFO_H 1
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the <ndir.h> header file. */
/* #undef HAVE_NDIR_H */
/* Define if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/dir.h> header file. */
/* #undef HAVE_SYS_DIR_H */
/* Define if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define if you have the <sys/ndir.h> header file. */
/* #undef HAVE_SYS_NDIR_H */
/* Define if you have the <sys/pte.h> header file. */
/* #undef HAVE_SYS_PTE_H */
/* Define if you have the <sys/ptem.h> header file. */
/* #undef HAVE_SYS_PTEM_H */
/* Define if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define if you have the <sys/stream.h> header file. */
/* #undef HAVE_SYS_STREAM_H */
/* Define if you have the <termcap.h> header file. */
#define HAVE_TERMCAP_H 1
/* Define if you have the <termio.h> header file. */
/* #undef HAVE_TERMIO_H */
/* Define if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the <varargs.h> header file. */
/* #undef HAVE_VARARGS_H */
/* Define if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define if you have the <varargs.h> header file. */
#define HAVE_WCTYPE_H 1
#define HAVE_MBSTATE_T 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
/* Definitions pulled in from aclocal.m4. */
#define VOID_SIGHANDLER 1
/* #undef GWINSZ_IN_SYS_IOCTL */
#define STRUCT_WINSIZE_IN_SYS_IOCTL 1
/* #undef STRUCT_WINSIZE_IN_TERMIOS */
#define TIOCSTAT_IN_SYS_IOCTL 1
#define FIONREAD_IN_SYS_IOCTL 1
/* #undef SPEED_T_IN_SYS_TYPES */
#define HAVE_GETPW_DECLS 1
/* #undef STRUCT_DIRENT_HAS_D_INO */
/* #undef STRUCT_DIRENT_HAS_D_FILENO */
/* #undef HAVE_BSD_SIGNALS */
#define HAVE_POSIX_SIGNALS 1
/* #undef HAVE_USG_SIGHOLD */
/* #undef MUST_REINSTALL_SIGHANDLERS */
#define HAVE_POSIX_SIGSETJMP 1
#define CTYPE_NON_ASCII 1
/* modify settings or make new ones based on what autoconf tells us. */
/* Ultrix botches type-ahead when switching from canonical to
non-canonical mode, at least through version 4.3 */
#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
# define TERMIOS_MISSING
#endif
#if defined (STRCOLL_BROKEN)
# define HAVE_STRCOLL 1
#endif
#if defined (__STDC__) && defined (HAVE_STDARG_H)
# define PREFER_STDARG
# define USE_VARARGS
#else
# if defined (HAVE_VARARGS_H)
# define PREFER_VARARGS
# define USE_VARARGS
# endif
#endif

View File

@ -0,0 +1,6 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_CCFLAGS=-DHAVE_CONFIG_H -DCROSS_COMPILING -I. -I${GNUHOSTDIST}/readline -DRL_LIBRARY_VERSION='"5.1"' -g -O
G_OBJECTS=readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o