mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
5b5d99cf4d
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.
516 lines
14 KiB
Plaintext
516 lines
14 KiB
Plaintext
/* config.in. Generated automatically from configure.in by autoheader. */
|
|
|
|
/* Define if on AIX 3.
|
|
System headers sometimes define this.
|
|
We just want to avoid a redefinition error message. */
|
|
#ifndef _ALL_SOURCE
|
|
#undef _ALL_SOURCE
|
|
#endif
|
|
|
|
/* Define if using alloca.c. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
#undef const
|
|
|
|
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
|
This function is required for alloca.c support on those systems. */
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
/* Define if you have alloca, as a function or macro. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define if the `long double' type works. */
|
|
#undef HAVE_LONG_DOUBLE
|
|
|
|
/* Define if you have a working `mmap' system call. */
|
|
#undef HAVE_MMAP
|
|
|
|
/* Define if you have <vfork.h>. */
|
|
#undef HAVE_VFORK_H
|
|
|
|
/* Define as __inline if that's what the C compiler calls it. */
|
|
#undef inline
|
|
|
|
/* Define to `long' if <sys/types.h> doesn't define. */
|
|
#undef off_t
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef pid_t
|
|
|
|
/* Define if you need to in order for stat and other things to work. */
|
|
#undef _POSIX_SOURCE
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
#undef RETSIGTYPE
|
|
|
|
/* Define if the `setpgrp' function takes no argument. */
|
|
#undef SETPGRP_VOID
|
|
|
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
|
#undef size_t
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at run-time.
|
|
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 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
|
#undef STAT_MACROS_BROKEN
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define vfork as fork if vfork does not work. */
|
|
#undef vfork
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif
|
|
|
|
/* Define if your struct reg has r_fs. */
|
|
#undef HAVE_STRUCT_REG_R_FS
|
|
|
|
/* Define if your struct reg has r_gs. */
|
|
#undef HAVE_STRUCT_REG_R_GS
|
|
|
|
/* 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
|
|
|
|
/* 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 a struct so_map which has
|
|
members with an ``som_'' prefix. (Found on older *BSD systems.) */
|
|
#undef HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS
|
|
|
|
/* Define if <sys/link.h> has struct link_map32 */
|
|
#undef HAVE_STRUCT_LINK_MAP32
|
|
|
|
/* Define if <sys/link.h> has link_map32 (solaris sparc-64 target) */
|
|
#undef _SYSCALL32
|
|
|
|
/* Define if the prfpregset_t type is broken. */
|
|
#undef PRFPREGSET_T_BROKEN
|
|
|
|
/* 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
|
|
|
|
/* Define if ioctl argument PIOCSET is available. */
|
|
#undef HAVE_PROCFS_PIOCSET
|
|
|
|
/* Define if the `long long' type works. */
|
|
#undef CC_HAS_LONG_LONG
|
|
|
|
/* Define if the "ll" format works to print long long ints. */
|
|
#undef PRINTF_HAS_LONG_LONG
|
|
|
|
/* Define if the "%Lg" format works to print long doubles. */
|
|
#undef PRINTF_HAS_LONG_DOUBLE
|
|
|
|
/* Define if the "%Lg" format works to scan long doubles. */
|
|
#undef SCANF_HAS_LONG_DOUBLE
|
|
|
|
/* Define if using Solaris thread debugging. */
|
|
#undef HAVE_THREAD_DB_LIB
|
|
|
|
/* Define on a GNU/Linux system to work around problems in sys/procfs.h. */
|
|
#undef START_INFERIOR_TRAPS_EXPECTED
|
|
#undef sys_quotactl
|
|
|
|
/* Define if you have HPUX threads */
|
|
#undef HAVE_HPUX_THREAD_SUPPORT
|
|
|
|
/* Define if you want to use the memory mapped malloc package (mmalloc). */
|
|
#undef USE_MMALLOC
|
|
|
|
/* Define if the runtime uses a routine from mmalloc before gdb has a chance
|
|
to initialize mmalloc, and we want to force checking to be used anyway.
|
|
This may cause spurious memory corruption messages if the runtime tries
|
|
to explicitly deallocate that memory when gdb calls exit. */
|
|
#undef MMCHECK_FORCE
|
|
|
|
/* Define if <proc_service.h> on solaris uses int instead of
|
|
size_t, and assorted other type changes. */
|
|
#undef PROC_SERVICE_IS_OLD
|
|
|
|
/* Define if the simulator is being linked in. */
|
|
#undef WITH_SIM
|
|
|
|
/* Set to true if the save_state_t structure is present */
|
|
#undef HAVE_STRUCT_SAVE_STATE_T
|
|
|
|
/* Set to true if the save_state_t structure has the ss_wide member */
|
|
#undef HAVE_STRUCT_MEMBER_SS_WIDE
|
|
|
|
/* Define if <sys/ptrace.h> defines the PTRACE_GETREGS request. */
|
|
#undef HAVE_PTRACE_GETREGS
|
|
|
|
/* Define if <sys/ptrace.h> defines the PTRACE_GETFPXREGS request. */
|
|
#undef HAVE_PTRACE_GETFPXREGS
|
|
|
|
/* 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
|
|
|
|
/* Multi-arch enabled. */
|
|
#undef GDB_MULTI_ARCH
|
|
|
|
/* hostfile */
|
|
#undef GDB_XM_FILE
|
|
|
|
/* targetfile */
|
|
#undef GDB_TM_FILE
|
|
|
|
/* nativefile */
|
|
#undef GDB_NM_FILE
|
|
|
|
/* Define if you have the __argz_count function. */
|
|
#undef HAVE___ARGZ_COUNT
|
|
|
|
/* Define if you have the __argz_next function. */
|
|
#undef HAVE___ARGZ_NEXT
|
|
|
|
/* Define if you have the __argz_stringify function. */
|
|
#undef HAVE___ARGZ_STRINGIFY
|
|
|
|
/* Define if you have the canonicalize_file_name function. */
|
|
#undef HAVE_CANONICALIZE_FILE_NAME
|
|
|
|
/* Define if you have the dcgettext function. */
|
|
#undef HAVE_DCGETTEXT
|
|
|
|
/* Define if you have the getcwd function. */
|
|
#undef HAVE_GETCWD
|
|
|
|
/* Define if you have the getpagesize function. */
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
/* Define if you have the munmap function. */
|
|
#undef HAVE_MUNMAP
|
|
|
|
/* Define if you have the poll function. */
|
|
#undef HAVE_POLL
|
|
|
|
/* Define if you have the pread64 function. */
|
|
#undef HAVE_PREAD64
|
|
|
|
/* Define if you have the putenv function. */
|
|
#undef HAVE_PUTENV
|
|
|
|
/* Define if you have the realpath function. */
|
|
#undef HAVE_REALPATH
|
|
|
|
/* Define if you have the sbrk function. */
|
|
#undef HAVE_SBRK
|
|
|
|
/* Define if you have the setenv function. */
|
|
#undef HAVE_SETENV
|
|
|
|
/* Define if you have the setlocale function. */
|
|
#undef HAVE_SETLOCALE
|
|
|
|
/* Define if you have the setpgid function. */
|
|
#undef HAVE_SETPGID
|
|
|
|
/* Define if you have the setpgrp function. */
|
|
#undef HAVE_SETPGRP
|
|
|
|
/* Define if you have the sigaction function. */
|
|
#undef HAVE_SIGACTION
|
|
|
|
/* Define if you have the sigprocmask function. */
|
|
#undef HAVE_SIGPROCMASK
|
|
|
|
/* Define if you have the sigsetmask function. */
|
|
#undef HAVE_SIGSETMASK
|
|
|
|
/* Define if you have the socketpair function. */
|
|
#undef HAVE_SOCKETPAIR
|
|
|
|
/* Define if you have the stpcpy function. */
|
|
#undef HAVE_STPCPY
|
|
|
|
/* Define if you have the strcasecmp function. */
|
|
#undef HAVE_STRCASECMP
|
|
|
|
/* Define if you have the strchr function. */
|
|
#undef HAVE_STRCHR
|
|
|
|
/* Define if you have the <argz.h> header file. */
|
|
#undef HAVE_ARGZ_H
|
|
|
|
/* Define if you have the <ctype.h> header file. */
|
|
#undef HAVE_CTYPE_H
|
|
|
|
/* Define if you have the <curses.h> header file. */
|
|
#undef HAVE_CURSES_H
|
|
|
|
/* Define if you have the <dirent.h> header file. */
|
|
#undef HAVE_DIRENT_H
|
|
|
|
/* Define if you have the <limits.h> header file. */
|
|
#undef HAVE_LIMITS_H
|
|
|
|
/* Define if you have the <link.h> header file. */
|
|
#undef HAVE_LINK_H
|
|
|
|
/* Define if you have the <locale.h> header file. */
|
|
#undef HAVE_LOCALE_H
|
|
|
|
/* Define if you have the <malloc.h> header file. */
|
|
#undef HAVE_MALLOC_H
|
|
|
|
/* Define if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define if you have the <ncurses.h> header file. */
|
|
#undef HAVE_NCURSES_H
|
|
|
|
/* Define if you have the <ndir.h> header file. */
|
|
#undef HAVE_NDIR_H
|
|
|
|
/* Define if you have the <nl_types.h> header file. */
|
|
#undef HAVE_NL_TYPES_H
|
|
|
|
/* Define if you have the <nlist.h> header file. */
|
|
#undef HAVE_NLIST_H
|
|
|
|
/* Define if you have the <poll.h> header file. */
|
|
#undef HAVE_POLL_H
|
|
|
|
/* Define if you have the <proc_service.h> header file. */
|
|
#undef HAVE_PROC_SERVICE_H
|
|
|
|
/* Define if you have the <ptrace.h> header file. */
|
|
#undef HAVE_PTRACE_H
|
|
|
|
/* Define if you have the <sgtty.h> header file. */
|
|
#undef HAVE_SGTTY_H
|
|
|
|
/* Define if you have the <stddef.h> header file. */
|
|
#undef HAVE_STDDEF_H
|
|
|
|
/* Define if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define if you have the <sys/debugreg.h> header file. */
|
|
#undef HAVE_SYS_DEBUGREG_H
|
|
|
|
/* Define if you have the <sys/dir.h> header file. */
|
|
#undef HAVE_SYS_DIR_H
|
|
|
|
/* Define if you have the <sys/fault.h> header file. */
|
|
#undef HAVE_SYS_FAULT_H
|
|
|
|
/* Define if you have the <sys/file.h> header file. */
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
/* Define if you have the <sys/filio.h> header file. */
|
|
#undef HAVE_SYS_FILIO_H
|
|
|
|
/* Define if you have the <sys/ioctl.h> header file. */
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
/* Define if you have the <sys/ndir.h> header file. */
|
|
#undef HAVE_SYS_NDIR_H
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
/* Define if you have the <sys/poll.h> header file. */
|
|
#undef HAVE_SYS_POLL_H
|
|
|
|
/* Define if you have the <sys/proc.h> header file. */
|
|
#undef HAVE_SYS_PROC_H
|
|
|
|
/* Define if you have the <sys/procfs.h> header file. */
|
|
#undef HAVE_SYS_PROCFS_H
|
|
|
|
/* Define if you have the <sys/ptrace.h> header file. */
|
|
#undef HAVE_SYS_PTRACE_H
|
|
|
|
/* Define if you have the <sys/reg.h> header file. */
|
|
#undef HAVE_SYS_REG_H
|
|
|
|
/* Define if you have the <sys/select.h> header file. */
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
/* Define if you have the <sys/syscall.h> header file. */
|
|
#undef HAVE_SYS_SYSCALL_H
|
|
|
|
/* Define if you have the <sys/user.h> header file. */
|
|
#undef HAVE_SYS_USER_H
|
|
|
|
/* Define if you have the <sys/wait.h> header file. */
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
/* Define if you have the <term.h> header file. */
|
|
#undef HAVE_TERM_H
|
|
|
|
/* Define if you have the <termio.h> header file. */
|
|
#undef HAVE_TERMIO_H
|
|
|
|
/* Define if you have the <termios.h> header file. */
|
|
#undef HAVE_TERMIOS_H
|
|
|
|
/* Define if you have the <thread_db.h> header file. */
|
|
#undef HAVE_THREAD_DB_H
|
|
|
|
/* Define if you have the <time.h> header file. */
|
|
#undef HAVE_TIME_H
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define if you have the <values.h> header file. */
|
|
#undef HAVE_VALUES_H
|
|
|
|
/* Define if you have the <wait.h> header file. */
|
|
#undef HAVE_WAIT_H
|
|
|
|
/* Define if you have the dl library (-ldl). */
|
|
#undef HAVE_LIBDL
|
|
|
|
/* Define if you have the m library (-lm). */
|
|
#undef HAVE_LIBM
|
|
|
|
/* Define if you have the w library (-lw). */
|
|
#undef HAVE_LIBW
|
|
|
|
/* Define if you have the stpcpy function */
|
|
#undef HAVE_STPCPY
|
|
|
|
/* Define if your locale.h file contains LC_MESSAGES. */
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
/* Define to 1 if NLS is requested */
|
|
#undef ENABLE_NLS
|
|
|
|
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
|
#undef HAVE_GETTEXT
|
|
|
|
/* Name of this package. */
|
|
#undef PACKAGE
|
|
|
|
/* Global directory for separate debug files. */
|
|
#undef DEBUGDIR
|
|
|
|
/* Define to BFD's default architecture. */
|
|
#undef DEFAULT_BFD_ARCH
|
|
|
|
/* Define to BFD's default target vector. */
|
|
#undef DEFAULT_BFD_VEC
|
|
|
|
/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on
|
|
Solaris 2.[78] when using GCC. */
|
|
#undef _MSE_INT_H
|
|
|
|
/* Define if sigsetjmp is available. */
|
|
#undef HAVE_SIGSETJMP
|
|
|
|
/* Define to 1 if the regex included in libiberty should be used. */
|
|
#undef USE_INCLUDED_REGEX
|
|
|
|
/* Define if malloc is not declared in system header files. */
|
|
#undef NEED_DECLARATION_MALLOC
|
|
|
|
/* Define if realloc is not declared in system header files. */
|
|
#undef NEED_DECLARATION_REALLOC
|
|
|
|
/* Define if free is not declared in system header files. */
|
|
#undef NEED_DECLARATION_FREE
|
|
|
|
/* Define if strerror is not declared in system header files. */
|
|
#undef NEED_DECLARATION_STRERROR
|
|
|
|
/* Define if strdup is not declared in system header files. */
|
|
#undef NEED_DECLARATION_STRDUP
|
|
|
|
/* Define if strstr is not declared in system header files. */
|
|
#undef NEED_DECLARATION_STRSTR
|
|
|
|
/* Define if canonicalize_file_name is not declared in system header files. */
|
|
#undef NEED_DECLARATION_CANONICALIZE_FILE_NAME
|
|
|
|
/* Define if <sys/procfs.h> has pstatus_t. */
|
|
#undef HAVE_PSTATUS_T
|
|
|
|
/* Define if <sys/procfs.h> has prrun_t. */
|
|
#undef HAVE_PRRUN_T
|
|
|
|
/* Define if <sys/procfs.h> has gregset_t. */
|
|
#undef HAVE_GREGSET_T
|
|
|
|
/* Define if <sys/procfs.h> has fpregset_t. */
|
|
#undef HAVE_FPREGSET_T
|
|
|
|
/* Define if <sys/procfs.h> has prgregset_t. */
|
|
#undef HAVE_PRGREGSET_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 prfpregset32_t. */
|
|
#undef HAVE_PRFPREGSET32_T
|
|
|
|
/* Define if <sys/procfs.h> has lwpid_t. */
|
|
#undef HAVE_LWPID_T
|
|
|
|
/* Define if <sys/procfs.h> has psaddr_t. */
|
|
#undef HAVE_PSADDR_T
|
|
|
|
/* Define if <sys/procfs.h> has prsysent_t. */
|
|
#undef HAVE_PRSYSENT_T
|
|
|
|
/* Define if <sys/procfs.h> has pr_sigset_t. */
|
|
#undef HAVE_PR_SIGSET_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 <thread_db.h> has the TD_NOTALLOC error code. */
|
|
#undef THREAD_DB_HAS_TD_NOTALLOC
|
|
|
|
/* Define to the default OS ABI for this configuration. */
|
|
#undef GDB_OSABI_DEFAULT
|
|
|
|
/* Define to be a string naming the default host character set. */
|
|
#undef GDB_DEFAULT_HOST_CHARSET
|
|
|
|
/* Define if you have the iconv() function. */
|
|
#undef HAVE_ICONV
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
#undef ICONV_CONST
|
|
|