2005-01-21 07:57:27 +08:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
2004-04-29 22:29:14 +08:00
|
|
|
|
2010-05-23 08:57:01 +08:00
|
|
|
/* Define if the compiler is building for multiple architectures of Apple
|
|
|
|
platforms at once. */
|
|
|
|
#undef AA_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2008-04-15 03:47:29 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if the compiler supports long long. */
|
|
|
|
#undef CC_HAS_LONG_LONG
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08: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 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
|
|
#undef C_ALLOCA
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2009-04-24 05:28:20 +08:00
|
|
|
/* look for global separate debug info in this path [LIBDIR/debug] */
|
2005-01-21 07:57:27 +08:00
|
|
|
#undef DEBUGDIR
|
2003-01-27 22:36:56 +08:00
|
|
|
|
2009-04-24 05:28:20 +08:00
|
|
|
/* Define if the separate-debug-dir directory should be relocated when GDB is
|
|
|
|
moved. */
|
2007-01-10 05:34:30 +08:00
|
|
|
#undef DEBUGDIR_RELOCATABLE
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to BFD's default architecture. */
|
|
|
|
#undef DEFAULT_BFD_ARCH
|
2002-02-24 05:54:25 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to BFD's default target vector. */
|
|
|
|
#undef DEFAULT_BFD_VEC
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2006-08-09 04:32:15 +08:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
2005-01-21 07:57:27 +08:00
|
|
|
#undef ENABLE_NLS
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2009-04-24 05:28:20 +08: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 07:57:27 +08:00
|
|
|
/* Define to be a string naming the default host character set. */
|
|
|
|
#undef GDB_DEFAULT_HOST_CHARSET
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Host double floatformat */
|
|
|
|
#undef GDB_HOST_DOUBLE_FORMAT
|
2003-01-27 22:36:56 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Host float floatformat */
|
|
|
|
#undef GDB_HOST_FLOAT_FORMAT
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Host long double floatformat */
|
|
|
|
#undef GDB_HOST_LONG_DOUBLE_FORMAT
|
1999-08-10 05:36:23 +08:00
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* nativefile */
|
|
|
|
#undef GDB_NM_FILE
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the default OS ABI for this configuration. */
|
|
|
|
#undef GDB_OSABI_DEFAULT
|
2003-01-04 08:34:43 +08:00
|
|
|
|
2010-05-23 08:57:01 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
|
|
#undef HAVE_ALLOCA
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
|
|
*/
|
|
|
|
#undef HAVE_ALLOCA_H
|
2001-12-22 06:32:37 +08:00
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if you have the <bp-sym.h> header file. */
|
|
|
|
#undef HAVE_BP_SYM_H
|
|
|
|
|
2009-04-16 06:20:32 +08:00
|
|
|
/* Define to 1 if you have the `btowc' function. */
|
|
|
|
#undef HAVE_BTOWC
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
|
|
|
#undef HAVE_CANONICALIZE_FILE_NAME
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <ctype.h> header file. */
|
|
|
|
#undef HAVE_CTYPE_H
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <cursesX.h> header file. */
|
|
|
|
#undef HAVE_CURSESX_H
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08: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-24 03:21:57 +08:00
|
|
|
|
2008-07-10 17:31:00 +08: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 21:14:02 +08: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 07:57:27 +08:00
|
|
|
#undef HAVE_DECL_GETOPT
|
1999-10-06 07:13:56 +08:00
|
|
|
|
2005-01-21 21:14:02 +08:00
|
|
|
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_MALLOC
|
|
|
|
|
2008-04-15 03:47:29 +08: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 21:14:02 +08:00
|
|
|
/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't.
|
|
|
|
*/
|
2005-01-21 07:57:27 +08:00
|
|
|
#undef HAVE_DECL_PTRACE
|
2001-08-28 06:39:56 +08:00
|
|
|
|
2005-01-21 21:14:02 +08:00
|
|
|
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_REALLOC
|
|
|
|
|
2005-05-21 02:06:37 +08: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 21:14:02 +08: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
|
|
|
|
|
2005-05-21 02:06:37 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DIRENT_H
|
1999-08-10 05:36:23 +08:00
|
|
|
|
2007-06-18 23:46:38 +08:00
|
|
|
/* Define if ELF support should be included. */
|
|
|
|
#undef HAVE_ELF
|
|
|
|
|
2007-10-25 05:14:17 +08:00
|
|
|
/* Define to 1 if you have the <elf_hp.h> header file. */
|
|
|
|
#undef HAVE_ELF_HP_H
|
|
|
|
|
2007-09-20 06:00:34 +08:00
|
|
|
/* Define to 1 if your system has the etext variable. */
|
|
|
|
#undef HAVE_ETEXT
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define if <sys/procfs.h> has fpregset_t. */
|
|
|
|
#undef HAVE_FPREGSET_T
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-03-22 05:23:35 +08:00
|
|
|
/* Define to 1 if you have the `getgid' function. */
|
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
|
|
#undef HAVE_GETPAGESIZE
|
2003-06-05 04:51:29 +08:00
|
|
|
|
2010-01-15 08:34:37 +08:00
|
|
|
/* Define to 1 if you have the `getrlimit' function. */
|
|
|
|
#undef HAVE_GETRLIMIT
|
|
|
|
|
2007-02-03 06:55:54 +08:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
2005-03-22 05:23:35 +08:00
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <gnu/libc-version.h> header file. */
|
|
|
|
#undef HAVE_GNU_LIBC_VERSION_H
|
2004-09-25 17:17:47 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define if <sys/procfs.h> has gregset_t. */
|
|
|
|
#undef HAVE_GREGSET_T
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* Define if you have HPUX threads */
|
|
|
|
#undef HAVE_HPUX_THREAD_SUPPORT
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define if you have the iconv() function. */
|
|
|
|
#undef HAVE_ICONV
|
1999-04-16 09:35:26 +08: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 07:04:40 +08:00
|
|
|
/* Define to 1 if you have the `iconvlist' function. */
|
|
|
|
#undef HAVE_ICONVLIST
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
1999-04-16 09:35:26 +08: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 07:04:40 +08:00
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
|
2008-12-10 01:18:30 +08:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
|
|
#undef HAVE_LIBDL
|
2000-05-25 14:49:01 +08:00
|
|
|
|
2006-08-09 04:32:15 +08:00
|
|
|
/* Define if you have the expat library. */
|
|
|
|
#undef HAVE_LIBEXPAT
|
|
|
|
|
2009-03-25 08:58:37 +08:00
|
|
|
/* Define to 1 if you have the `libiconvlist' function. */
|
|
|
|
#undef HAVE_LIBICONVLIST
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
2008-08-07 03:41:33 +08: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
|
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* Define if libunwind library is being used. */
|
|
|
|
#undef HAVE_LIBUNWIND
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <libunwind.h> header file. */
|
|
|
|
#undef HAVE_LIBUNWIND_H
|
2004-03-30 02:07:14 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
|
2003-11-15 05:17:51 +08:00
|
|
|
#undef HAVE_LIBUNWIND_IA64_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `w' library (-lw). */
|
|
|
|
#undef HAVE_LIBW
|
2003-11-15 05:17:51 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <link.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_LINK_H
|
|
|
|
|
2008-12-10 01:18:30 +08:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if the compiler supports long double. */
|
|
|
|
#undef HAVE_LONG_DOUBLE
|
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if the system has the type `long long int'. */
|
|
|
|
#undef HAVE_LONG_LONG_INT
|
|
|
|
|
2005-01-21 07:57:27 +08: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 20:40:09 +08:00
|
|
|
#undef HAVE_MACHINE_REG_H
|
|
|
|
|
2010-05-23 08:57:01 +08: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-15 03:47:29 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2005-01-21 07:57:27 +08: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 08:57:01 +08:00
|
|
|
/* Define to 1 if you have the `mprotect' function. */
|
|
|
|
#undef HAVE_MPROTECT
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <ncurses.h> header file. */
|
2000-05-26 12:11:34 +08:00
|
|
|
#undef HAVE_NCURSES_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
|
2004-08-15 18:06:05 +08:00
|
|
|
#undef HAVE_NCURSES_NCURSES_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <ncurses/term.h> header file. */
|
2004-11-09 08:59:03 +08:00
|
|
|
#undef HAVE_NCURSES_TERM_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
2000-05-25 14:49:01 +08:00
|
|
|
#undef HAVE_NDIR_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <nlist.h> header file. */
|
|
|
|
#undef HAVE_NLIST_H
|
|
|
|
|
2008-07-10 17:31:00 +08:00
|
|
|
/* Define if you support the personality syscall. */
|
|
|
|
#undef HAVE_PERSONALITY
|
|
|
|
|
2009-07-20 23:24:55 +08:00
|
|
|
/* Define to 1 if you have the `pipe' function. */
|
|
|
|
#undef HAVE_PIPE
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `poll' function. */
|
|
|
|
#undef HAVE_POLL
|
2001-03-20 10:57:42 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <poll.h> header file. */
|
2000-07-05 18:25:43 +08:00
|
|
|
#undef HAVE_POLL_H
|
|
|
|
|
2010-03-11 02:37:24 +08:00
|
|
|
/* Define to 1 if you have the `posix_madvise' function. */
|
|
|
|
#undef HAVE_POSIX_MADVISE
|
|
|
|
|
2005-01-21 07:57:27 +08: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-04 00:05:11 +08:00
|
|
|
/* Define if ioctl argument PIOCSET is available. */
|
|
|
|
#undef HAVE_PROCFS_PIOCSET
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <proc_service.h> header file. */
|
2000-03-27 15:31:37 +08:00
|
|
|
#undef HAVE_PROC_SERVICE_H
|
|
|
|
|
2005-01-21 07:57:27 +08: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-04 00:05:11 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <ptrace.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_PTRACE_H
|
|
|
|
|
2005-07-04 00:05:11 +08: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
|
|
|
|
|
2008-08-07 03:41:33 +08:00
|
|
|
/* Define if Python interpreter is being linked in. */
|
|
|
|
#undef HAVE_PYTHON
|
|
|
|
|
2010-05-23 08:57:01 +08:00
|
|
|
/* Define to 1 if btowc is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_BTOWC
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
|
|
|
/* Define to 1 if strtok_r is declared even after undefining macros. */
|
|
|
|
#undef HAVE_RAW_DECL_STRTOK_R
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `realpath' function. */
|
|
|
|
#undef HAVE_REALPATH
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sbrk' function. */
|
|
|
|
#undef HAVE_SBRK
|
|
|
|
|
2008-12-10 01:18:30 +08:00
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
|
|
|
#undef HAVE_SETLOCALE
|
|
|
|
|
2005-01-21 07:57:27 +08: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 08:34:37 +08:00
|
|
|
/* Define to 1 if you have the `setrlimit' function. */
|
|
|
|
#undef HAVE_SETRLIMIT
|
|
|
|
|
2008-03-12 22:10:56 +08:00
|
|
|
/* Define to 1 if you have the `setsid' function. */
|
|
|
|
#undef HAVE_SETSID
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sgtty.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_SGTTY_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
|
2007-03-29 23:24:28 +08:00
|
|
|
/* Define to 1 if you have the <signal.h> header file. */
|
|
|
|
#undef HAVE_SIGNAL_H
|
|
|
|
|
2008-04-15 03:47:29 +08: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 07:57:27 +08: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-14 05:32:01 +08:00
|
|
|
/* Define to 1 if the system has the type `socklen_t'. */
|
|
|
|
#undef HAVE_SOCKLEN_T
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_STDDEF_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2000-03-27 15:31:37 +08:00
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2003-01-02 19:14:33 +08:00
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2005-07-04 00:05:11 +08: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 07:57:27 +08: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-23 00:56:56 +08:00
|
|
|
/* Define to 1 if `struct reg' is a member of `r_fs'. */
|
2005-01-21 21:49:22 +08:00
|
|
|
#undef HAVE_STRUCT_REG_R_FS
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to 1 if `struct reg' is a member of `r_gs'. */
|
2005-01-21 21:49:22 +08:00
|
|
|
#undef HAVE_STRUCT_REG_R_GS
|
|
|
|
|
2005-07-04 00:05:11 +08: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-23 00:56:56 +08:00
|
|
|
/* Define to 1 if `struct stat' is a member of `st_blksize'. */
|
2005-03-22 05:23:35 +08:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to 1 if `struct stat' is a member of `st_blocks'. */
|
2005-01-21 19:53:23 +08:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLOCKS
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to 1 if `struct thread' is a member of `td_pcb'. */
|
2005-01-21 07:57:27 +08:00
|
|
|
#undef HAVE_STRUCT_THREAD_TD_PCB
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `syscall' function. */
|
|
|
|
#undef HAVE_SYSCALL
|
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
|
|
|
#undef HAVE_SYS_BITYPES_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/debugreg.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_SYS_DEBUGREG_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
2000-05-25 14:49:01 +08:00
|
|
|
#undef HAVE_SYS_DIR_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/fault.h> header file. */
|
2001-03-06 08:52:31 +08:00
|
|
|
#undef HAVE_SYS_FAULT_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
2001-02-15 02:48:40 +08:00
|
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/filio.h> header file. */
|
2001-12-08 01:57:05 +08:00
|
|
|
#undef HAVE_SYS_FILIO_H
|
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
|
|
|
#undef HAVE_SYS_INTTYPES_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
2002-01-06 02:36:32 +08:00
|
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
|
2010-05-23 08:57:01 +08:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
2000-05-25 14:49:01 +08:00
|
|
|
#undef HAVE_SYS_NDIR_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/poll.h> header file. */
|
2000-07-05 18:25:43 +08:00
|
|
|
#undef HAVE_SYS_POLL_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/procfs.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_SYS_PROCFS_H
|
|
|
|
|
2005-01-21 07:57:27 +08: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 09:35:26 +08:00
|
|
|
#undef HAVE_SYS_PTRACE_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/reg.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_SYS_REG_H
|
|
|
|
|
2007-02-03 06:55:54 +08:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
1999-04-27 02:34:20 +08:00
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
2005-01-21 07:57:27 +08: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 08:52:31 +08:00
|
|
|
#undef HAVE_SYS_SYSCALL_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2004-08-10 03:20:13 +08:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/user.h> header file. */
|
2000-05-25 12:44:33 +08:00
|
|
|
#undef HAVE_SYS_USER_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
|
|
#undef HAVE_TERMIOS_H
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <termio.h> header file. */
|
1999-04-16 09:35:26 +08:00
|
|
|
#undef HAVE_TERMIO_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <term.h> header file. */
|
|
|
|
#undef HAVE_TERM_H
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <thread_db.h> header file. */
|
2000-03-27 15:31:37 +08:00
|
|
|
#undef HAVE_THREAD_DB_H
|
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* Define if using Solaris thread debugging. */
|
|
|
|
#undef HAVE_THREAD_DB_LIB
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
1999-08-31 09:14:27 +08:00
|
|
|
#undef HAVE_TIME_H
|
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* Define if you support the tkill syscall. */
|
2005-01-21 07:57:27 +08:00
|
|
|
#undef HAVE_TKILL_SYSCALL
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `ttrace' function. */
|
|
|
|
#undef HAVE_TTRACE
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if the system has the type `unsigned long long int'. */
|
|
|
|
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
|
|
#undef HAVE_VFORK_H
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the <wait.h> header file. */
|
|
|
|
#undef HAVE_WAIT_H
|
2002-06-22 07:48:41 +08:00
|
|
|
|
2005-01-21 07:57:27 +08: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 07:03:32 +08:00
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
|
|
#undef HAVE_WCHAR_H
|
|
|
|
|
2010-05-23 08:57:01 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if `fork' works. */
|
|
|
|
#undef HAVE_WORKING_FORK
|
2003-01-03 06:49:31 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if `vfork' works. */
|
|
|
|
#undef HAVE_WORKING_VFORK
|
2003-01-03 06:49:31 +08:00
|
|
|
|
2007-01-09 22:58:57 +08:00
|
|
|
/* Define to 1 if you have the `XML_StopParser' function. */
|
|
|
|
#undef HAVE_XML_STOPPARSER
|
|
|
|
|
2008-04-19 13:06:54 +08:00
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
|
|
|
#undef HAVE_ZLIB_H
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if your system has the _etext variable. */
|
2003-02-15 04:07:00 +08:00
|
|
|
#undef HAVE__ETEXT
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `_mcleanup' function. */
|
|
|
|
#undef HAVE__MCLEANUP
|
2004-08-10 03:20:13 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
|
|
#undef ICONV_CONST
|
2004-08-08 06:12:08 +08:00
|
|
|
|
2010-05-23 08:57:01 +08:00
|
|
|
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
|
|
|
|
#undef MAP_ANONYMOUS
|
|
|
|
|
2005-07-04 00:05:11 +08: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 07:57:27 +08:00
|
|
|
/* Name of this package. */
|
|
|
|
#undef PACKAGE
|
2002-03-15 08:44:49 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
2000-02-16 21:45:24 +08:00
|
|
|
|
2008-06-06 06:36:57 +08:00
|
|
|
/* Additional package description */
|
|
|
|
#undef PKGVERSION
|
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* Define if the prfpregset_t type is broken. */
|
|
|
|
#undef PRFPREGSET_T_BROKEN
|
|
|
|
|
2008-01-09 03:38:33 +08:00
|
|
|
/* Define to 1 if the "%H, %D and %DD" formats work to print decfloats. */
|
|
|
|
#undef PRINTF_HAS_DECFLOAT
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if the "%Lg" format works to print long doubles. */
|
|
|
|
#undef PRINTF_HAS_LONG_DOUBLE
|
2000-02-16 21:45:24 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if the "%ll" format works to print long longs. */
|
|
|
|
#undef PRINTF_HAS_LONG_LONG
|
2000-08-30 08:58:58 +08:00
|
|
|
|
2005-07-04 00:05:11 +08: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 07:57:27 +08:00
|
|
|
/* Define to the type of arg 3 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG3
|
2000-08-30 08:58:58 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to the type of arg 5 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG5
|
2000-02-16 21:45:24 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define as the return type of ptrace. */
|
|
|
|
#undef PTRACE_TYPE_RET
|
2000-03-27 15:31:37 +08:00
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
|
|
'ptrdiff_t'. */
|
|
|
|
#undef PTRDIFF_T_SUFFIX
|
|
|
|
|
2009-04-21 18:13:05 +08:00
|
|
|
/* Relocated directory for source files. */
|
|
|
|
#undef RELOC_SRCDIR
|
|
|
|
|
2008-06-06 06:36:57 +08:00
|
|
|
/* Bug reporting address */
|
|
|
|
#undef REPORT_BUGS_TO
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
|
|
#undef RETSIGTYPE
|
2001-03-06 08:52:31 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if the "%Lg" format works to scan long doubles. */
|
|
|
|
#undef SCANF_HAS_LONG_DOUBLE
|
2001-03-06 08:52:31 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if the `setpgrp' function takes no argument. */
|
|
|
|
#undef SETPGRP_VOID
|
2001-03-06 08:52:31 +08:00
|
|
|
|
2008-04-15 03:47:29 +08: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-23 00:56:56 +08:00
|
|
|
/* The size of `long', as computed by sizeof. */
|
2006-05-16 01:11:59 +08:00
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
|
|
'size_t'. */
|
|
|
|
#undef SIZE_T_SUFFIX
|
|
|
|
|
2005-01-21 07:57:27 +08: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-23 00:56:56 +08:00
|
|
|
automatically deduced at runtime.
|
2005-01-21 07:57:27 +08: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 08:52:31 +08:00
|
|
|
|
2009-04-24 05:28:20 +08:00
|
|
|
/* automatically load a system-wide gdbinit file */
|
2009-01-28 23:01:00 +08:00
|
|
|
#undef SYSTEM_GDBINIT
|
|
|
|
|
2009-04-24 05:28:20 +08:00
|
|
|
/* Define if the system-gdbinit directory should be relocated when GDB is
|
2009-01-28 23:01:00 +08:00
|
|
|
moved. */
|
|
|
|
#undef SYSTEM_GDBINIT_RELOCATABLE
|
|
|
|
|
2002-11-12 10:39:41 +08:00
|
|
|
/* Define if <thread_db.h> has the TD_NOTALLOC error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_NOTALLOC
|
|
|
|
|
2007-01-01 04:20:13 +08: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 07:57:27 +08:00
|
|
|
/* Define to 1 if the regex included in libiberty should be used. */
|
|
|
|
#undef USE_INCLUDED_REGEX
|
2003-06-05 04:51:29 +08:00
|
|
|
|
2005-05-21 02:06:37 +08: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-15 03:47:29 +08: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
|
|
|
|
|
2005-07-04 00:05:11 +08:00
|
|
|
/* Define if the simulator is being linked in. */
|
|
|
|
#undef WITH_SIM
|
|
|
|
|
2009-08-23 00:56:56 +08: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-04 00:05:11 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
2008-04-15 03:47:29 +08:00
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
2005-05-21 02:17:47 +08:00
|
|
|
/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on Solaris
|
|
|
|
2.[789] when using GCC. */
|
2005-01-21 07:57:27 +08:00
|
|
|
#undef _MSE_INT_H
|
2004-07-30 03:33:22 +08:00
|
|
|
|
2008-04-15 03:47:29 +08: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-04 00:05:11 +08:00
|
|
|
/* Define if <sys/link.h> has link_map32 (solaris sparc-64 target) */
|
|
|
|
#undef _SYSCALL32
|
|
|
|
|
2010-05-23 08:57:01 +08:00
|
|
|
/* Define to 500 only on HP-UX. */
|
|
|
|
#undef _XOPEN_SOURCE
|
|
|
|
|
2008-04-15 03:47:29 +08: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
|
|
|
|
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
2004-07-30 03:33:22 +08:00
|
|
|
|
2005-01-21 07:57:27 +08: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 07:47:13 +08:00
|
|
|
|
2010-05-23 08:57:01 +08: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-15 03:47:29 +08:00
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef pid_t
|
2002-11-26 09:23:46 +08:00
|
|
|
|
2009-10-03 00:02:34 +08:00
|
|
|
/* readline-6.0 started to use different name. */
|
|
|
|
#undef readline_echoing_p
|
|
|
|
|
2008-04-15 03:47:29 +08: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 08:57:01 +08: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-15 03:47:29 +08:00
|
|
|
#if defined __SUNPRO_CC && !defined __RESTRICT
|
|
|
|
# define _Restrict
|
2010-05-23 08:57:01 +08:00
|
|
|
# define __restrict__
|
2008-04-15 03:47:29 +08:00
|
|
|
#endif
|
|
|
|
|
2010-05-23 08:57:01 +08: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 07:57:27 +08:00
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|