fix alpha

This commit is contained in:
christos 2013-10-04 23:41:59 +00:00
parent 9e391dc454
commit f84ee3a147
22 changed files with 4024 additions and 841 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* generated for alpha--netbsd-gcc (NetBSD nb2 20111202) 4.5.3 */
/* generated for alpha--netbsd-gcc (NetBSD nb1 20120916) 4.5.4 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1

View File

@ -1,8 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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 BFD_VERSION_DATE 20130312
#define BFD_VERSION 223520000
#define BFD_VERSION_STRING "(GNU Binutils)" "2.23.52.20130312"
#define REPORT_BUGS_TO "<http://www.sourceware.org/bugzilla/>"

View File

@ -1,10 +1,17 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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. */
/* Check that config.h is #included before system headers
(this works only for glibc, but that should be enough). */
#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
# error config.h must be #included before system headers
#endif
#define __CONFIG_H__ 1
/* Name of host specific core header file to include in elf.c. */
/* #undef CORE_HEADER */
@ -149,9 +156,15 @@
/* Define if <sys/procfs.h> has prpsinfo32_t. */
/* #undef HAVE_PRPSINFO32_T */
/* Define if <sys/procfs.h> has prpsinfo32_t.pr_pid. */
/* #undef HAVE_PRPSINFO32_T_PR_PID */
/* Define if <sys/procfs.h> has prpsinfo_t. */
/* #undef HAVE_PRPSINFO_T */
/* Define if <sys/procfs.h> has prpsinfo_t.pr_pid. */
/* #undef HAVE_PRPSINFO_T_PR_PID */
/* Define if <sys/procfs.h> has prstatus32_t. */
/* #undef HAVE_PRSTATUS32_T */
@ -167,9 +180,15 @@
/* Define if <sys/procfs.h> has psinfo32_t. */
/* #undef HAVE_PSINFO32_T */
/* Define if <sys/procfs.h> has psinfo32_t.pr_pid. */
/* #undef HAVE_PSINFO32_T_PR_PID */
/* Define if <sys/procfs.h> has psinfo_t. */
/* #undef HAVE_PSINFO_T */
/* Define if <sys/procfs.h> has psinfo_t.pr_pid. */
/* #undef HAVE_PSINFO_T_PR_PID */
/* Define if <sys/procfs.h> has pstatus32_t. */
/* #undef HAVE_PSTATUS32_T */
@ -238,6 +257,9 @@
/* Define if <sys/procfs.h> has win32_pstatus_t. */
/* #undef HAVE_WIN32_PSTATUS_T */
/* Define to 1 if you have the <windows.h> header file. */
/* #undef HAVE_WINDOWS_H */
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
@ -252,19 +274,19 @@
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
#define PACKAGE_NAME "bfd"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
#define PACKAGE_STRING "bfd 2.23.52"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
#define PACKAGE_TARNAME "bfd"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
#define PACKAGE_VERSION "2.23.52"
/* The size of `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
@ -337,7 +359,7 @@
/* Version number of package */
#define VERSION "2.21.51"
#define VERSION "2.23.52"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

View File

