aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2000-09-11Fix HAVE_STRUCT_LINK_MAP32 configure test.Kevin Buettner1-10/+3
2000-08-302000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-0/+23
* valops.c (value_cast): Indentation fix-up. * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T, HAVE_STRUCT_LINK_MAP32): New configure macros. * config.in: Ditto. * configure.in: Test for the above new macros. * breakpoint.c: Update copyright date. * core-sol2.c: Include v9/sys/privregs.h directly to work around a bug in Sun's Solaris 8 header files. (fetch_core_registers): Use the above new configure macros to handle cross-debugging of 32-bit core files on a 64-bit host. * sol-thread.c (ps_pdmodel) New function. (rw_common): For debugging of 32-bit apps on a 64-bit host, truncate addresses to 32 bits. * solib.c (solib_extract_address): Functionize. Make 32/64 aware. (LM_ADDR, LM_NEXT, LM_NAME): Ditto. (IGNORE_FIRST_LINK_MAP): Ditto. (first_link_map_member): Make 32/64 aware. (open_symbol_file_object): Ditto. (current_sos): Ditto.
2000-08-10Adapt support for SSE registers in Linux/x86 for Linux 2.4.Mark Kettenis1-16/+10
* 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-14/+28
* 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-0/+31
2000-07-05Set SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*.Andrew Cagney1-1/+2
2000-07-05Check for <sys/poll.h>.Andrew Cagney1-1/+2
2000-06-12Set SER_HARDWIRE using autoconf instead of via XDEPFILES. IncludeAndrew Cagney1-0/+9
ser-tcp.o by default.
2000-06-11Trim targ_arches to just the first.Andrew Cagney1-0/+4
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-0/+13
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-8/+8
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-5/+0
(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-0/+2
cross-compiling. * configure: Regenerate.
2000-05-26Configure TUI to use <ncurses.h> when available.Andrew Cagney1-2/+3
2000-05-25* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.Mark Kettenis1-0/+15
* 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-1/+2
2000-05-25Have TUI use the same configury mechanism as MI.Andrew Cagney1-11/+13
2000-05-23Add -Wuninitialized.Andrew Cagney1-1/+1
2000-05-23IRIX GCC fixes from 5.0 branch.Andrew Cagney1-1/+1
2000-05-17Minor maint et.al. tweeks.Andrew Cagney1-2/+8
2000-05-12Check -W options before using them.Andrew Cagney1-9/+16
2000-04-142000-04-13 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-0/+26
* acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T, HAVE_PSADDR_T): Add them here instead of in config.in. * acconfig.h (PRFPREGSET_T_BROKEN): New define. * configure.in: Add check for broken prfpregset_t type. * lin-thread.c (gdb_prfpregset): New typedef, depends on definition of PRFPREGSET_T_BROKEN. (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs, p_td_thr_setfpregs, thread_db_fetch_registers, thread_db_store_registers): Use gdb_prfpregset_t instead of prfpregset_t. * config.in: Regenerated. * configure: Regenerated.
2000-04-13Only re-generate copying.c when maintainer mode.Andrew Cagney1-0/+1
2000-04-11Cleanup USE_INCLUDED_REGEX. Move -D to acconfig.h.Andrew Cagney1-6/+7
2000-04-08 * configure.in (NEW_PROC_API): Escape square brackets when testingPeter Schauer1-1/+1
for solaris2.[678]. * configure: Regenerate.
2000-04-07When GCC always enable certain warnings.Andrew Cagney1-7/+8
Allow configure to set CFLAGS (-g -O2) when GCC.
2000-04-07 * configure.in (_MSE_INT_H): Define on Solaris 7.Nicholas Duffek1-4/+9
(NEW_PROC_API): Define on Solaris 7 and 8 as well as 6. * acconfig.h (_MSE_INT_H): Define on Solaris 7. * configure: Regenerate. * config.in: Regenerate.
2000-04-042000-04-03 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+30
* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX is defined and <regex.h> otherwise. * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h". * monitor.c: Likewise. * osfsolib.c: Likewise. * solib.c: Likewise. * source.c: Likewise. * symtab.c: Likewise. * Makefile.in (REGEX): Changed to @REGEX@. (REGEX_CFLAGS): New. (REGEX1): Removed. (ADD_DEPS): Use $(REGEX) instead of $(REGEX1). (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS). * configure.in (--with-included-regex): New switch. (REGEX): New. Subsstitue @REGEX@ in Makefile.in. (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in. * configure: Regenerated.
2000-03-30 * configure.in: -linux-gnu*, not -linux-gnu.Jason Merrill1-1/+1
* configure (gcc_version): When setting, narrow search to lines containing `version_string'.
2000-03-22Don't include nrom in CONFIG_INITS.Andrew Cagney1-1/+0
2000-03-20From John David Anglin:Andrew Cagney1-1/+0
Don't initialize HPUX thread twice.
2000-03-052000-03-05 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-0/+12
Allow GDB to run on Linux 2.0 again. * config.in: Add HAVE_PTRACE_GETREGS. * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS. * configure: Regenerated. * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): New defines. * i386-linux-nat.c (have_ptrace_getregs): New variable. (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register, old_fetch_inferior_registers, CANNOT_STORE_REGISTER, store_register, old_store_inferior_registers): Copied over from `inptrace.c' as a temporary measure. (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if HAVE_PTRACE_GETREGS isn't defined. (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails with EIO. (fetch_inferior_registers, store_inferior_registers): Fall back on the method use in `infptrace.c' (by calling old_fetch_inferior_registers and old_store_inferior_registers) if `have_ptrace_getregs' isn't set.
2000-03-03Move GDBtk's ``ln -s ... gdbtcl'' code out of configure.Andrew Cagney1-10/+8
Add CONFIG_CLEAN, CONFIG_ALL to configured targets. Add all-gdbtk, clean-gdbtk.
2000-03-03Only configure GDBtk when it is present.Andrew Cagney1-6/+5
2000-02-262000-02-26 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-0/+3
Make cross-compilation for the Hurd more friendly. From Jeff Bailey <jbailey@gnu.org>: * configure.in: Use AC_CHECK_TOOL to find MiG. * Makefile.in (MIG): New variable. * config/i386/i386gnu.mh (MIG): Remove. * configure: Regenerated.
2000-02-24Only install GDBtk files when GDBtk is being built.Andrew Cagney1-0/+8
2000-02-24* configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.Andrew Cagney1-1/+1
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-3/+29
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
2000-02-162000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1-3/+3
* configure.in: Replaces obsolete gdbtk-variable.c with gdbtk-varobj.c. * configure: Regenerate. * Makefile.in: Remove obsolete/extraneous references to gdbtk-var* files.
2000-02-162000-02-09 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-0/+4
* configure.in: Check for lwpid_t, psaddr_t, prgregset_t and prfpregset_t in <sys/procfs.h>. * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T. * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t, prgregset_t and prfpregset_t if they are not already present.
2000-02-082000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+0
* configure.in: Remove the addition of sol-thread.c to the CONFIG_INITS list. This caused problems with init.c, because sol-thread.c would be grepped twice for _initialize_* functions. * configure: Ditto. * Makefile.in: Add FIXME for init.c.
2000-02-07import insight-2000-02-04 snapshot (2nd try)Jason Molenda1-0/+162
2000-02-05import gdb-2000-02-04 snapshotJason Molenda1-0/+5
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-0/+36
2000-01-18import gdb-2000-01-17 snapshotJason Molenda1-2/+6
2000-01-11import gdb-2000-01-10 snapshotJason Molenda1-1/+1
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-19/+10
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-2/+2