summaryrefslogtreecommitdiff
path: root/gdb/configure
Commit message (Collapse)AuthorAgeFilesLines
* 2003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-031-52/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * defs.h: Do not include "arch-utils.h". (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or GDB_MULTI_ARCH_PURE. * configure.in (GDB_MULTI_ARCH): Do not define. * configure, config.in: Regenerate. * configure.tgt: Do not set variable "gdb_multi_arch". * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. * config/v850/v850.mt (TM_FILE): Delete disabled definition. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
* * configure.in: Search for gethostbyname in libnsl.Mark Kettenis2003-08-301-379/+443
| | | | * configure: Regenerated.
* * configure.in: Remove redundant AC_MSG_RESULT in check forMark Kettenis2003-08-291-165/+164
| | | | | uintptr_t in stdint.h. * configure: Regenerated.
* 2003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-221-1/+1
| | | | | | | | | | * configure.in (build_warnings): Add -Wformat-nonliteral. * configure: Re-generate. 2003-07-22 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror list.
* 2003-06-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-06-081-263/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen from GCC's acinclude.m4. * configure.in: Check for getopt's delcaration. * aclocal.m4, config.in, configure: Re-generate. * main.c (error_init): Delete declaration. * defs.h (error_init): Declare. * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. (rs6000_convert_from_func_ptr_addr): Make static. (_initialize_rs6000_tdep): Add declaration. * cli/cli-cmds.c (dont_repeat): Delete declaration. (show_commands, set_verbose, show_history): Delete declaration. * top.h (set_verbose): Add declaration. (show_history, set_history, show_commands): Add declaration. (do_restore_instream_cleanup): Add declaration. * objc-lang.c (specialcmp): Make static. (print_object_command): Make static. (find_objc_msgsend): Make static. (find_objc_msgcall_submethod_helper): Make static. (find_objc_msgcall_submethod): Make static. (_initialize_objc_language): Add declaration. (find_implementation_from_class): Make static. (find_implementation): Make static. * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. * objc-lang.h (lookup_struct_typedef): Add declaration. * cli/cli-interp.c (_initialize_cli_interp): Add declaration. * cli/cli-script.c (clear_hook_in_cleanup): Make static. (do_restore_user_call_depth): Make static. (do_restore_instream_cleanup): Delete declaration. (dont_repeat): Delete declaration. * cli/cli-decode.c (add_abbrev_cmd): Delete function. * cli/cli-dump.c (_initialize_cli_dump): Add declaration. * reggroups.c (_initialize_reggroup): Add declaration. * cp-support.c (_initialize_cp_support): Add declaration. * cp-abi.c (_initialize_cp_abi): Add declaration. * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. (_initialize_gnu_v3_abi): Add declaration. * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. (_initialize_gnu_v2_abi): Add declaration. * frame-base.c (_initialize_frame_base): Add declaration. * doublest.c (floatformat_from_length): Make static. * frame-unwind.c (_initialize_frame_unwind): Add declaration. * frame.c (create_sentinel_frame): Make static. (_initialize_frame): Add declaration. * top.c (do_catch_errors): Make static. (gdb_rl_operate_and_get_next_completion): Make static. * typeprint.c: Include "typeprint.h". * sentinel-frame.c (sentinel_frame_prev_register): Make static. (sentinel_frame_this_id): Make static. * p-valprint.c (_initialize_pascal_valprint): Add declaration. * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. * dwarf2-frame.c (dwarf2_frame_cache): Make static. * p-exp.y (push_current_type, pop_current_type): ISO C declaration. * dwarf2expr.h (dwarf_expr_context): ISO C declaration. * maint.c (maintenance_print_architecture): Make static. * signals/signals.c (_initialize_signals): Add declaration. * std-regs.c (_initialize_frame_reg): Add declaration. * jv-exp.y (push_variable): ISO C definition. (push_qualified_expression_name): Ditto. * memattr.c (_initialize_mem): Add declaration. * remote.c (remote_check_watch_resources): Make static. (remote_stopped_by_watchpoint): Make static. (remote_stopped_data_address): Make static. * d10v-tdep.c (nr_dmap_regs): Make static. (a0_regnum): Make static. (d10v_frame_unwind_cache): Make static. (d10v_frame_p): Make static. * osabi.c (show_osabi): Make static. (_initialize_gdb_osabi): Add extern declaration. * gdbtypes.c (make_qualified_type): Make static. (safe_parse_type): Make static. * macrocmd.c (_initialize_macrocmd): Add extern declaration. * macrotab.c (macro_bcache_free): Make static. * interps.c (interp_set_quiet): Make static. (interpreter_exec_cmd): Make static. * stack.h (select_frame_command): New file. * stack.c: Include "stack.h". (select_frame_command_wrapper): Delete function. (select_frame_command): Make global. * infcall.c: Include "infcall.h". * linespec.c: Include "linespec.h". * symfile.c (sections_overlap): Make static. * cp-support.h (cp_initialize_namespace): ISO C declaration. * charset.c (_initialize_charset): Add missing prototype. * regcache.c (init_legacy_regcache_descr): Make static. (do_regcache_xfree): Make static. (regcache_xfer_part): Make static. (_initialize_regcache): Add missing prototype. * breakpoint.c (parse_breakpoint_sals): Make static. (breakpoint_sals_to_pc): Make static. * interps.h (clear_interpreter_hooks): ISO C declaration. * Makefile.in (stack_h): Define. (stack.o, typeprint.o, mi-main.o): Update dependencies. (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. Index: mi/ChangeLog 2003-06-08 Andrew Cagney <cagney@redhat.com> * mi-parse.c (_initialize_mi_parse): Delete function. * mi-main.c: Include "mi-main.h". * mi-interp.c (_initialize_mi_interp): Add declaration. * mi-cmd-stack.c: Include "stack.h". (select_frame_command_wrapper): Delete extern declaration. (mi_cmd_stack_select_frame): Replace select_frame_command_wrapper with select_frame_command.
* 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-041-193/+285
| | | | | | | | | | | | | | | | | | | | | | | | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. * config.in: Regenerated. * configure.in: Add test for syscall function and check for __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. * configure: Regenerated. * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and <sys/syscall.h>. (kill_lwp): New function that uses tkill syscall or uses kill, depending on whether threading model is nptl or not. All callers of kill() changed to use kill_lwp(). (lin_lwp_wait): Make special check when WIFEXITED occurs to see if all threads have already exited in the nptl model. (stop_and_resume_callback): New callback function used by the lin_lwp_wait thread exit handling code. (stop_wait_callback): Check for threads already having exited and delete such threads fromt the lwp list when discovered. (stop_callback): Don't assert retcode of kill call. Roland McGrath <roland@redhat.com> * i386-linux-nat.c (ps_get_thread_area): New function needed by nptl libthread_db.
* 2003-02-26 Michael Chastain <mec@shout.net>Michael Chastain2003-02-261-515/+528
| | | | * configure: Regenerate with autoconf 000227.
* 2003-02-26 Michael Chastain <mec@shout.net>Michael Chastain2003-02-261-471/+478
| | | | | * configure.in: New variable HAVE_UINTPTR_T. * configure, config.in: Regenerated.
* * configure.in (TARGET_SYSTEM_ROOT): Set default toAlexandre Oliva2003-02-201-534/+550
| | | | | | | ${exec_prefix}/${target_alias}/sys-root. Match explicit '${exec_prefix}' (in addition to the expansion thereof) as relocatable. * configure: Rebuilt.
* Revert previous change. Something doesn't work.Andrew Cagney2003-02-171-1/+1
|
* 2003-02-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-171-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.
* * configure.in: Add check for _etext.Mark Kettenis2003-02-141-389/+423
| | | | | | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't available. * config.in, configure: regenerated.
* 2003-02-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-111-36/+38
| | | | | | | | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of TCL_LD_SEARCH_FLAGS.
* * configure.in: Fix typo.Mark Kettenis2003-02-011-2/+2
| | | | * configure: Regenerated.
* * configure.in: Check that -pg works if using --enable-profiling.Daniel Jacobowitz2003-01-271-435/+424
| | | | | | | Check for monstartup and _mcleanup regardless of --enable-profiling. * maint.c: Check for monstartup and _mcleanup before using them. * config.in: Regenerated. * configure: Regenerated.
* gdb/ChangeLog:Jim Blandy2003-01-231-503/+525
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Original patch by Tom Tromey <tromey@cygnus.com> andDaniel Jacobowitz2003-01-221-498/+625
| | | | | | | | | | | | | | | | 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.
* * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): NewDaniel Jacobowitz2003-01-131-497/+538
| | | | | | | | | | | 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.
* * Makefile.in (acconfig_h): Remove incorrect macro.Daniel Jacobowitz2003-01-041-18/+25
| | | | | | | | | | | | | | | | | | (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.
* * configure.in: Don't set and AC_SUBST SUBDIRS.Mark Kettenis2003-01-041-19/+16
| | | | * configure: Regenerated.
* * configure.in: Remove code dealing with shared libraries.Mark Kettenis2003-01-041-564/+497
| | | | | * Makefile.in: Remove HLDFLAGS and HLDENV. * configure: Regenerated.
* * configure.in: Move code that provides the --enable-gdbtk optionMark Kettenis2003-01-041-423/+412
| | | | | | right after the code that handles the --enable-tui option, and polish it somewhat. * configure: Regenerated.
* * configure.in: Call AC_GNU_SOURCE. Check for pread64 usingMark Kettenis2003-01-041-513/+543
| | | | | | | | 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.
* * configure.in: Remove all use of the SUBDIRS variable; addMark Kettenis2003-01-031-420/+415
| | | | | | | | | | 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@.
* * configure.in: Remove --enable-netrom option.Mark Kettenis2003-01-031-515/+496
| | | | * configure: Regenerated.
* * configure.in: Remove --with-cpu option.Mark Kettenis2003-01-021-539/+496
| | | | | | subscripts. Remove evil changequotes here. * acconfig.h (TARGET_CPU_DEFAULT): Remove. * config.in, configure: Regenerated.
* * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.Mark Kettenis2003-01-021-399/+397
| | | | | | * configure.in: Cleanup section that sources GDB and BFD configure subscripts. Remove evil changequotes here. * config.in, configure: Regenerated.
* * configure.in: Remove UI_OUT configuration code.Mark Kettenis2003-01-021-525/+496
| | | | | | | * 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.
* * configure.in: Move code that provides the --enable-gdbcli,Mark Kettenis2003-01-021-456/+448
| | | | | | --enable-gdbmi options right before the code that handles the --enable-tui option. Polish a bit. * configure: Regenerated.
* * configure.in: Rewrite check for GNU regex and theMark Kettenis2003-01-021-829/+788
| | | | | | | | | | --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.
* * configure.in: Fix typo in last change.Mark Kettenis2003-01-021-2/+2
| | | | * config.in, configure: Regenerated.
* * configure.in: Reorganize "Checks for library functions section"Mark Kettenis2003-01-021-615/+832
| | | | | a bit. Remove check for `btowc' and `isascii' functions. * configure: Regenerated.
* * acconfig.h (_MSE_INT_H): Remove.Mark Kettenis2003-01-021-363/+1338
| | | | | | | | | | * 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.
* * configure.in: Create "Checks for programs" section, and moveMark Kettenis2003-01-021-505/+547
| | | | appropriate tests there.
* * configure.in: Create "Checks for libraries" section, and moveMark Kettenis2003-01-011-460/+494
| | | | | | appropriate tests there. Cleanup check for wctype in libw. Use AC_SEARCH_LIBS to see whether we need libsocket. * configure: Regenerated.
* * configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.Mark Kettenis2002-12-311-1/+1
| | | | * config.in, configure: Regenerated.
* * gdb_dirent.h: Cleanup and update code to match the example inMark Kettenis2002-12-311-283/+408
| | | | | | | 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.
* * configure.in: Check that the pthdebug library is recent enoughJoel Brobecker2002-11-291-78/+117
| | | | | | | | | | | 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.
* * configure: Regenerate with the proper version of autoconf.Joel Brobecker2002-11-281-441/+426
|
* 2002-11-26 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-271-310/+193
| | | | | | | | * Makefile.in: Remove Tix dependencies. * acinclude.m4: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Regenerated.
* * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz2002-11-261-65/+95
| | | | | | | | | * 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-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-121-65/+102
| | | | | | | | | | | | | | | | | | | | | | * 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.
* * configure.in: Define NEW_PROC_API on Interix too.Joel Brobecker2002-10-221-1/+1
| | | | * configure: Regenerate.
* * configure: Regenerate using the proper version of autoconf.Joel Brobecker2002-10-221-438/+423
|
* Add support for distinct host and target character sets.Kevin Buettner2002-09-201-416/+569
|
* * configure.in: Move SUBDIRS to near top of the file so thatKeith Seitz2002-08-141-281/+284
| | | | | | --enable options may add things to it. If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs. * configure: Regenerate.
* Define HAVE_SYS_PROC_H if sys/proc.h existsJoel Brobecker2002-07-091-1/+1
| | | | | | * configure.in: Add check for sys/proc.h * config.in: Regenerate. * configure: Regenerate.
* * config.in, configure: Regenerate.Andrew Cagney2002-07-091-430/+415
|
* * gdb_locale.h: New file.Tom Tromey2002-06-211-330/+361
| | | | | | | | | * 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,
* From Christian Limpach <chris@Pin.LU>Jason Thorpe2002-05-111-407/+397
| | | | | | * configure.in: Change sed expression which comments out NATDEPFILES to also comment out continuation lines. * configure: Regenerate.