@ -1,9 +1,45 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
#ifdef BFD64
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_littleaarch64_vec)
{ "aarch64-*-elf",
&bfd_elf64_littleaarch64_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_bigaarch64_vec)
{ "aarch64_be-*-elf",
&bfd_elf64_bigaarch64_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_littleaarch64_vec)
{ "aarch64-*-linux*",
&bfd_elf64_littleaarch64_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_bigaarch64_vec)
{ "aarch64_be-*-linux*",
&bfd_elf64_bigaarch64_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_alpha_freebsd_vec)
{ "alpha*-*-freebsd*", NULL },{ "alpha*-*-kfreebsd*-gnu",
&bfd_elf64_alpha_freebsd_vec },
#endif
@ -55,6 +91,7 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_ecoffalpha_little_vec)
@ -89,6 +126,7 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_sparc_freebsd_vec)
@ -126,6 +164,26 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlearm_nacl_vec)
{ "arm-*-nacl*",
&bfd_elf32_littlearm_nacl_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_bigarm_nacl_vec)
{ "armeb-*-nacl*",
&bfd_elf32_bigarm_nacl_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_bigarm_vec)
{ "armeb-*-netbsdelf*",
@ -239,7 +297,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlearm_vec)
{ "arm-*-kaos*", NULL },{ "strongarm-*-kaos*",
{ "arm-*-kaos*",
&bfd_elf32_littlearm_vec },
#endif
@ -280,76 +338,6 @@
#if !defined (SELECT_VECS) || defined (HAVE_armcoff_little_vec)
{ "thumb-*-coff",
&armcoff_little_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlearm_vec)
{ "thumb-*-elf",
&bfd_elf32_littlearm_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_arm_epoc_pe_little_vec)
{ "thumb-epoc-pe*",
&arm_epoc_pe_little_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_armpe_little_vec)
{ "thumb-*-pe*",
&armpe_little_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlearm_vec)
{ "strongarm-*-elf",
&bfd_elf32_littlearm_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_armcoff_little_vec)
{ "strongarm-*-coff",
&armcoff_little_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlearm_vec)
{ "xscale-*-elf",
&bfd_elf32_littlearm_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_armcoff_little_vec)
{ "xscale-*-coff",
&armcoff_little_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_avr_vec)
{ "avr-*-*",
@ -405,7 +393,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_cr16_vec)
{ "cr16-*-elf*",
{ "cr16-*-elf*", NULL },{ "cr16*-*-uclinux*",
&bfd_elf32_cr16_vec },
#endif
@ -465,6 +453,14 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_epiphany_vec)
{ "epiphany-*-elf",
&bfd_elf32_epiphany_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_m68k_vec)
{ "fido-*-elf*",
@ -500,12 +496,13 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_moxie_vec)
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_bigmoxie_vec)
{ "moxie-*-elf", NULL },{ "moxie-*-rtems", NULL },{ "moxie-*-uclinux",
&bfd_elf32_moxie_vec },
{ "moxie-*-elf", NULL },{ "moxie-*-rtems*", NULL },{ "moxie-*-uclinux",
&bfd_elf32_bigmoxie_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_h8300coff_vec)
@ -732,6 +729,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_i386dynix_vec)
@ -838,6 +836,16 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_i386_nacl_vec)
{ "i[3-7]86-*-nacl*",
&bfd_elf32_i386_nacl_vec },
#endif
#ifdef BFD64
#if !defined (SELECT_VECS) || defined (HAVE_mach_o_x86_64_vec)
@ -903,9 +911,19 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_x86_64_nacl_vec)
{ "x86_64-*-nacl*",
&bfd_elf32_x86_64_nacl_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_x86_64pe_vec)
{ "x86_64-*-mingw*",
{ "x86_64-*-mingw*", NULL },{ "x86_64-*-pe", NULL },{ "x86_64-*-pep", NULL },{ "x86_64-*-cygwin",
&x86_64pe_vec },
#endif
@ -913,6 +931,14 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_x86_64_vec)
{ "x86_64-*-rdos*",
&bfd_elf64_x86_64_vec },
#endif
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_i386_vec)
@ -1118,7 +1144,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_lm32fdpic_vec)
{ "lm32-*-*linux*",
@ -1127,7 +1153,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_m32c_vec)
{ "m32c-*-elf", NULL },{ "m32c-*-rtems*",
@ -1281,7 +1307,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_m68k_vec)
{ "m68*-*-netbsdelf*",
{ "m68*-*-netbsdelf*", NULL },{ "m5407-*-netbsdelf*",
&bfd_elf32_m68k_vec },
#endif
@ -1400,12 +1426,31 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_metag_vec)
{ "metag-*-*",
&bfd_elf32_metag_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_microblazeel_vec)
{ "microblazeel*-*",
&bfd_elf32_microblazeel_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_microblaze_vec)
{ "microblaze*-*",
&bfd_elf32_microblaze_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_ecoff_big_vec)
@ -1476,7 +1521,24 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_nlittlemips_vec)
{ "mips64*-ps2-elf*",
&bfd_elf32_nlittlemips_vec },
#endif
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlemips_vec)
{ "mips*-ps2-elf*",
&bfd_elf32_littlemips_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_bigmips_vec)
{ "mips*-*-irix5*",
@ -1539,16 +1601,16 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_vec)
{ "mips*el-sde-elf*",
{ "mips*el-sde-elf*",
&bfd_elf32_tradlittlemips_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradbigmips_vec)
{ "mips*-sde-elf*",
{ "mips*-sde-elf*", NULL },{ "mips*-mti-elf*",
&bfd_elf32_tradbigmips_vec },
#endif
@ -1625,7 +1687,6 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_vec)
{ "mips*el-*-linux*",
@ -1644,7 +1705,6 @@
#ifdef BFD64
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradlittlemips_freebsd_vec)
@ -1755,6 +1815,33 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_bignios2_vec)
{ "nios2eb-*-*",
&bfd_elf32_bignios2_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlenios2_vec)
{ "nios2el-*-*",
&bfd_elf32_littlenios2_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlenios2_vec)
{ "nios2-*-*",
&bfd_elf32_littlenios2_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_openrisc_vec)
{ "openrisc-*-elf",
@ -1868,6 +1955,15 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_powerpc_freebsd_vec)
{ "powerpc64-*-freebsd*",
&bfd_elf64_powerpc_freebsd_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_powerpc_vec)
{ "powerpc64-*-elf*", NULL },{ "powerpc-*-elf64*", NULL },{ "powerpc64-*-linux*", NULL },
@ -1888,6 +1984,15 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_powerpc_freebsd_vec)
{ "powerpc-*-*freebsd*",
&bfd_elf32_powerpc_freebsd_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_powerpc_vec)
{ "powerpc-*-*bsd*", NULL },{ "powerpc-*-elf*", NULL },{ "powerpc-*-sysv4*", NULL },{ "powerpc-*-eabi*", NULL },
@ -1985,6 +2090,14 @@
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_rl78_vec)
{ "rl78-*-elf",
&bfd_elf32_rl78_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_rx_le_vec)
{ "rx-*-elf",
@ -2475,10 +2588,19 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tic6x_le_vec)
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tic6x_elf_le_vec)
{ "tic6x-*-*",
&bfd_elf32_tic6x_le_vec },
{ "tic6x-*-elf",
&bfd_elf32_tic6x_elf_le_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tic6x_linux_le_vec)
{ "tic6x-*-uclinux",
&bfd_elf32_tic6x_linux_le_vec },
#endif
@ -2493,12 +2615,40 @@
#ifdef BFD64
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_tilegx_le_vec)
{ "tilegx-*-*",
&bfd_elf64_tilegx_le_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_tilegx_be_vec)
{ "tilegxbe-*-*",
&bfd_elf64_tilegx_be_vec },
#endif
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tilepro_vec)
{ "tilepro-*-*",
&bfd_elf32_tilepro_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_v850_vec)
{ "v850*-*-*",
&bfd_elf32_v850_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_vax_vec)
@ -2561,7 +2711,16 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_xgate_vec)
{ "xgate-*-*",
&bfd_elf32_xgate_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_xstormy16_vec)
{ "xstormy16-*-elf",
@ -2585,7 +2744,7 @@
#endif
#if !defined (SELECT_VECS) || defined (HAVE_z80coff_vec)
{ "z80-*-*",

View File

@ -1,5 +1,5 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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. */
@ -9,6 +9,8 @@
characters, even if the OS supports them. */
/* #undef NO_MULTIBYTE_SUPPORT */
/* #undef _FILE_OFFSET_BITS */
/* Define if on MINIX. */
/* #undef _MINIX */
@ -18,12 +20,16 @@
#define VOID_SIGHANDLER 1
/* Characteristics of the compiler. */
/* #undef const */
/* #undef sig_atomic_t */
/* #undef size_t */
/* #undef ssize_t */
/* #undef const */
/* #undef volatile */
#define PROTOTYPES 1
/* #undef __CHAR_UNSIGNED__ */
@ -46,6 +52,15 @@
/* Define if you have the isascii function. */
#define HAVE_ISASCII 1
/* Define if you have the iswctype function. */
#define HAVE_ISWCTYPE 1
/* Define if you have the iswlower function. */
#define HAVE_ISWLOWER 1
/* Define if you have the iswupper function. */
#define HAVE_ISWUPPER 1
/* Define if you have the isxdigit function. */
#define HAVE_ISXDIGIT 1
@ -93,11 +108,23 @@
/* Define if you have the tcgetattr function. */
#define HAVE_TCGETATTR 1
/* Define if you have the towlower function. */
#define HAVE_TOWLOWER 1
/* Define if you have the towupper function. */
#define HAVE_TOWUPPER 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 wcrtomb function. */
#define HAVE_WCRTOMB 1
/* Define if you have the wcscoll function. */
#define HAVE_WCSCOLL 1
/* Define if you have the wctype function. */
#define HAVE_WCTYPE 1
/* Define if you have the wcwidth function. */
#define HAVE_WCWIDTH 1
@ -179,11 +206,20 @@
/* Define if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define if you have the <varargs.h> header file. */
/* Define if you have the <wctype.h> header file. */
#define HAVE_WCTYPE_H 1
#define HAVE_MBSTATE_T 1
/* Define if you have wchar_t in <wctype.h>. */
#define HAVE_WCHAR_T 1
/* Define if you have wctype_t in <wctype.h>. */
#define HAVE_WCTYPE_T 1
/* Define if you have wint_t in <wctype.h>. */
#define HAVE_WINT_T 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
@ -228,10 +264,6 @@
# 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

View File

@ -1,8 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* generated for alpha--netbsd-gcc (NetBSD nb2 20111202) 4.5.3 */
/* generated for alpha--netbsd-gcc (NetBSD nb1 20120916) 4.5.4 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1

View File

@ -0,0 +1,643 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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 to the number of bits in type 'ptrdiff_t'. */
/* #undef BITSIZEOF_PTRDIFF_T */
/* Define to the number of bits in type 'sig_atomic_t'. */
/* #undef BITSIZEOF_SIG_ATOMIC_T */
/* Define to the number of bits in type 'size_t'. */
/* #undef BITSIZEOF_SIZE_T */
/* Define to the number of bits in type 'wchar_t'. */
/* #undef BITSIZEOF_WCHAR_T */
/* Define to the number of bits in type 'wint_t'. */
/* #undef BITSIZEOF_WINT_T */
/* 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 */
/* Define to 1 when the gnulib module mbrtowc should be tested. */
#define GNULIB_TEST_MBRTOWC 1
/* Define to 1 when the gnulib module mbsinit should be tested. */
#define GNULIB_TEST_MBSINIT 1
/* Define to 1 when the gnulib module mbsrtowcs should be tested. */
#define GNULIB_TEST_MBSRTOWCS 1
/* 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' after including <alloca.h>, a header that
may be supplied by this distribution. */
#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 declaration of `getc_unlocked', and to 0 if you
don't. */
#define HAVE_DECL_GETC_UNLOCKED 1
/* Define to 1 if you have the declaration of `isblank', and to 0 if you
don't. */
#define HAVE_DECL_ISBLANK 1
/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
don't. */
/* #undef HAVE_DECL_MBRTOWC */
/* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
don't. */
/* #undef HAVE_DECL_MBSINIT */
/* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you
don't. */
/* #undef HAVE_DECL_MBSRTOWCS */
/* 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 `towlower', and to 0 if you
don't. */
/* #undef HAVE_DECL_TOWLOWER */
/* Define to 1 if you have the <features.h> header file. */
/* #undef HAVE_FEATURES_H */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the 'isblank' function. */
#define HAVE_ISBLANK 1
/* Define to 1 if you have the 'iswcntrl' function. */
#define HAVE_ISWCNTRL 1
/* Define to 1 if you have the 'iswctype' function. */
#define HAVE_ISWCTYPE 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
/* Define to 1 if the system has the type 'long long int'. */
#define HAVE_LONG_LONG_INT 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 'mbrtowc' function. */
#define HAVE_MBRTOWC 1
/* Define to 1 if you have the 'mbsinit' function. */
#define HAVE_MBSINIT 1
/* Define to 1 if you have the 'mbsrtowcs' function. */
#define HAVE_MBSRTOWCS 1
/* Define to 1 if <wchar.h> declares mbstate_t. */
#define HAVE_MBSTATE_T 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 the 'mempcpy' function. */
/* #undef HAVE_MEMPCPY */
/* Define to 1 if you have the 'mprotect' function. */
#define HAVE_MPROTECT 1
/* Define to 1 if btowc is declared even after undefining macros. */
#define HAVE_RAW_DECL_BTOWC 1
/* Define to 1 if ffsl is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_FFSL */
/* Define to 1 if ffsll is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_FFSLL */
/* Define to 1 if imaxabs is declared even after undefining macros. */
#define HAVE_RAW_DECL_IMAXABS 1
/* Define to 1 if imaxdiv is declared even after undefining macros. */
#define HAVE_RAW_DECL_IMAXDIV 1
/* Define to 1 if iswctype is declared even after undefining macros. */
#define HAVE_RAW_DECL_ISWCTYPE 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. */
#define HAVE_RAW_DECL_MBSNRTOWCS 1
/* 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 strerror_r is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRERROR_R 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 strtoimax is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOIMAX 1
/* Define to 1 if strtok_r is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOK_R 1
/* Define to 1 if strtoumax is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOUMAX 1
/* Define to 1 if strverscmp is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STRVERSCMP */
/* Define to 1 if towctrans is declared even after undefining macros. */
#define HAVE_RAW_DECL_TOWCTRANS 1
/* Define to 1 if wcpcpy is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_WCPCPY */
/* Define to 1 if wcpncpy is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_WCPNCPY */
/* Define to 1 if wcrtomb is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCRTOMB 1
/* Define to 1 if wcscasecmp is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCASECMP 1
/* Define to 1 if wcscat is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCAT 1
/* Define to 1 if wcschr is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCHR 1
/* Define to 1 if wcscmp is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCMP 1
/* Define to 1 if wcscoll is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCOLL 1
/* Define to 1 if wcscpy is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCPY 1
/* Define to 1 if wcscspn is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSCSPN 1
/* Define to 1 if wcsdup is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSDUP 1
/* Define to 1 if wcslen is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSLEN 1
/* Define to 1 if wcsncasecmp is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSNCASECMP 1
/* Define to 1 if wcsncat is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSNCAT 1
/* Define to 1 if wcsncmp is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSNCMP 1
/* Define to 1 if wcsncpy is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSNCPY 1
/* Define to 1 if wcsnlen is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_WCSNLEN */
/* Define to 1 if wcsnrtombs is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSNRTOMBS 1
/* Define to 1 if wcspbrk is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSPBRK 1
/* Define to 1 if wcsrchr is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSRCHR 1
/* Define to 1 if wcsrtombs is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSRTOMBS 1
/* Define to 1 if wcsspn is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSSPN 1
/* Define to 1 if wcsstr is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSSTR 1
/* Define to 1 if wcstok is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSTOK 1
/* Define to 1 if wcswidth is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSWIDTH 1
/* Define to 1 if wcsxfrm is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSXFRM 1
/* Define to 1 if wctob is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCTOB 1
/* Define to 1 if wctrans is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCTRANS 1
/* Define to 1 if wctype is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCTYPE 1
/* Define to 1 if wcwidth is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCWIDTH 1
/* Define to 1 if wmemchr is declared even after undefining macros. */
#define HAVE_RAW_DECL_WMEMCHR 1
/* Define to 1 if wmemcmp is declared even after undefining macros. */
#define HAVE_RAW_DECL_WMEMCMP 1
/* Define to 1 if wmemcpy is declared even after undefining macros. */
#define HAVE_RAW_DECL_WMEMCPY 1
/* Define to 1 if wmemmove is declared even after undefining macros. */
#define HAVE_RAW_DECL_WMEMMOVE 1
/* Define to 1 if wmemset is declared even after undefining macros. */
#define HAVE_RAW_DECL_WMEMSET 1
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
/* #undef HAVE_SIGNED_SIG_ATOMIC_T */
/* Define to 1 if 'wchar_t' is a signed integer type. */
/* #undef HAVE_SIGNED_WCHAR_T */
/* Define to 1 if 'wint_t' is a signed integer type. */
/* #undef HAVE_SIGNED_WINT_T */
/* 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 'symlink' function. */
#define HAVE_SYMLINK 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/inttypes.h> header file. */
/* #undef HAVE_SYS_INTTYPES_H */
/* 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/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 `towlower' function. */
#define HAVE_TOWLOWER 1
/* 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 <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define if you have the 'wchar_t' type. */
#define HAVE_WCHAR_T 1
/* Define to 1 if you have the <wctype.h> header file. */
#define HAVE_WCTYPE_H 1
/* Define if you have the 'wint_t' type. */
#define HAVE_WINT_T 1
/* Define to 1 if you have the 'wmemchr' function. */
#define HAVE_WMEMCHR 1
/* Define to 1 if you have the 'wmemcpy' function. */
#define HAVE_WMEMCPY 1
/* Define to 1 if you have the 'wmempcpy' function. */
/* #undef HAVE_WMEMPCPY */
/* Define to 1 if O_NOATIME works. */
#define HAVE_WORKING_O_NOATIME 0
/* Define to 1 if O_NOFOLLOW works. */
#define HAVE_WORKING_O_NOFOLLOW 0
/* Define to 1 if the system has the type `_Bool'. */
#define HAVE__BOOL 1
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
#define MAP_ANONYMOUS MAP_ANON
/* Define if the mbrtowc function has the NULL pwc argument bug. */
/* #undef MBRTOWC_NULL_ARG1_BUG */
/* Define if the mbrtowc function has the NULL string argument bug. */
/* #undef MBRTOWC_NULL_ARG2_BUG */
/* Define if the mbrtowc function does not return 0 for a NUL character. */
/* #undef MBRTOWC_NUL_RETVAL_BUG */
/* Define if the mbrtowc function returns a wrong return value. */
/* #undef MBRTOWC_RETVAL_BUG */
/* 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 if <inttypes.h> exists and defines unusable PRI* macros. */
/* #undef PRI_MACROS_BROKEN */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'ptrdiff_t'. */
/* #undef PTRDIFF_T_SUFFIX */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'sig_atomic_t'. */
/* #undef SIG_ATOMIC_T_SUFFIX */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'size_t'. */
/* #undef SIZE_T_SUFFIX */
/* 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 you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wchar_t'. */
/* #undef WCHAR_T_SUFFIX */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wint_t'. */
/* #undef WINT_T_SUFFIX */
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* The _Noreturn keyword of C11. */
#if ! (defined _Noreturn \
|| (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
|| 0x5110 <= __SUNPRO_C)
# define _Noreturn __attribute__ ((__noreturn__))
# elif defined _MSC_VER && 1200 <= _MSC_VER
# define _Noreturn __declspec (noreturn)
# else
# define _Noreturn
# endif
#endif
/* 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 to 500 only on HP-UX. */
/* #undef _XOPEN_SOURCE */
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable general extensions on Mac OS X. */
#ifndef _DARWIN_C_SOURCE
# define _DARWIN_C_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
/* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'.
_GL_EXTERN_INLINE is a portable alternative to 'extern inline'.
_GL_INLINE_HEADER_BEGIN contains useful stuff to put
in an include file, before uses of _GL_INLINE.
It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic,
when FOO is an inline function in the header; see
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.
_GL_INLINE_HEADER_END contains useful stuff to put
in the same include file, after uses of _GL_INLINE.
Suppress the use of extern inline on Apple's platforms,
as Libc-825.25 (2012-09-19) is incompatible with it; see
<http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
Perhaps Apple will fix this some day. */
#if ((__GNUC__ \
? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
: 199901L <= __STDC_VERSION__) \
&& !defined __APPLE__)
# define _GL_INLINE inline
# define _GL_EXTERN_INLINE extern inline
#elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__
# if __GNUC_GNU_INLINE__
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
# else
# define _GL_INLINE extern inline
# endif
# define _GL_EXTERN_INLINE extern
#else
# define _GL_INLINE static _GL_UNUSED
# define _GL_EXTERN_INLINE static _GL_UNUSED
#endif
#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
# define _GL_INLINE_HEADER_CONST_PRAGMA
# else
# define _GL_INLINE_HEADER_CONST_PRAGMA \
_Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
# endif
# define _GL_INLINE_HEADER_BEGIN \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
_Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
_GL_INLINE_HEADER_CONST_PRAGMA
# define _GL_INLINE_HEADER_END \
_Pragma ("GCC diagnostic pop")
#else
# define _GL_INLINE_HEADER_BEGIN
# define _GL_INLINE_HEADER_END
#endif
/* Define to a replacement function name for fnmatch(). */
#define fnmatch gnu_fnmatch
/* 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 Mac OS 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 a type if <wchar.h> does not define. */
/* #undef mbstate_t */
/* 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
/* The __pure__ attribute was added in gcc 2.96. */
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
#else
# define _GL_ATTRIBUTE_PURE /* empty */
#endif
/* The __const__ attribute was added in gcc 2.95. */
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
#else
# define _GL_ATTRIBUTE_CONST /* empty */
#endif

