Mark Mitchell
b450502905
* configure.ac: On MinGW, define USE_WIN32API and link with
...
-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-04-21 05:34:33 +00:00
Mark Mitchell
3eb25fda5d
* Makefile.in (SFILES): Add ser-base.c.
...
(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-25 19:47:23 +00:00
Martin Hunt
b3041f52a5
2005-03-23 Martin Hunt <hunt@redhat.com>
...
* configure.ac: Remove -fwritable-strings from CFLAGS.
* configure: Regenerate.
2005-03-23 19:17:42 +00:00
Mark Mitchell
d3ea68091c
* configure.ac (stat.st_blksize): Check for it.
...
(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-21 21:23:35 +00:00
Jim Blandy
ca231fcc24
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
...
* configure: Regenerated.
2005-03-13 05:37:48 +00:00
Jim Blandy
a3b362c440
Avoid warnings due to the use of -Wuninitialized without -O.
...
* 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-03-11 21:02:02 +00:00
Andrew Cagney
04ac69aa9d
2005-02-22 Andrew Cagney <cagney@gnu.org>
...
* configure.ac: Only enaable insight when itcl is present.
* configure: Re-generate.
2005-02-22 23:25:11 +00:00
Andrew Cagney
c46f8c5116
2005-01-31 Andrew Cagney <cagney@gnu.org>
...
* gettext.m4: Only set ENABLE_NLS when gettext is present.
2005-01-31 20:32:45 +00:00
Mark Kettenis
c21a4eeebf
* configure.ac: Remove extra check for ranlib.
...
* configure: Regenerated.
2005-01-29 12:50:27 +00:00
Andrew Cagney
a53bf50624
2005-01-27 Andrew Cagney <cagney@gnu.org>
...
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
2005-01-27 14:48:23 +00:00
Andrew Cagney
45181ed16d
2005-01-24 Andrew Cagney <cagney@gnu.org>
...
* gettext.m4: Only fall back to ../intl/ when it's present.
2005-01-24 20:01:09 +00:00
Mark Kettenis
5c45e068d7
* acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
...
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 13:49:22 +00:00
Mark Kettenis
b8667b6191
* configure.ac: Remove ia64-*-aix* junk.
...
* configure: Regenerate.
2005-01-21 13:18:21 +00:00
Mark Kettenis
a3828db05a
* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
...
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 13:14:02 +00:00
Mark Kettenis
666ec76f41
* configure.ac (targ_archs): Use standard autoconf check for
...
"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-21 11:53:23 +00:00
Mark Kettenis
bc8bcb4b1d
* configure.ac: Modernize checks for long long' and
long double'
...
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 23:57:27 +00:00
Mark Kettenis
30adeb3a4b
* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
...
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
* configure.ac: Remove checks for HP-UX save_state structure.
* configure: Regenerated.
2005-01-20 22:36:06 +00:00
Jim Blandy
065a1afc04
* configure.tgt: Set build_rdi_share to "yes" on those targets
...
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-19 22:04:37 +00:00
Andrew Cagney
85981d605a
2005-01-15 Andrew Cagney <cagney@gnu.org>
...
* acinclude.m4: Include ../bfd/bfd.m4 instead of
../bfd/acinclude.m4. Include ../gettext.m4.
* aclocal.m4, configure: Re-generate.
2005-01-15 20:32:43 +00:00
Mark Kettenis
7cb9022a14
* configure.ac: Provide prerequisite headers when checking
...
<link.h>, <sys/proc.h> and <sys/user.h>.
* configure: Regenerate.
2005-01-09 18:02:50 +00:00
Andrew Cagney
bec39cab00
Index: ChangeLog
...
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-07 21:53:26 +00:00
Andrew Cagney
3ace7edba4
Index: ChangeLog
...
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.
2005-01-07 15:17:01 +00:00
Dave Anglin
3b78cdbb32
* configure.in: Check for ncurses/term.h.
...
* 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-09 00:59:03 +00:00
Joseph Myers
0bbc026efa
* Makefile.in (ALLDEPFILES): Add amd64-sol2-tdep.c.
...
(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-11-01 21:05:56 +00:00
Mark Kettenis
9cc52bdeb4
* configure.in: Really disable the TUI if an enhanced curses
...
library isn't found.
* configure: Regenerate.
2004-10-10 15:55:49 +00:00
Mark Kettenis
0dad8a6640
* configure.in: Only set host_makefile_frag when building a native
...
debugger.
* configure: Regenerate.
2004-09-28 20:17:32 +00:00
Mark Kettenis
5a174d79f0
* configure.in: Don't comment out NATDEPFILES in the generated
...
Makefile if NAT_FILE is unset.
* configure: Regenerate.
2004-09-27 18:41:24 +00:00
Mark Kettenis
8b9cf73540
* configure.in: Check for waddstr instead of mvwaddstr when
...
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-25 09:17:47 +00:00
Mark Kettenis
4f0be35340
* config/pa/hpux1020.mh (MH_CFLAGS): Remove -D__HP_CURSES.
...
* 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-18 18:45:57 +00:00
Andrew Cagney
2c0fc04208
Index: ChangeLog
...
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-13 20:55:42 +00:00
Andrew Cagney
b8c4aecef5
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not
gdb_host_cpu.
2004-09-03 16:59:30 +00:00
Andrew Cagney
0f475e278d
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* 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-02 22:14:33 +00:00
Andrew Cagney
b78960be27
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* 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-09-02 17:22:08 +00:00
Mark Kettenis
5885ab493f
* configure.in: Change test for return type of ptrace to default
...
to `long' instead of `int'.
* configure: Regenerate.
2004-08-22 14:18:02 +00:00
Mark Kettenis
bcb3dc3d55
* configure.in: Check for ttrace function.
...
* configure, config.in: Regenerate.
2004-08-21 12:05:52 +00:00
Mark Kettenis
a6ed5501f7
* configure.in: Add <ncurses/ncurses.h> to the list of possible
...
curses headers.
* configure, config.in: Regenerate.
* gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
<ncurses/ncurses.h>.
2004-08-15 10:06:05 +00:00
Mark Kettenis
64218d3eae
* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
...
parenthesis in definition.
* configure: Regenerated.
2004-08-13 20:16:46 +00:00
Mark Kettenis
086ec9ebe9
* configure.in: Check for <sys/types.h>. Check return and
...
argument types of ptrace.
* configure, config.in: Regenerate.
2004-08-09 19:20:13 +00:00
Mark Kettenis
5c7f2947f0
* configure.in: Add cursesX to the list of possible curses libs.
...
Add cursesX.h to the list of possible curses headers.
* configure, config.in: Regenerate.
2004-08-07 22:12:08 +00:00
Andrew Cagney
ddc9cd0f63
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
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-30 14:30:08 +00:00
Andrew Cagney
c35f4ffcad
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* 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-29 19:33:22 +00:00
Mark Kettenis
b1d19a627e
* configure.in: Define _MSE_INT_H on Solaris 9 too.
...
* configure, config.in: Regenerated.
2004-07-17 11:24:26 +00:00
Mark Kettenis
d15be92637
* configure.in: Include <sys/param.h> for td_pcb test.
...
* configure: Regenerated.
2004-06-27 16:41:21 +00:00
Corinna Vinschen
d91670b90d
* configure.in: Set $configdir to the right OS specific value.
...
Use value when setting $tcldir and $tkdir.
* configure: Regenerate.
2004-06-08 16:29:30 +00:00
Mark Kettenis
70f9f47919
* configure.in: Check for td_pcb in `struct thread'.
...
* configure, config.in: Regenerated.
2004-05-23 09:23:18 +00:00
Jim Blandy
ec76baa5b2
* configure.in: When checking whether we should use the -bbigtoc
...
option, don't forget to restore the original value of LDFLAGS.
* configure: Regenerated.
2004-05-12 23:14:49 +00:00
Michael Chastain
c848556f07
2004-05-02 Michael Chastain <mec.gnu@mindspring.com>
...
Unfix PR gdb/1626.
* configure.in: Revert special case for osf5.*.
* configure: Regenerate.
2004-05-03 02:03:17 +00:00
Andrew Cagney
c960c18f1a
2004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
...
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-29 14:29:14 +00:00
Michael Chastain
02d6293280
2004-04-25 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR gdb/1626.
* configure.in: Check for curses after termcap.
On osf5.*, do not check for ncurses.
* configure: Regenerate.
2004-04-25 20:42:45 +00:00
Daniel Jacobowitz
a2f23071c9
* Makefile.in (linux_nat_h): Update dependencies.
...
* 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.
2004-03-29 18:07:14 +00:00