aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
AgeCommit message (Collapse)AuthorFilesLines
2001-12-072001-12-07 Martin M. Hunt <hunt@redhat.com>Martin Hunt1-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.
2001-11-05* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILESJim Blandy1-2/+4
using `+=' as well as `='. * configure: Regenerated.
2001-10-31Fix -W... flags check.Andrew Cagney1-60/+74
2001-09-06 From Ian Roxborough <irox@redhat.com>Keith Seitz1-403/+396
* configure.in: Use ITCL_LIB_FULL_PATH and ITK_LIB_FULL_PATH to set Itcl and Itk dependancies for gdb. * configure: Regenerated.
2001-08-27* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: SomeMark Kettenis1-590/+613
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
2001-08-16 * configure.in (GDBTK_SRC_DIR): We must have autoconfKeith Seitz1-31/+40
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.
2001-07-30 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.Daniel Jacobowitz1-390/+421
Check for SETPGRP_VOID separately if cross-compiling and ISO C headers are available.
2001-07-27Added dependency on tcl/tk libraries.John R. Moore1-378/+420
2001-07-23* configure.in (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis1-385/+415
(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-12* configure.in: Add check for sigsetjmp.Mark Kettenis1-396/+444
* config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed. * configure, config.in: Regenerated.
2001-06-28Build MI by default.Andrew Cagney1-371/+384
2001-06-22* configure.in: include nlist.h when checking for member som_addrJ.T. Conklin1-0/+3
in struct so_map. * configure: regenerate.
2001-03-31* i386bsd-nat.c: Include "gdb_assert.h".Mark Kettenis1-380/+407
[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.
2001-03-28Gag -Wuninitialized warnings.Andrew Cagney1-371/+382
Add -Wuninitialized to default warning list.
2001-03-232001-03-23 David Smith <dsmith@redhat.com>David Smith1-385/+374
* configure.in: Corrected spelling errors. * configure: Regenerated.
2001-03-20Conditionally include nlist.h in solib-legacy.c for older *BSD systems.Kevin Buettner1-1/+1
2001-03-19Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.Kevin Buettner1-138/+245
2001-03-06Configury changes for AIX5/IA-64.Kevin Buettner1-138/+288
2001-02-14 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.Michael Sokolov1-1/+1
* configure, config.in: Regenerate. * corelow.c: Include <sys/file.h> if present.
2001-01-31Cleanup autoconfigury of vfork().Andrew Cagney1-191/+434
2001-01-19Drop -Wuninitialized until GDB compiles with it.Andrew Cagney1-1/+1
Add list of buildable targets to the MAINTAINERS file.
2000-12-212000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-5/+5
* configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS. * Makefile.in: Ditto. * configure: Regenerate.
2000-12-202000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-330/+359
* 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-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-223/+226
* 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-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-20/+21
* 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-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-3/+3
* configure.in: Fix typos. It is CONFIG_SRCS not CONFIG_SRS. * configure: Regenerate.
2000-12-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-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.
2000-12-02Add check for vfork() to configure.in. Cleanup uses.Andrew Cagney1-1/+1
2000-12-012000-12-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-330/+368
* 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.
2000-11-24Add --enable-gdb-build-warnings=... to configure{,.in}.Andrew Cagney1-339/+370
2000-09-12* acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that theAlexandre Oliva1-348/+357
one brought in by ../bfd/acinclude.m4 prevails. * aclocal.m4, configure: Rebuilt.
2000-09-11Fix HAVE_STRUCT_LINK_MAP32 configure test.Kevin Buettner1-173/+145
2000-09-07Regenerate aclocal (and config.in / configure).Andrew Cagney1-327/+469
2000-08-10Adapt support for SSE registers in Linux/x86 for Linux 2.4.Mark Kettenis1-346/+335
* i386-linux-nat.c: Various doc fixes. Include "i387-nat.h". (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES. (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs. (convert_to_gregset): Removed. Moved logic to ... (fill_gregset): ... here. Simplified function. (fetch_regs): Use perror_with_name for error reporting. (store_regs): Add `regno' parameter. Use perror_with_name for error reporting. Call fill_gregset instead of convert_to_gregset. (FPREG_ADDR): Remove. (supply_fpregset): Implement by calling i387_supply_fsave. (convert_to_fpregset): Remove. (fill_fpregset): Implement by calling i387_fill_fsave. (fetch_fpregs): Use perror_with_name fro error reporting. (store_fpregs) Add `regno' parameter. Use perror_with_name fro error reporting. Call fill_fpregset instead of convert_to_fpregset. (supply_xfpregset, convert_to_xfpregset): Removed. (supply_fpxregset, fill_fpxregset): New functions. (fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name for error reporting. Call supply_fpxregset instead of supply_xfpregset. (store_xfpregs): Removed. (store_fpxregs): New function. (fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak message in call to internal_error. (store_inferior_registers): Adjust for xfp ->fpx change. Pass REGNO to store_regs, store_fpregs and store_fpxregs. (fetch_core_registers): Adjust for xfp -> fpx change. * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from HAVE_PTRACE_GETXFPREGS. * config.in: Regenerated. * configure.in: Replace check for PTRACE_GETXFPREGS with check for PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions. * configure: Regenerated. * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o. * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
2000-08-02Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney1-23/+49
* configure.in (targetfile): Ignore TM_FILE, don't just issue warning. (tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define. * acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add. * config/nm-empty.h: Delete. * defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE, GDB_NM_FILE or GDB_TM_FILE defined. * Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h, xm_h and nm_h macro that are defined by configure. (tm_h, xm_h, tm_h): New. * configure, config.in: Regenerate * TODO: Update.
2000-07-27Move GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.Andrew Cagney1-9/+43
2000-07-05Set SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*.Andrew Cagney1-49/+50
2000-07-05Check for <sys/poll.h>.Andrew Cagney1-193/+194
2000-06-12Set SER_HARDWIRE using autoconf instead of via XDEPFILES. IncludeAndrew Cagney1-48/+57
ser-tcp.o by default.
2000-06-11Trim targ_arches to just the first.Andrew Cagney1-211/+214
2000-06-092000-06-08 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser1-1/+1
* configure.in: Replace misplaced CONFIG_ADD by the correct CONFIG_CLEAN. * configure, config.in: Regenerate.
2000-06-08Use config.bfd to determine the default architecture and byte order.Andrew Cagney1-327/+355
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
2000-06-072000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-1/+1
* configure.in: Enable autoconf to find curses.h on Solaris 2.8. * configure: Regenerate.
2000-06-05* acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):Mark Kettenis1-350/+339
Renamed from HAVE_R_FS. (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS. * configure, config.in: Regenerated.
2000-06-03* win32-nat.c: Fix up gcc warnings throughout.Christopher Faylor1-53/+48
(handle_load_dll): Change DLL name to lower case. (handle_exception): Add a second argument indicating whether a breakpoint should be ignored. Return a 0 if the breakpoint was ignored. (get_child_debug_event): Pass argument to handle_exception to control whether a breakpoint should be ignored. (child_create_inferior): Use modern cygwin API. Explicitly clear last_sig. Pass FIRST_EXCEPTION to get_child_debug_event for detection of first breakpoint. * configure.in: Eliminate unneeded WINDRES/DLLTOOL tests left over after last change. * configure: Regenerate.
2000-06-03* configure.in: Detect correct versions of ranlib and windres whenChristopher Faylor1-206/+270
cross-compiling. * configure: Regenerate.
2000-05-26Configure TUI to use <ncurses.h> when available.Andrew Cagney1-327/+339
2000-05-25* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.Mark Kettenis1-330/+386
* configure.in: Add checks for r_fs and r_gs members of `struct reg'. * config.in, configure: Regenerated.
2000-05-25Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".Andrew Cagney1-187/+188
2000-05-25Have TUI use the same configury mechanism as MI.Andrew Cagney1-71/+68