View File

@ -1,34 +1,21 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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'. */
/* #undef BITSIZEOF_PTRDIFF_T */
/* Directories from which to load auto-loaded scripts. */
#define AUTO_LOAD_DIR ":${prefix}/share/auto-load"
/* Define to the number of bits in type 'sig_atomic_t'. */
/* #undef BITSIZEOF_SIG_ATOMIC_T */
/* Directories safe to hold auto-loaded files. */
#define AUTO_LOAD_SAFE_PATH ":${prefix}/share/auto-load"
/* Define to the number of bits in type 'size_t'. */
/* #undef BITSIZEOF_SIZE_T */
/* Define to the number of bits in type 'wchar_t'. */
/* #undef BITSIZEOF_WCHAR_T */
/* Define to the number of bits in type 'wint_t'. */
/* #undef BITSIZEOF_WINT_T */
/* Define to 1 if the compiler supports long long. */
#define CC_HAS_LONG_LONG 1
/* Directory of programs. */
#define BINDIR "/usr/bin"
/* 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.
@ -80,12 +67,6 @@
/* 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
@ -93,18 +74,12 @@
*/
/* #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 */
@ -131,10 +106,6 @@
*/
#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
@ -163,6 +134,9 @@
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define if ELF support should be included. */
#define HAVE_ELF 1
@ -193,9 +167,6 @@
/* 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 */
@ -223,9 +194,15 @@
/* Define to 1 if you have the `libiconvlist' function. */
/* #undef HAVE_LIBICONVLIST */
/* Define if you have the lzma library. */
/* #undef HAVE_LIBLZMA */
/* Define to 1 if you have the `m' library (-lm). */
#define HAVE_LIBM 1
/* Define to 1 if you have the `mcheck' library (-lmcheck). */
/* #undef HAVE_LIBMCHECK */
/* Define if Python 2.4 is being used. */
/* #undef HAVE_LIBPYTHON2_4 */
@ -238,12 +215,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 */
@ -253,14 +224,17 @@
/* Define to 1 if you have the <link.h> header file. */
#define HAVE_LINK_H 1
/* Define to 1 if you have the <linux/perf_event.h> header file. */
/* #undef HAVE_LINUX_PERF_EVENT_H */
/* 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 to 1 if you have the `lstat' function. */
#define HAVE_LSTAT 1
/* Define if <sys/procfs.h> has lwpid_t. */
/* #undef HAVE_LWPID_T */
@ -268,16 +242,6 @@
/* 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
@ -287,9 +251,6 @@
/* 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 */
@ -320,6 +281,9 @@
/* Define to 1 if you have the `posix_madvise' function. */
#define HAVE_POSIX_MADVISE 1
/* Define to 1 if you have the `pread' function. */
#define HAVE_PREAD 1
/* Define to 1 if you have the `pread64' function. */
/* #undef HAVE_PREAD64 */
@ -377,92 +341,14 @@
/* Define if sys/ptrace.h defines the PT_GETXMMREGS request. */
/* #undef HAVE_PT_GETXMMREGS */
/* Define to 1 if you have the `pwrite' function. */
#define HAVE_PWRITE 1
/* 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 `readlink' function. */
#define HAVE_READLINK 1
/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1
@ -497,15 +383,6 @@
/* 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. */
/* #undef HAVE_SIGNED_SIG_ATOMIC_T */
/* Define to 1 if 'wchar_t' is a signed integer type. */
/* #undef HAVE_SIGNED_WCHAR_T */
/* Define to 1 if 'wint_t' is a signed integer type. */
/* #undef HAVE_SIGNED_WINT_T */
/* Define to 1 if you have the `sigprocmask' function. */
#define HAVE_SIGPROCMASK 1
@ -572,12 +449,15 @@
/* Define to 1 if `struct thread' is a member of `td_pcb'. */
/* #undef HAVE_STRUCT_THREAD_TD_PCB */
/* Define to 1 if `struct user_regs_struct' is a member of `fs_base'. */
/* #undef HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE */
/* Define to 1 if `struct user_regs_struct' is a member of `gs_base'. */
/* #undef HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE */
/* 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 */
@ -594,15 +474,9 @@
/* 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. */
/* #undef HAVE_SYS_INTTYPES_H */
/* 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 */
@ -631,6 +505,9 @@
/* 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/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
@ -640,6 +517,9 @@
/* 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/un.h> header file. */
#define HAVE_SYS_UN_H 1
/* Define to 1 if you have the <sys/user.h> header file. */
#define HAVE_SYS_USER_H 1
@ -661,9 +541,6 @@
/* 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 */
@ -673,9 +550,6 @@
/* 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
@ -691,15 +565,6 @@
/* 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
@ -721,11 +586,21 @@
/* Define to 1 if you have the `_mcleanup' function. */
#define HAVE__MCLEANUP 1
/* Path of directory of iconv program. */
/* #undef ICONV_BIN */
/* Define if the iconv directory should be relocated when GDB is moved. */
/* #undef ICONV_BIN_RELOCATABLE */
/* 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
/* directory to load the JIT readers from */
#define JIT_READER_DIR "/usr/lib/gdb"
/* Define if the jit-reader-dir directory should be relocated when GDB is
moved. */
#define JIT_READER_DIR_RELOCATABLE 1
/* Define if you want to use new multi-fd /proc interface (replaces
HAVE_MULTIPLE_PROC_FDS as well as other macros). */
@ -780,10 +655,6 @@
/* 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'. */
/* #undef PTRDIFF_T_SUFFIX */
/* Define if the python directory should be relocated when GDB is moved. */
/* #undef PYTHON_PATH_RELOCATABLE */
@ -802,16 +673,17 @@
/* 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'. */
/* #undef 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'. */
/* #undef SIZE_T_SUFFIX */
/* The size of `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 8
/* The size of `unsigned long long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG_LONG 8
/* The size of `unsigned __int128', as computed by sizeof. */
#define SIZEOF_UNSIGNED___INT128 0
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
@ -821,9 +693,6 @@
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
@ -834,6 +703,12 @@
moved. */
#define SYSTEM_GDBINIT_RELOCATABLE 0
/* search for usr/lib et al within DIR */
#define TARGET_SYSTEM_ROOT ""
/* Define if the sysroot directory should be relocated when GDB is moved. */
#define TARGET_SYSTEM_ROOT_RELOCATABLE 0
/* Define if <thread_db.h> has the TD_NOTALLOC error code. */
/* #undef THREAD_DB_HAS_TD_NOTALLOC */
@ -846,19 +721,33 @@
/* Define to 1 if the regex included in libiberty should be used. */
#define USE_INCLUDED_REGEX 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
/* 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'. */
/* #undef WCHAR_T_SUFFIX */
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wint_t'. */
/* #undef WINT_T_SUFFIX */
/* Define if --with-python provides a path, either directly or via
python-config.py --exec-prefix. */
/* #undef WITH_PYTHON_PATH */
@ -905,31 +794,6 @@
/* 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 */
@ -939,48 +803,8 @@
/* #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

@ -1,7 +1,7 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp
# Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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=alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o alphanbsd-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 alphabsd-nat.o bsd-kvm.o nbsd-nat.o nbsd-thread.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_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/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body
G_LIBGDB_OBS=alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o alphabsd-nat.o bsd-kvm.o nbsd-nat.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.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-catch.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-cmd-info.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-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.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 stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.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 minidebug.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 gdb_bfd.o gdb_obstack.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 dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.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 xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o inflow.o init.o
G_SIM_OBS=

View File

@ -1,16 +1,14 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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 void initialize_all_files(void);
extern initialize_file_ftype _initialize_gdbtypes;
extern initialize_file_ftype _initialize_alpha_tdep;
extern initialize_file_ftype _initialize_alphanbsd_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;
@ -22,14 +20,19 @@ 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_notif;
extern initialize_file_ftype _initialize_elfread;
extern initialize_file_ftype _initialize_ada_exp;
extern initialize_file_ftype _initialize_stap_probe;
extern initialize_file_ftype _initialize_annotate;
extern initialize_file_ftype _initialize_addrmap;
extern initialize_file_ftype _initialize_auto_load;
extern initialize_file_ftype _initialize_auxv;
extern initialize_file_ftype _initialize_agent;
extern initialize_file_ftype _initialize_breakpoint;
extern initialize_file_ftype _initialize_break_catch_sig;
extern initialize_file_ftype _initialize_regcache;
extern initialize_file_ftype _initialize_charset;
extern initialize_file_ftype _initialize_corelow;
extern initialize_file_ftype _initialize_dummy_frame;
extern initialize_file_ftype _initialize_source;
extern initialize_file_ftype _initialize_values;
@ -38,6 +41,7 @@ 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_psymtab;
extern initialize_file_ftype _initialize_symfile;
extern initialize_file_ftype _initialize_symmisc;
extern initialize_file_ftype _initialize_infcall;
@ -51,6 +55,7 @@ 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_bfd;
extern initialize_file_ftype _initialize_gdb_osabi;
extern initialize_file_ftype _initialize_copying;
extern initialize_file_ftype _initialize_mem;
@ -58,7 +63,6 @@ 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;
@ -67,11 +71,15 @@ 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_coff_pe_read;
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_dwarf2expr;
extern initialize_file_ftype _initialize_dwarf2loc;
extern initialize_file_ftype _initialize_dwarf2_frame;
extern initialize_file_ftype _initialize_tailcall_frame;
extern initialize_file_ftype _initialize_ada_language;
extern initialize_file_ftype _initialize_c_language;
extern initialize_file_ftype _initialize_d_language;
@ -81,6 +89,7 @@ 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_go_language;
extern initialize_file_ftype _initialize_java_language;
extern initialize_file_ftype _initialize_m2_language;
extern initialize_file_ftype _initialize_opencl_language;
@ -104,18 +113,24 @@ 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;
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_record_full;
extern initialize_file_ftype _initialize_gcore;
extern initialize_file_ftype _initialize_jit;
extern initialize_file_ftype _initialize_step_skip;
extern initialize_file_ftype _initialize_probe;
extern initialize_file_ftype _initialize_record_btrace;
extern initialize_file_ftype _initialize_inflow;
extern initialize_file_ftype _initialize_cli_dump;
extern initialize_file_ftype _initialize_cli_script;
extern initialize_file_ftype _initialize_cli_cmds;
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;
@ -133,8 +148,6 @@ initialize_all_files (void)
_initialize_gdbtypes ();
_initialize_alpha_tdep ();
_initialize_alphanbsd_tdep ();
_initialize_corelow ();
_initialize_solib ();
_initialize_svr4_solib ();
_initialize_ser_hardwire ();
_initialize_ser_pipe ();
@ -146,14 +159,19 @@ initialize_all_files (void)
_initialize_dcache ();
_initialize_tracepoint ();
_initialize_ax_gdb ();
_initialize_notif ();
_initialize_elfread ();
_initialize_ada_exp ();
_initialize_stap_probe ();
_initialize_annotate ();
_initialize_addrmap ();
_initialize_auto_load ();
_initialize_auxv ();
_initialize_agent ();
_initialize_breakpoint ();
_initialize_break_catch_sig ();
_initialize_regcache ();
_initialize_charset ();
_initialize_corelow ();
_initialize_dummy_frame ();
_initialize_source ();
_initialize_values ();
@ -162,6 +180,7 @@ initialize_all_files (void)
_initialize_valprint ();
_initialize_printcmd ();
_initialize_symtab ();
_initialize_psymtab ();
_initialize_symfile ();
_initialize_symmisc ();
_initialize_infcall ();
@ -175,6 +194,7 @@ initialize_all_files (void)
_initialize_macroscope ();
_initialize_gdbarch ();
_initialize_gdbarch_utils ();
_initialize_gdb_bfd ();
_initialize_gdb_osabi ();
_initialize_copying ();
_initialize_mem ();
@ -182,7 +202,6 @@ initialize_all_files (void)
_initialize_language ();
_initialize_mem_search ();
_initialize_frame_reg ();
_initialize_signals ();
_initialize_exec ();
_initialize_reverse ();
_initialize_objfiles ();
@ -191,11 +210,15 @@ initialize_all_files (void)
_initialize_demangler ();
_initialize_dbxread ();
_initialize_coffread ();
_initialize_coff_pe_read ();
_initialize_dwarf2_read ();
_initialize_mipsread ();
_initialize_stabsread ();
_initialize_core ();
_initialize_dwarf2expr ();
_initialize_dwarf2loc ();
_initialize_dwarf2_frame ();
_initialize_tailcall_frame ();
_initialize_ada_language ();
_initialize_c_language ();
_initialize_d_language ();
@ -205,6 +228,7 @@ initialize_all_files (void)
_initialize_tasks ();
_initialize_ui_out ();
_initialize_varobj ();
_initialize_go_language ();
_initialize_java_language ();
_initialize_m2_language ();
_initialize_opencl_language ();
@ -228,18 +252,24 @@ initialize_all_files (void)
_initialize_cp_support ();
_initialize_cp_namespace ();
_initialize_reggroup ();
_initialize_solib ();
_initialize_solib_target ();
_initialize_xml_support ();
_initialize_target_descriptions ();
_initialize_osdata ();
_initialize_record ();
_initialize_record_full ();
_initialize_gcore ();
_initialize_jit ();
_initialize_step_skip ();
_initialize_probe ();
_initialize_record_btrace ();
_initialize_inflow ();
_initialize_cli_dump ();
_initialize_cli_script ();
_initialize_cli_cmds ();
_initialize_cli_logging ();
_initialize_cli_interp ();
_initialize_mi_out ();
_initialize_mi_cmds ();
_initialize_mi_cmd_env ();
_initialize_mi_interp ();

View File

@ -0,0 +1,350 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* JIT declarations for GDB, the GNU Debugger.
Copyright (C) 2011-2013 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/>. */
#ifndef GDB_JIT_READER_H
#define GDB_JIT_READER_H
#ifdef __cplusplus
extern "C" {
#endif
/* Versioning information. See gdb_reader_funcs. */
#define GDB_READER_INTERFACE_VERSION 1
/* Readers must be released under a GPL compatible license. To
declare that the reader is indeed released under a GPL compatible
license, invoke the macro GDB_DECLARE_GPL_COMPATIBLE in a source
file. */
#ifdef __cplusplus
#define GDB_DECLARE_GPL_COMPATIBLE_READER \
extern "C" { \
extern int plugin_is_GPL_compatible (void); \
extern int plugin_is_GPL_compatible (void) \
{ \
return 0; \
} \
}
#else
#define GDB_DECLARE_GPL_COMPATIBLE_READER \
extern int plugin_is_GPL_compatible (void); \
extern int plugin_is_GPL_compatible (void) \
{ \
return 0; \
}
#endif
/* Represents an address on the target system. */
typedef unsigned long GDB_CORE_ADDR;
/* Return status codes. */
enum gdb_status {
GDB_FAIL = 0,
GDB_SUCCESS = 1
};
struct gdb_object;
struct gdb_symtab;
struct gdb_block;
struct gdb_symbol_callbacks;
/* An array of these are used to represent a map from code addresses to line
numbers in the source file. */
struct gdb_line_mapping
{
int line;
GDB_CORE_ADDR pc;
};
/* Create a new GDB code object. Each code object can have one or
more symbol tables, each representing a compiled source file. */
typedef struct gdb_object *(gdb_object_open) (struct gdb_symbol_callbacks *cb);
/* The callback used to create new symbol table. CB is the
gdb_symbol_callbacks which the structure is part of. FILE_NAME is
an (optionally NULL) file name to associate with this new symbol
table.
Returns a new instance to gdb_symtab that can later be passed to
gdb_block_new, gdb_symtab_add_line_mapping and gdb_symtab_close. */
typedef struct gdb_symtab *(gdb_symtab_open) (struct gdb_symbol_callbacks *cb,
struct gdb_object *obj,
const char *file_name);
/* Creates a new block in a given symbol table. A symbol table is a
forest of blocks, each block representing an code address range and
a corresponding (optionally NULL) NAME. In case the block
corresponds to a function, the NAME passed should be the name of
the function.
If the new block to be created is a child of (i.e. is nested in)
another block, the parent block can be passed in PARENT. SYMTAB is
the symbol table the new block is to belong in. BEGIN, END is the
code address range the block corresponds to.
Returns a new instance of gdb_block, which, as of now, has no use.
Note that the gdb_block returned must not be freed by the
caller. */
typedef struct gdb_block *(gdb_block_open) (struct gdb_symbol_callbacks *cb,
struct gdb_symtab *symtab,
struct gdb_block *parent,
GDB_CORE_ADDR begin,
GDB_CORE_ADDR end,
const char *name);
/* Adds a PC to line number mapping for the symbol table SYMTAB.
NLINES is the number of elements in LINES, each element
corresponding to one (PC, line) pair. */
typedef void (gdb_symtab_add_line_mapping) (struct gdb_symbol_callbacks *cb,
struct gdb_symtab *symtab,
int nlines,
struct gdb_line_mapping *lines);
/* Close the symtab SYMTAB. This signals to GDB that no more blocks
will be opened on this symtab. */
typedef void (gdb_symtab_close) (struct gdb_symbol_callbacks *cb,
struct gdb_symtab *symtab);
/* Closes the gdb_object OBJ and adds the emitted information into
GDB's internal structures. Once this is done, the debug
information will be picked up and used; this will usually be the
last operation in gdb_read_debug_info. */
typedef void (gdb_object_close) (struct gdb_symbol_callbacks *cb,
struct gdb_object *obj);
/* Reads LEN bytes from TARGET_MEM in the target's virtual address
space into GDB_BUF.
Returns GDB_FAIL on failure, and GDB_SUCCESS on success. */
typedef enum gdb_status (gdb_target_read) (GDB_CORE_ADDR target_mem,
void *gdb_buf, int len);
/* The list of callbacks that are passed to read. These callbacks are
to be used to construct the symbol table. The functions have been
described above. */
struct gdb_symbol_callbacks
{
gdb_object_open *object_open;
gdb_symtab_open *symtab_open;
gdb_block_open *block_open;
gdb_symtab_close *symtab_close;
gdb_object_close *object_close;
gdb_symtab_add_line_mapping *line_mapping_add;
gdb_target_read *target_read;
/* For internal use by GDB. */
void *priv_data;
};
/* Forward declaration. */
struct gdb_reg_value;
/* A function of this type is used to free a gdb_reg_value. See the
comment on `free' in struct gdb_reg_value. */
typedef void (gdb_reg_value_free) (struct gdb_reg_value *);
/* Denotes the value of a register. */
struct gdb_reg_value
{
/* The size of the register in bytes. The reader need not set this
field. This will be set for (defined) register values being read
from GDB using reg_get. */
int size;
/* Set to non-zero if the value for the register is known. The
registers for which the reader does not call reg_set are also
assumed to be undefined */
int defined;
/* Since gdb_reg_value is a variable sized structure, it will
usually be allocated on the heap. This function is expected to
contain the corresponding "free" function.
When a pointer to gdb_reg_value is being sent from GDB to the
reader (via gdb_unwind_reg_get), the reader is expected to call
this function (with the same gdb_reg_value as argument) once it
is done with the value.
When the function sends the a gdb_reg_value to GDB (via
gdb_unwind_reg_set), it is expected to set this field to point to
an appropriate cleanup routine (or to NULL if no cleanup is
required). */
gdb_reg_value_free *free;
/* The value of the register. */
unsigned char value[1];
};
/* get_frame_id in gdb_reader_funcs is to return a gdb_frame_id
corresponding to the current frame. The registers corresponding to
the current frame can be read using reg_get. Calling get_frame_id
on a particular frame should return the same gdb_frame_id
throughout its lifetime (i.e. till before it gets unwound). One
way to do this is by having the CODE_ADDRESS point to the
function's first instruction and STACK_ADDRESS point to the value
of the stack pointer when entering the function. */
struct gdb_frame_id
{
GDB_CORE_ADDR code_address;
GDB_CORE_ADDR stack_address;
};
/* Forward declaration. */
struct gdb_unwind_callbacks;
/* Returns the value of a particular register in the current frame.
The current frame is the frame that needs to be unwound into the
outer (earlier) frame.
CB is the struct gdb_unwind_callbacks * the callback belongs to.
REGNUM is the DWARF register number of the register that needs to
be unwound.
Returns the gdb_reg_value corresponding to the register requested.
In case the value of the register has been optimized away or
otherwise unavailable, the defined flag in the returned
gdb_reg_value will be zero. */
typedef struct gdb_reg_value *(gdb_unwind_reg_get)
(struct gdb_unwind_callbacks *cb, int regnum);
/* Sets the previous value of a particular register. REGNUM is the
(DWARF) register number whose value is to be set. VAL is the value
the register is to be set to.
VAL is *not* copied, so the memory allocated to it cannot be
reused. Once GDB no longer needs the value, it is deallocated
using the FREE function (see gdb_reg_value).
A register can also be "set" to an undefined value by setting the
defined in VAL to zero. */
typedef void (gdb_unwind_reg_set) (struct gdb_unwind_callbacks *cb, int regnum,
struct gdb_reg_value *val);
/* This struct is passed to unwind in gdb_reader_funcs, and is to be
used to unwind the current frame (current being the frame whose
registers can be read using reg_get) into the earlier frame. The
functions have been described above. */
struct gdb_unwind_callbacks
{
gdb_unwind_reg_get *reg_get;
gdb_unwind_reg_set *reg_set;
gdb_target_read *target_read;
/* For internal use by GDB. */
void *priv_data;
};
/* Forward declaration. */
struct gdb_reader_funcs;
/* Parse the debug info off a block of memory, pointed to by MEMORY
(already copied to GDB's address space) and MEMORY_SZ bytes long.
The implementation has to use the functions in CB to actually emit
the parsed data into GDB. SELF is the same structure returned by
gdb_init_reader.
Return GDB_FAIL on failure and GDB_SUCCESS on success. */
typedef enum gdb_status (gdb_read_debug_info) (struct gdb_reader_funcs *self,
struct gdb_symbol_callbacks *cb,
void *memory, long memory_sz);
/* Unwind the current frame, CB is the set of unwind callbacks that
are to be used to do this.
Return GDB_FAIL on failure and GDB_SUCCESS on success. */
typedef enum gdb_status (gdb_unwind_frame) (struct gdb_reader_funcs *self,
struct gdb_unwind_callbacks *cb);
/* Return the frame ID corresponding to the current frame, using C to
read the current register values. See the comment on struct
gdb_frame_id. */
typedef struct gdb_frame_id (gdb_get_frame_id) (struct gdb_reader_funcs *self,
struct gdb_unwind_callbacks *c);
/* Called when a reader is being unloaded. This function should also
free SELF, if required. */
typedef void (gdb_destroy_reader) (struct gdb_reader_funcs *self);
/* Called when the reader is loaded. Must either return a properly
populated gdb_reader_funcs or NULL. The memory allocated for the
gdb_reader_funcs is to be managed by the reader itself (i.e. if it
is allocated from the heap, it must also be freed in
gdb_destroy_reader). */
extern struct gdb_reader_funcs *gdb_init_reader (void);
/* Pointer to the functions which implement the reader's
functionality. The individual functions have been documented
above.
None of the fields are optional. */
struct gdb_reader_funcs
{
/* Must be set to GDB_READER_INTERFACE_VERSION. */
int reader_version;
/* For use by the reader. */
void *priv_data;
gdb_read_debug_info *read;
gdb_unwind_frame *unwind;
gdb_get_frame_id *get_frame_id;
gdb_destroy_reader *destroy;
};
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

View File

@ -1,11 +1,10 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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.
Copyright (C) 2004-2013 Free Software Foundation, Inc.
This file is part of GDB.
@ -34,6 +33,8 @@ struct bpstats;
struct so_list;
struct objfile;
struct thread_info;
struct inferior;
struct trace_state_variable;
/* normal_stop notifications. */
@ -67,6 +68,14 @@ extern struct observer *observer_attach_inferior_created (observer_inferior_crea
extern void observer_detach_inferior_created (struct observer *observer);
extern void observer_notify_inferior_created (struct target_ops *objfile, int from_tty);
/* record_changed notifications. */
typedef void (observer_record_changed_ftype) (struct inferior *inferior, int started);
extern struct observer *observer_attach_record_changed (observer_record_changed_ftype *f);
extern void observer_detach_record_changed (struct observer *observer);
extern void observer_notify_record_changed (struct inferior *inferior, int started);
/* solib_loaded notifications. */
typedef void (observer_solib_loaded_ftype) (struct so_list *solib);
@ -133,51 +142,35 @@ extern void observer_notify_about_to_proceed (void);
/* breakpoint_created notifications. */
typedef void (observer_breakpoint_created_ftype) (int bpnum);
typedef void (observer_breakpoint_created_ftype) (struct breakpoint *b);
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);
extern void observer_notify_breakpoint_created (struct breakpoint *b);
/* breakpoint_deleted notifications. */
typedef void (observer_breakpoint_deleted_ftype) (int bpnum);
typedef void (observer_breakpoint_deleted_ftype) (struct breakpoint *b);
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);
extern void observer_notify_breakpoint_deleted (struct breakpoint *b);
/* breakpoint_modified notifications. */
typedef void (observer_breakpoint_modified_ftype) (int bpnum);
typedef void (observer_breakpoint_modified_ftype) (struct breakpoint *b);
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);
extern void observer_notify_breakpoint_modified (struct breakpoint *b);
/* tracepoint_created notifications. */
/* traceframe_changed notifications. */
typedef void (observer_tracepoint_created_ftype) (int tpnum);
typedef void (observer_traceframe_changed_ftype) (int tfnum, 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);
extern struct observer *observer_attach_traceframe_changed (observer_traceframe_changed_ftype *f);
extern void observer_detach_traceframe_changed (struct observer *observer);
extern void observer_notify_traceframe_changed (int tfnum, int tpnum);
/* architecture_changed notifications. */
@ -229,11 +222,59 @@ 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);
typedef void (observer_memory_changed_ftype) (struct inferior *inferior, CORE_ADDR addr, ssize_t 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);
extern void observer_notify_memory_changed (struct inferior *inferior, CORE_ADDR addr, ssize_t len, const bfd_byte *data);
/* before_prompt notifications. */
typedef void (observer_before_prompt_ftype) (const char *current_prompt);
extern struct observer *observer_attach_before_prompt (observer_before_prompt_ftype *f);
extern void observer_detach_before_prompt (struct observer *observer);
extern void observer_notify_before_prompt (const char *current_prompt);
/* gdb_datadir_changed notifications. */
typedef void (observer_gdb_datadir_changed_ftype) (void);
extern struct observer *observer_attach_gdb_datadir_changed (observer_gdb_datadir_changed_ftype *f);
extern void observer_detach_gdb_datadir_changed (struct observer *observer);
extern void observer_notify_gdb_datadir_changed (void);
/* command_param_changed notifications. */
typedef void (observer_command_param_changed_ftype) (const char *param, const char *value);
extern struct observer *observer_attach_command_param_changed (observer_command_param_changed_ftype *f);
extern void observer_detach_command_param_changed (struct observer *observer);
extern void observer_notify_command_param_changed (const char *param, const char *value);
/* tsv_created notifications. */
typedef void (observer_tsv_created_ftype) (const struct trace_state_variable *tsv);
extern struct observer *observer_attach_tsv_created (observer_tsv_created_ftype *f);
extern void observer_detach_tsv_created (struct observer *observer);
extern void observer_notify_tsv_created (const struct trace_state_variable *tsv);
/* tsv_deleted notifications. */
typedef void (observer_tsv_deleted_ftype) (const struct trace_state_variable *tsv);
extern struct observer *observer_attach_tsv_deleted (observer_tsv_deleted_ftype *f);
extern void observer_detach_tsv_deleted (struct observer *observer);
extern void observer_notify_tsv_deleted (const struct trace_state_variable *tsv);
/* tsv_modified notifications. */
typedef void (observer_tsv_modified_ftype) (const struct trace_state_variable *tsv);
extern struct observer *observer_attach_tsv_modified (observer_tsv_modified_ftype *f);
extern void observer_detach_tsv_modified (struct observer *observer);
extern void observer_notify_tsv_modified (const struct trace_state_variable *tsv);
/* test_notification notifications. */

