aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain1-0/+12
* configure.in: New variable HAVE_UINTPTR_T. * configure, config.in: Regenerated.
2003-02-20* configure.in (TARGET_SYSTEM_ROOT): Set default toAlexandre Oliva1-2/+3
${exec_prefix}/${target_alias}/sys-root. Match explicit '${exec_prefix}' (in addition to the expansion thereof) as relocatable. * configure: Rebuilt.
2003-02-17Revert previous change. Something doesn't work.Andrew Cagney1-1/+1
2003-02-172003-02-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+1
* configure.in (Makefile): Use the test ${target} != ${host}, instead of the absence of the "nm.h" file, to determine of the configuration non-native. * configure: Regenerate.
2003-02-14* configure.in: Add check for _etext.Mark Kettenis1-0/+10
* maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't available. * config.in, configure: regenerated.
2003-02-01* configure.in: Fix typo.Mark Kettenis1-1/+1
* configure: Regenerated.
2003-01-27 * configure.in: Check that -pg works if using --enable-profiling.Daniel Jacobowitz1-4/+10
Check for monstartup and _mcleanup regardless of --enable-profiling. * maint.c: Check for monstartup and _mcleanup before using them. * config.in: Regenerated. * configure: Regenerated.
2003-01-23gdb/ChangeLog:Jim Blandy1-0/+9
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-22 Original patch by Tom Tromey <tromey@cygnus.com> andDaniel Jacobowitz1-1/+27
Jason Molenda <jmolenda@apple.com>. * Makefile.in (PROFILE_CFLAGS): Substitute from configure. (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. * NEWS: Mention profiling. * configure.in (--enable-gdbtk): Fix typo. (--enable-profiling): New. Set PROFILE_CFLAGS. * maint.c (maintenance_set_profile_cmd): Remove NOTYET. Fill in function. (profiling_state): New variable. (mcleanup_wrapper): New function. (_initialize_maint): Remove NOTYET, fix call to add_setshow_boolean_cmd for "maint set profile". * configure: Regenerated.
2003-01-13 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): NewDaniel Jacobowitz1-0/+32
variables. (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). * configure.in: Add --with-sysroot. * configure: Regenerated. * main.c (gdb_sysroot): New variable. (captured_main): Initialize gdb_sysroot. * defs.h (gdb_sysroot): New extern declaration. * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
2003-01-04 * Makefile.in (acconfig_h): Remove incorrect macro.Daniel Jacobowitz1-0/+5
(config_h): Define. (osabi.o): Update dependencies. * configure.tgt: Set gdb_osabi based on target triplet. * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. * configure: Regenerated. * config.in: Regenerated. * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". (GDB_OSABI_DEFAULT): Define if not already defined. (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) (set_osabi_string): New variables. (gdbarch_register_osabi): Add new OS ABI to gdb_osabi_available_names. (gdbarch_lookup_osabi): Honor specified and default OS ABIs. (set_osabi, show_osabi): New functions. (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
2003-01-04* configure.in: Don't set and AC_SUBST SUBDIRS.Mark Kettenis1-2/+0
* configure: Regenerated.
2003-01-04* configure.in: Remove code dealing with shared libraries.Mark Kettenis1-61/+0
* Makefile.in: Remove HLDFLAGS and HLDENV. * configure: Regenerated.
2003-01-04* configure.in: Move code that provides the --enable-gdbtk optionMark Kettenis1-32/+21
right after the code that handles the --enable-tui option, and polish it somewhat. * configure: Regenerated.
2003-01-04* configure.in: Call AC_GNU_SOURCE. Check for pread64 usingMark Kettenis1-17/+2
AC_CHECK_FUNCS and remove the old check for pread64. * acinclude.m4 (AC_GNU_SOURCE): New macro. * acconfig.h (_GNU_SOURCE): Add. (HAVE_PREAD64): Remove. * configure, aclocal.m4, config.in: Regenerated.
2003-01-03* configure.in: Remove all use of the SUBDIRS variable; addMark Kettenis1-29/+23
directories using the AC_CONFIG_SUBDIRS macro instead. Polish code providing the --enable-multi-ice option, and move it right in front of the code that checks whether gdbserver is supported. Polish that too. * configure: Regenerated. * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of @SUBDIRS@.
2003-01-03* configure.in: Remove --enable-netrom option.Mark Kettenis1-14/+0
* configure: Regenerated.
2003-01-02* configure.in: Remove --with-cpu option.Mark Kettenis1-35/+0
subscripts. Remove evil changequotes here. * acconfig.h (TARGET_CPU_DEFAULT): Remove. * config.in, configure: Regenerated.
2003-01-02* acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.Mark Kettenis1-20/+13
* configure.in: Cleanup section that sources GDB and BFD configure subscripts. Remove evil changequotes here. * config.in, configure: Regenerated.
2003-01-02* configure.in: Remove UI_OUT configuration code.Mark Kettenis1-23/+0
* ada-lang.c: Update assuming UI_OUT is always true. * Makefile.in (UIOUT_CFLAGS): Remove. * configure: Regenerated. * TODO: Remove blurb about elimination of -DUI_OUT.
2003-01-02* configure.in: Move code that provides the --enable-gdbcli,Mark Kettenis1-63/+52
--enable-gdbmi options right before the code that handles the --enable-tui option. Polish a bit. * configure: Regenerated.
2003-01-02* configure.in: Rewrite check for GNU regex and theMark Kettenis1-32/+31
--without-included regex option, and move it into the "Checks for library functions" section. This makes us use the system regex again by default on systems with version 2 of the GNU C library. This was apparently broken. * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. * acconfig.h (USE_INCLUDED_REGEX): Remove. * config.in, configure: Regenerated.
2003-01-02* configure.in: Move code that provides the --enable-tui optionMark Kettenis1-51/+66
before the "Checks for libraries" section. Polish the code somewhat and set need_curses to yes if we build the TUI. Rewrite code that looks for a library providing termcap functionality to match more closely what's done in the Readline library, and move it into to the "Checks for libraries" section. * configure: Regenerated. * Makefile.in (TERMCAP): Remove variable. * config/i386/go32.mh (TERMCAP): Remove variable.
2003-01-02* configure.in: Fix typo in last change.Mark Kettenis1-1/+1
* config.in, configure: Regenerated.
2003-01-02* configure.in: Reorganize "Checks for library functions section"Mark Kettenis1-7/+8
a bit. Remove check for `btowc' and `isascii' functions. * configure: Regenerated.
2003-01-02* acconfig.h (_MSE_INT_H): Remove.Mark Kettenis1-19/+57
* configure.in: Create "Checks for header files" section, and move appropriate tests there. Don't check for objlist.h, wchar.h, wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> misdetection fix. Also add "Checks for types", "Checks for compiler characteristics" and "Checks for library functions" sections. * config.in, configure: Regenerated.
2003-01-02* configure.in: Create "Checks for programs" section, and moveMark Kettenis1-7/+19
appropriate tests there.
2003-01-01* configure.in: Create "Checks for libraries" section, and moveMark Kettenis1-12/+18
appropriate tests there. Cleanup check for wctype in libw. Use AC_SEARCH_LIBS to see whether we need libsocket. * configure: Regenerated.
2002-12-31* configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.Mark Kettenis1-1/+1
* config.in, configure: Regenerated.
2002-12-31* gdb_dirent.h: Cleanup and update code to match the example inMark Kettenis1-1/+2
the Autoconf manual. * configure.in: Call AC_HEADER_DIRENT. Remove dirent.h, sys/ndir.h, sys/dir.h and ndir.h from call to AC_CHECK_HEADERS. * configure: Regenerated.
2002-11-29 * configure.in: Check that the pthdebug library is recent enoughJoel Brobecker1-5/+25
before enabling thread support on native AiX. * configure: Regenerate. * config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o from the list of object files as it is now appended by configure if thread support is enabled. (NAT_CLIBS): Removed as -lpthdebug is also appended by configure if thread support is enabled.
2002-11-272002-11-26 Martin M. Hunt <hunt@redhat.com>Martin Hunt1-12/+1
* Makefile.in: Remove Tix dependencies. * acinclude.m4: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Regenerated.
2002-11-26 * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz1-0/+17
* configure.in: Check for pread64. * config.in: Regenerated. * configure: Regenerated. * lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory. * linux-proc.c (linux_proc_xfer_memory): New function. * config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
2002-11-122002-11-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+17
* findvar.c (read_var_value): Reenable TLS code. 2002-11-11 Elena Zannoni <ezannoni@redhat.com> Jim Blandy <jimb@redhat.com> * gdb_thread_db.h (enum): Add TD_NOTALLOC. * target.c (update_current_target): Add to_get_thread_local_address. * target.h (to_get_thread_local_address): Export. (target_get_thread_local_address): Define. (target_get_thread_local_address_p): Define. * thread-db.c: Include solib-svr4.h. (td_thr_tls_get_addr_p): Define. (thread_db_load): Get a pointer to td_thr_tls_get_addr. (thread_db_get_thread_local_address): New function. (init_thread_db_ops): Initialize to_get_thread_local_address. * configure.in: Add test for TD_NOTALLOC in thread_db.h. * configure: Regenerate. * config.in: Regenerate.
2002-10-22 * configure.in: Define NEW_PROC_API on Interix too.Joel Brobecker1-1/+1
* configure: Regenerate.
2002-09-20Add support for distinct host and target character sets.Kevin Buettner1-0/+12
2002-08-14 * configure.in: Move SUBDIRS to near top of the file so thatKeith Seitz1-1/+4
--enable options may add things to it. If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs. * configure: Regenerate.
2002-07-09 Define HAVE_SYS_PROC_H if sys/proc.h existsJoel Brobecker1-1/+1
* configure.in: Add check for sys/proc.h * config.in: Regenerate. * configure: Regenerate.
2002-06-21 * gdb_locale.h: New file.Tom Tromey1-2/+3
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR. (defs_h): Added gdb_locale.h. * configure, config.in: Rebuilt. * configure.in (PACKAGE): Define. * defs.h: Include gdb_locale.h. * main.c (captured_main): Call setlocale, bindtextdomain,
2002-05-11From Christian Limpach <chris@Pin.LU>Jason Thorpe1-1/+2
* configure.in: Change sed expression which comments out NATDEPFILES to also comment out continuation lines. * configure: Regenerate.
2002-04-112002-04-11 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+1
* configure.in: Autoconfiscate _SYSCALL32 define for solaris. * configure: Regenerate. * config.in: Regenerate. * acconfig.h: Add define for _SYSCALL32. * core-sol2.c: Remove #define _SYSCALL32. * solib-legacy.c: Remove #define _SYSCALL32.
2002-04-04* configure.in: Call AC_C_INLINE.Jim Blandy1-0/+1
* configure: Regenerated.
2002-03-15 * configure.in: Detect declaration for canonicalize_file_name.Richard Henderson1-1/+1
* utils.c (canonicalize_file_name): Declare, if needed. (gdb_realpath): Prefer realpath if available and usable. * config.in, configure: Rebuild.
2002-03-06* configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.Alexandre Oliva1-0/+17
* configure: Rebuilt.
2002-02-24Zap lin-thread.cAndrew Cagney1-1/+1
2002-02-23* configure.in: (AC_CHECK_FUNCS) Added test forAndrew Cagney1-2/+2
canonicalize_file_name Regenerated. * config.in, configure: Regenerated. * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is defined use canonicalize_file_name.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-7/+14
* configure.tgt: Configure gdbserver only for known working targets. Set ${build_gdbserver} instead of modifying ${configdirs}. * configure.in: Check ${build_gdbserver}. Put gdbserver/ into SUBDIRS if it is configured. Update comment for ${nativefile}. * configure: Regenerated.
2002-01-20Remove assumption that there is a host.Andrew Cagney1-1/+8
2002-01-05Don't include <endian.h>Andrew Cagney1-1/+1
2002-01-05* acconfig.h (HAVE_PT_GETXMMREGS): New.Jason Thorpe1-1/+14
* config.in: Regenerate. * configure.in: Update copyright years. Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. * configure: Regenerate. * i386bsd-nat.c: Update copyright years. (fill_gregset): Use regcache_collect. (fetch_inferior_registers): Only fetch integer registers if requested to do so. Add support for XMM registers using PT_GETXMMREGS. (store_inferior_registers): Only store integer registers if requested to do so. Add support for XMM registers using PT_SETXMMREGS. * i386nbsd-nat.c (fetch_inferior_registers): Remove. (store_inferior_registers): Remove. (fetch_core_registers): Use supply_gregset and i387_supply_fsave. (fetch_elfcore_registers): New function. (i386nbsd_elfcore_fns): New. (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and i386bsd-nat.o. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. * config/i386/nbsdelf.mt (TDEPFILES): Likewise. * config/i386/tm-nbsd.h: Update copyright years. (HAVE_SSE_REGS): Define. (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. (SIGCONTEXT_PC_OFFSET): Remove. (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.