aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
AgeCommit message (Collapse)AuthorFilesLines
2005-04-21 * configure.ac: On MinGW, define USE_WIN32API and link withMark Mitchell1-0/+12
-lws2_32. * ser-tcp.c (<winsock2.h>): Include, for Windows. (ETIMEDOUT): Define, for Windows. (ioctl): Likewise. (closesocket): Define, for POSIX. (net_open): Adjust for differences in socket functions between Windows and UNIX. (net_close): Likweise. (net_read_prim): New function. (net_write_prim): Likewise. (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and write_prim. * ser-unix.h (ser_unix_readcchar): Remove. (ser_unix_read_prim): Declare. (ser_unix_write_prim): Likewise. * ser-unix.c (generic_readchar): Move to ser-base.c. (ser_unix_wait_for): Likewise. (do_unix_readchar): Likewise. (ser_unix_readchar): Likewise. (_initialize_ser_hardwire): Initialize read_prim and write_prim. (ser_unix_read_prim): New function. (ser_unix_write_prim): Likewise. * ser-base.h (generic_readchar): Declare. (ser_base_readchar): Likewise. * ser-base.c (<winsock2.h>): Include, for windows. (fd_event): Use the read primitive specified by the serial interface. (ser_base_wait_for): Moved from ser-unix.c (do_ser_base_read_char): Likewise. (generic_readchar): Likewise. (ser_base_readchar): Likewise. (ser_base_write): Use the write primitive specified by the serial interface. * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not ser_unix_readchar. Initialize read_prim and write_prim. * serial.c (struct serial_ops): Add read_prim and write_prim. * configure: Regenerate.
2005-03-25 * Makefile.in (SFILES): Add ser-base.c.Mark Mitchell1-1/+2
(ser_base_h): New variable. (ser-base.o): New target. (ser-pipe.o): Depend on $(ser_base_h). (ser-tcp.o): Likewise. (ser-unix.o): Likewise. Do not depend on $(event_loop_h). * configure.ac (SER_HARDWIRE): Include ser-base.o where appropriate. * ser-base.c: New file. (push_event): Move from ser-unix.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. * ser-base.h: New file. * ser-pipe.c (ser-base.h): Include it. * ser-tcp.c (ser-base.h): Likewise. * ser-unix.h (ser_unix_nop_flush_output): Remove. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_wait_for): Likewise. (ser_unix_write): Likewise. (ser_unix_async): Likewise. * ser-unix.c (event-loop.h): Do not include it. (push_event): Move to ser-base.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. (ser_unix_wait_for): Make it static. * configure: Regenerated.
2005-03-232005-03-23 Martin Hunt <hunt@redhat.com>Martin Hunt1-9/+0
* configure.ac: Remove -fwritable-strings from CFLAGS. * configure: Regenerate.
2005-03-21 * configure.ac (stat.st_blksize): Check for it.Mark Mitchell1-0/+213
(getuid): Likewise. (getgid): Likewise. * configure: Regenerated. * config.in: Likewise. * remote-fileio.c (remote_fileio_to_fio_stat): Check HAVE_STRUCT_STAT_ST_BLKSIZE.
2005-03-13* configure.ac: Use '=', not '=='; the latter is a GNU extension.Jim Blandy1-1/+1
* configure: Regenerated.
2005-03-11Avoid warnings due to the use of -Wuninitialized without -O.Jim Blandy1-1/+14
* configure.ac (build_warnings): Include -Wuninitialized only if CFLAGS is unset at configure time, or CFLAGS is set and includes some -O option other than -O0. * configure: Regenerated.
2005-02-222005-02-22 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* configure.ac: Only enaable insight when itcl is present. * configure: Re-generate.
2005-01-312005-01-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-5/+7
* gettext.m4: Only set ENABLE_NLS when gettext is present.
2005-01-29* configure.ac: Remove extra check for ranlib.Mark Kettenis1-89/+2
* configure: Regenerated.
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+2
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
2005-01-242005-01-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+4
* gettext.m4: Only fall back to ../intl/ when it's present.
2005-01-21* acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): RemoveMark Kettenis1-31/+191
undefs. * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct thread' has a td_pcb member and whether `struct reg' has r_fs and r_gs members. * configure, config.in: Regenerate.
2005-01-21* configure.ac: Remove ia64-*-aix* junk.Mark Kettenis1-6/+0
* configure: Regenerate.
2005-01-21* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLSMark Kettenis1-582/+384
and BFD_NEED_DECLARATION. Don't check if a declaration of strdup is necessary. * configure, config.in: Regenerate. * utils.c: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION. Never provide a prototype for caninicalize_file_name. * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION.
2005-01-21* configure.ac (targ_archs): Use standard autoconf check forMark Kettenis1-47/+100
"struct stat.st_blocks" instead of rolling our own. * configure: Regenerated. * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef. * config.in: Regenerated.
2005-01-20* configure.ac: Modernize checks for `long long' and `long double'Mark Kettenis1-42/+52
support. * configure: Regenerated. * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG) (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs. * config.in: Regenerated.
2005-01-20* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)Mark Kettenis1-58/+0
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs. * configure.ac: Remove checks for HP-UX save_state structure. * configure: Regenerated.
2005-01-19* configure.tgt: Set build_rdi_share to "yes" on those targetsJim Blandy1-2/+84
that use that debugging protocol. Set build_nlm to yes to build NLM stub for Netware targets. * configure.ac: If build_rdi_share is "yes", then configure the rdi-share subdirectory. If build_nlm is "yes", the configure the "nlm" subdirectory. * configure: Regenerated.
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+10
* acinclude.m4: Include ../bfd/bfd.m4 instead of ../bfd/acinclude.m4. Include ../gettext.m4. * aclocal.m4, configure: Re-generate.
2005-01-09* configure.ac: Provide prerequisite headers when checkingMark Kettenis1-288/+33
<link.h>, <sys/proc.h> and <sys/user.h>. * configure: Regenerate.
2005-01-07Index: ChangeLogAndrew Cagney1-6795/+18509
2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: doc/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: gdbserver/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.stabs/configure: Re-generate. * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/configure: Re-generate. * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.objdbg/configure: Re-generate. * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.defects/configure: Re-generate. * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.compat/configure: Re-generate. * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.base-hp/configure: Re-generate. * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07Index: ChangeLogAndrew Cagney1-583/+593
2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.in: Replace configdirs with multiple references to AC_CONFIG_SUBDIRS. * configure: Re-generate. Index: doc/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.in: Replace configdirs with multiple references to AC_CONFIG_SUBDIRS. * configure: Re-generate.
2004-11-09 * configure.in: Check for ncurses/term.h.Dave Anglin1-299/+339
* gdb_curses.h: Include term.h here, prefering ncurses/term.h. * utils.c: Include gdb_curses.h instead of curses.h and term.h. * tui/tui.c: Don't include term.h. * configure, config.in: Rebuilt.
2004-11-01 * Makefile.in (ALLDEPFILES): Add amd64-sol2-tdep.c.Joseph Myers1-584/+573
(amd64-sol2-tdep.o): Add dependencies. * amd64-sol2-tdep.c, config/i386/sol2-64.mh, config/i386/sol2-64.mt: New files. * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offset, amd64_sol2_gregset32_reg_offset, _initialize_amd64_sol2_nat): New. (supply_gregset): Correct order of arguments to amd64_supply_native_gregset. (fill_gregset): Correct order of arguments to amd64_collect_native_gregset. * configure.host (i[34567]86-*-solaris2.1[0-9]*): Add new case. * configure.tgt (i[34567]86-*-solaris2.1[0-9]*): Likewise. * configure.in (*-*-solaris2.[[6789]]): Add *-*-solaris2.1[[0-9]] for definition of NEW_PROC_API. * configure: Regenerate.
2004-10-10* configure.in: Really disable the TUI if an enhanced cursesMark Kettenis1-456/+456
library isn't found. * configure: Regenerate.
2004-09-28* configure.in: Only set host_makefile_frag when building a nativeMark Kettenis1-29/+26
debugger. * configure: Regenerate.
2004-09-27* configure.in: Don't comment out NATDEPFILES in the generatedMark Kettenis1-8/+0
Makefile if NAT_FILE is unset. * configure: Regenerate.
2004-09-25* configure.in: Check for waddstr instead of mvwaddstr whenMark Kettenis1-233/+288
searching for curses library. Check for wborder. * configure, config.in: Regenerate. * tui/tui-wingeneral.c (box_win): Use box if wborder isn't available.
2004-09-18* config/pa/hpux1020.mh (MH_CFLAGS): Remove -D__HP_CURSES.Mark Kettenis1-581/+444
* config/pa/hpux11.mh (MH_CFLAGS): Likewise. * config/pa/hpux11w.mh (MH_CFLAGS): Likewise. * configure.in: Improve checks for curses library by checking for mvwaddstr instead of initscr. Drop HP curses in favour of standard curses on HP-UX. * configure: Regenerated.
2004-09-13Index: ChangeLogAndrew Cagney1-5/+5
2004-09-13 Andrew Cagney <cagney@gnu.org> * configure.in (frags): Replace TM_FILE with DEPRECATED_TM_FILE. * configure: Re-generate. * nlm/Makefile.in (TAGS): Update. * Makefile.in (TAGS): Update. * config/vax/nbsd.mt (TM_FILE): Update. * config/sparc/vxworks.mt (TM_FILE): Update. * config/sparc/sol2.mt (TM_FILE): Update. * config/sparc/sol2-64.mt (TM_FILE): Update. * config/sparc/obsd64.mt (TM_FILE): Update. * config/sparc/obsd.mt (TM_FILE): Update. * config/sparc/nbsd64.mt (TM_FILE): Update. * config/sparc/nbsd.mt (TM_FILE): Update. * config/sparc/linux64.mt (TM_FILE): Update. * config/sparc/linux.mt (TM_FILE): Update. * config/sparc/fbsd.mt (TM_FILE): Update. * config/sh/wince.mt (TM_FILE): Update. * config/sh/nbsd.mt (TM_FILE): Update. * config/sh/linux.mt (TM_FILE): Update. * config/sh/embed.mt (TM_FILE): Update. * config/s390/s390.mt (TM_FILE): Update. * config/rs6000/rs6000lynx.mt (TM_FILE): Update. * config/rs6000/rs6000.mt (TM_FILE): Update. * config/rs6000/aix4.mt (TM_FILE): Update. * config/powerpc/vxworks.mt (TM_FILE): Update. * config/powerpc/ppc-sim.mt (TM_FILE): Update. * config/powerpc/ppc-eabi.mt (TM_FILE): Update. * config/powerpc/obsd.mt (TM_FILE): Update. * config/powerpc/nbsd.mt (TM_FILE): Update. * config/powerpc/linux.mt (TM_FILE): Update. * config/powerpc/aix.mt (TM_FILE): Update. * config/pa/obsd.mt (TM_FILE): Update. * config/pa/linux.mt (TM_FILE): Update. * config/pa/hppahpux.mt (TM_FILE): Update. * config/pa/hppa64.mt (TM_FILE): Update. * config/pa/hppa.mt (TM_FILE): Update. * config/ns32k/nbsdaout.mt (TM_FILE): Update. * config/mips/wince.mt (TM_FILE): Update. * config/mips/vxmips.mt (TM_FILE): Update. * config/mips/nbsd.mt (TM_FILE): Update. * config/mips/linux.mt (TM_FILE): Update. * config/mips/irix6.mt (TM_FILE): Update. * config/mips/irix5.mt (TM_FILE): Update. * config/mips/embed.mt (TM_FILE): Update. * config/m68k/vxworks68.mt (TM_FILE): Update. * config/m68k/st2000.mt (TM_FILE): Update. * config/m68k/os68k.mt (TM_FILE): Update. * config/m68k/obsd.mt (TM_FILE): Update. * config/m68k/nbsd.mt (TM_FILE): Update. * config/m68k/monitor.mt (TM_FILE): Update. * config/m68k/linux.mt (TM_FILE): Update. * config/m68k/cisco.mt (TM_FILE): Update. * config/ia64/linux.mt (TM_FILE): Update. * config/ia64/aix.mt (TM_FILE): Update. * config/ia64/ia64.mt (TM_FILE): Update. * config/i386/vxworks.mt (TM_FILE): Update. * config/i386/obsd64.mt (TM_FILE): Update. * config/i386/obsd.mt (TM_FILE): Update. * config/i386/nto.mt (TM_FILE): Update. * config/i386/nbsd64.mt (TM_FILE): Update. * config/i386/nbsd.mt (TM_FILE): Update. * config/i386/linux64.mt (TM_FILE): Update. * config/i386/linux.mt (TM_FILE): Update. * config/i386/i386sol2.mt (TM_FILE): Update. * config/i386/i386lynx.mt (TM_FILE): Update. * config/i386/fbsd64.mt (TM_FILE): Update. * config/i386/fbsd.mt (TM_FILE): Update. * config/i386/cygwin.mt (TM_FILE): Update. * config/h8300/h8300.mt (TM_FILE): Update. * config/frv/frv.mt (TM_FILE): Update. * config/cris/cris.mt (TM_FILE): Update. * config/arm/wince.mt (TM_FILE): Update. * config/arm/nbsd.mt (TM_FILE): Update. * config/arm/linux.mt (TM_FILE): Update. * config/arm/embed.mt (TM_FILE): Update. * config/alpha/nbsd.mt (TM_FILE): Update. * config/alpha/fbsd.mt (TM_FILE): Update. * config/alpha/alpha.mt (TM_FILE): Update. * config/alpha/alpha-osf1.mt (TM_FILE): Update. * config/alpha/alpha-linux.mt (TM_FILE): Update. Index: gdbserver/ChangeLog 2004-09-02 Andrew Cagney <cagney@gnu.org> * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE.
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not gdb_host_cpu.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-19/+28
* configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path. * configure: Re-generate. * config/arm/nbsd.mt (TM_FILE): Set to "solib.h". * config/arm/tm-nbsd.h: Delete file.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+4
* gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE, GDB_TM_FILE and GDB_XM_FILE. * gdbarch.c: Re-generate. * configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include quotes in macro definition. * configure.in: Re-generate.
2004-08-22* configure.in: Change test for return type of ptrace to defaultMark Kettenis1-3/+3
to `long' instead of `int'. * configure: Regenerate.
2004-08-21* configure.in: Check for ttrace function.Mark Kettenis1-216/+271
* configure, config.in: Regenerate.
2004-08-15* configure.in: Add <ncurses/ncurses.h> to the list of possibleMark Kettenis1-1/+1
curses headers. * configure, config.in: Regenerate. * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include <ncurses/ncurses.h>.
2004-08-13* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't useMark Kettenis1-2/+2
parenthesis in definition. * configure: Regenerated.
2004-08-09* configure.in: Check for <sys/types.h>. Check return andMark Kettenis1-288/+508
argument types of ptrace. * configure, config.in: Regenerate.
2004-08-07* configure.in: Add cursesX to the list of possible curses libs.Mark Kettenis1-190/+225
Add cursesX.h to the list of possible curses headers. * configure, config.in: Regenerate.
2004-07-302004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-536/+587
Fix PR i18n/761. * Makefile.in (.SUFFIXES): Add po .gmo, and .pox. (.PHONY): Add all-po install-po, uninstall-po, clean-po, $(PACKAGE).pot and update-po. (all-po, .po.gmo, .po.pox, install-po, $(PACKAGE).pot) (po/$(PACKAGE).pot, clean-po, uninstall-po, install-po) (update-po): New rules. (localedir): Define using autoconf. (diststuff): Add $(PACKAGE).pot and $(CATALOGS) (GDB_CFLAGS): Define LOCALEDIR using $(localedir). (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): Define. * configure.in: Generate CATALOGS and LINGUAS from contents of src/gdb/po/ directory. Set @localedir@ in Makefile.in. * configure: Re-generate. * po/gdbtext: New file
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-18/+32
* config/pa/xm-linux.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * config/i386/xm-i386.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and GDB_HOST_LONG_DOUBLE_FORMAT instead. * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT) (GDB_HOST_LONG_DOUBLE_FORMAT): Define. * configure, config.in: Regenerate. * configure.host (gdb_host_float_format, gdb_host_double_format) (gdb_host_long_double_format): Set according to the host.
2004-07-17* configure.in: Define _MSE_INT_H on Solaris 9 too.Mark Kettenis1-2/+2
* configure, config.in: Regenerated.
2004-06-27* configure.in: Include <sys/param.h> for td_pcb test.Mark Kettenis1-558/+570
* configure: Regenerated.
2004-06-08 * configure.in: Set $configdir to the right OS specific value.Corinna Vinschen1-586/+568
Use value when setting $tcldir and $tkdir. * configure: Regenerate.
2004-05-23* configure.in: Check for td_pcb in `struct thread'.Mark Kettenis1-188/+222
* configure, config.in: Regenerated.
2004-05-12* configure.in: When checking whether we should use the -bbigtocJim Blandy1-61/+62
option, don't forget to restore the original value of LDFLAGS. * configure: Regenerated.
2004-05-032004-05-02 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-447/+383
Unfix PR gdb/1626. * configure.in: Revert special case for osf5.*. * configure: Regenerate.
2004-04-292004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Andrew Cagney1-139/+146
Andrew Cagney <cagney@redhat.com> * configure.in (mips-sgi-irix5*): Define _KMEMUSER for <sys/proc.h>. * acconfig.h: Provide default _KMEMUSER value. * config.in, configure: Re-generate. * NEWS: Mention fix.
2004-04-252004-04-25 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-567/+637
Fix PR gdb/1626. * configure.in: Check for curses after termcap. On osf5.*, do not check for ncurses. * configure: Regenerate.
2004-03-29 * Makefile.in (linux_nat_h): Update dependencies.Daniel Jacobowitz1-1/+1
* configure.in: Check for <gnu/libc-version.h>. * configure: Regenerate. * config.in: Regenerate. * linux-nat.h: Include "target.h". Add waitstatus field to struct lwp_info. * lin-lwp.c (add_lwp): Initialize waitstatus.kind. (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached to. (lin_lwp_handle_extended): New function. Handle clone events. (wait_lwp): Use lin_lwp_handle_extended. Update comment about thread exit events. (child_wait): Handle clone events. (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events. * linux-nat.c (linux_enable_event_reporting): Turn on PTRACE_O_TRACECLONE. (linux_handle_extended_wait): Handle clone events. * thread-db.c: Include <gnu/libc-version.h>. (struct private_thread_info): Add dying flag. (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and higher. (attach_thread): Update comments. Handle dying threads. (detach_thread): Set the dying flag. (check_event): Always call attach_thread.