View File

@ -1,11 +1,10 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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.
Copyright (C) 2004-2013 Free Software Foundation, Inc.
This file is part of GDB.
@ -113,7 +112,6 @@ static void
observer_executable_changed_notification_stub (const void *data, const void *args_data)
{
observer_executable_changed_ftype *notify = (observer_executable_changed_ftype *) data;
const struct executable_changed_args *args = args_data;
notify ();
}
@ -179,6 +177,45 @@ observer_notify_inferior_created (struct target_ops *objfile, int from_tty)
generic_observer_notify (inferior_created_subject, &args);
}
/* record_changed notifications. */
static struct observer_list *record_changed_subject = NULL;
struct record_changed_args { struct inferior *inferior; int started; };
static void
observer_record_changed_notification_stub (const void *data, const void *args_data)
{
observer_record_changed_ftype *notify = (observer_record_changed_ftype *) data;
const struct record_changed_args *args = args_data;
notify (args->inferior, args->started);
}
struct observer *
observer_attach_record_changed (observer_record_changed_ftype *f)
{
return generic_observer_attach (&record_changed_subject,
&observer_record_changed_notification_stub,
(void *) f);
}
void
observer_detach_record_changed (struct observer *observer)
{
generic_observer_detach (&record_changed_subject, observer);
}
void
observer_notify_record_changed (struct inferior *inferior, int started)
{
struct record_changed_args args;
args.inferior = inferior, args.started = started;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_record_changed() called\n");
generic_observer_notify (record_changed_subject, &args);
}
/* solib_loaded notifications. */
static struct observer_list *solib_loaded_subject = NULL;
@ -460,7 +497,6 @@ static void
observer_about_to_proceed_notification_stub (const void *data, const void *args_data)
{
observer_about_to_proceed_ftype *notify = (observer_about_to_proceed_ftype *) data;
const struct about_to_proceed_args *args = args_data;
notify ();
}
@ -491,14 +527,14 @@ char *args = NULL;
static struct observer_list *breakpoint_created_subject = NULL;
struct breakpoint_created_args { int bpnum; };
struct breakpoint_created_args { struct breakpoint *b; };
static void
observer_breakpoint_created_notification_stub (const void *data, const void *args_data)
{
observer_breakpoint_created_ftype *notify = (observer_breakpoint_created_ftype *) data;
const struct breakpoint_created_args *args = args_data;
notify (args->bpnum);
notify (args->b);
}
struct observer *
@ -516,10 +552,10 @@ observer_detach_breakpoint_created (struct observer *observer)
}
void
observer_notify_breakpoint_created (int bpnum)
observer_notify_breakpoint_created (struct breakpoint *b)
{
struct breakpoint_created_args args;
args.bpnum = bpnum;
args.b = b;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_breakpoint_created() called\n");
@ -530,14 +566,14 @@ observer_notify_breakpoint_created (int bpnum)
static struct observer_list *breakpoint_deleted_subject = NULL;
struct breakpoint_deleted_args { int bpnum; };
struct breakpoint_deleted_args { struct breakpoint *b; };
static void
observer_breakpoint_deleted_notification_stub (const void *data, const void *args_data)
{
observer_breakpoint_deleted_ftype *notify = (observer_breakpoint_deleted_ftype *) data;
const struct breakpoint_deleted_args *args = args_data;
notify (args->bpnum);
notify (args->b);
}
struct observer *
@ -555,10 +591,10 @@ observer_detach_breakpoint_deleted (struct observer *observer)
}
void
observer_notify_breakpoint_deleted (int bpnum)
observer_notify_breakpoint_deleted (struct breakpoint *b)
{
struct breakpoint_deleted_args args;
args.bpnum = bpnum;
args.b = b;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_breakpoint_deleted() called\n");
@ -569,14 +605,14 @@ observer_notify_breakpoint_deleted (int bpnum)
static struct observer_list *breakpoint_modified_subject = NULL;
struct breakpoint_modified_args { int bpnum; };
struct breakpoint_modified_args { struct breakpoint *b; };
static void
observer_breakpoint_modified_notification_stub (const void *data, const void *args_data)
{
observer_breakpoint_modified_ftype *notify = (observer_breakpoint_modified_ftype *) data;
const struct breakpoint_modified_args *args = args_data;
notify (args->bpnum);
notify (args->b);
}
struct observer *
@ -594,131 +630,53 @@ observer_detach_breakpoint_modified (struct observer *observer)
}
void
observer_notify_breakpoint_modified (int bpnum)
observer_notify_breakpoint_modified (struct breakpoint *b)
{
struct breakpoint_modified_args args;
args.bpnum = bpnum;
args.b = b;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_breakpoint_modified() called\n");
generic_observer_notify (breakpoint_modified_subject, &args);
}
/* tracepoint_created notifications. */
/* traceframe_changed notifications. */
static struct observer_list *tracepoint_created_subject = NULL;
static struct observer_list *traceframe_changed_subject = NULL;
struct tracepoint_created_args { int tpnum; };
struct traceframe_changed_args { int tfnum; int tpnum; };
static void
observer_tracepoint_created_notification_stub (const void *data, const void *args_data)
observer_traceframe_changed_notification_stub (const void *data, const void *args_data)
{
observer_tracepoint_created_ftype *notify = (observer_tracepoint_created_ftype *) data;
const struct tracepoint_created_args *args = args_data;
notify (args->tpnum);
observer_traceframe_changed_ftype *notify = (observer_traceframe_changed_ftype *) data;
const struct traceframe_changed_args *args = args_data;
notify (args->tfnum, args->tpnum);
}
struct observer *
observer_attach_tracepoint_created (observer_tracepoint_created_ftype *f)
observer_attach_traceframe_changed (observer_traceframe_changed_ftype *f)
{
return generic_observer_attach (&tracepoint_created_subject,
&observer_tracepoint_created_notification_stub,
return generic_observer_attach (&traceframe_changed_subject,
&observer_traceframe_changed_notification_stub,
(void *) f);
}
void
observer_detach_tracepoint_created (struct observer *observer)
observer_detach_traceframe_changed (struct observer *observer)
{
generic_observer_detach (&tracepoint_created_subject, observer);
generic_observer_detach (&traceframe_changed_subject, observer);
}
void
observer_notify_tracepoint_created (int tpnum)
observer_notify_traceframe_changed (int tfnum, int tpnum)
{
struct tracepoint_created_args args;
args.tpnum = tpnum;
struct traceframe_changed_args args;
args.tfnum = tfnum, args.tpnum = tpnum;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_tracepoint_created() called\n");
generic_observer_notify (tracepoint_created_subject, &args);
}
/* tracepoint_deleted notifications. */
static struct observer_list *tracepoint_deleted_subject = NULL;
struct tracepoint_deleted_args { int tpnum; };
static void
observer_tracepoint_deleted_notification_stub (const void *data, const void *args_data)
{
observer_tracepoint_deleted_ftype *notify = (observer_tracepoint_deleted_ftype *) data;
const struct tracepoint_deleted_args *args = args_data;
notify (args->tpnum);
}
struct observer *
observer_attach_tracepoint_deleted (observer_tracepoint_deleted_ftype *f)
{
return generic_observer_attach (&tracepoint_deleted_subject,
&observer_tracepoint_deleted_notification_stub,
(void *) f);
}
void
observer_detach_tracepoint_deleted (struct observer *observer)
{
generic_observer_detach (&tracepoint_deleted_subject, observer);
}
void
observer_notify_tracepoint_deleted (int tpnum)
{
struct tracepoint_deleted_args args;
args.tpnum = tpnum;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_tracepoint_deleted() called\n");
generic_observer_notify (tracepoint_deleted_subject, &args);
}
/* tracepoint_modified notifications. */
static struct observer_list *tracepoint_modified_subject = NULL;
struct tracepoint_modified_args { int tpnum; };
static void
observer_tracepoint_modified_notification_stub (const void *data, const void *args_data)
{
observer_tracepoint_modified_ftype *notify = (observer_tracepoint_modified_ftype *) data;
const struct tracepoint_modified_args *args = args_data;
notify (args->tpnum);
}
struct observer *
observer_attach_tracepoint_modified (observer_tracepoint_modified_ftype *f)
{
return generic_observer_attach (&tracepoint_modified_subject,
&observer_tracepoint_modified_notification_stub,
(void *) f);
}
void
observer_detach_tracepoint_modified (struct observer *observer)
{
generic_observer_detach (&tracepoint_modified_subject, observer);
}
void
observer_notify_tracepoint_modified (int tpnum)
{
struct tracepoint_modified_args args;
args.tpnum = tpnum;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_tracepoint_modified() called\n");
generic_observer_notify (tracepoint_modified_subject, &args);
fprintf_unfiltered (gdb_stdlog, "observer_notify_traceframe_changed() called\n");
generic_observer_notify (traceframe_changed_subject, &args);
}
/* architecture_changed notifications. */
@ -959,14 +917,14 @@ observer_notify_inferior_removed (struct inferior *inf)
static struct observer_list *memory_changed_subject = NULL;
struct memory_changed_args { CORE_ADDR addr; int len; const bfd_byte *data; };
struct memory_changed_args { struct inferior *inferior; CORE_ADDR addr; ssize_t len; const bfd_byte *data; };
static void
observer_memory_changed_notification_stub (const void *data, const void *args_data)
{
observer_memory_changed_ftype *notify = (observer_memory_changed_ftype *) data;
const struct memory_changed_args *args = args_data;
notify (args->addr, args->len, args->data);
notify (args->inferior, args->addr, args->len, args->data);
}
struct observer *
@ -984,16 +942,245 @@ observer_detach_memory_changed (struct observer *observer)
}
void
observer_notify_memory_changed (CORE_ADDR addr, int len, const bfd_byte *data)
observer_notify_memory_changed (struct inferior *inferior, CORE_ADDR addr, ssize_t len, const bfd_byte *data)
{
struct memory_changed_args args;
args.addr = addr, args.len = len, args.data = data;
args.inferior = inferior, args.addr = addr, args.len = len, args.data = data;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_memory_changed() called\n");
generic_observer_notify (memory_changed_subject, &args);
}
/* before_prompt notifications. */
static struct observer_list *before_prompt_subject = NULL;
struct before_prompt_args { const char *current_prompt; };
static void
observer_before_prompt_notification_stub (const void *data, const void *args_data)
{
observer_before_prompt_ftype *notify = (observer_before_prompt_ftype *) data;
const struct before_prompt_args *args = args_data;
notify (args->current_prompt);
}
struct observer *
observer_attach_before_prompt (observer_before_prompt_ftype *f)
{
return generic_observer_attach (&before_prompt_subject,
&observer_before_prompt_notification_stub,
(void *) f);
}
void
observer_detach_before_prompt (struct observer *observer)
{
generic_observer_detach (&before_prompt_subject, observer);
}
void
observer_notify_before_prompt (const char *current_prompt)
{
struct before_prompt_args args;
args.current_prompt = current_prompt;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_before_prompt() called\n");
generic_observer_notify (before_prompt_subject, &args);
}
/* gdb_datadir_changed notifications. */
static struct observer_list *gdb_datadir_changed_subject = NULL;
static void
observer_gdb_datadir_changed_notification_stub (const void *data, const void *args_data)
{
observer_gdb_datadir_changed_ftype *notify = (observer_gdb_datadir_changed_ftype *) data;
notify ();
}
struct observer *
observer_attach_gdb_datadir_changed (observer_gdb_datadir_changed_ftype *f)
{
return generic_observer_attach (&gdb_datadir_changed_subject,
&observer_gdb_datadir_changed_notification_stub,
(void *) f);
}
void
observer_detach_gdb_datadir_changed (struct observer *observer)
{
generic_observer_detach (&gdb_datadir_changed_subject, observer);
}
void
observer_notify_gdb_datadir_changed (void)
{
char *args = NULL;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_gdb_datadir_changed() called\n");
generic_observer_notify (gdb_datadir_changed_subject, &args);
}
/* command_param_changed notifications. */
static struct observer_list *command_param_changed_subject = NULL;
struct command_param_changed_args { const char *param; const char *value; };
static void
observer_command_param_changed_notification_stub (const void *data, const void *args_data)
{
observer_command_param_changed_ftype *notify = (observer_command_param_changed_ftype *) data;
const struct command_param_changed_args *args = args_data;
notify (args->param, args->value);
}
struct observer *
observer_attach_command_param_changed (observer_command_param_changed_ftype *f)
{
return generic_observer_attach (&command_param_changed_subject,
&observer_command_param_changed_notification_stub,
(void *) f);
}
void
observer_detach_command_param_changed (struct observer *observer)
{
generic_observer_detach (&command_param_changed_subject, observer);
}
void
observer_notify_command_param_changed (const char *param, const char *value)
{
struct command_param_changed_args args;
args.param = param, args.value = value;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_command_param_changed() called\n");
generic_observer_notify (command_param_changed_subject, &args);
}
/* tsv_created notifications. */
static struct observer_list *tsv_created_subject = NULL;
struct tsv_created_args { const struct trace_state_variable *tsv; };
static void
observer_tsv_created_notification_stub (const void *data, const void *args_data)
{
observer_tsv_created_ftype *notify = (observer_tsv_created_ftype *) data;
const struct tsv_created_args *args = args_data;
notify (args->tsv);
}
struct observer *
observer_attach_tsv_created (observer_tsv_created_ftype *f)
{
return generic_observer_attach (&tsv_created_subject,
&observer_tsv_created_notification_stub,
(void *) f);
}
void
observer_detach_tsv_created (struct observer *observer)
{
generic_observer_detach (&tsv_created_subject, observer);
}
void
observer_notify_tsv_created (const struct trace_state_variable *tsv)
{
struct tsv_created_args args;
args.tsv = tsv;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_tsv_created() called\n");
generic_observer_notify (tsv_created_subject, &args);
}
/* tsv_deleted notifications. */
static struct observer_list *tsv_deleted_subject = NULL;
struct tsv_deleted_args { const struct trace_state_variable *tsv; };
static void
observer_tsv_deleted_notification_stub (const void *data, const void *args_data)
{
observer_tsv_deleted_ftype *notify = (observer_tsv_deleted_ftype *) data;
const struct tsv_deleted_args *args = args_data;
notify (args->tsv);
}
struct observer *
observer_attach_tsv_deleted (observer_tsv_deleted_ftype *f)
{
return generic_observer_attach (&tsv_deleted_subject,
&observer_tsv_deleted_notification_stub,
(void *) f);
}
void
observer_detach_tsv_deleted (struct observer *observer)
{
generic_observer_detach (&tsv_deleted_subject, observer);
}
void
observer_notify_tsv_deleted (const struct trace_state_variable *tsv)
{
struct tsv_deleted_args args;
args.tsv = tsv;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_tsv_deleted() called\n");
generic_observer_notify (tsv_deleted_subject, &args);
}
/* tsv_modified notifications. */
static struct observer_list *tsv_modified_subject = NULL;
struct tsv_modified_args { const struct trace_state_variable *tsv; };
static void
observer_tsv_modified_notification_stub (const void *data, const void *args_data)
{
observer_tsv_modified_ftype *notify = (observer_tsv_modified_ftype *) data;
const struct tsv_modified_args *args = args_data;
notify (args->tsv);
}
struct observer *
observer_attach_tsv_modified (observer_tsv_modified_ftype *f)
{
return generic_observer_attach (&tsv_modified_subject,
&observer_tsv_modified_notification_stub,
(void *) f);
}
void
observer_detach_tsv_modified (struct observer *observer)
{
generic_observer_detach (&tsv_modified_subject, observer);
}
void
observer_notify_tsv_modified (const struct trace_state_variable *tsv)
{
struct tsv_modified_args args;
args.tsv = tsv;
if (observer_debug)
fprintf_unfiltered (gdb_stdlog, "observer_notify_tsv_modified() called\n");
generic_observer_notify (tsv_modified_subject, &args);
}
/* test_notification notifications. */
static struct observer_list *test_notification_subject = NULL;

