2005-01-21 00:57:27 +01:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
2004-04-29 16:29:14 +02:00
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define if the compiler is building for multiple architectures of Apple
|
|
|
|
platforms at once. */
|
|
|
|
#undef AA_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2012-01-18 19:35:43 +01:00
|
|
|
/* Directory of programs. */
|
|
|
|
#undef BINDIR
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* 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
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the compiler supports long long. */
|
|
|
|
#undef CC_HAS_LONG_LONG
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* 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
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
|
|
#undef C_ALLOCA
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* look for global separate debug info in this path [LIBDIR/debug] */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef DEBUGDIR
|
2003-01-27 15:36:56 +01:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* Define if the separate-debug-dir directory should be relocated when GDB is
|
|
|
|
moved. */
|
2007-01-09 22:34:30 +01:00
|
|
|
#undef DEBUGDIR_RELOCATABLE
|
|
|
|
|
2012-04-17 17:54:35 +02:00
|
|
|
/* Directories safe to hold auto-loaded files. */
|
|
|
|
#undef DEFAULT_AUTO_LOAD_SAFE_PATH
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to BFD's default architecture. */
|
|
|
|
#undef DEFAULT_BFD_ARCH
|
2002-02-23 22:54:25 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to BFD's default target vector. */
|
|
|
|
#undef DEFAULT_BFD_VEC
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2006-08-08 22:32:15 +02:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef ENABLE_NLS
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* look for global separate data files in this path [DATADIR/gdb] */
|
|
|
|
#undef GDB_DATADIR
|
|
|
|
|
|
|
|
/* Define if the gdb-datadir directory should be relocated when GDB is moved.
|
|
|
|
*/
|
|
|
|
#undef GDB_DATADIR_RELOCATABLE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to be a string naming the default host character set. */
|
|
|
|
#undef GDB_DEFAULT_HOST_CHARSET
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Host double floatformat */
|
|
|
|
#undef GDB_HOST_DOUBLE_FORMAT
|
2003-01-27 15:36:56 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Host float floatformat */
|
|
|
|
#undef GDB_HOST_FLOAT_FORMAT
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Host long double floatformat */
|
|
|
|
#undef GDB_HOST_LONG_DOUBLE_FORMAT
|
1999-08-09 23:36:23 +02:00
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* nativefile */
|
|
|
|
#undef GDB_NM_FILE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the default OS ABI for this configuration. */
|
|
|
|
#undef GDB_OSABI_DEFAULT
|
2003-01-04 01:34:43 +01:00
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define to make the limit macros in <stdint.h> visible. */
|
|
|
|
#undef GL_TRIGGER_STDC_LIMIT_MACROS
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 when the gnulib module memchr should be tested. */
|
|
|
|
#undef GNULIB_TEST_MEMCHR
|
|
|
|
|
|
|
|
/* Define to 1 when the gnulib module memmem should be tested. */
|
|
|
|
#undef GNULIB_TEST_MEMMEM
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
|
|
#undef HAVE_ALLOCA
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
|
|
*/
|
|
|
|
#undef HAVE_ALLOCA_H
|
2001-12-21 23:32:37 +01:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if you have the <bp-sym.h> header file. */
|
|
|
|
#undef HAVE_BP_SYM_H
|
|
|
|
|
2009-04-16 00:20:32 +02:00
|
|
|
/* Define to 1 if you have the `btowc' function. */
|
|
|
|
#undef HAVE_BTOWC
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
|
|
|
#undef HAVE_CANONICALIZE_FILE_NAME
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ctype.h> header file. */
|
|
|
|
#undef HAVE_CTYPE_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <cursesX.h> header file. */
|
|
|
|
#undef HAVE_CURSESX_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <curses.h> header file. */
|
|
|
|
#undef HAVE_CURSES_H
|
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
(AC_FUNC_SETPGRP): Add.
* aclocal.m4, configure, config.in: Regenerated.
* inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
SETPGRP_ARGS. Always use setpgid if it is available, fall back on
setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
distinguish between the two setpgrp flavours.
* config/xm-sysv4.h, config/arm/xm-linux.h,
config/i386/xm-i386aix.h, config/i386/xm-sco.h,
config/i386/xm-linux.h, config/i386/xm-ptx.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
* config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-07-23 21:21:57 +02:00
|
|
|
|
2008-07-10 11:31:00 +02:00
|
|
|
/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
|
|
|
|
you don't. */
|
|
|
|
#undef HAVE_DECL_ADDR_NO_RANDOMIZE
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_FREE
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
|
|
|
|
*/
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_DECL_GETOPT
|
1999-10-06 01:13:56 +02:00
|
|
|
|
2011-03-17 14:19:10 +01:00
|
|
|
/* Define to 1 if you have the declaration of `getthrds', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_GETTHRDS
|
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define to 1 if you have the declaration of `imaxabs', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_IMAXABS
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `imaxdiv', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_IMAXDIV
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_MALLOC
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_MEMMEM
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't.
|
|
|
|
*/
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_DECL_PTRACE
|
2001-08-28 00:39:56 +02:00
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_REALLOC
|
|
|
|
|
2005-05-20 20:06:37 +02:00
|
|
|
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRERROR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_STRSTR
|
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRTOIMAX
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRTOUMAX
|
|
|
|
|
2005-05-20 20:06:37 +02:00
|
|
|
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DIRENT_H
|
1999-08-09 23:36:23 +02:00
|
|
|
|
2012-01-13 00:38:47 +01:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2007-06-18 17:46:38 +02:00
|
|
|
/* Define if ELF support should be included. */
|
|
|
|
#undef HAVE_ELF
|
|
|
|
|
2007-10-24 23:14:17 +02:00
|
|
|
/* Define to 1 if you have the <elf_hp.h> header file. */
|
|
|
|
#undef HAVE_ELF_HP_H
|
|
|
|
|
2007-09-20 00:00:34 +02:00
|
|
|
/* Define to 1 if your system has the etext variable. */
|
|
|
|
#undef HAVE_ETEXT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has fpregset_t. */
|
|
|
|
#undef HAVE_FPREGSET_T
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-03-21 22:23:35 +01:00
|
|
|
/* Define to 1 if you have the `getgid' function. */
|
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
|
|
#undef HAVE_GETPAGESIZE
|
2003-06-04 22:51:29 +02:00
|
|
|
|
2010-01-15 01:34:37 +01:00
|
|
|
/* Define to 1 if you have the `getrlimit' function. */
|
|
|
|
#undef HAVE_GETRLIMIT
|
|
|
|
|
2007-02-02 23:55:54 +01:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
2005-03-21 22:23:35 +01:00
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <gnu/libc-version.h> header file. */
|
|
|
|
#undef HAVE_GNU_LIBC_VERSION_H
|
2004-09-25 11:17:47 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has gregset_t. */
|
|
|
|
#undef HAVE_GREGSET_T
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if you have the iconv() function. */
|
|
|
|
#undef HAVE_ICONV
|
1999-04-16 03:35:26 +02:00
|
|
|
|
gdb:
2009-03-19 Tom Tromey <tromey@redhat.com>
Julian Brown <julian@codesourcery.com>
PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103,
PR i18n/9401, PR exp/9613:
* NEWS: Update
* value.h (value_typed_string): Declare.
(val_print_string): Update.
* valprint.h (print_char_chars): Update.
* valprint.c (print_char_chars): Add type argument. Update.
(val_print_string): Likewise.
* valops.c (value_typed_string): New function.
* utils.c (host_char_to_target): New function.
(parse_escape): Use host_char_to_target, host_hex_value. Update.
Remove '^' case.
(no_control_char_error): Remove.
* typeprint.c (print_type_scalar): Update.
* scm-valprint.c (scm_scmval_print): Update.
* scm-lang.h (scm_printchar, scm_printstr): Update.
* scm-lang.c (scm_printchar): Add type argument.
(scm_printstr): Likewise.
* printcmd.c (print_formatted): Update.
(print_scalar_formatted): Update.
(printf_command) <wide_string_arg, wide_char_arg>: New constants.
Handle '%lc' and '%ls'.
* parser-defs.h (struct typed_stoken): New type.
(struct stoken_vector): Likewise.
(write_exp_string_vector): Declare.
* parse.c (write_exp_string_vector): New function.
* p-valprint.c (pascal_val_print): Update.
* p-lang.h (is_pascal_string_type, pascal_printchar,
pascal_printstr): Update.
* p-lang.c (is_pascal_string_type): Remove 'char_size' argument.
Add 'char_type' argument.
(pascal_emit_char): Add type argument.
(pascal_printchar): Likewise.
(pascal_printstr): Likewise.
* objc-lang.c (objc_emit_char): Add type argument.
(objc_printchar): Likewise.
(objc_printstr): Likewise.
* macroexp.c (get_character_constant): Handle unicode characters.
Use c_parse_escape.
(get_string_literal): Handle unicode strings. Use
c_parse_escape.
* m2-valprint.c (print_unpacked_pointer): Update.
(m2_print_array_contents): Update.
(m2_val_print): Update.
* m2-lang.c (m2_emit_char): Add type argument.
(m2_printchar): Likewise.
(m2_printstr): Likewise.
* language.h (struct language_defn) <la_printchar>: Add type
argument.
<la_printstr, la_emitchar>: Likewise.
(LA_PRINT_CHAR): Likewise.
(LA_PRINT_STRING): Likewise.
(LA_EMIT_CHAR): Likewise.
* language.c (unk_lang_emit_char): Add type argument.
(unk_lang_printchar): Likewise.
(unk_lang_printstr): Likewise.
* jv-valprint.c (java_val_print): Update.
* jv-lang.c (java_emit_char): Add type argument.
* f-valprint.c (f_val_print): Update.
* f-lang.c (f_emit_char): Add type argument.
(f_printchar): Likewise.
(f_printstr): Likewise.
* expprint.c (print_subexp_standard): Update.
* charset.h (target_wide_charset): Declare.
(c_target_char_has_backslash_escape, c_parse_backslash,
host_char_print_literally, host_char_to_target,
target_char_to_host, target_char_to_control_char): Remove.
(enum transliterations): New type.
(convert_between_encodings): Declare.
(HOST_ESCAPE_CHAR): New define.
(host_letter_to_control_character, host_hex_value): Declare.
(enum wchar_iterate_result): New enum.
(struct wchar_iterator): Declare.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): Declare.
* charset-list.h: New file.
* c-valprint.c (textual_name): New function.
(textual_element_type): Handle wide character types.
(c_val_print): Pass original type to textual_element_type. Handle
wide character types.
(c_value_print): Use textual_element_type. Pass original type of
value to val_print.
* c-lang.h (enum c_string_type): New type.
(c_printchar, c_printstr): Update.
* c-lang.c (classify_type): New function.
(print_wchar): Likewise.
(c_emit_char): Add type argument. Handle wide characters.
(c_printchar): Likewise.
(c_printstr): Add type argument. Handle wide and multibyte
character sets.
(convert_ucn): New function.
(emit_numeric_character): Likewise.
(convert_octal): Likewise.
(convert_hex): Likewise.
(ADVANCE): New macro.
(convert_escape): New function.
(parse_one_string): Likewise.
(evaluate_subexp_c): Likewise.
(exp_descriptor_c): New global.
(c_language_defn): Use exp_descriptor_c.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
(charset_for_string_type): New function.
* c-exp.y (%union): Add 'svec' and 'tsval'.
(CHAR): New token.
(exp): Add CHAR production.
(string_exp): Rewrite.
(exp) <string_exp>: Rewrite.
(tempbuf): Now global.
(tempbuf_init): New global.
(parse_string_or_char): New function.
(yylex) <tempbuf>: Now global.
<tokptr, tempbufindex, tempbufsize, token_string, class_prefix>:
Remove.
Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char.
(c_parse_escape): New function.
* auxv.c (fprint_target_auxv): Update.
* ada-valprint.c (ada_emit_char): Add type argument.
(ada_printchar): Likewise.
(ada_print_scalar): Update.
(printstr): Add type argument. Update calls to ada_emit_char.
(ada_printstr): Add type argument.
(ada_val_print_array): Update.
(ada_val_print_1): Likewise.
* ada-lang.c (emit_char): Add type argument.
* ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add
type arguments.
* gdb_locale.h: Include langinfo.h.
* charset.c (_initialize_charset): Set default host charset from
the locale. Don't register charsets. Add target-wide-charset
commands. Call find_charset_names.
(struct charset, struct translation): Remove.
(GDB_DEFAULT_HOST_CHARSET): Remove.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): New define.
(target_wide_charset_name): New global.
(show_host_charset_name): Handle "auto".
(show_target_wide_charset_name): New function.
(host_charset_enum, target_charset_enum): Remove.
(charset_enum): New global.
(all_charsets, register_charset, lookup_charset, all_translations,
register_translation, lookup_translation): Remove.
(simple_charset, ascii_print_literally, ascii_to_control): Remove.
(iso_8859_print_literally, iso_8859_to_control,
iso_8859_family_charset): Remove.
(ebcdic_print_literally, ebcdic_to_control,
ebcdic_family_charset): Remove.
(struct cached_iconv, check_iconv_cache, cached_iconv_convert,
register_iconv_charsets): Remove.
(target_wide_charset_be_name, target_wide_charset_le_name): New
globals.
(identity_either_char_to_other): Remove.
(set_be_le_names, validate): New functions.
(backslashable, backslashed, represented): Remove.
(default_c_target_char_has_backslash_escape): Remove.
(default_c_parse_backslash, iconv_convert): Remove.
(ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table,
ascii_to_ibm1047_table, iso_8859_1_to_ascii_table,
iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table,
ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table,
ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table,
ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove.
(table_convert_char, table_translation, simple_table_translation):
Remove.
(current_host_charset, current_target_charset,
c_target_char_has_backslash_escape_func,
c_target_char_has_backslash_escape_baton): Remove.
(c_parse_backslash_func, c_parse_backslash_baton): Remove.
(host_char_to_target_func, host_char_to_target_baton): Remove.
(target_char_to_host_func, target_char_to_host_baton): Remove.
(cached_iconv_host_to_target, cached_iconv_target_to_host):
Remove.
(lookup_charset_or_error, check_valid_host_charset): Remove.
(set_host_and_target_charsets): Remove.
(set_host_charset, set_target_charset): Remove.
(set_host_charset_sfunc, set_target_charset_sfunc): Rewrite.
(set_target_wide_charset_sfunc): New function.
(show_charset): Print target wide character set.
(host_charset, target_charset): Rewrite.
(target_wide_charset): New function.
(c_target_char_has_backslash_escape): Remove.
(c_parse_backslash): Remove.
(host_letter_to_control_character): New function.
(host_char_print_literally): Remove.
(host_hex_value): New function.
(target_char_to_control_char): Remove.
(cleanup_iconv): New function.
(convert_between_encodings): New function.
(target_char_to_host): Remove.
(struct wchar_iterator): Define.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): New functions.
(do_cleanup_iterator): New function.
(char_ptr): New typedef.
(charsets): New global.
(add_one, find_charset_names): New functions.
(default_charset_names): New global.
(auto_host_charset_name): Likewise.
* aclocal.m4, config.in, configure: Rebuild.
* configure.ac: Call AM_LANGINFO_CODESET.
(GDB_DEFAULT_HOST_CHARSET): Default to UTF-8.
(AM_ICONV): Invoke earlier.
* acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and
LIBICONV_LIBDIR. Check for libiconv in build tree.
* Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros.
(INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE.
(INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR.
* gdb_obstack.h (obstack_grow_wstr): New define.
* gdb_wchar.h: New file.
* defs.h: Include it.
gdb/testsuite:
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
gdb/doc:
* gdb.texinfo (Character Sets): Remove obsolete text. Document
set target-wide-charset.
(Requirements): Mention iconv.
2009-03-21 00:04:40 +01:00
|
|
|
/* Define to 1 if you have the `iconvlist' function. */
|
|
|
|
#undef HAVE_ICONVLIST
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
gdb:
2009-03-19 Tom Tromey <tromey@redhat.com>
Julian Brown <julian@codesourcery.com>
PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103,
PR i18n/9401, PR exp/9613:
* NEWS: Update
* value.h (value_typed_string): Declare.
(val_print_string): Update.
* valprint.h (print_char_chars): Update.
* valprint.c (print_char_chars): Add type argument. Update.
(val_print_string): Likewise.
* valops.c (value_typed_string): New function.
* utils.c (host_char_to_target): New function.
(parse_escape): Use host_char_to_target, host_hex_value. Update.
Remove '^' case.
(no_control_char_error): Remove.
* typeprint.c (print_type_scalar): Update.
* scm-valprint.c (scm_scmval_print): Update.
* scm-lang.h (scm_printchar, scm_printstr): Update.
* scm-lang.c (scm_printchar): Add type argument.
(scm_printstr): Likewise.
* printcmd.c (print_formatted): Update.
(print_scalar_formatted): Update.
(printf_command) <wide_string_arg, wide_char_arg>: New constants.
Handle '%lc' and '%ls'.
* parser-defs.h (struct typed_stoken): New type.
(struct stoken_vector): Likewise.
(write_exp_string_vector): Declare.
* parse.c (write_exp_string_vector): New function.
* p-valprint.c (pascal_val_print): Update.
* p-lang.h (is_pascal_string_type, pascal_printchar,
pascal_printstr): Update.
* p-lang.c (is_pascal_string_type): Remove 'char_size' argument.
Add 'char_type' argument.
(pascal_emit_char): Add type argument.
(pascal_printchar): Likewise.
(pascal_printstr): Likewise.
* objc-lang.c (objc_emit_char): Add type argument.
(objc_printchar): Likewise.
(objc_printstr): Likewise.
* macroexp.c (get_character_constant): Handle unicode characters.
Use c_parse_escape.
(get_string_literal): Handle unicode strings. Use
c_parse_escape.
* m2-valprint.c (print_unpacked_pointer): Update.
(m2_print_array_contents): Update.
(m2_val_print): Update.
* m2-lang.c (m2_emit_char): Add type argument.
(m2_printchar): Likewise.
(m2_printstr): Likewise.
* language.h (struct language_defn) <la_printchar>: Add type
argument.
<la_printstr, la_emitchar>: Likewise.
(LA_PRINT_CHAR): Likewise.
(LA_PRINT_STRING): Likewise.
(LA_EMIT_CHAR): Likewise.
* language.c (unk_lang_emit_char): Add type argument.
(unk_lang_printchar): Likewise.
(unk_lang_printstr): Likewise.
* jv-valprint.c (java_val_print): Update.
* jv-lang.c (java_emit_char): Add type argument.
* f-valprint.c (f_val_print): Update.
* f-lang.c (f_emit_char): Add type argument.
(f_printchar): Likewise.
(f_printstr): Likewise.
* expprint.c (print_subexp_standard): Update.
* charset.h (target_wide_charset): Declare.
(c_target_char_has_backslash_escape, c_parse_backslash,
host_char_print_literally, host_char_to_target,
target_char_to_host, target_char_to_control_char): Remove.
(enum transliterations): New type.
(convert_between_encodings): Declare.
(HOST_ESCAPE_CHAR): New define.
(host_letter_to_control_character, host_hex_value): Declare.
(enum wchar_iterate_result): New enum.
(struct wchar_iterator): Declare.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): Declare.
* charset-list.h: New file.
* c-valprint.c (textual_name): New function.
(textual_element_type): Handle wide character types.
(c_val_print): Pass original type to textual_element_type. Handle
wide character types.
(c_value_print): Use textual_element_type. Pass original type of
value to val_print.
* c-lang.h (enum c_string_type): New type.
(c_printchar, c_printstr): Update.
* c-lang.c (classify_type): New function.
(print_wchar): Likewise.
(c_emit_char): Add type argument. Handle wide characters.
(c_printchar): Likewise.
(c_printstr): Add type argument. Handle wide and multibyte
character sets.
(convert_ucn): New function.
(emit_numeric_character): Likewise.
(convert_octal): Likewise.
(convert_hex): Likewise.
(ADVANCE): New macro.
(convert_escape): New function.
(parse_one_string): Likewise.
(evaluate_subexp_c): Likewise.
(exp_descriptor_c): New global.
(c_language_defn): Use exp_descriptor_c.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
(charset_for_string_type): New function.
* c-exp.y (%union): Add 'svec' and 'tsval'.
(CHAR): New token.
(exp): Add CHAR production.
(string_exp): Rewrite.
(exp) <string_exp>: Rewrite.
(tempbuf): Now global.
(tempbuf_init): New global.
(parse_string_or_char): New function.
(yylex) <tempbuf>: Now global.
<tokptr, tempbufindex, tempbufsize, token_string, class_prefix>:
Remove.
Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char.
(c_parse_escape): New function.
* auxv.c (fprint_target_auxv): Update.
* ada-valprint.c (ada_emit_char): Add type argument.
(ada_printchar): Likewise.
(ada_print_scalar): Update.
(printstr): Add type argument. Update calls to ada_emit_char.
(ada_printstr): Add type argument.
(ada_val_print_array): Update.
(ada_val_print_1): Likewise.
* ada-lang.c (emit_char): Add type argument.
* ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add
type arguments.
* gdb_locale.h: Include langinfo.h.
* charset.c (_initialize_charset): Set default host charset from
the locale. Don't register charsets. Add target-wide-charset
commands. Call find_charset_names.
(struct charset, struct translation): Remove.
(GDB_DEFAULT_HOST_CHARSET): Remove.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): New define.
(target_wide_charset_name): New global.
(show_host_charset_name): Handle "auto".
(show_target_wide_charset_name): New function.
(host_charset_enum, target_charset_enum): Remove.
(charset_enum): New global.
(all_charsets, register_charset, lookup_charset, all_translations,
register_translation, lookup_translation): Remove.
(simple_charset, ascii_print_literally, ascii_to_control): Remove.
(iso_8859_print_literally, iso_8859_to_control,
iso_8859_family_charset): Remove.
(ebcdic_print_literally, ebcdic_to_control,
ebcdic_family_charset): Remove.
(struct cached_iconv, check_iconv_cache, cached_iconv_convert,
register_iconv_charsets): Remove.
(target_wide_charset_be_name, target_wide_charset_le_name): New
globals.
(identity_either_char_to_other): Remove.
(set_be_le_names, validate): New functions.
(backslashable, backslashed, represented): Remove.
(default_c_target_char_has_backslash_escape): Remove.
(default_c_parse_backslash, iconv_convert): Remove.
(ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table,
ascii_to_ibm1047_table, iso_8859_1_to_ascii_table,
iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table,
ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table,
ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table,
ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove.
(table_convert_char, table_translation, simple_table_translation):
Remove.
(current_host_charset, current_target_charset,
c_target_char_has_backslash_escape_func,
c_target_char_has_backslash_escape_baton): Remove.
(c_parse_backslash_func, c_parse_backslash_baton): Remove.
(host_char_to_target_func, host_char_to_target_baton): Remove.
(target_char_to_host_func, target_char_to_host_baton): Remove.
(cached_iconv_host_to_target, cached_iconv_target_to_host):
Remove.
(lookup_charset_or_error, check_valid_host_charset): Remove.
(set_host_and_target_charsets): Remove.
(set_host_charset, set_target_charset): Remove.
(set_host_charset_sfunc, set_target_charset_sfunc): Rewrite.
(set_target_wide_charset_sfunc): New function.
(show_charset): Print target wide character set.
(host_charset, target_charset): Rewrite.
(target_wide_charset): New function.
(c_target_char_has_backslash_escape): Remove.
(c_parse_backslash): Remove.
(host_letter_to_control_character): New function.
(host_char_print_literally): Remove.
(host_hex_value): New function.
(target_char_to_control_char): Remove.
(cleanup_iconv): New function.
(convert_between_encodings): New function.
(target_char_to_host): Remove.
(struct wchar_iterator): Define.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): New functions.
(do_cleanup_iterator): New function.
(char_ptr): New typedef.
(charsets): New global.
(add_one, find_charset_names): New functions.
(default_charset_names): New global.
(auto_host_charset_name): Likewise.
* aclocal.m4, config.in, configure: Rebuild.
* configure.ac: Call AM_LANGINFO_CODESET.
(GDB_DEFAULT_HOST_CHARSET): Default to UTF-8.
(AM_ICONV): Invoke earlier.
* acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and
LIBICONV_LIBDIR. Check for libiconv in build tree.
* Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros.
(INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE.
(INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR.
* gdb_obstack.h (obstack_grow_wstr): New define.
* gdb_wchar.h: New file.
* defs.h: Include it.
gdb/testsuite:
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
gdb/doc:
* gdb.texinfo (Character Sets): Remove obsolete text. Document
set target-wide-charset.
(Requirements): Mention iconv.
2009-03-21 00:04:40 +01:00
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
|
2008-12-09 18:18:30 +01:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
|
|
#undef HAVE_LIBDL
|
2000-05-25 08:49:01 +02:00
|
|
|
|
2006-08-08 22:32:15 +02:00
|
|
|
/* Define if you have the expat library. */
|
|
|
|
#undef HAVE_LIBEXPAT
|
|
|
|
|
2009-03-25 01:58:37 +01:00
|
|
|
/* Define to 1 if you have the `libiconvlist' function. */
|
|
|
|
#undef HAVE_LIBICONVLIST
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
2008-08-06 21:41:33 +02:00
|
|
|
/* Define if Python 2.4 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_4
|
|
|
|
|
|
|
|
/* Define if Python 2.5 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_5
|
|
|
|
|
|
|
|
/* Define if Python 2.6 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_6
|
|
|
|
|
2010-07-06 21:03:12 +02:00
|
|
|
/* Define if Python 2.7 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_7
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
|
2003-11-14 22:17:51 +01:00
|
|
|
#undef HAVE_LIBUNWIND_IA64_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `w' library (-lw). */
|
|
|
|
#undef HAVE_LIBW
|
2003-11-14 22:17:51 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <link.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_LINK_H
|
|
|
|
|
2008-12-09 18:18:30 +01:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the compiler supports long double. */
|
|
|
|
#undef HAVE_LONG_DOUBLE
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if the system has the type `long long int'. */
|
|
|
|
#undef HAVE_LONG_LONG_INT
|
|
|
|
|
2012-01-18 19:58:43 +01:00
|
|
|
/* Define to 1 if you have the `lstat' function. */
|
|
|
|
#undef HAVE_LSTAT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has lwpid_t. */
|
|
|
|
#undef HAVE_LWPID_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <machine/reg.h> header file. */
|
2004-01-02 13:40:09 +01:00
|
|
|
#undef HAVE_MACHINE_REG_H
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
|
|
|
|
config.h and <sys/mman.h>. */
|
|
|
|
#undef HAVE_MAP_ANONYMOUS
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if you have the `memchr' function. */
|
|
|
|
#undef HAVE_MEMCHR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `memmem' function. */
|
|
|
|
#undef HAVE_MEMMEM
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `monstartup' function. */
|
|
|
|
#undef HAVE_MONSTARTUP
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 if you have the `mprotect' function. */
|
|
|
|
#undef HAVE_MPROTECT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ncurses.h> header file. */
|
2000-05-26 06:11:34 +02:00
|
|
|
#undef HAVE_NCURSES_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
|
2004-08-15 12:06:05 +02:00
|
|
|
#undef HAVE_NCURSES_NCURSES_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ncurses/term.h> header file. */
|
2004-11-09 01:59:03 +01:00
|
|
|
#undef HAVE_NCURSES_TERM_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
2000-05-25 08:49:01 +02:00
|
|
|
#undef HAVE_NDIR_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <nlist.h> header file. */
|
|
|
|
#undef HAVE_NLIST_H
|
|
|
|
|
2008-07-10 11:31:00 +02:00
|
|
|
/* Define if you support the personality syscall. */
|
|
|
|
#undef HAVE_PERSONALITY
|
|
|
|
|
2009-07-20 17:24:55 +02:00
|
|
|
/* Define to 1 if you have the `pipe' function. */
|
|
|
|
#undef HAVE_PIPE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `poll' function. */
|
|
|
|
#undef HAVE_POLL
|
2001-03-20 03:57:42 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <poll.h> header file. */
|
2000-07-05 12:25:43 +02:00
|
|
|
#undef HAVE_POLL_H
|
|
|
|
|
2010-03-10 19:37:24 +01:00
|
|
|
/* Define to 1 if you have the `posix_madvise' function. */
|
|
|
|
#undef HAVE_POSIX_MADVISE
|
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
Ulrich Weigand <ulrich.weigand@linaro.org>
* configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
* config.in, configure: Regenerate.
* target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
to_fileio_pread, to_fileio_close, to_fileio_unlink.
(target_fileio_open): Add prototype.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* target.c: Include "gdb/fileio.h".
(target_read_stralloc): Accept trailing, but not embedded NUL bytes.
(default_fileio_target): New function.
(target_fileio_open): Likewise.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_close_cleanup): Likewise.
(target_fileio_read_alloc_1): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
<fcntl.h>, and <unistd.h>.
(inf_child_fileio_open_flags_to_host): New function.
(inf_child_errno_to_fileio_error): Likewise.
(inf_child_fileio_open): Likewise.
(inf_child_fileio_pwrite): Likewise.
(inf_child_fileio_pread): Likewise.
(inf_child_fileio_close): Likewise.
(inf_child_fileio_unlink): Likewise.
(inf_child_target): Install to_fileio routines.
* remote.c (init_remote_ops): Install to_fileio routines.
2012-01-20 10:45:51 +01:00
|
|
|
/* Define to 1 if you have the `pread' function. */
|
|
|
|
#undef HAVE_PREAD
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `pread64' function. */
|
|
|
|
#undef HAVE_PREAD64
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prfpregset32_t. */
|
|
|
|
#undef HAVE_PRFPREGSET32_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prfpregset_t. */
|
|
|
|
#undef HAVE_PRFPREGSET_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prgregset32_t. */
|
|
|
|
#undef HAVE_PRGREGSET32_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prgregset_t. */
|
|
|
|
#undef HAVE_PRGREGSET_T
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if ioctl argument PIOCSET is available. */
|
|
|
|
#undef HAVE_PROCFS_PIOCSET
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <proc_service.h> header file. */
|
2000-03-27 09:31:37 +02:00
|
|
|
#undef HAVE_PROC_SERVICE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has prrun_t. */
|
|
|
|
#undef HAVE_PRRUN_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prsysent_t. */
|
|
|
|
#undef HAVE_PRSYSENT_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has pr_sigaction64_t. */
|
|
|
|
#undef HAVE_PR_SIGACTION64_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has pr_siginfo64_t. */
|
|
|
|
#undef HAVE_PR_SIGINFO64_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has pr_sigset_t. */
|
|
|
|
#undef HAVE_PR_SIGSET_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has psaddr_t. */
|
|
|
|
#undef HAVE_PSADDR_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has pstatus_t. */
|
|
|
|
#undef HAVE_PSTATUS_T
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if sys/ptrace.h defines the PTRACE_GETFPXREGS request. */
|
|
|
|
#undef HAVE_PTRACE_GETFPXREGS
|
|
|
|
|
|
|
|
/* Define if sys/ptrace.h defines the PTRACE_GETREGS request. */
|
|
|
|
#undef HAVE_PTRACE_GETREGS
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ptrace.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_PTRACE_H
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if sys/ptrace.h defines the PT_GETDBREGS request. */
|
|
|
|
#undef HAVE_PT_GETDBREGS
|
|
|
|
|
|
|
|
/* Define if sys/ptrace.h defines the PT_GETXMMREGS request. */
|
|
|
|
#undef HAVE_PT_GETXMMREGS
|
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
Ulrich Weigand <ulrich.weigand@linaro.org>
* configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
* config.in, configure: Regenerate.
* target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
to_fileio_pread, to_fileio_close, to_fileio_unlink.
(target_fileio_open): Add prototype.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* target.c: Include "gdb/fileio.h".
(target_read_stralloc): Accept trailing, but not embedded NUL bytes.
(default_fileio_target): New function.
(target_fileio_open): Likewise.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_close_cleanup): Likewise.
(target_fileio_read_alloc_1): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
<fcntl.h>, and <unistd.h>.
(inf_child_fileio_open_flags_to_host): New function.
(inf_child_errno_to_fileio_error): Likewise.
(inf_child_fileio_open): Likewise.
(inf_child_fileio_pwrite): Likewise.
(inf_child_fileio_pread): Likewise.
(inf_child_fileio_close): Likewise.
(inf_child_fileio_unlink): Likewise.
(inf_child_target): Install to_fileio routines.
* remote.c (init_remote_ops): Install to_fileio routines.
2012-01-20 10:45:51 +01:00
|
|
|
/* Define to 1 if you have the `pwrite' function. */
|
|
|
|
#undef HAVE_PWRITE
|
|
|
|
|
2008-08-06 21:41:33 +02:00
|
|
|
/* Define if Python interpreter is being linked in. */
|
|
|
|
#undef HAVE_PYTHON
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 if btowc is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_BTOWC
|
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define to 1 if imaxabs is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_IMAXABS
|
|
|
|
|
|
|
|
/* Define to 1 if imaxdiv is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_IMAXDIV
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 if mbrlen is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_MBRLEN
|
|
|
|
|
|
|
|
/* Define to 1 if mbrtowc is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_MBRTOWC
|
|
|
|
|
|
|
|
/* Define to 1 if mbsinit is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_MBSINIT
|
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
#undef HAVE_RAW_DECL_MBSRTOWCS
|
|
|
|
|
|
|
|
/* Define to 1 if memmem is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_MEMMEM
|
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
#undef HAVE_RAW_DECL_MEMRCHR
|
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
#undef HAVE_RAW_DECL_STPCPY
|
|
|
|
|
|
|
|
/* Define to 1 if stpncpy is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STPNCPY
|
|
|
|
|
|
|
|
/* Define to 1 if strcasestr is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRCASESTR
|
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
#undef HAVE_RAW_DECL_STRDUP
|
|
|
|
|
|
|
|
/* Define to 1 if strncat is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRNCAT
|
|
|
|
|
|
|
|
/* Define to 1 if strndup is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRNDUP
|
|
|
|
|
|
|
|
/* Define to 1 if strnlen is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRNLEN
|
|
|
|
|
|
|
|
/* Define to 1 if strpbrk is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRPBRK
|
|
|
|
|
|
|
|
/* Define to 1 if strsep is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRSEP
|
|
|
|
|
|
|
|
/* Define to 1 if strsignal is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRSIGNAL
|
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define to 1 if strtoimax is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRTOIMAX
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 if strtok_r is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRTOK_R
|
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define to 1 if strtoumax is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRTOUMAX
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* 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. */
|
|
|
|
#undef HAVE_RAW_DECL_WCRTOMB
|
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
#undef HAVE_RAW_DECL_WCSRTOMBS
|
|
|
|
|
|
|
|
/* Define to 1 if wctob is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_WCTOB
|
|
|
|
|
|
|
|
/* Define to 1 if wcwidth is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_WCWIDTH
|
|
|
|
|
2012-01-20 10:47:32 +01:00
|
|
|
/* Define to 1 if you have the `readlink' function. */
|
|
|
|
#undef HAVE_READLINK
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `realpath' function. */
|
|
|
|
#undef HAVE_REALPATH
|
|
|
|
|
2010-07-28 13:48:23 +02:00
|
|
|
/* Define to 1 if you have the `resize_term' function. */
|
|
|
|
#undef HAVE_RESIZE_TERM
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `sbrk' function. */
|
|
|
|
#undef HAVE_SBRK
|
|
|
|
|
2008-12-09 18:18:30 +01:00
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
|
|
|
#undef HAVE_SETLOCALE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `setpgid' function. */
|
|
|
|
#undef HAVE_SETPGID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setpgrp' function. */
|
|
|
|
#undef HAVE_SETPGRP
|
|
|
|
|
2010-01-15 01:34:37 +01:00
|
|
|
/* Define to 1 if you have the `setrlimit' function. */
|
|
|
|
#undef HAVE_SETRLIMIT
|
|
|
|
|
2008-03-12 15:10:56 +01:00
|
|
|
/* Define to 1 if you have the `setsid' function. */
|
|
|
|
#undef HAVE_SETSID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sgtty.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SGTTY_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
|
2007-03-29 17:24:28 +02:00
|
|
|
/* Define to 1 if you have the <signal.h> header file. */
|
|
|
|
#undef HAVE_SIGNAL_H
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* 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
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `sigprocmask' function. */
|
|
|
|
#undef HAVE_SIGPROCMASK
|
|
|
|
|
|
|
|
/* Define if sigsetjmp is available. */
|
|
|
|
#undef HAVE_SIGSETJMP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sigsetmask' function. */
|
|
|
|
#undef HAVE_SIGSETMASK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `socketpair' function. */
|
|
|
|
#undef HAVE_SOCKETPAIR
|
|
|
|
|
2005-06-13 23:32:01 +02:00
|
|
|
/* Define to 1 if the system has the type `socklen_t'. */
|
|
|
|
#undef HAVE_SOCKLEN_T
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_STDDEF_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2000-03-27 09:31:37 +02:00
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2003-01-02 12:14:33 +01:00
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if <sys/link.h> has struct link_map32 */
|
|
|
|
#undef HAVE_STRUCT_LINK_MAP32
|
|
|
|
|
|
|
|
/* Define if <link.h> exists and defines struct link_map which has members
|
|
|
|
with an ``lm_'' prefix. (For SunOS.) */
|
|
|
|
#undef HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS
|
|
|
|
|
|
|
|
/* Define if <link.h> exists and defines struct link_map which has members
|
|
|
|
with an ``l_'' prefix. (For Solaris, SVR4, and SVR4-like systems.) */
|
|
|
|
#undef HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if your system has struct lwp. */
|
|
|
|
#undef HAVE_STRUCT_LWP
|
|
|
|
|
|
|
|
/* Define to 1 if your system has struct reg in <machine/reg.h>. */
|
|
|
|
#undef HAVE_STRUCT_REG
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct reg' is a member of `r_fs'. */
|
2005-01-21 14:49:22 +01:00
|
|
|
#undef HAVE_STRUCT_REG_R_FS
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct reg' is a member of `r_gs'. */
|
2005-01-21 14:49:22 +01:00
|
|
|
#undef HAVE_STRUCT_REG_R_GS
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if <link.h> exists and defines a struct so_map which has members
|
|
|
|
with an ``som_'' prefix. (Found on older *BSD systems.) */
|
|
|
|
#undef HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct stat' is a member of `st_blksize'. */
|
2005-03-21 22:23:35 +01:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct stat' is a member of `st_blocks'. */
|
2005-01-21 12:53:23 +01:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLOCKS
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct thread' is a member of `td_pcb'. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_STRUCT_THREAD_TD_PCB
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `syscall' function. */
|
|
|
|
#undef HAVE_SYSCALL
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
|
|
|
#undef HAVE_SYS_BITYPES_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/debugreg.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_DEBUGREG_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
2000-05-25 08:49:01 +02:00
|
|
|
#undef HAVE_SYS_DIR_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/fault.h> header file. */
|
2001-03-06 01:52:31 +01:00
|
|
|
#undef HAVE_SYS_FAULT_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
2001-02-14 19:48:40 +01:00
|
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/filio.h> header file. */
|
2001-12-07 18:57:05 +01:00
|
|
|
#undef HAVE_SYS_FILIO_H
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
|
|
|
#undef HAVE_SYS_INTTYPES_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
2002-01-05 19:36:32 +01:00
|
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
2000-05-25 08:49:01 +02:00
|
|
|
#undef HAVE_SYS_NDIR_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/poll.h> header file. */
|
2000-07-05 12:25:43 +02:00
|
|
|
#undef HAVE_SYS_POLL_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/procfs.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_PROCFS_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/proc.h> header file. */
|
|
|
|
#undef HAVE_SYS_PROC_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ptrace.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_PTRACE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/reg.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_REG_H
|
|
|
|
|
2007-02-02 23:55:54 +01:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
1999-04-26 20:34:20 +02:00
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
2012-03-03 04:08:36 +01:00
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/syscall.h> header file. */
|
2001-03-06 01:52:31 +01:00
|
|
|
#undef HAVE_SYS_SYSCALL_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2004-08-09 21:20:13 +02:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2012-03-03 04:08:36 +01:00
|
|
|
/* Define to 1 if you have the <sys/un.h> header file. */
|
|
|
|
#undef HAVE_SYS_UN_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/user.h> header file. */
|
2000-05-25 06:44:33 +02:00
|
|
|
#undef HAVE_SYS_USER_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
|
|
#undef HAVE_TERMIOS_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <termio.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_TERMIO_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <term.h> header file. */
|
|
|
|
#undef HAVE_TERM_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <thread_db.h> header file. */
|
2000-03-27 09:31:37 +02:00
|
|
|
#undef HAVE_THREAD_DB_H
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if using Solaris thread debugging. */
|
|
|
|
#undef HAVE_THREAD_DB_LIB
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
1999-08-31 03:14:27 +02:00
|
|
|
#undef HAVE_TIME_H
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if you support the tkill syscall. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_TKILL_SYSCALL
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `ttrace' function. */
|
|
|
|
#undef HAVE_TTRACE
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if the system has the type `unsigned long long int'. */
|
|
|
|
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
|
|
#undef HAVE_VFORK_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2010-09-02 19:12:38 +02:00
|
|
|
/* Define to 1 if you have the `waitpid' function. */
|
|
|
|
#undef HAVE_WAITPID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <wait.h> header file. */
|
|
|
|
#undef HAVE_WAIT_H
|
2002-06-22 01:48:41 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `wborder' function. */
|
|
|
|
#undef HAVE_WBORDER
|
gdb/ChangeLog:
2003-01-23 Alexander Larsson <alexl@redhat.com>
Jim Blandy <jimb@redhat.com>
Add support for executables whose debug info has been separated
out into a separate file, leaving only a link behind.
* objfiles.h (struct objfile): New fields: separate_debug_objfile
and separate_debug_objfile_backlink.
(put_objfile_before): New declaration.
* symfile.c: #include "filenames.h".
(symbol_file_add_with_addrs_or_offsets): If this objfile has its
debug info in a separate file, read that, too. Save the addrs
argument, so we can use it again to read the separated debug info;
syms_from_objfile modifies the table we pass it.
(reread_symbols): After re-reading an objfile, call
reread_separate_symbols to refresh its separate debug info
objfile, if it has one.
(reread_separate_symbols, find_separate_debug_file,
get_debug_link_info, separate_debug_file_exists): New functions.
(debug_file_directory): New global var.
(_initialize_symfile): Initialize debug_file_directory, and
provide the new `set debug-file-directory' command to let the user
change it.
* objfiles.c (free_objfile): If this objfile has its debug info in
a separate objfile, free that one too. If this is itself a
separate debug info objfile, clear our parent's backlink.
(put_objfile_before): New function.
* utils.c (gnu_debuglink_crc32): New function.
* defs.h (gnu_debuglink_crc32): New declaration.
* Makefile.in (symfile.o): Note dependency on "filenames.h".
* configure.in: Handle --with-separate-debug-dir config option.
* acinclude.m4 (AC_DEFINE_DIR): New macro.
* acconfig.h (DEBUGDIR): New macro.
* configure, aclocal.m4, config.in: Regenerated.
gdb/doc/ChangeLog:
2003-01-23 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Separate Debug Files): New section.
2003-01-24 00:03:32 +01:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
|
|
#undef HAVE_WCHAR_H
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define if you have the 'wchar_t' type. */
|
|
|
|
#undef HAVE_WCHAR_T
|
|
|
|
|
|
|
|
/* Define if you have the 'wint_t' type. */
|
|
|
|
#undef HAVE_WINT_T
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if `fork' works. */
|
|
|
|
#undef HAVE_WORKING_FORK
|
2003-01-02 23:49:31 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if `vfork' works. */
|
|
|
|
#undef HAVE_WORKING_VFORK
|
2003-01-02 23:49:31 +01:00
|
|
|
|
2010-07-29 01:24:57 +02:00
|
|
|
/* Define to 1 if you have the `wresize' function. */
|
|
|
|
#undef HAVE_WRESIZE
|
|
|
|
|
2007-01-09 15:58:57 +01:00
|
|
|
/* Define to 1 if you have the `XML_StopParser' function. */
|
|
|
|
#undef HAVE_XML_STOPPARSER
|
|
|
|
|
2008-04-19 07:06:54 +02:00
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
|
|
|
#undef HAVE_ZLIB_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if your system has the _etext variable. */
|
2003-02-14 21:07:00 +01:00
|
|
|
#undef HAVE__ETEXT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `_mcleanup' function. */
|
|
|
|
#undef HAVE__MCLEANUP
|
2004-08-09 21:20:13 +02:00
|
|
|
|
2011-05-09 23:49:57 +02:00
|
|
|
/* 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
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
|
|
#undef ICONV_CONST
|
2004-08-08 00:12:08 +02:00
|
|
|
|
2012-01-13 00:38:47 +01:00
|
|
|
/* directory to load the JIT readers from */
|
|
|
|
#undef JIT_READER_DIR
|
|
|
|
|
|
|
|
/* Define if the jit-reader-dir directory should be relocated when GDB is
|
|
|
|
moved. */
|
|
|
|
#undef JIT_READER_DIR_RELOCATABLE
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
|
|
|
|
#undef MAP_ANONYMOUS
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if you want to use new multi-fd /proc interface (replaces
|
|
|
|
HAVE_MULTIPLE_PROC_FDS as well as other macros). */
|
|
|
|
#undef NEW_PROC_API
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Name of this package. */
|
|
|
|
#undef PACKAGE
|
2002-03-15 01:44:49 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
2000-02-16 14:45:24 +01:00
|
|
|
|
2008-06-06 00:36:57 +02:00
|
|
|
/* Additional package description */
|
|
|
|
#undef PKGVERSION
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if the prfpregset_t type is broken. */
|
|
|
|
#undef PRFPREGSET_T_BROKEN
|
|
|
|
|
2008-01-08 20:38:33 +01:00
|
|
|
/* Define to 1 if the "%H, %D and %DD" formats work to print decfloats. */
|
|
|
|
#undef PRINTF_HAS_DECFLOAT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the "%Lg" format works to print long doubles. */
|
|
|
|
#undef PRINTF_HAS_LONG_DOUBLE
|
2000-02-16 14:45:24 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the "%ll" format works to print long longs. */
|
|
|
|
#undef PRINTF_HAS_LONG_LONG
|
2000-08-30 02:58:58 +02:00
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
|
|
|
|
#undef PRI_MACROS_BROKEN
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if <proc_service.h> on solaris uses int instead of size_t, and
|
|
|
|
assorted other type changes. */
|
|
|
|
#undef PROC_SERVICE_IS_OLD
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the type of arg 3 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG3
|
2000-08-30 02:58:58 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the type of arg 5 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG5
|
2000-02-16 14:45:24 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as the return type of ptrace. */
|
|
|
|
#undef PTRACE_TYPE_RET
|
2000-03-27 09:31:37 +02:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
|
|
'ptrdiff_t'. */
|
|
|
|
#undef PTRDIFF_T_SUFFIX
|
|
|
|
|
2010-05-27 05:40:45 +02:00
|
|
|
/* Define if the python directory should be relocated when GDB is moved. */
|
|
|
|
#undef PYTHON_PATH_RELOCATABLE
|
|
|
|
|
2009-04-21 12:13:05 +02:00
|
|
|
/* Relocated directory for source files. */
|
|
|
|
#undef RELOC_SRCDIR
|
|
|
|
|
2008-06-06 00:36:57 +02:00
|
|
|
/* Bug reporting address */
|
|
|
|
#undef REPORT_BUGS_TO
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
|
|
#undef RETSIGTYPE
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the "%Lg" format works to scan long doubles. */
|
|
|
|
#undef SCANF_HAS_LONG_DOUBLE
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the `setpgrp' function takes no argument. */
|
|
|
|
#undef SETPGRP_VOID
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
|
|
'sig_atomic_t'. */
|
|
|
|
#undef SIG_ATOMIC_T_SUFFIX
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* The size of `long', as computed by sizeof. */
|
2006-05-15 19:11:59 +02:00
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
2012-01-13 00:38:47 +01:00
|
|
|
/* The size of `unsigned long', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_UNSIGNED_LONG
|
|
|
|
|
|
|
|
/* The size of `unsigned long long', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_UNSIGNED_LONG_LONG
|
|
|
|
|
|
|
|
/* The size of `unsigned __int128', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_UNSIGNED___INT128
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
|
|
'size_t'. */
|
|
|
|
#undef SIZE_T_SUFFIX
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
|
|
direction of stack growth for your system; otherwise it will be
|
2009-08-22 18:56:56 +02:00
|
|
|
automatically deduced at runtime.
|
2005-01-21 00:57:27 +01:00
|
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
|
|
#undef STACK_DIRECTION
|
|
|
|
|
|
|
|
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
|
|
|
#undef STAT_MACROS_BROKEN
|
|
|
|
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* automatically load a system-wide gdbinit file */
|
2009-01-28 16:01:00 +01:00
|
|
|
#undef SYSTEM_GDBINIT
|
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* Define if the system-gdbinit directory should be relocated when GDB is
|
2009-01-28 16:01:00 +01:00
|
|
|
moved. */
|
|
|
|
#undef SYSTEM_GDBINIT_RELOCATABLE
|
|
|
|
|
2012-01-18 19:35:43 +01:00
|
|
|
/* search for usr/lib et al within DIR */
|
|
|
|
#undef TARGET_SYSTEM_ROOT
|
|
|
|
|
|
|
|
/* Define if the sysroot directory should be relocated when GDB is moved. */
|
|
|
|
#undef TARGET_SYSTEM_ROOT_RELOCATABLE
|
|
|
|
|
2002-11-12 03:39:41 +01:00
|
|
|
/* Define if <thread_db.h> has the TD_NOTALLOC error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_NOTALLOC
|
|
|
|
|
2006-12-31 21:20:13 +01:00
|
|
|
/* Define if <thread_db.h> has the TD_NOTLS error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_NOTLS
|
|
|
|
|
|
|
|
/* Define if <thread_db.h> has the TD_VERSION error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_VERSION
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the regex included in libiberty should be used. */
|
|
|
|
#undef USE_INCLUDED_REGEX
|
2003-06-04 22:51:29 +02:00
|
|
|
|
2005-05-20 20:06:37 +02:00
|
|
|
/* 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
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* 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
|
|
|
|
|
2010-05-27 05:40:45 +02:00
|
|
|
/* Define if --with-python provides a path, either directly or via
|
|
|
|
python-config.py --exec-prefix. */
|
|
|
|
#undef WITH_PYTHON_PATH
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if the simulator is being linked in. */
|
|
|
|
#undef WITH_SIM
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define WORDS_BIGENDIAN 1
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# ifndef WORDS_BIGENDIAN
|
|
|
|
# undef WORDS_BIGENDIAN
|
|
|
|
# endif
|
2005-07-03 18:05:11 +02:00
|
|
|
#endif
|
|
|
|
|
2010-05-25 00:54:21 +02:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
|
|
|
|
<sys/proc.h> problem on IRIX 5. */
|
|
|
|
#undef _KMEMUSER
|
|
|
|
|
2010-05-25 00:54:21 +02:00
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
2005-05-20 20:17:47 +02:00
|
|
|
/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on Solaris
|
|
|
|
2.[789] when using GCC. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef _MSE_INT_H
|
2004-07-29 21:33:22 +02:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* 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
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if <sys/link.h> has link_map32 (solaris sparc-64 target) */
|
|
|
|
#undef _SYSCALL32
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* Define to 500 only on HP-UX. */
|
|
|
|
#undef _XOPEN_SOURCE
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable threading extensions on Solaris. */
|
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-04-14 07:24:57 +02:00
|
|
|
/* Ensure that <stdint.h> defines the limit macros, since gnulib's
|
|
|
|
<inttypes.h> relies on them. */
|
|
|
|
#if defined __cplusplus && !defined __STDC_LIMIT_MACROS && GL_TRIGGER_STDC_LIMIT_MACROS
|
|
|
|
# define __STDC_LIMIT_MACROS 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
2004-07-29 21:33:22 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#undef inline
|
|
|
|
#endif
|
2003-01-05 00:47:13 +01:00
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* 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
|
2008-04-14 21:47:29 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef pid_t
|
2002-11-26 02:23:46 +01:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* 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. */
|
|
|
|
#undef restrict
|
2010-05-23 02:57:01 +02:00
|
|
|
/* 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. */
|
2008-04-14 21:47:29 +02:00
|
|
|
#if defined __SUNPRO_CC && !defined __RESTRICT
|
|
|
|
# define _Restrict
|
2010-05-23 02:57:01 +02:00
|
|
|
# define __restrict__
|
2008-04-14 21:47:29 +02:00
|
|
|
#endif
|
|
|
|
|
2010-05-23 02:57:01 +02:00
|
|
|
/* 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
|
|
|
|
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|