summaryrefslogtreecommitdiff
path: root/gdb/config.in
Commit message (Collapse)AuthorAgeFilesLines
* * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz2002-11-261-0/+12
| | | | | | | | | * 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-1/+4
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Define HAVE_SYS_PROC_H if sys/proc.h existsJoel Brobecker2002-07-091-1/+4
| | | | | | * configure.in: Add check for sys/proc.h * config.in: Regenerate. * configure: Regenerate.
* * config.in, configure: Regenerate.Andrew Cagney2002-07-091-6/+0
|
* * gdb_locale.h: New file.Tom Tromey2002-06-211-0/+12
| | | | | | | | | * 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-04-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-04-111-0/+3
| | | | | | | | | * 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: Detect declaration for canonicalize_file_name.Richard Henderson2002-03-151-0/+3
| | | | | | * utils.c (canonicalize_file_name): Declare, if needed. (gdb_realpath): Prefer realpath if available and usable. * config.in, configure: Rebuild.
* * configure.in: (AC_CHECK_FUNCS) Added test forAndrew Cagney2002-02-231-0/+3
| | | | | | | canonicalize_file_name Regenerated. * config.in, configure: Regenerated. * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is defined use canonicalize_file_name.
* Don't include <endian.h>Andrew Cagney2002-01-051-3/+0
|
* * acconfig.h (HAVE_PT_GETXMMREGS): New.Jason Thorpe2002-01-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+3
| | | | | | | | | | | | | | * 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-0/+3
| | | | | | | * configure.in: Check for sys/filio.h * configure: Rebuild. * config.in: Add HAVE_SYS_FILIO_H * ser-tcp.c: Conditionally include sys/filio.h.
* * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: SomeMark Kettenis2001-08-271-3/+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 (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis2001-07-231-0/+9
| | | | | | | | | | | | | | | | (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-3/+3
| | | | | | * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed. * configure, config.in: Regenerated.
* * i386bsd-nat.c: Include "gdb_assert.h".Mark Kettenis2001-03-311-0/+3
| | | | | | | | | | | | | | | | | | | [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.
* Conditionally include nlist.h in solib-legacy.c for older *BSD systems.Kevin Buettner2001-03-201-0/+3
|
* Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.Kevin Buettner2001-03-191-0/+13
|
* Configury changes for AIX5/IA-64.Kevin Buettner2001-03-061-0/+18
|
* * configure.in (AC_CHECK_HEADERS): Add sys/file.h.Michael Sokolov2001-02-141-0/+3
| | | | | * configure, config.in: Regenerate. * corelow.c: Include <sys/file.h> if present.
* Cleanup autoconfigury of vfork().Andrew Cagney2001-01-311-3/+9
|
* Add check for vfork() to configure.in. Cleanup uses.Andrew Cagney2000-12-021-0/+3
|
* Regenerate aclocal (and config.in / configure).Andrew Cagney2000-09-071-3/+3
|
* 2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-08-301-0/+9
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Adapt support for SSE registers in Linux/x86 for Linux 2.4.Mark Kettenis2000-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney2000-08-021-0/+9
| | | | | | | | | | | | | | | * 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.
* Move GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.Andrew Cagney2000-07-271-0/+3
|
* Check for <sys/poll.h>.Andrew Cagney2000-07-051-0/+6
|
* Use config.bfd to determine the default architecture and byte order.Andrew Cagney2000-06-081-0/+6
| | | | Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
* * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):Mark Kettenis2000-06-051-2/+2
| | | | | | Renamed from HAVE_R_FS. (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS. * configure, config.in: Regenerated.
* Configure TUI to use <ncurses.h> when available.Andrew Cagney2000-05-261-0/+3
|
* * acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.Mark Kettenis2000-05-251-0/+6
| | | | | | * configure.in: Add checks for r_fs and r_gs members of `struct reg'. * config.in, configure: Regenerated.
* Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".Andrew Cagney2000-05-251-0/+12
|
* Re-generate config.in.Andrew Cagney2000-05-251-3/+3
|
* 2000-04-13 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2000-04-141-0/+3
| | | | | | | | | | | | | | | | * 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.
* Cleanup USE_INCLUDED_REGEX. Move -D to acconfig.h.Andrew Cagney2000-04-111-0/+3
|
* * configure.in (_MSE_INT_H): Define on Solaris 7.Nicholas Duffek2000-04-071-0/+3
| | | | | | | (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.
* Fix typo in description of GETREGS.Andrew Cagney2000-03-281-1/+1
|
* Move default definition of HAVE_PTRACE_GETREGS to acconfig.h.Andrew Cagney2000-03-271-17/+18
|
* 2000-03-05 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2000-03-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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-02-09 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2000-02-161-0/+11
| | | | | | | | | * 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.
* import gdb-2000-01-05 snapshotJason Molenda2000-01-061-3/+3
|
* import gdb-1999-12-21 snapshotJason Molenda1999-12-221-0/+9
|
* import gdb-1999-12-06 snapshotJason Molenda1999-12-071-0/+3
|
* import gdb-1999-11-01 snapshotJason Molenda1999-11-021-2/+5
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-0/+3
|
* import gdb-1999-08-30 snapshotJason Molenda1999-08-311-0/+3
|
* import gdb-1999-08-16 snapshotJason Molenda1999-08-161-0/+3
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-3/+6
|
* import gdb-1999-05-10Stan Shebs1999-05-111-0/+3
|