2005-01-21 07:57:27 +08:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
2004-04-29 22:29:14 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2012-05-12 02:20:26 +08:00
|
|
|
/* Directories from which to load auto-loaded scripts. */
|
|
|
|
#undef AUTO_LOAD_DIR
|
|
|
|
|
2012-05-12 02:13:26 +08:00
|
|
|
/* Directories safe to hold auto-loaded files. */
|
|
|
|
#undef AUTO_LOAD_SAFE_PATH
|
|
|
|
|
2012-01-19 02:35:43 +08:00
|
|
|
/* Directory of programs. */
|
|
|
|
#undef BINDIR
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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 <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
|
|
|
|
2011-03-17 21:19:10 +08:00
|
|
|
/* Define to 1 if you have the declaration of `getthrds', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_GETTHRDS
|
|
|
|
|
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
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
2012-01-13 07:38:47 +08:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
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 if <sys/procfs.h> has gregset_t. */
|
|
|
|
#undef HAVE_GREGSET_T
|
1999-04-16 09:35:26 +08:00
|
|
|
|
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
|
|
|
|
|
2012-11-27 03:23:56 +08:00
|
|
|
/* Define if you have the lzma library. */
|
|
|
|
#undef HAVE_LIBLZMA
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
2012-06-02 02:20:18 +08:00
|
|
|
/* Define to 1 if you have the `mcheck' library (-lmcheck). */
|
|
|
|
#undef HAVE_LIBMCHECK
|
|
|
|
|
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
|
|
|
|
|
2010-07-07 03:03:12 +08:00
|
|
|
/* Define if Python 2.7 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_7
|
|
|
|
|
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
|
|
|
|
|
2012-11-29 00:21:58 +08:00
|
|
|
/* Define to 1 if you have the <linux/perf_event.h> header file. */
|
|
|
|
#undef HAVE_LINUX_PERF_EVENT_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
|
|
|
|
|
2012-01-19 02:58:43 +08:00
|
|
|
/* Define to 1 if you have the `lstat' function. */
|
|
|
|
#undef HAVE_LSTAT
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
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 17:45:51 +08:00
|
|
|
/* Define to 1 if you have the `pread' function. */
|
|
|
|
#undef HAVE_PREAD
|
|
|
|
|
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
|
|
|
|
|
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 17:45:51 +08:00
|
|
|
/* Define to 1 if you have the `pwrite' function. */
|
|
|
|
#undef HAVE_PWRITE
|
|
|
|
|
2008-08-07 03:41:33 +08:00
|
|
|
/* Define if Python interpreter is being linked in. */
|
|
|
|
#undef HAVE_PYTHON
|
|
|
|
|
2012-01-20 17:47:32 +08:00
|
|
|
/* Define to 1 if you have the `readlink' function. */
|
|
|
|
#undef HAVE_READLINK
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `realpath' function. */
|
|
|
|
#undef HAVE_REALPATH
|
|
|
|
|
2010-07-28 19:48:23 +08:00
|
|
|
/* Define to 1 if you have the `resize_term' function. */
|
|
|
|
#undef HAVE_RESIZE_TERM
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* 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
|
|
|
|
|
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
|
|
|
|
|
2012-06-26 22:43:01 +08:00
|
|
|
/* Define to 1 if `struct user_regs_struct' is a member of `fs_base'. */
|
|
|
|
#undef HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE
|
|
|
|
|
|
|
|
/* Define to 1 if `struct user_regs_struct' is a member of `gs_base'. */
|
|
|
|
#undef HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE
|
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define to 1 if you have the `syscall' function. */
|
|
|
|
#undef HAVE_SYSCALL
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
2012-03-03 11:08:36 +08:00
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_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
|
|
|
|
|
2012-03-03 11:08:36 +08:00
|
|
|
/* Define to 1 if you have the <sys/un.h> header file. */
|
|
|
|
#undef HAVE_SYS_UN_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
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
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
|
|
|
|
2010-09-03 01:12:38 +08:00
|
|
|
/* Define to 1 if you have the `waitpid' function. */
|
|
|
|
#undef HAVE_WAITPID
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2010-07-29 07:24:57 +08:00
|
|
|
/* Define to 1 if you have the `wresize' function. */
|
|
|
|
#undef HAVE_WRESIZE
|
|
|
|
|
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
|
|
|
|
2011-05-10 05:49:57 +08: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 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
|
|
|
|
2012-01-13 07:38:47 +08: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
|
|
|
|
|
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
|
|
|
|
2010-05-27 11:40:45 +08:00
|
|
|
/* Define if the python directory should be relocated when GDB is moved. */
|
|
|
|
#undef PYTHON_PATH_RELOCATABLE
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2012-01-13 07:38:47 +08: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
|
|
|
|
|
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 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
|
|
|
|
|
2012-01-19 02:35:43 +08: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 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
|
|
|
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-20 03:34:52 +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-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
|
|
|
|
|
2010-05-27 11:40:45 +08:00
|
|
|
/* Define if --with-python provides a path, either directly or via
|
|
|
|
python-config.py --exec-prefix. */
|
|
|
|
#undef WITH_PYTHON_PATH
|
|
|
|
|
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
|
|
|
|
|
2010-05-25 06:54:21 +08:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
2005-07-04 00:05:11 +08: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 06:54:21 +08:00
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
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
|
|
|
|
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-20 03:34:52 +08:00
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
2008-04-15 03:47:29 +08:00
|
|
|
#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
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2005-01-21 07:57:27 +08:00
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|