2005-01-21 00:57:27 +01:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
2004-04-29 16:29:14 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2012-05-11 20:20:26 +02:00
|
|
|
/* Directories from which to load auto-loaded scripts. */
|
|
|
|
#undef AUTO_LOAD_DIR
|
|
|
|
|
2012-05-11 20:13:26 +02:00
|
|
|
/* Directories safe to hold auto-loaded files. */
|
|
|
|
#undef AUTO_LOAD_SAFE_PATH
|
|
|
|
|
2012-01-18 19:35:43 +01:00
|
|
|
/* Directory of programs. */
|
|
|
|
#undef BINDIR
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
|
|
*/
|
|
|
|
#undef CRAY_STACKSEG_END
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
|
|
#undef C_ALLOCA
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* look for global separate debug info in this path [LIBDIR/debug] */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef DEBUGDIR
|
2003-01-27 15:36:56 +01:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* Define if the separate-debug-dir directory should be relocated when GDB is
|
|
|
|
moved. */
|
2007-01-09 22:34:30 +01:00
|
|
|
#undef DEBUGDIR_RELOCATABLE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to BFD's default architecture. */
|
|
|
|
#undef DEFAULT_BFD_ARCH
|
2002-02-23 22:54:25 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to BFD's default target vector. */
|
|
|
|
#undef DEFAULT_BFD_VEC
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2006-08-08 22:32:15 +02:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef ENABLE_NLS
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2013-07-01 13:24:17 +02:00
|
|
|
/* The .gdbinit filename. */
|
|
|
|
#undef GDBINIT
|
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* look for global separate data files in this path [DATADIR/gdb] */
|
|
|
|
#undef GDB_DATADIR
|
|
|
|
|
|
|
|
/* Define if the gdb-datadir directory should be relocated when GDB is moved.
|
|
|
|
*/
|
|
|
|
#undef GDB_DATADIR_RELOCATABLE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to be a string naming the default host character set. */
|
|
|
|
#undef GDB_DEFAULT_HOST_CHARSET
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Host double floatformat */
|
|
|
|
#undef GDB_HOST_DOUBLE_FORMAT
|
2003-01-27 15:36:56 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Host float floatformat */
|
|
|
|
#undef GDB_HOST_FLOAT_FORMAT
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Host long double floatformat */
|
|
|
|
#undef GDB_HOST_LONG_DOUBLE_FORMAT
|
1999-08-09 23:36:23 +02:00
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* nativefile */
|
|
|
|
#undef GDB_NM_FILE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the default OS ABI for this configuration. */
|
|
|
|
#undef GDB_OSABI_DEFAULT
|
2003-01-04 01:34:43 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
|
|
#undef HAVE_ALLOCA
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
|
|
*/
|
|
|
|
#undef HAVE_ALLOCA_H
|
2001-12-21 23:32:37 +01:00
|
|
|
|
2009-04-16 00:20:32 +02:00
|
|
|
/* Define to 1 if you have the `btowc' function. */
|
|
|
|
#undef HAVE_BTOWC
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <cursesX.h> header file. */
|
|
|
|
#undef HAVE_CURSESX_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <curses.h> header file. */
|
|
|
|
#undef HAVE_CURSES_H
|
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
(AC_FUNC_SETPGRP): Add.
* aclocal.m4, configure, config.in: Regenerated.
* inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
SETPGRP_ARGS. Always use setpgid if it is available, fall back on
setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
distinguish between the two setpgrp flavours.
* config/xm-sysv4.h, config/arm/xm-linux.h,
config/i386/xm-i386aix.h, config/i386/xm-sco.h,
config/i386/xm-linux.h, config/i386/xm-ptx.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
* config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-07-23 21:21:57 +02:00
|
|
|
|
2008-07-10 11:31:00 +02:00
|
|
|
/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
|
|
|
|
you don't. */
|
|
|
|
#undef HAVE_DECL_ADDR_NO_RANDOMIZE
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_FREE
|
|
|
|
|
2011-03-17 14:19:10 +01:00
|
|
|
/* Define to 1 if you have the declaration of `getthrds', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_GETTHRDS
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_MALLOC
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't.
|
|
|
|
*/
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_DECL_PTRACE
|
2001-08-28 00:39:56 +02:00
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_REALLOC
|
|
|
|
|
2005-05-20 20:06:37 +02:00
|
|
|
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
|
2005-01-21 14:14:02 +01:00
|
|
|
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRERROR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_STRSTR
|
|
|
|
|
2012-01-13 00:38:47 +01:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2007-06-18 17:46:38 +02:00
|
|
|
/* Define if ELF support should be included. */
|
|
|
|
#undef HAVE_ELF
|
|
|
|
|
2007-10-24 23:14:17 +02:00
|
|
|
/* Define to 1 if you have the <elf_hp.h> header file. */
|
|
|
|
#undef HAVE_ELF_HP_H
|
|
|
|
|
2007-09-20 00:00:34 +02:00
|
|
|
/* Define to 1 if your system has the etext variable. */
|
|
|
|
#undef HAVE_ETEXT
|
|
|
|
|
PR gdb/7912:
* Makefile.in (SFILES): Add filestuff.c
(COMMON_OBS): Add filestuff.o.
(filestuff.o): New target.
* auto-load.c (auto_load_objfile_script_1): Use
gdb_fopen_cloexec.
* auxv.c (procfs_xfer_auxv): Use gdb_open_cloexec.
* cli/cli-cmds.c (shell_escape): Call close_most_fds.
* cli/cli-dump.c (fopen_with_cleanup): Use gdb_fopen_cloexec.
* common/agent.c (gdb_connect_sync_socket): Use
gdb_socket_cloexec.
* common/filestuff.c: New file.
* common/filestuff.h: New file.
* common/linux-osdata.c (linux_common_core_of_thread)
(command_from_pid, commandline_from_pid, print_source_lines)
(linux_xfer_osdata_shm, linux_xfer_osdata_sem)
(linux_xfer_osdata_msg, linux_xfer_osdata_modules): Use
gdb_fopen_cloexec.
* common/linux-procfs.c (linux_proc_get_int)
(linux_proc_pid_has_state): Use gdb_fopen_cloexec.
* config.in, configure: Rebuild.
* configure.ac: Don't check for sys/socket.h. Check for
fdwalk, pipe2.
* corelow.c (core_open): Use gdb_open_cloexec.
* dwarf2read.c (write_psymtabs_to_index): Use gdb_fopen_cloexec.
* fork-child.c (fork_inferior): Call close_most_fds.
* gdb_bfd.c (gdb_bfd_open): Use gdb_open_cloexec.
* inf-child.c (inf_child_fileio_readlink): Use gdb_open_cloexec.
* linux-nat.c (linux_nat_thread_name, linux_proc_pending_signals):
Use gdb_fopen_cloexec.
(linux_proc_xfer_partial, linux_proc_xfer_spu): Use
gdb_open_cloexec.
(linux_async_pipe): Use gdb_pipe_cloexec.
* remote-fileio.c (remote_fileio_func_open): Use
gdb_open_cloexec.
* remote.c (remote_file_put, remote_file_get): Use
gdb_fopen_cloexec.
* ser-pipe.c (pipe_open): Use gdb_socketpair_cloexec,
close_most_fds.
* ser-tcp.c (net_open): Use gdb_socket_cloexec.
* ser-unix.c (hardwire_open): Use gdb_open_cloexec.
* solib.c (solib_find): Use gdb_open_cloexec.
* source.c (openp, find_and_open_source): Use gdb_open_cloexec.
* tracepoint.c (tfile_start): Use gdb_fopen_cloexec.
(tfile_open): Use gdb_open_cloexec.
* tui/tui-io.c (tui_initialize_io): Use gdb_pipe_cloexec.
* ui-file.c (gdb_fopen): Use gdb_fopen_cloexec.
* xml-support.c (xml_fetch_content_from_file): Use
gdb_fopen_cloexec.
* main.c (captured_main): Call notice_open_fds.
gdbserver
* Makefile.in (SFILES): Add filestuff.c.
(OBS): Add filestuff.o.
(filestuff.o): New target.
* config.in, configure: Rebuild.
* configure.ac: Check for fdwalk, pipe2.
2013-04-22 18:46:15 +02:00
|
|
|
/* Define to 1 if you have the `fdwalk' function. */
|
|
|
|
#undef HAVE_FDWALK
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has fpregset_t. */
|
|
|
|
#undef HAVE_FPREGSET_T
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-03-21 22:23:35 +01:00
|
|
|
/* Define to 1 if you have the `getgid' function. */
|
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
|
|
#undef HAVE_GETPAGESIZE
|
2003-06-04 22:51:29 +02:00
|
|
|
|
2010-01-15 01:34:37 +01:00
|
|
|
/* Define to 1 if you have the `getrlimit' function. */
|
|
|
|
#undef HAVE_GETRLIMIT
|
|
|
|
|
2007-02-02 23:55:54 +01:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
2005-03-21 22:23:35 +01:00
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has gregset_t. */
|
|
|
|
#undef HAVE_GREGSET_T
|
1999-04-16 03:35:26 +02:00
|
|
|
|
Add Guile as an extension language.
* NEWS: Mention Guile scripting.
* Makefile.in (SUBDIR_GUILE_OBS): New variable.
(SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
(SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
(INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
(CLIBS): Add GUILE_LIBS.
(install-guile): New rule.
(guile.o): New rule.
(scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
(scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
(scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
(scm-math.o, scm-objfile.o, scm-ports.o): New rules.
(scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
(scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
(scm-type.o, scm-utils.o, scm-value.o): New rules.
* configure.ac: New option --with-guile.
* configure: Regenerate.
* config.in: Regenerate.
* auto-load.c: Remove #include "python/python.h". Add #include
"gdb/section-scripts.h".
(source_section_scripts): Handle Guile scripts.
(_initialize_auto_load): Add name of Guile objfile script to
scripts-directory help text.
* breakpoint.c (condition_command): Tweak comment to include Scheme.
* breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
(struct breakpoint): New member scm_bp_object.
* defs.h (enum command_control_type): New value guile_control.
* cli/cli-cmds.c: Remove #include "python/python.h". Add #include
"extension.h".
(show_user): Update comment.
(_initialize_cli_cmds): Update help text for "show user". Update help
text for max-user-call-depth.
* cli/cli-script.c: Remove #include "python/python.h". Add #include
"extension.h".
(multi_line_command_p): Add guile_control.
(print_command_lines): Handle guile_control.
(execute_control_command, recurse_read_control_structure): Ditto.
(process_next_line): Recognize "guile" commands.
* disasm.c (gdb_disassemble_info): Make non-static.
* disasm.h: #include "dis-asm.h".
(struct gdbarch): Add forward decl.
(gdb_disassemble_info): Declare.
* extension.c: #include "guile/guile.h".
(extension_languages): Add guile.
(get_ext_lang_defn): Handle EXT_LANG_GDB.
* extension.h (enum extension_language): New value EXT_LANG_GUILE.
* gdbtypes.c (get_unsigned_type_max): New function.
(get_signed_type_minmax): New function.
* gdbtypes.h (get_unsigned_type_max): Declare.
(get_signed_type_minmax): Declare.
* guile/README: New file.
* guile/guile-internal.h: New file.
* guile/guile.c: New file.
* guile/guile.h: New file.
* guile/scm-arch.c: New file.
* guile/scm-auto-load.c: New file.
* guile/scm-block.c: New file.
* guile/scm-breakpoint.c: New file.
* guile/scm-disasm.c: New file.
* guile/scm-exception.c: New file.
* guile/scm-frame.c: New file.
* guile/scm-gsmob.c: New file.
* guile/scm-iterator.c: New file.
* guile/scm-lazy-string.c: New file.
* guile/scm-math.c: New file.
* guile/scm-objfile.c: New file.
* guile/scm-ports.c: New file.
* guile/scm-pretty-print.c: New file.
* guile/scm-safe-call.c: New file.
* guile/scm-string.c: New file.
* guile/scm-symbol.c: New file.
* guile/scm-symtab.c: New file.
* guile/scm-type.c: New file.
* guile/scm-utils.c: New file.
* guile/scm-value.c: New file.
* guile/lib/gdb.scm: New file.
* guile/lib/gdb/boot.scm: New file.
* guile/lib/gdb/experimental.scm: New file.
* guile/lib/gdb/init.scm: New file.
* guile/lib/gdb/iterator.scm: New file.
* guile/lib/gdb/printing.scm: New file.
* guile/lib/gdb/types.scm: New file.
* data-directory/Makefile.in (GUILE_SRCDIR): New variable.
(VPATH): Add $(GUILE_SRCDIR).
(GUILE_DIR): New variable.
(GUILE_INSTALL_DIR, GUILE_FILES): New variables.
(all): Add stamp-guile dependency.
(stamp-guile): New rule.
(clean-guile, install-guile, uninstall-guile): New rules.
(install-only): Add install-guile dependency.
(uninstall): Add uninstall-guile dependency.
(clean): Add clean-guile dependency.
doc/
* Makefile.in (GDB_DOC_FILES): Add guile.texi.
* gdb.texinfo (Auto-loading): Add set/show auto-load guile-scripts.
(Extending GDB): New menu entries Guile, Multiple Extension Languages.
(Guile docs): Include guile.texi.
(objfile-gdbdotext file): Add objfile-gdb.scm.
(dotdebug_gdb_scripts section): Mention Guile scripts.
(Multiple Extension Languages): New node.
* guile.texi: New file.
testsuite/
* configure.ac (AC_OUTPUT): Add gdb.guile.
* configure: Regenerate.
* lib/gdb-guile.exp: New file.
* lib/gdb.exp (get_target_charset): New function.
* gdb.base/help.exp: Update expected output from "apropos apropos".
* gdb.guile/Makefile.in: New file.
* gdb.guile/guile.exp: New file.
* gdb.guile/scm-arch.c: New file.
* gdb.guile/scm-arch.exp: New file.
* gdb.guile/scm-block.c: New file.
* gdb.guile/scm-block.exp: New file.
* gdb.guile/scm-breakpoint.c: New file.
* gdb.guile/scm-breakpoint.exp: New file.
* gdb.guile/scm-disasm.c: New file.
* gdb.guile/scm-disasm.exp: New file.
* gdb.guile/scm-equal.c: New file.
* gdb.guile/scm-equal.exp: New file.
* gdb.guile/scm-error.exp: New file.
* gdb.guile/scm-error.scm: New file.
* gdb.guile/scm-frame-args.c: New file.
* gdb.guile/scm-frame-args.exp: New file.
* gdb.guile/scm-frame-args.scm: New file.
* gdb.guile/scm-frame-inline.c: New file.
* gdb.guile/scm-frame-inline.exp: New file.
* gdb.guile/scm-frame.c: New file.
* gdb.guile/scm-frame.exp: New file.
* gdb.guile/scm-generics.exp: New file.
* gdb.guile/scm-gsmob.exp: New file.
* gdb.guile/scm-iterator.c: New file.
* gdb.guile/scm-iterator.exp: New file.
* gdb.guile/scm-math.c: New file.
* gdb.guile/scm-math.exp: New file.
* gdb.guile/scm-objfile-script-gdb.in: New file.
* gdb.guile/scm-objfile-script.c: New file.
* gdb.guile/scm-objfile-script.exp: New file.
* gdb.guile/scm-objfile.c: New file.
* gdb.guile/scm-objfile.exp: New file.
* gdb.guile/scm-ports.exp: New file.
* gdb.guile/scm-pretty-print.c: New file.
* gdb.guile/scm-pretty-print.exp: New file.
* gdb.guile/scm-pretty-print.scm: New file.
* gdb.guile/scm-section-script.c: New file.
* gdb.guile/scm-section-script.exp: New file.
* gdb.guile/scm-section-script.scm: New file.
* gdb.guile/scm-symbol.c: New file.
* gdb.guile/scm-symbol.exp: New file.
* gdb.guile/scm-symtab-2.c: New file.
* gdb.guile/scm-symtab.c: New file.
* gdb.guile/scm-symtab.exp: New file.
* gdb.guile/scm-type.c: New file.
* gdb.guile/scm-type.exp: New file.
* gdb.guile/scm-value-cc.cc: New file.
* gdb.guile/scm-value-cc.exp: New file.
* gdb.guile/scm-value.c: New file.
* gdb.guile/scm-value.exp: New file.
* gdb.guile/source2.scm: New file.
* gdb.guile/types-module.cc: New file.
* gdb.guile/types-module.exp: New file.
2014-02-10 04:40:01 +01:00
|
|
|
/* Define if Guile interpreter is being linked in. */
|
|
|
|
#undef HAVE_GUILE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if you have the iconv() function. */
|
|
|
|
#undef HAVE_ICONV
|
1999-04-16 03:35:26 +02:00
|
|
|
|
gdb:
2009-03-19 Tom Tromey <tromey@redhat.com>
Julian Brown <julian@codesourcery.com>
PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103,
PR i18n/9401, PR exp/9613:
* NEWS: Update
* value.h (value_typed_string): Declare.
(val_print_string): Update.
* valprint.h (print_char_chars): Update.
* valprint.c (print_char_chars): Add type argument. Update.
(val_print_string): Likewise.
* valops.c (value_typed_string): New function.
* utils.c (host_char_to_target): New function.
(parse_escape): Use host_char_to_target, host_hex_value. Update.
Remove '^' case.
(no_control_char_error): Remove.
* typeprint.c (print_type_scalar): Update.
* scm-valprint.c (scm_scmval_print): Update.
* scm-lang.h (scm_printchar, scm_printstr): Update.
* scm-lang.c (scm_printchar): Add type argument.
(scm_printstr): Likewise.
* printcmd.c (print_formatted): Update.
(print_scalar_formatted): Update.
(printf_command) <wide_string_arg, wide_char_arg>: New constants.
Handle '%lc' and '%ls'.
* parser-defs.h (struct typed_stoken): New type.
(struct stoken_vector): Likewise.
(write_exp_string_vector): Declare.
* parse.c (write_exp_string_vector): New function.
* p-valprint.c (pascal_val_print): Update.
* p-lang.h (is_pascal_string_type, pascal_printchar,
pascal_printstr): Update.
* p-lang.c (is_pascal_string_type): Remove 'char_size' argument.
Add 'char_type' argument.
(pascal_emit_char): Add type argument.
(pascal_printchar): Likewise.
(pascal_printstr): Likewise.
* objc-lang.c (objc_emit_char): Add type argument.
(objc_printchar): Likewise.
(objc_printstr): Likewise.
* macroexp.c (get_character_constant): Handle unicode characters.
Use c_parse_escape.
(get_string_literal): Handle unicode strings. Use
c_parse_escape.
* m2-valprint.c (print_unpacked_pointer): Update.
(m2_print_array_contents): Update.
(m2_val_print): Update.
* m2-lang.c (m2_emit_char): Add type argument.
(m2_printchar): Likewise.
(m2_printstr): Likewise.
* language.h (struct language_defn) <la_printchar>: Add type
argument.
<la_printstr, la_emitchar>: Likewise.
(LA_PRINT_CHAR): Likewise.
(LA_PRINT_STRING): Likewise.
(LA_EMIT_CHAR): Likewise.
* language.c (unk_lang_emit_char): Add type argument.
(unk_lang_printchar): Likewise.
(unk_lang_printstr): Likewise.
* jv-valprint.c (java_val_print): Update.
* jv-lang.c (java_emit_char): Add type argument.
* f-valprint.c (f_val_print): Update.
* f-lang.c (f_emit_char): Add type argument.
(f_printchar): Likewise.
(f_printstr): Likewise.
* expprint.c (print_subexp_standard): Update.
* charset.h (target_wide_charset): Declare.
(c_target_char_has_backslash_escape, c_parse_backslash,
host_char_print_literally, host_char_to_target,
target_char_to_host, target_char_to_control_char): Remove.
(enum transliterations): New type.
(convert_between_encodings): Declare.
(HOST_ESCAPE_CHAR): New define.
(host_letter_to_control_character, host_hex_value): Declare.
(enum wchar_iterate_result): New enum.
(struct wchar_iterator): Declare.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): Declare.
* charset-list.h: New file.
* c-valprint.c (textual_name): New function.
(textual_element_type): Handle wide character types.
(c_val_print): Pass original type to textual_element_type. Handle
wide character types.
(c_value_print): Use textual_element_type. Pass original type of
value to val_print.
* c-lang.h (enum c_string_type): New type.
(c_printchar, c_printstr): Update.
* c-lang.c (classify_type): New function.
(print_wchar): Likewise.
(c_emit_char): Add type argument. Handle wide characters.
(c_printchar): Likewise.
(c_printstr): Add type argument. Handle wide and multibyte
character sets.
(convert_ucn): New function.
(emit_numeric_character): Likewise.
(convert_octal): Likewise.
(convert_hex): Likewise.
(ADVANCE): New macro.
(convert_escape): New function.
(parse_one_string): Likewise.
(evaluate_subexp_c): Likewise.
(exp_descriptor_c): New global.
(c_language_defn): Use exp_descriptor_c.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
(charset_for_string_type): New function.
* c-exp.y (%union): Add 'svec' and 'tsval'.
(CHAR): New token.
(exp): Add CHAR production.
(string_exp): Rewrite.
(exp) <string_exp>: Rewrite.
(tempbuf): Now global.
(tempbuf_init): New global.
(parse_string_or_char): New function.
(yylex) <tempbuf>: Now global.
<tokptr, tempbufindex, tempbufsize, token_string, class_prefix>:
Remove.
Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char.
(c_parse_escape): New function.
* auxv.c (fprint_target_auxv): Update.
* ada-valprint.c (ada_emit_char): Add type argument.
(ada_printchar): Likewise.
(ada_print_scalar): Update.
(printstr): Add type argument. Update calls to ada_emit_char.
(ada_printstr): Add type argument.
(ada_val_print_array): Update.
(ada_val_print_1): Likewise.
* ada-lang.c (emit_char): Add type argument.
* ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add
type arguments.
* gdb_locale.h: Include langinfo.h.
* charset.c (_initialize_charset): Set default host charset from
the locale. Don't register charsets. Add target-wide-charset
commands. Call find_charset_names.
(struct charset, struct translation): Remove.
(GDB_DEFAULT_HOST_CHARSET): Remove.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): New define.
(target_wide_charset_name): New global.
(show_host_charset_name): Handle "auto".
(show_target_wide_charset_name): New function.
(host_charset_enum, target_charset_enum): Remove.
(charset_enum): New global.
(all_charsets, register_charset, lookup_charset, all_translations,
register_translation, lookup_translation): Remove.
(simple_charset, ascii_print_literally, ascii_to_control): Remove.
(iso_8859_print_literally, iso_8859_to_control,
iso_8859_family_charset): Remove.
(ebcdic_print_literally, ebcdic_to_control,
ebcdic_family_charset): Remove.
(struct cached_iconv, check_iconv_cache, cached_iconv_convert,
register_iconv_charsets): Remove.
(target_wide_charset_be_name, target_wide_charset_le_name): New
globals.
(identity_either_char_to_other): Remove.
(set_be_le_names, validate): New functions.
(backslashable, backslashed, represented): Remove.
(default_c_target_char_has_backslash_escape): Remove.
(default_c_parse_backslash, iconv_convert): Remove.
(ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table,
ascii_to_ibm1047_table, iso_8859_1_to_ascii_table,
iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table,
ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table,
ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table,
ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove.
(table_convert_char, table_translation, simple_table_translation):
Remove.
(current_host_charset, current_target_charset,
c_target_char_has_backslash_escape_func,
c_target_char_has_backslash_escape_baton): Remove.
(c_parse_backslash_func, c_parse_backslash_baton): Remove.
(host_char_to_target_func, host_char_to_target_baton): Remove.
(target_char_to_host_func, target_char_to_host_baton): Remove.
(cached_iconv_host_to_target, cached_iconv_target_to_host):
Remove.
(lookup_charset_or_error, check_valid_host_charset): Remove.
(set_host_and_target_charsets): Remove.
(set_host_charset, set_target_charset): Remove.
(set_host_charset_sfunc, set_target_charset_sfunc): Rewrite.
(set_target_wide_charset_sfunc): New function.
(show_charset): Print target wide character set.
(host_charset, target_charset): Rewrite.
(target_wide_charset): New function.
(c_target_char_has_backslash_escape): Remove.
(c_parse_backslash): Remove.
(host_letter_to_control_character): New function.
(host_char_print_literally): Remove.
(host_hex_value): New function.
(target_char_to_control_char): Remove.
(cleanup_iconv): New function.
(convert_between_encodings): New function.
(target_char_to_host): Remove.
(struct wchar_iterator): Define.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): New functions.
(do_cleanup_iterator): New function.
(char_ptr): New typedef.
(charsets): New global.
(add_one, find_charset_names): New functions.
(default_charset_names): New global.
(auto_host_charset_name): Likewise.
* aclocal.m4, config.in, configure: Rebuild.
* configure.ac: Call AM_LANGINFO_CODESET.
(GDB_DEFAULT_HOST_CHARSET): Default to UTF-8.
(AM_ICONV): Invoke earlier.
* acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and
LIBICONV_LIBDIR. Check for libiconv in build tree.
* Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros.
(INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE.
(INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR.
* gdb_obstack.h (obstack_grow_wstr): New define.
* gdb_wchar.h: New file.
* defs.h: Include it.
gdb/testsuite:
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
gdb/doc:
* gdb.texinfo (Character Sets): Remove obsolete text. Document
set target-wide-charset.
(Requirements): Mention iconv.
2009-03-21 00:04:40 +01:00
|
|
|
/* Define to 1 if you have the `iconvlist' function. */
|
|
|
|
#undef HAVE_ICONVLIST
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
gdb:
2009-03-19 Tom Tromey <tromey@redhat.com>
Julian Brown <julian@codesourcery.com>
PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103,
PR i18n/9401, PR exp/9613:
* NEWS: Update
* value.h (value_typed_string): Declare.
(val_print_string): Update.
* valprint.h (print_char_chars): Update.
* valprint.c (print_char_chars): Add type argument. Update.
(val_print_string): Likewise.
* valops.c (value_typed_string): New function.
* utils.c (host_char_to_target): New function.
(parse_escape): Use host_char_to_target, host_hex_value. Update.
Remove '^' case.
(no_control_char_error): Remove.
* typeprint.c (print_type_scalar): Update.
* scm-valprint.c (scm_scmval_print): Update.
* scm-lang.h (scm_printchar, scm_printstr): Update.
* scm-lang.c (scm_printchar): Add type argument.
(scm_printstr): Likewise.
* printcmd.c (print_formatted): Update.
(print_scalar_formatted): Update.
(printf_command) <wide_string_arg, wide_char_arg>: New constants.
Handle '%lc' and '%ls'.
* parser-defs.h (struct typed_stoken): New type.
(struct stoken_vector): Likewise.
(write_exp_string_vector): Declare.
* parse.c (write_exp_string_vector): New function.
* p-valprint.c (pascal_val_print): Update.
* p-lang.h (is_pascal_string_type, pascal_printchar,
pascal_printstr): Update.
* p-lang.c (is_pascal_string_type): Remove 'char_size' argument.
Add 'char_type' argument.
(pascal_emit_char): Add type argument.
(pascal_printchar): Likewise.
(pascal_printstr): Likewise.
* objc-lang.c (objc_emit_char): Add type argument.
(objc_printchar): Likewise.
(objc_printstr): Likewise.
* macroexp.c (get_character_constant): Handle unicode characters.
Use c_parse_escape.
(get_string_literal): Handle unicode strings. Use
c_parse_escape.
* m2-valprint.c (print_unpacked_pointer): Update.
(m2_print_array_contents): Update.
(m2_val_print): Update.
* m2-lang.c (m2_emit_char): Add type argument.
(m2_printchar): Likewise.
(m2_printstr): Likewise.
* language.h (struct language_defn) <la_printchar>: Add type
argument.
<la_printstr, la_emitchar>: Likewise.
(LA_PRINT_CHAR): Likewise.
(LA_PRINT_STRING): Likewise.
(LA_EMIT_CHAR): Likewise.
* language.c (unk_lang_emit_char): Add type argument.
(unk_lang_printchar): Likewise.
(unk_lang_printstr): Likewise.
* jv-valprint.c (java_val_print): Update.
* jv-lang.c (java_emit_char): Add type argument.
* f-valprint.c (f_val_print): Update.
* f-lang.c (f_emit_char): Add type argument.
(f_printchar): Likewise.
(f_printstr): Likewise.
* expprint.c (print_subexp_standard): Update.
* charset.h (target_wide_charset): Declare.
(c_target_char_has_backslash_escape, c_parse_backslash,
host_char_print_literally, host_char_to_target,
target_char_to_host, target_char_to_control_char): Remove.
(enum transliterations): New type.
(convert_between_encodings): Declare.
(HOST_ESCAPE_CHAR): New define.
(host_letter_to_control_character, host_hex_value): Declare.
(enum wchar_iterate_result): New enum.
(struct wchar_iterator): Declare.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): Declare.
* charset-list.h: New file.
* c-valprint.c (textual_name): New function.
(textual_element_type): Handle wide character types.
(c_val_print): Pass original type to textual_element_type. Handle
wide character types.
(c_value_print): Use textual_element_type. Pass original type of
value to val_print.
* c-lang.h (enum c_string_type): New type.
(c_printchar, c_printstr): Update.
* c-lang.c (classify_type): New function.
(print_wchar): Likewise.
(c_emit_char): Add type argument. Handle wide characters.
(c_printchar): Likewise.
(c_printstr): Add type argument. Handle wide and multibyte
character sets.
(convert_ucn): New function.
(emit_numeric_character): Likewise.
(convert_octal): Likewise.
(convert_hex): Likewise.
(ADVANCE): New macro.
(convert_escape): New function.
(parse_one_string): Likewise.
(evaluate_subexp_c): Likewise.
(exp_descriptor_c): New global.
(c_language_defn): Use exp_descriptor_c.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
(charset_for_string_type): New function.
* c-exp.y (%union): Add 'svec' and 'tsval'.
(CHAR): New token.
(exp): Add CHAR production.
(string_exp): Rewrite.
(exp) <string_exp>: Rewrite.
(tempbuf): Now global.
(tempbuf_init): New global.
(parse_string_or_char): New function.
(yylex) <tempbuf>: Now global.
<tokptr, tempbufindex, tempbufsize, token_string, class_prefix>:
Remove.
Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char.
(c_parse_escape): New function.
* auxv.c (fprint_target_auxv): Update.
* ada-valprint.c (ada_emit_char): Add type argument.
(ada_printchar): Likewise.
(ada_print_scalar): Update.
(printstr): Add type argument. Update calls to ada_emit_char.
(ada_printstr): Add type argument.
(ada_val_print_array): Update.
(ada_val_print_1): Likewise.
* ada-lang.c (emit_char): Add type argument.
* ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add
type arguments.
* gdb_locale.h: Include langinfo.h.
* charset.c (_initialize_charset): Set default host charset from
the locale. Don't register charsets. Add target-wide-charset
commands. Call find_charset_names.
(struct charset, struct translation): Remove.
(GDB_DEFAULT_HOST_CHARSET): Remove.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): New define.
(target_wide_charset_name): New global.
(show_host_charset_name): Handle "auto".
(show_target_wide_charset_name): New function.
(host_charset_enum, target_charset_enum): Remove.
(charset_enum): New global.
(all_charsets, register_charset, lookup_charset, all_translations,
register_translation, lookup_translation): Remove.
(simple_charset, ascii_print_literally, ascii_to_control): Remove.
(iso_8859_print_literally, iso_8859_to_control,
iso_8859_family_charset): Remove.
(ebcdic_print_literally, ebcdic_to_control,
ebcdic_family_charset): Remove.
(struct cached_iconv, check_iconv_cache, cached_iconv_convert,
register_iconv_charsets): Remove.
(target_wide_charset_be_name, target_wide_charset_le_name): New
globals.
(identity_either_char_to_other): Remove.
(set_be_le_names, validate): New functions.
(backslashable, backslashed, represented): Remove.
(default_c_target_char_has_backslash_escape): Remove.
(default_c_parse_backslash, iconv_convert): Remove.
(ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table,
ascii_to_ibm1047_table, iso_8859_1_to_ascii_table,
iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table,
ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table,
ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table,
ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove.
(table_convert_char, table_translation, simple_table_translation):
Remove.
(current_host_charset, current_target_charset,
c_target_char_has_backslash_escape_func,
c_target_char_has_backslash_escape_baton): Remove.
(c_parse_backslash_func, c_parse_backslash_baton): Remove.
(host_char_to_target_func, host_char_to_target_baton): Remove.
(target_char_to_host_func, target_char_to_host_baton): Remove.
(cached_iconv_host_to_target, cached_iconv_target_to_host):
Remove.
(lookup_charset_or_error, check_valid_host_charset): Remove.
(set_host_and_target_charsets): Remove.
(set_host_charset, set_target_charset): Remove.
(set_host_charset_sfunc, set_target_charset_sfunc): Rewrite.
(set_target_wide_charset_sfunc): New function.
(show_charset): Print target wide character set.
(host_charset, target_charset): Rewrite.
(target_wide_charset): New function.
(c_target_char_has_backslash_escape): Remove.
(c_parse_backslash): Remove.
(host_letter_to_control_character): New function.
(host_char_print_literally): Remove.
(host_hex_value): New function.
(target_char_to_control_char): Remove.
(cleanup_iconv): New function.
(convert_between_encodings): New function.
(target_char_to_host): Remove.
(struct wchar_iterator): Define.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): New functions.
(do_cleanup_iterator): New function.
(char_ptr): New typedef.
(charsets): New global.
(add_one, find_charset_names): New functions.
(default_charset_names): New global.
(auto_host_charset_name): Likewise.
* aclocal.m4, config.in, configure: Rebuild.
* configure.ac: Call AM_LANGINFO_CODESET.
(GDB_DEFAULT_HOST_CHARSET): Default to UTF-8.
(AM_ICONV): Invoke earlier.
* acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and
LIBICONV_LIBDIR. Check for libiconv in build tree.
* Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros.
(INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE.
(INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR.
* gdb_obstack.h (obstack_grow_wstr): New define.
* gdb_wchar.h: New file.
* defs.h: Include it.
gdb/testsuite:
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
gdb/doc:
* gdb.texinfo (Character Sets): Remove obsolete text. Document
set target-wide-charset.
(Requirements): Mention iconv.
2009-03-21 00:04:40 +01:00
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
|
2008-12-09 18:18:30 +01:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
|
2013-04-12 18:02:29 +02:00
|
|
|
/* Define if you have the babeltrace library. */
|
gdb/
2013-04-10 Hui Zhu <hui@codesourcery.com>
Yao Qi <yao@codesourcery.com>
* configure.ac: Check libbabeltrace is installed.
* config.in: Regenerate.
* configure: Regenerate.
* Makefile.in (LIBBABELTRACE): New.
(CLIBS): Add LIBBABELTRACE.
* ctf.c: Include "exec.h".
(CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
(CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
(ctf_save_metadata_header): Define new type aliases in
metadata.
(ctf_write_header): Define event type "tsv_def" and "tp_def"
in metadata. Start a new faked packet for trace status.
(ctf_write_status): Write trace status to CTF.
(ctf_write_uploaded_tsv): Write TSV to CTF.
(ctf_write_uploaded_tp): Write tracepoint definition to CTF.
(ctf_write_definition_end): End the faked packet.
(ctx, ctf_iter, trace_dirname): New.
(start_pos): New variable.
(ctf_destroy, ctf_open_dir, ctf_open): New.
(SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
macros.
(ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
(ctf_fetch_registers, ctf_xfer_partial): New.
(ctf_get_trace_state_variable_value): New.
(ctf_get_tpnum_from_frame_event): New.
(ctf_get_traceframe_address): New.
(ctf_trace_find, ctf_has_stack): New.
(ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
(ctf_get_trace_status, ctf_read_status): New.
(_initialize_ctf): New.
* tracepoint.c (get_tracepoint_number): New
(get_uploaded_tsv): Remove 'static'.
(struct traceframe_info, trace_regblock_size): Move it to ...
* tracepoint.h: ... here.
(get_tracepoint_number): Declare it.
(get_uploaded_tsv): Declare it.
* NEWS: Mention new configure option.
gdb/doc/
2013-04-10 Yao Qi <yao@codesourcery.com>
* gdb.texinfo (Trace Files): Add "target ctf".
gdb/testsuite/
2013-04-10 Yao Qi <yao@codesourcery.com>
* gdb.trace/actions.exp: Save trace data to CTF.
Change to ctf target if GDB supports, read CTF data in ctf
target, and check the actions of tracepoints.
* gdb.trace/while-stepping.exp: Likewise.
* gdb.trace/report.exp: Test GDB saves trace data to CTF
format and read CTF trace file if GDB supports.
* gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
target is supported, change to ctf target, read trace data and
check output of command "tstatus".
* gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
read CTF data by target ctf and call check_tsv.
2013-04-10 11:42:57 +02:00
|
|
|
#undef HAVE_LIBBABELTRACE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
|
|
#undef HAVE_LIBDL
|
2000-05-25 08:49:01 +02:00
|
|
|
|
2006-08-08 22:32:15 +02:00
|
|
|
/* Define if you have the expat library. */
|
|
|
|
#undef HAVE_LIBEXPAT
|
|
|
|
|
2009-03-25 01:58:37 +01:00
|
|
|
/* Define to 1 if you have the `libiconvlist' function. */
|
|
|
|
#undef HAVE_LIBICONVLIST
|
|
|
|
|
2012-11-26 20:23:56 +01:00
|
|
|
/* Define if you have the lzma library. */
|
|
|
|
#undef HAVE_LIBLZMA
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
2012-06-01 20:20:18 +02:00
|
|
|
/* Define to 1 if you have the `mcheck' library (-lmcheck). */
|
|
|
|
#undef HAVE_LIBMCHECK
|
|
|
|
|
2008-08-06 21:41:33 +02:00
|
|
|
/* Define if Python 2.4 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_4
|
|
|
|
|
|
|
|
/* Define if Python 2.5 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_5
|
|
|
|
|
|
|
|
/* Define if Python 2.6 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_6
|
|
|
|
|
2010-07-06 21:03:12 +02:00
|
|
|
/* Define if Python 2.7 is being used. */
|
|
|
|
#undef HAVE_LIBPYTHON2_7
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
|
2003-11-14 22:17:51 +01:00
|
|
|
#undef HAVE_LIBUNWIND_IA64_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `w' library (-lw). */
|
|
|
|
#undef HAVE_LIBW
|
2003-11-14 22:17:51 +01:00
|
|
|
|
2012-11-28 17:21:58 +01:00
|
|
|
/* Define to 1 if you have the <linux/perf_event.h> header file. */
|
|
|
|
#undef HAVE_LINUX_PERF_EVENT_H
|
|
|
|
|
2008-12-09 18:18:30 +01:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the compiler supports long double. */
|
|
|
|
#undef HAVE_LONG_DOUBLE
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has lwpid_t. */
|
|
|
|
#undef HAVE_LWPID_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <machine/reg.h> header file. */
|
2004-01-02 13:40:09 +01:00
|
|
|
#undef HAVE_MACHINE_REG_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `monstartup' function. */
|
|
|
|
#undef HAVE_MONSTARTUP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <ncurses.h> header file. */
|
2000-05-26 06:11:34 +02:00
|
|
|
#undef HAVE_NCURSES_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
|
2004-08-15 12:06:05 +02:00
|
|
|
#undef HAVE_NCURSES_NCURSES_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ncurses/term.h> header file. */
|
2004-11-09 01:59:03 +01:00
|
|
|
#undef HAVE_NCURSES_TERM_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <nlist.h> header file. */
|
|
|
|
#undef HAVE_NLIST_H
|
|
|
|
|
2008-07-10 11:31:00 +02:00
|
|
|
/* Define if you support the personality syscall. */
|
|
|
|
#undef HAVE_PERSONALITY
|
|
|
|
|
2009-07-20 17:24:55 +02:00
|
|
|
/* Define to 1 if you have the `pipe' function. */
|
|
|
|
#undef HAVE_PIPE
|
|
|
|
|
PR gdb/7912:
* Makefile.in (SFILES): Add filestuff.c
(COMMON_OBS): Add filestuff.o.
(filestuff.o): New target.
* auto-load.c (auto_load_objfile_script_1): Use
gdb_fopen_cloexec.
* auxv.c (procfs_xfer_auxv): Use gdb_open_cloexec.
* cli/cli-cmds.c (shell_escape): Call close_most_fds.
* cli/cli-dump.c (fopen_with_cleanup): Use gdb_fopen_cloexec.
* common/agent.c (gdb_connect_sync_socket): Use
gdb_socket_cloexec.
* common/filestuff.c: New file.
* common/filestuff.h: New file.
* common/linux-osdata.c (linux_common_core_of_thread)
(command_from_pid, commandline_from_pid, print_source_lines)
(linux_xfer_osdata_shm, linux_xfer_osdata_sem)
(linux_xfer_osdata_msg, linux_xfer_osdata_modules): Use
gdb_fopen_cloexec.
* common/linux-procfs.c (linux_proc_get_int)
(linux_proc_pid_has_state): Use gdb_fopen_cloexec.
* config.in, configure: Rebuild.
* configure.ac: Don't check for sys/socket.h. Check for
fdwalk, pipe2.
* corelow.c (core_open): Use gdb_open_cloexec.
* dwarf2read.c (write_psymtabs_to_index): Use gdb_fopen_cloexec.
* fork-child.c (fork_inferior): Call close_most_fds.
* gdb_bfd.c (gdb_bfd_open): Use gdb_open_cloexec.
* inf-child.c (inf_child_fileio_readlink): Use gdb_open_cloexec.
* linux-nat.c (linux_nat_thread_name, linux_proc_pending_signals):
Use gdb_fopen_cloexec.
(linux_proc_xfer_partial, linux_proc_xfer_spu): Use
gdb_open_cloexec.
(linux_async_pipe): Use gdb_pipe_cloexec.
* remote-fileio.c (remote_fileio_func_open): Use
gdb_open_cloexec.
* remote.c (remote_file_put, remote_file_get): Use
gdb_fopen_cloexec.
* ser-pipe.c (pipe_open): Use gdb_socketpair_cloexec,
close_most_fds.
* ser-tcp.c (net_open): Use gdb_socket_cloexec.
* ser-unix.c (hardwire_open): Use gdb_open_cloexec.
* solib.c (solib_find): Use gdb_open_cloexec.
* source.c (openp, find_and_open_source): Use gdb_open_cloexec.
* tracepoint.c (tfile_start): Use gdb_fopen_cloexec.
(tfile_open): Use gdb_open_cloexec.
* tui/tui-io.c (tui_initialize_io): Use gdb_pipe_cloexec.
* ui-file.c (gdb_fopen): Use gdb_fopen_cloexec.
* xml-support.c (xml_fetch_content_from_file): Use
gdb_fopen_cloexec.
* main.c (captured_main): Call notice_open_fds.
gdbserver
* Makefile.in (SFILES): Add filestuff.c.
(OBS): Add filestuff.o.
(filestuff.o): New target.
* config.in, configure: Rebuild.
* configure.ac: Check for fdwalk, pipe2.
2013-04-22 18:46:15 +02:00
|
|
|
/* Define to 1 if you have the `pipe2' function. */
|
|
|
|
#undef HAVE_PIPE2
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `poll' function. */
|
|
|
|
#undef HAVE_POLL
|
2001-03-20 03:57:42 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <poll.h> header file. */
|
2000-07-05 12:25:43 +02:00
|
|
|
#undef HAVE_POLL_H
|
|
|
|
|
2010-03-10 19:37:24 +01:00
|
|
|
/* Define to 1 if you have the `posix_madvise' function. */
|
|
|
|
#undef HAVE_POSIX_MADVISE
|
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
Ulrich Weigand <ulrich.weigand@linaro.org>
* configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
* config.in, configure: Regenerate.
* target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
to_fileio_pread, to_fileio_close, to_fileio_unlink.
(target_fileio_open): Add prototype.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* target.c: Include "gdb/fileio.h".
(target_read_stralloc): Accept trailing, but not embedded NUL bytes.
(default_fileio_target): New function.
(target_fileio_open): Likewise.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_close_cleanup): Likewise.
(target_fileio_read_alloc_1): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
<fcntl.h>, and <unistd.h>.
(inf_child_fileio_open_flags_to_host): New function.
(inf_child_errno_to_fileio_error): Likewise.
(inf_child_fileio_open): Likewise.
(inf_child_fileio_pwrite): Likewise.
(inf_child_fileio_pread): Likewise.
(inf_child_fileio_close): Likewise.
(inf_child_fileio_unlink): Likewise.
(inf_child_target): Install to_fileio routines.
* remote.c (init_remote_ops): Install to_fileio routines.
2012-01-20 10:45:51 +01:00
|
|
|
/* Define to 1 if you have the `pread' function. */
|
|
|
|
#undef HAVE_PREAD
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `pread64' function. */
|
|
|
|
#undef HAVE_PREAD64
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prfpregset_t. */
|
|
|
|
#undef HAVE_PRFPREGSET_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prgregset32_t. */
|
|
|
|
#undef HAVE_PRGREGSET32_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has prgregset_t. */
|
|
|
|
#undef HAVE_PRGREGSET_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <proc_service.h> header file. */
|
2000-03-27 09:31:37 +02:00
|
|
|
#undef HAVE_PROC_SERVICE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define if <sys/procfs.h> has 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
|
|
|
|
|
2013-08-07 16:39:57 +02:00
|
|
|
/* Define to 1 if you have the `ptrace64' function. */
|
|
|
|
#undef HAVE_PTRACE64
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if sys/ptrace.h defines the PTRACE_GETFPXREGS request. */
|
|
|
|
#undef HAVE_PTRACE_GETFPXREGS
|
|
|
|
|
|
|
|
/* Define if sys/ptrace.h defines the PTRACE_GETREGS request. */
|
|
|
|
#undef HAVE_PTRACE_GETREGS
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <ptrace.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_PTRACE_H
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if sys/ptrace.h defines the PT_GETDBREGS request. */
|
|
|
|
#undef HAVE_PT_GETDBREGS
|
|
|
|
|
|
|
|
/* Define if sys/ptrace.h defines the PT_GETXMMREGS request. */
|
|
|
|
#undef HAVE_PT_GETXMMREGS
|
|
|
|
|
2012-01-20 Pedro Alves <palves@redhat.com>
Ulrich Weigand <ulrich.weigand@linaro.org>
* configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
* config.in, configure: Regenerate.
* target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
to_fileio_pread, to_fileio_close, to_fileio_unlink.
(target_fileio_open): Add prototype.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* target.c: Include "gdb/fileio.h".
(target_read_stralloc): Accept trailing, but not embedded NUL bytes.
(default_fileio_target): New function.
(target_fileio_open): Likewise.
(target_fileio_pwrite): Likewise.
(target_fileio_pread): Likewise.
(target_fileio_close): Likewise.
(target_fileio_unlink): Likewise.
(target_fileio_close_cleanup): Likewise.
(target_fileio_read_alloc_1): Likewise.
(target_fileio_read_alloc): Likewise.
(target_fileio_read_stralloc): Likewise.
* inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
<fcntl.h>, and <unistd.h>.
(inf_child_fileio_open_flags_to_host): New function.
(inf_child_errno_to_fileio_error): Likewise.
(inf_child_fileio_open): Likewise.
(inf_child_fileio_pwrite): Likewise.
(inf_child_fileio_pread): Likewise.
(inf_child_fileio_close): Likewise.
(inf_child_fileio_unlink): Likewise.
(inf_child_target): Install to_fileio routines.
* remote.c (init_remote_ops): Install to_fileio routines.
2012-01-20 10:45:51 +01:00
|
|
|
/* Define to 1 if you have the `pwrite' function. */
|
|
|
|
#undef HAVE_PWRITE
|
|
|
|
|
2008-08-06 21:41:33 +02:00
|
|
|
/* Define if Python interpreter is being linked in. */
|
|
|
|
#undef HAVE_PYTHON
|
|
|
|
|
2010-07-28 13:48:23 +02:00
|
|
|
/* Define to 1 if you have the `resize_term' function. */
|
|
|
|
#undef HAVE_RESIZE_TERM
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `sbrk' function. */
|
|
|
|
#undef HAVE_SBRK
|
|
|
|
|
2014-05-27 14:02:21 +02:00
|
|
|
/* Define to 1 if you have the `scm_new_smob' function. */
|
|
|
|
#undef HAVE_SCM_NEW_SMOB
|
|
|
|
|
2008-12-09 18:18:30 +01:00
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
|
|
|
#undef HAVE_SETLOCALE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `setpgid' function. */
|
|
|
|
#undef HAVE_SETPGID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setpgrp' function. */
|
|
|
|
#undef HAVE_SETPGRP
|
|
|
|
|
2010-01-15 01:34:37 +01:00
|
|
|
/* Define to 1 if you have the `setrlimit' function. */
|
|
|
|
#undef HAVE_SETRLIMIT
|
|
|
|
|
2008-03-12 15:10:56 +01:00
|
|
|
/* Define to 1 if you have the `setsid' function. */
|
|
|
|
#undef HAVE_SETSID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sgtty.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SGTTY_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
|
2014-06-19 10:13:57 +02:00
|
|
|
/* Define to 1 if you have the `sigaltstack' function. */
|
|
|
|
#undef HAVE_SIGALTSTACK
|
|
|
|
|
2007-03-29 17:24:28 +02:00
|
|
|
/* Define to 1 if you have the <signal.h> header file. */
|
|
|
|
#undef HAVE_SIGNAL_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `sigprocmask' function. */
|
|
|
|
#undef HAVE_SIGPROCMASK
|
|
|
|
|
|
|
|
/* Define if sigsetjmp is available. */
|
|
|
|
#undef HAVE_SIGSETJMP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sigsetmask' function. */
|
|
|
|
#undef HAVE_SIGSETMASK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `socketpair' function. */
|
|
|
|
#undef HAVE_SOCKETPAIR
|
|
|
|
|
2005-06-13 23:32:01 +02:00
|
|
|
/* Define to 1 if the system has the type `socklen_t'. */
|
|
|
|
#undef HAVE_SOCKLEN_T
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2000-03-27 09:31:37 +02:00
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2003-01-02 12:14:33 +01:00
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
|
|
|
/* Define to 1 if your system has struct lwp. */
|
|
|
|
#undef HAVE_STRUCT_LWP
|
|
|
|
|
|
|
|
/* Define to 1 if your system has struct reg in <machine/reg.h>. */
|
|
|
|
#undef HAVE_STRUCT_REG
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct reg' is a member of `r_fs'. */
|
2005-01-21 14:49:22 +01:00
|
|
|
#undef HAVE_STRUCT_REG_R_FS
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct reg' is a member of `r_gs'. */
|
2005-01-21 14:49:22 +01:00
|
|
|
#undef HAVE_STRUCT_REG_R_GS
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct stat' is a member of `st_blksize'. */
|
2005-03-21 22:23:35 +01:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct stat' is a member of `st_blocks'. */
|
2005-01-21 12:53:23 +01:00
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLOCKS
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to 1 if `struct thread' is a member of `td_pcb'. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_STRUCT_THREAD_TD_PCB
|
|
|
|
|
2012-06-26 16:43:01 +02: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 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/debugreg.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_DEBUGREG_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/fault.h> header file. */
|
2001-03-06 01:52:31 +01:00
|
|
|
#undef HAVE_SYS_FAULT_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
2001-02-14 19:48:40 +01:00
|
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/filio.h> header file. */
|
2001-12-07 18:57:05 +01:00
|
|
|
#undef HAVE_SYS_FILIO_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
2002-01-05 19:36:32 +01:00
|
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/poll.h> header file. */
|
2000-07-05 12:25:43 +02:00
|
|
|
#undef HAVE_SYS_POLL_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/procfs.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_PROCFS_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/proc.h> header file. */
|
|
|
|
#undef HAVE_SYS_PROC_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ptrace.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_PTRACE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/reg.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_REG_H
|
|
|
|
|
2007-02-02 23:55:54 +01:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
1999-04-26 20:34:20 +02:00
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
common/filestuff.c: No sockets on DJGPP.
Building gdb with --host=i586-pc-msdosdjgpp ends up with:
i586-pc-msdosdjgpp-gcc -g -O2 -I../../src/gdb/config/djgpp -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber -I./../intl -I../../src/gdb/gnulib/import -Ibuild-gnulib/import -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Werror -c -o filestuff.o -MT filestuff.o -MMD -MP -MF .deps/filestuff.Tpo ../../src/gdb/common/filestuff.c
../../src/gdb/common/filestuff.c:38:24: fatal error: sys/socket.h: No such file or directory
There are no sockets on djgpp. This #ifdef's out the bits in the file
that use sockets, depending on whether winsock or sys/socket.h is
available.
As alternative approach, given ser-tcp.c, ser-pipe.c, etc. are split
into separate files, and which to use is selected by configure.ac:
dnl Figure out which of the many generic ser-*.c files the _host_ supports.
SER_HARDWIRE="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
case ${host} in
*go32* ) SER_HARDWIRE=ser-go32.o ;;
*djgpp* ) SER_HARDWIRE=ser-go32.o ;;
*mingw32*) SER_HARDWIRE="ser-base.o ser-tcp.o ser-mingw.o" ;;
esac
AC_SUBST(SER_HARDWIRE)
... I considered splitting filestuff.c similarly. But I quickly gave
up on the idea, as it looked like a lot more complication over this
approach, for no real gain. Plus, there are uses of these functions
outside the ser*.c framework.
gdbserver's configure.ac is already checking for sys/socket.h.
gdb/
2013-05-23 Pedro Alves <palves@redhat.com>
* common/filestuff.c [USE_WIN32API]: Define HAVE_SOCKETS.
[HAVE_SYS_SOCKET_H]: Define HAVE_SOCKETS.
(socket_mark_cloexec, gdb_socketpair_cloexec, gdb_socket_cloexec):
Only define if HAVE_SOCKETS is defined.
* configure.ac: Check for sys/socket.h.
* config.in, configure: Regenerate.
2013-05-23 20:37:00 +02:00
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/syscall.h> header file. */
|
2001-03-06 01:52:31 +01:00
|
|
|
#undef HAVE_SYS_SYSCALL_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2004-08-09 21:20:13 +02:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2012-03-03 04:08:36 +01:00
|
|
|
/* Define to 1 if you have the <sys/un.h> header file. */
|
|
|
|
#undef HAVE_SYS_UN_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/user.h> header file. */
|
2000-05-25 06:44:33 +02:00
|
|
|
#undef HAVE_SYS_USER_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
|
|
#undef HAVE_TERMIOS_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <termio.h> header file. */
|
1999-04-16 03:35:26 +02:00
|
|
|
#undef HAVE_TERMIO_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <term.h> header file. */
|
|
|
|
#undef HAVE_TERM_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <thread_db.h> header file. */
|
2000-03-27 09:31:37 +02:00
|
|
|
#undef HAVE_THREAD_DB_H
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if using Solaris thread debugging. */
|
|
|
|
#undef HAVE_THREAD_DB_LIB
|
|
|
|
|
|
|
|
/* Define if you support the tkill syscall. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef HAVE_TKILL_SYSCALL
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `ttrace' function. */
|
|
|
|
#undef HAVE_TTRACE
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
|
|
#undef HAVE_VFORK_H
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2010-09-02 19:12:38 +02:00
|
|
|
/* Define to 1 if you have the `waitpid' function. */
|
|
|
|
#undef HAVE_WAITPID
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the <wait.h> header file. */
|
|
|
|
#undef HAVE_WAIT_H
|
2002-06-22 01:48:41 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `wborder' function. */
|
|
|
|
#undef HAVE_WBORDER
|
gdb/ChangeLog:
2003-01-23 Alexander Larsson <alexl@redhat.com>
Jim Blandy <jimb@redhat.com>
Add support for executables whose debug info has been separated
out into a separate file, leaving only a link behind.
* objfiles.h (struct objfile): New fields: separate_debug_objfile
and separate_debug_objfile_backlink.
(put_objfile_before): New declaration.
* symfile.c: #include "filenames.h".
(symbol_file_add_with_addrs_or_offsets): If this objfile has its
debug info in a separate file, read that, too. Save the addrs
argument, so we can use it again to read the separated debug info;
syms_from_objfile modifies the table we pass it.
(reread_symbols): After re-reading an objfile, call
reread_separate_symbols to refresh its separate debug info
objfile, if it has one.
(reread_separate_symbols, find_separate_debug_file,
get_debug_link_info, separate_debug_file_exists): New functions.
(debug_file_directory): New global var.
(_initialize_symfile): Initialize debug_file_directory, and
provide the new `set debug-file-directory' command to let the user
change it.
* objfiles.c (free_objfile): If this objfile has its debug info in
a separate objfile, free that one too. If this is itself a
separate debug info objfile, clear our parent's backlink.
(put_objfile_before): New function.
* utils.c (gnu_debuglink_crc32): New function.
* defs.h (gnu_debuglink_crc32): New declaration.
* Makefile.in (symfile.o): Note dependency on "filenames.h".
* configure.in: Handle --with-separate-debug-dir config option.
* acinclude.m4 (AC_DEFINE_DIR): New macro.
* acconfig.h (DEBUGDIR): New macro.
* configure, aclocal.m4, config.in: Regenerated.
gdb/doc/ChangeLog:
2003-01-23 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Separate Debug Files): New section.
2003-01-24 00:03:32 +01:00
|
|
|
|
2014-08-19 14:29:56 +02:00
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
|
|
#undef HAVE_WINDOWS_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if `fork' works. */
|
|
|
|
#undef HAVE_WORKING_FORK
|
2003-01-02 23:49:31 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if `vfork' works. */
|
|
|
|
#undef HAVE_WORKING_VFORK
|
2003-01-02 23:49:31 +01:00
|
|
|
|
2010-07-29 01:24:57 +02:00
|
|
|
/* Define to 1 if you have the `wresize' function. */
|
|
|
|
#undef HAVE_WRESIZE
|
|
|
|
|
2007-01-09 15:58:57 +01:00
|
|
|
/* Define to 1 if you have the `XML_StopParser' function. */
|
|
|
|
#undef HAVE_XML_STOPPARSER
|
|
|
|
|
2008-04-19 07:06:54 +02:00
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
|
|
|
#undef HAVE_ZLIB_H
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if your system has the _etext variable. */
|
2003-02-14 21:07:00 +01:00
|
|
|
#undef HAVE__ETEXT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if you have the `_mcleanup' function. */
|
|
|
|
#undef HAVE__MCLEANUP
|
2004-08-09 21:20:13 +02:00
|
|
|
|
2011-05-09 23:49:57 +02:00
|
|
|
/* Path of directory of iconv program. */
|
|
|
|
#undef ICONV_BIN
|
|
|
|
|
|
|
|
/* Define if the iconv directory should be relocated when GDB is moved. */
|
|
|
|
#undef ICONV_BIN_RELOCATABLE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
|
|
#undef ICONV_CONST
|
2004-08-08 00:12:08 +02:00
|
|
|
|
2012-01-13 00:38:47 +01:00
|
|
|
/* directory to load the JIT readers from */
|
|
|
|
#undef JIT_READER_DIR
|
|
|
|
|
|
|
|
/* Define if the jit-reader-dir directory should be relocated when GDB is
|
|
|
|
moved. */
|
|
|
|
#undef JIT_READER_DIR_RELOCATABLE
|
|
|
|
|
2013-11-05 17:54:13 +01:00
|
|
|
/* Define if you want to use new multi-fd /proc interface. */
|
2005-07-03 18:05:11 +02:00
|
|
|
#undef NEW_PROC_API
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Name of this package. */
|
|
|
|
#undef PACKAGE
|
2002-03-15 01:44:49 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
2000-02-16 14:45:24 +01:00
|
|
|
|
2008-06-06 00:36:57 +02:00
|
|
|
/* Additional package description */
|
|
|
|
#undef PKGVERSION
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if the prfpregset_t type is broken. */
|
|
|
|
#undef PRFPREGSET_T_BROKEN
|
|
|
|
|
2008-01-08 20:38:33 +01:00
|
|
|
/* Define to 1 if the "%H, %D and %DD" formats work to print decfloats. */
|
|
|
|
#undef PRINTF_HAS_DECFLOAT
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the "%Lg" format works to print long doubles. */
|
|
|
|
#undef PRINTF_HAS_LONG_DOUBLE
|
2000-02-16 14:45:24 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the "%ll" format works to print long longs. */
|
|
|
|
#undef PRINTF_HAS_LONG_LONG
|
2000-08-30 02:58:58 +02:00
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if <proc_service.h> on solaris uses int instead of size_t, and
|
|
|
|
assorted other type changes. */
|
|
|
|
#undef PROC_SERVICE_IS_OLD
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the type of arg 3 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG3
|
2000-08-30 02:58:58 +02:00
|
|
|
|
2013-08-23 01:46:30 +02:00
|
|
|
/* Define to the type of arg 4 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG4
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to the type of arg 5 for ptrace. */
|
|
|
|
#undef PTRACE_TYPE_ARG5
|
2000-02-16 14:45:24 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as the return type of ptrace. */
|
|
|
|
#undef PTRACE_TYPE_RET
|
2000-03-27 09:31:37 +02:00
|
|
|
|
2010-05-27 05:40:45 +02:00
|
|
|
/* Define if the python directory should be relocated when GDB is moved. */
|
|
|
|
#undef PYTHON_PATH_RELOCATABLE
|
|
|
|
|
2009-04-21 12:13:05 +02:00
|
|
|
/* Relocated directory for source files. */
|
|
|
|
#undef RELOC_SRCDIR
|
|
|
|
|
2008-06-06 00:36:57 +02:00
|
|
|
/* Bug reporting address */
|
|
|
|
#undef REPORT_BUGS_TO
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
|
|
#undef RETSIGTYPE
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the "%Lg" format works to scan long doubles. */
|
|
|
|
#undef SCANF_HAS_LONG_DOUBLE
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the `setpgrp' function takes no argument. */
|
|
|
|
#undef SETPGRP_VOID
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* The size of `long', as computed by sizeof. */
|
2006-05-15 19:11:59 +02:00
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
2012-01-13 00:38:47 +01:00
|
|
|
/* The size of `unsigned long', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_UNSIGNED_LONG
|
|
|
|
|
|
|
|
/* The size of `unsigned long long', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_UNSIGNED_LONG_LONG
|
|
|
|
|
|
|
|
/* The size of `unsigned __int128', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_UNSIGNED___INT128
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
|
|
direction of stack growth for your system; otherwise it will be
|
2009-08-22 18:56:56 +02:00
|
|
|
automatically deduced at runtime.
|
2005-01-21 00:57:27 +01:00
|
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
|
|
#undef STACK_DIRECTION
|
|
|
|
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
2001-03-06 01:52:31 +01:00
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* automatically load a system-wide gdbinit file */
|
2009-01-28 16:01:00 +01:00
|
|
|
#undef SYSTEM_GDBINIT
|
|
|
|
|
2009-04-23 23:28:20 +02:00
|
|
|
/* Define if the system-gdbinit directory should be relocated when GDB is
|
2009-01-28 16:01:00 +01:00
|
|
|
moved. */
|
|
|
|
#undef SYSTEM_GDBINIT_RELOCATABLE
|
|
|
|
|
2012-01-18 19:35:43 +01:00
|
|
|
/* search for usr/lib et al within DIR */
|
|
|
|
#undef TARGET_SYSTEM_ROOT
|
|
|
|
|
|
|
|
/* Define if the sysroot directory should be relocated when GDB is moved. */
|
|
|
|
#undef TARGET_SYSTEM_ROOT_RELOCATABLE
|
|
|
|
|
2002-11-12 03:39:41 +01:00
|
|
|
/* Define if <thread_db.h> has the TD_NOTALLOC error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_NOTALLOC
|
|
|
|
|
2006-12-31 21:20:13 +01:00
|
|
|
/* Define if <thread_db.h> has the TD_NOTLS error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_NOTLS
|
|
|
|
|
|
|
|
/* Define if <thread_db.h> has the TD_VERSION error code. */
|
|
|
|
#undef THREAD_DB_HAS_TD_VERSION
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to 1 if the regex included in libiberty should be used. */
|
|
|
|
#undef USE_INCLUDED_REGEX
|
2003-06-04 22:51:29 +02:00
|
|
|
|
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-19 21:34:52 +02:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable threading extensions on Solaris. */
|
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2005-05-20 20:06:37 +02:00
|
|
|
/* Define if we should use the Windows API, instead of the POSIX API. On
|
|
|
|
Windows, we use the Windows API when building for MinGW, but the POSIX API
|
|
|
|
when building for Cygwin. */
|
|
|
|
#undef USE_WIN32API
|
|
|
|
|
2010-05-27 05:40:45 +02:00
|
|
|
/* Define if --with-python provides a path, either directly or via
|
|
|
|
python-config.py --exec-prefix. */
|
|
|
|
#undef WITH_PYTHON_PATH
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define if the simulator is being linked in. */
|
|
|
|
#undef WITH_SIM
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define WORDS_BIGENDIAN 1
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# ifndef WORDS_BIGENDIAN
|
|
|
|
# undef WORDS_BIGENDIAN
|
|
|
|
# endif
|
2005-07-03 18:05:11 +02:00
|
|
|
#endif
|
|
|
|
|
2010-05-25 00:54:21 +02:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
2005-07-03 18:05:11 +02:00
|
|
|
/* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
|
|
|
|
<sys/proc.h> problem on IRIX 5. */
|
|
|
|
#undef _KMEMUSER
|
|
|
|
|
2010-05-25 00:54:21 +02:00
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
2005-05-20 20:17:47 +02:00
|
|
|
/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on Solaris
|
|
|
|
2.[789] when using GCC. */
|
2005-01-21 00:57:27 +01:00
|
|
|
#undef _MSE_INT_H
|
2004-07-29 21:33:22 +02:00
|
|
|
|
2008-04-14 21:47:29 +02:00
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
|
|
this defined. */
|
|
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
|
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-19 21:34:52 +02:00
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
2008-04-14 21:47:29 +02:00
|
|
|
#undef _POSIX_SOURCE
|
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
2004-07-29 21:33:22 +02:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#undef inline
|
|
|
|
#endif
|
2003-01-05 00:47:13 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef pid_t
|
2002-11-26 02:23:46 +01:00
|
|
|
|
2005-01-21 00:57:27 +01:00
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|