View File

@ -1,8 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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 version[] = "7.6.1";
const char host_name[] = "alpha--netbsd";
const char target_name[] = "alpha--netbsd";

View File

@ -1,16 +1,14 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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',
'0', '0', '7', '-', '2', '0', '1', '3', ' ', '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',
@ -202,12 +200,10 @@ static const char xml_feature_gdb_target_dtd[] = {
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',
'0', '0', '7', '-', '2', '0', '1', '3', ' ', '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',
@ -262,12 +258,10 @@ static const char xml_feature_xinclude_dtd[] = {
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',
'0', '0', '7', '-', '2', '0', '1', '3', ' ', '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',
@ -342,15 +336,96 @@ static const char xml_feature_library_list_dtd[] = {
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
0 };
static const char xml_feature_library_list_svr4_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '1', '1', '-', '2', '0', '1', '3', ' ', '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', '-', 's', 'v',
'r', '4', ':', ' ', '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', '-', 's', 'v', 'r', '4', ' ', ' ', '(',
'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', '-', 's', 'v', 'r', '4', ' ', ' ', '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', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', '-', 'l', 'i',
's', 't', '-', 's', 'v', 'r', '4', ' ', ' ', 'm',
'a', 'i', 'n', '-', 'l', 'm', ' ', 'C', 'D', 'A',
'T', 'A', ' ', ' ', ' ', '#', 'I', 'M', 'P', 'L',
'I', 'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', ' ',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'E',
'M', 'P', 'T', 'Y', '>', '\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',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', ' ',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'l',
'm', ' ', ' ', ' ', ' ', ' ', ' ', 'C', 'D', 'A',
'T', 'A', ' ', ' ', ' ', '#', 'R', 'E', 'Q', 'U',
'I', 'R', 'E', 'D', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', ' ',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'l',
'_', 'a', 'd', 'd', 'r', ' ', ' ', 'C', 'D', 'A',
'T', 'A', ' ', ' ', ' ', '#', 'R', 'E', 'Q', 'U',
'I', 'R', 'E', 'D', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', ' ',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'l',
'_', 'l', 'd', ' ', ' ', ' ', ' ', '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',
'0', '0', '8', '-', '2', '0', '1', '3', ' ', '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',
@ -408,11 +483,10 @@ static const char xml_feature_osdata_dtd[] = {
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',
'0', '0', '8', '-', '2', '0', '1', '3', ' ', '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',
@ -461,11 +535,10 @@ static const char xml_feature_threads_dtd[] = {
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',
'0', '1', '0', '-', '2', '0', '1', '3', ' ', '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',
@ -522,13 +595,68 @@ static const char xml_feature_traceframe_info_dtd[] = {
'#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>',
'\n',
0 };
static const char xml_feature_btrace_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '1', '3', ' ', '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', ' ',
'b', 't', 'r', 'a', 'c', 'e', ' ', ' ', '(', 'b',
'l', 'o', 'c', 'k', ')', '*', ' ', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'b', 't', 'r', 'a', 'c', 'e', ' ', ' ', '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', ' ',
'b', 'l', 'o', 'c', 'k', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', 'E', 'M', 'P', 'T', 'Y', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'b', 'l', 'o', 'c', 'k', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', 'b', 'e', 'g', 'i', 'n', ' ', ' ',
'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R',
'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\n',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', 'e', 'n', 'd', ' ', ' ', ' ', ' ',
'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 },
{ "library-list-svr4.dtd", xml_feature_library_list_svr4_dtd },
{ "osdata.dtd", xml_feature_osdata_dtd },
{ "threads.dtd", xml_feature_threads_dtd },
{ "traceframe-info.dtd", xml_feature_traceframe_info_dtd },
{ "btrace.dtd", xml_feature_btrace_dtd },
{ 0, 0 }
};

View File

@ -1,5 +1,5 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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. */
@ -114,6 +114,9 @@
/* 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
@ -210,6 +213,9 @@
/* Define to 1 if you have the `setproctitle' function. */
#define HAVE_SETPROCTITLE 1
/* Define to 1 if you have the `setrlimit' function. */
#define HAVE_SETRLIMIT 1
/* Define to 1 if you have the `sigsetmask' function. */
#define HAVE_SIGSETMASK 1
@ -261,6 +267,9 @@
/* Define to 1 if you have the `strndup' function. */
#define HAVE_STRNDUP 1
/* Define to 1 if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1

View File

@ -1,8 +1,8 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp
# Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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
G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.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 dwarfnames.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 simple-object-xcoff.o sort.o spaces.o splay-tree.o stack-limit.o strerror.o strsignal.o timeval-utils.o unlink-if-ordinary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o

View File

@ -1,10 +1,17 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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. */
/* Check that config.h is #included before system headers
(this works only for glibc, but that should be enough). */
#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
# error config.h must be #included before system headers
#endif
#define __CONFIG_H__ 1
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#define ENABLE_NLS 1
@ -78,6 +85,9 @@
/* 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
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
@ -101,7 +111,7 @@
/* Version number of package */
#define VERSION "2.21.51"
#define VERSION "2.23.52"
/* Define to 1 if on MINIX. */
/* #undef _MINIX */

View File

@ -1,5 +1,5 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp */
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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. */
@ -9,6 +9,8 @@
characters, even if the OS supports them. */
/* #undef NO_MULTIBYTE_SUPPORT */
/* #undef _FILE_OFFSET_BITS */
/* Define if on MINIX. */
/* #undef _MINIX */
@ -18,12 +20,16 @@
#define VOID_SIGHANDLER 1
/* Characteristics of the compiler. */
/* #undef const */
/* #undef sig_atomic_t */
/* #undef size_t */
/* #undef ssize_t */
/* #undef const */
/* #undef volatile */
#define PROTOTYPES 1
/* #undef __CHAR_UNSIGNED__ */
@ -46,6 +52,15 @@
/* Define if you have the isascii function. */
#define HAVE_ISASCII 1
/* Define if you have the iswctype function. */
#define HAVE_ISWCTYPE 1
/* Define if you have the iswlower function. */
#define HAVE_ISWLOWER 1
/* Define if you have the iswupper function. */
#define HAVE_ISWUPPER 1
/* Define if you have the isxdigit function. */
#define HAVE_ISXDIGIT 1
@ -93,11 +108,23 @@
/* Define if you have the tcgetattr function. */
#define HAVE_TCGETATTR 1
/* Define if you have the towlower function. */
#define HAVE_TOWLOWER 1
/* Define if you have the towupper function. */
#define HAVE_TOWUPPER 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 wcrtomb function. */
#define HAVE_WCRTOMB 1
/* Define if you have the wcscoll function. */
#define HAVE_WCSCOLL 1
/* Define if you have the wctype function. */
#define HAVE_WCTYPE 1
/* Define if you have the wcwidth function. */
#define HAVE_WCWIDTH 1
@ -179,11 +206,20 @@
/* Define if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define if you have the <varargs.h> header file. */
/* Define if you have the <wctype.h> header file. */
#define HAVE_WCTYPE_H 1
#define HAVE_MBSTATE_T 1
/* Define if you have wchar_t in <wctype.h>. */
#define HAVE_WCHAR_T 1
/* Define if you have wctype_t in <wctype.h>. */
#define HAVE_WCTYPE_T 1
/* Define if you have wint_t in <wctype.h>. */
#define HAVE_WINT_T 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
@ -228,10 +264,6 @@
# 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

View File

@ -1,6 +1,6 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp
# Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos 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
G_CCFLAGS=-DHAVE_CONFIG_H -DCROSS_COMPILING -I. -I${GNUHOSTDIST}/readline -DRL_LIBRARY_VERSION='"6.2"' -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 xfree.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o