summaryrefslogtreecommitdiff
path: root/gdb/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-121-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.
* * configure.in: Define NEW_PROC_API on Interix too.Joel Brobecker2002-10-221-1/+1
| | | | * configure: Regenerate.
* Add support for distinct host and target character sets.Kevin Buettner2002-09-201-0/+12
|
* * configure.in: Move SUBDIRS to near top of the file so thatKeith Seitz2002-08-141-1/+4
| | | | | | --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.
* * gdb_locale.h: New file.Tom Tromey2002-06-211-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,
* From Christian Limpach <chris@Pin.LU>Jason Thorpe2002-05-111-1/+2
| | | | | | * configure.in: Change sed expression which comments out NATDEPFILES to also comment out continuation lines. * configure: Regenerate.
* 2002-04-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-04-111-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.
* * configure.in: Call AC_C_INLINE.Jim Blandy2002-04-041-0/+1
| | | | * configure: Regenerated.
* * configure.in: Detect declaration for canonicalize_file_name.Richard Henderson2002-03-151-1/+1
| | | | | | * utils.c (canonicalize_file_name): Declare, if needed. (gdb_realpath): Prefer realpath if available and usable. * config.in, configure: Rebuild.
* * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.Alexandre Oliva2002-03-061-0/+17
| | | | * configure: Rebuilt.
* Zap lin-thread.cAndrew Cagney2002-02-241-1/+1
|
* * configure.in: (AC_CHECK_FUNCS) Added test forAndrew Cagney2002-02-231-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-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-02-141-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.
* Remove assumption that there is a host.Andrew Cagney2002-01-201-1/+8
|
* Don't include <endian.h>Andrew Cagney2002-01-051-1/+1
|
* * acconfig.h (HAVE_PT_GETXMMREGS): New.Jason Thorpe2002-01-051-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.
* * configure, config.in: Rebuilt.Tom Tromey2001-12-211-1/+1
| | | | | | | | | | | | | | * configure.in: Check for realpath. * defs.h (gdb_realpath): Declare. * symtab.h (partial_symtab): Added fullname field. * source.c (openp): Use gdb_realpath. (forget_cached_source_info): Clear full name of each partial symtab. * utils.c (gdb_realpath): New function. * symtab.c (lookup_symtab): Removed. (lookup_symtab_1): Renamed to lookup_symtab. (lookup_symtab): Look for real path. (lookup_partial_symtab): Likewise.
* 2001-12-07 Martin M. Hunt <hunt@redhat.com>Martin Hunt2001-12-071-1/+1
| | | | | | | * configure.in: Check for sys/filio.h * configure: Rebuild. * config.in: Add HAVE_SYS_FILIO_H * ser-tcp.c: Conditionally include sys/filio.h.
* * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILESJim Blandy2001-11-051-2/+4
| | | | | using `+=' as well as `='. * configure: Regenerated.
* Fix -W... flags check.Andrew Cagney2001-10-311-5/+4
|
* From Ian Roxborough <irox@redhat.com>Keith Seitz2001-09-061-21/+3
| | | | | | | * configure.in: Use ITCL_LIB_FULL_PATH and ITK_LIB_FULL_PATH to set Itcl and Itk dependancies for gdb. * configure: Regenerated.
* * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: SomeMark Kettenis2001-08-271-2/+3
| | | | | | | | | | | | | | | | | | | gratuitious whitespace changes. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * top.c: Remove redundant logic to define HAVE_SIGSETMASK. (sigsetmask) Don't define macro. (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from async_stop_sig from event-top.c. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical order. Add sigsetmask. (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in alphabetical order. * config/xm-aix4.h, config/alpha/xm-alphalinux.h, config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h (HAVE_SIGSETMASK): Remove. * aclocal.m4, config.in, configure
* * configure.in (GDBTK_SRC_DIR): We must have autoconfKeith Seitz2001-08-161-0/+8
| | | | | | | | | give us the absolute path to the source directory. * configure: Regenerated. * Makefile.in (GDBTK_SRC_DIR): Add variable so that autoconf can substitue it in for us. (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We really do need an absolute pathname.
* * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.Daniel Jacobowitz2001-07-301-1/+18
| | | | | Check for SETPGRP_VOID separately if cross-compiling and ISO C headers are available.
* Added dependency on tcl/tk libraries.John R. Moore2001-07-271-0/+29
|
* * configure.in (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis2001-07-231-1/+2
| | | | | | | | | | | | | | | | (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.
* * configure.in: Add check for sigsetjmp.Mark Kettenis2001-07-121-0/+11
| | | | | | * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed. * configure, config.in: Regenerated.
* Build MI by default.Andrew Cagney2001-06-281-1/+2
|
* * configure.in: include nlist.h when checking for member som_addrJ.T. Conklin2001-06-221-0/+3
| | | | | in struct so_map. * configure: regenerate.
* * i386bsd-nat.c: Include "gdb_assert.h".Mark Kettenis2001-03-311-3/+17
| | | | | | | | | | | | | | | | | | | [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not already defined. [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control, i386bsd_dr_set_addr, i386bsd_dr_reset_addr, i386bsd_dr_get_status): New functions. * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS] (I386_USE_GENERIC_WATCHPOINTS): Define. Include "i386/nm-i386.h". (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros. (i386bsd_dr_set_control, i386bsd_dr_set_addr, i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes. * acconfig.h (HAVE_PT_GETDBREGS): New configure macro. * configure.in: Cleanup a few comments. Check for PT_GETDBREGS ptrace request. * config.in, configure: Regenerate.
* Gag -Wuninitialized warnings.Andrew Cagney2001-03-281-2/+2
| | | | Add -Wuninitialized to default warning list.
* 2001-03-23 David Smith <dsmith@redhat.com>David Smith2001-03-231-5/+5
| | | | | * configure.in: Corrected spelling errors. * configure: Regenerated.
* Conditionally include nlist.h in solib-legacy.c for older *BSD systems.Kevin Buettner2001-03-201-1/+1
|
* Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.Kevin Buettner2001-03-191-13/+62
|
* Update/correct copyright notices.Kevin Buettner2001-03-061-2/+2
|
* Configury changes for AIX5/IA-64.Kevin Buettner2001-03-061-1/+8
|
* * configure.in (AC_CHECK_HEADERS): Add sys/file.h.Michael Sokolov2001-02-141-2/+3
| | | | | * configure, config.in: Regenerate. * corelow.c: Include <sys/file.h> if present.
* Cleanup autoconfigury of vfork().Andrew Cagney2001-01-311-1/+2
|
* Drop -Wuninitialized until GDB compiles with it.Andrew Cagney2001-01-191-1/+1
| | | | Add list of buildable targets to the MAINTAINERS file.
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-211-5/+5
| | | | | | * configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS. * Makefile.in: Ditto. * configure: Regenerate.
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-201-0/+23
| | | | | | | | | | | | | | * Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code to be compiled. Defines UI_OUT. (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT. (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS. * configure.in (UIOUT_CFLAGS): New configuration variable. (--with-uiout): New configuration option. Causes uiout code to be compiled, instead of the old *printf one. * configure: Regenerate. * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT. * testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
* 2000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-111-3/+5
| | | | | | | | | | | | * Makefile.in (CONFIG_LOBS): New macro. Configured to the files that must be added to the gdblib itself. (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS. (INIT_FILES): Include CONFIG_OBS. (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it. (kdb): Ditto. * configure.in (CONFIG_LOBS): New variable. Object files that must be added to gdblib for the specific configuration. * configure: Regenerate.
* 2000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-111-6/+7
| | | | | | | | | * Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS, SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS, SUBDIR_GDBTK_CFLAGS): New macros. For gdbtk subdir. * configure.in: Fix typo. It is CONFIG_OBS not CONFIG_OJS. Use the SUBDIR_GDBTK_* macros instead of hard coded file names. * configure: Regenerate.
* 2000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-111-3/+3
| | | | | * configure.in: Fix typos. It is CONFIG_SRCS not CONFIG_SRS. * configure: Regenerate.
* 2000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-111-5/+5
| | | | | | | * configure.in: Fix a couple of typos in the handling of the enable_gdbcli option. Make it check enableval for the result of AC_ARG_ENABLE. * configure: Regenerate.
* Add check for vfork() to configure.in. Cleanup uses.Andrew Cagney2000-12-021-1/+1
|
* 2000-12-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-011-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cli/cli-decode.c: New file. Handle lists of commands, their decoding and documentation. (add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc, add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd, add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list, help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1, undef_cmd_error, lookup_cmd, deprecated_cmd_warning, lookup_cmd_composition, complete_on_cmdlist, complete_on_enum): Moved here from command.c. (add_info, add_info_alias, add_com, add_com_alias): Moved here from top.c. * cli/cli-decode.h: Definitions/declarations for the above. * cli/cli-cmds.c: New file. GDB CLI commands. (error_no_arg, info_command, show_command, help_command, show_version, quit_command, pwd_command, cd_command, echo_command, shell_escape, make_command, show_user, set_debug, show_debug, init_cmd_lists): Moved here from top.c. (apropos_command): Moved here from command.c. (complete_command, source_command): Moved here (part) from top.c. (is_complete_command): New function. Checks if a command is the "complete" command. (init_cli_cmds): New function. Add commands to the CLI (from code previously in top.c. * cli/cli-cmds.h: Definitions/declarations for the above. * cli/cli-script.c: New file. GDB CLI command scripting. (build_command_line, get_command_line, print_command_lines, print_command_line, execute_user_command, execute_control_command, while_command, if_command, arg_cleanup, setup_user_args, locate_arg, insert_args, realloc_body_list, read_next_line, recurse_read_control_structure, read_command_lines, free_command_lines, do_free_command_lines_cleanup, make_cleanup_free_command_lines, validate_comname, user_defined_command, define_command, document_command, source_cleanup_lines, do_fclose_cleanup, show_user_1): Moved here from top.c. (script_from_file): New function. Implements execution of a script contained in a file (part of code for the source_command() that used to exist in top.c). * cli/cli-script.h: Definitions/declarations for the above. * cli/cli-setshow.c: New file. Handle set and show GDB CLI commands. (parse_auto_binary_operation, parse_binary_operation, do_setshow_command, cmd_show_list): Moved here from command.c. * cli/cli-setshow.h: Definitions/declarations for the above. * top.c: Remove all CLI code, except the command loop. (gdb_init): Call init_cli_cmds(). * command.c: Remove obsolete file. * command.h: Mark as DEPRECATED. * gdbcmd.h: Ditto. * call-cmds.h: Ditto. * Makefile.in (SFILES): Remove command.c. (COMMON_OBS): Remove command.o. (command.o): Remove obsolete target. (cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros. Refer to CLI header files. (cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets. (SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS, SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN, SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli subdirectory. * configure.in (enable_gdbcli): New option. Include the CLI in the executable (cannot be disabled yet). (CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS, CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add the corresponding SUBDIR_CLI_* macros if CLI requested. * configure: Regenerate.
* Add --enable-gdb-build-warnings=... to configure{,.in}.Andrew Cagney2000-11-241-2/+18
|
* Fix HAVE_STRUCT_LINK_MAP32 configure test.Kevin Buettner2000-09-111-10/+3
|