Commit Graph

265 Commits

Author SHA1 Message Date
Alexandre Oliva e17bf19897 * acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that the
one brought in by ../bfd/acinclude.m4 prevails.
* aclocal.m4, configure: Rebuilt.
2000-09-12 04:23:30 +00:00
Kevin Buettner 2bba1017ee Fix HAVE_STRUCT_LINK_MAP32 configure test. 2000-09-11 17:57:07 +00:00
Andrew Cagney 451928c513 Regenerate aclocal (and config.in / configure). 2000-09-07 12:26:42 +00:00
Mark Kettenis 6ce2ac0be0 Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* 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-10 17:04:33 +00:00
Andrew Cagney 5a2402b8e0 Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
* 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-08-02 11:11:47 +00:00
Andrew Cagney 6166d547d8 Move GDB_MULTI_ARCH selection to configure*. Makes tm.h optional. 2000-07-27 04:01:24 +00:00
Andrew Cagney 95cbc9830c Set SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*. 2000-07-05 10:55:17 +00:00
Andrew Cagney 409a3f64ac Check for <sys/poll.h>. 2000-07-05 10:25:43 +00:00
Andrew Cagney aff38e615a Set SER_HARDWIRE using autoconf instead of via XDEPFILES. Include
ser-tcp.o by default.
2000-06-12 06:09:06 +00:00
Andrew Cagney 5c8cc33173 Trim targ_arches to just the first. 2000-06-11 01:39:08 +00:00
Fernando Nasser ce844ae26d 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* configure.in: Replace misplaced CONFIG_ADD by the correct
        CONFIG_CLEAN.
        * configure, config.in: Regenerate.
2000-06-09 03:35:09 +00:00
Andrew Cagney 1ba607adba Use config.bfd to determine the default architecture and byte order.
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
2000-06-08 04:00:56 +00:00
Michael Snyder 3e0bf9f1f0 2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
* configure.in: Enable autoconf to find curses.h on Solaris 2.8.
	* configure: Regenerate.
2000-06-07 01:14:07 +00:00
Mark Kettenis 422ea4b878 * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
Renamed from HAVE_R_FS.
(HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
* configure, config.in: Regenerated.
2000-06-05 18:59:40 +00:00
Christopher Faylor 29fe111d82 * win32-nat.c: Fix up gcc warnings throughout.
(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 05:04:14 +00:00
Christopher Faylor 95ca63c499 * configure.in: Detect correct versions of ranlib and windres when
cross-compiling.
* configure: Regenerate.
2000-06-03 03:27:30 +00:00
Andrew Cagney 2894793a7b Configure TUI to use <ncurses.h> when available. 2000-05-26 04:11:34 +00:00
Mark Kettenis 7dfa765cc1 * acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
* configure.in: Add checks for r_fs and r_gs members of
`struct reg'.
* config.in, configure: Regenerated.
2000-05-25 17:18:01 +00:00
Andrew Cagney 4b14d3e4e0 Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h". 2000-05-25 06:49:01 +00:00
Andrew Cagney ed952ac512 Have TUI use the same configury mechanism as MI. 2000-05-25 01:50:50 +00:00
Andrew Cagney 16cadf399a Add -Wuninitialized. 2000-05-23 11:28:14 +00:00
Andrew Cagney d80380145f Minor maint et.al. tweeks. 2000-05-17 08:46:20 +00:00
Andrew Cagney 746a987d82 Check -W options before using them. 2000-05-12 04:37:00 +00:00
Mark Kettenis d84dd0c55e 2000-04-13 Mark Kettenis <kettenis@gnu.org>
* 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-14 10:13:50 +00:00
Andrew Cagney 413ccac7ea Only re-generate copying.c when maintainer mode. 2000-04-13 05:33:41 +00:00
Andrew Cagney e48f66e46e Cleanup USE_INCLUDED_REGEX. Move -D to acconfig.h. 2000-04-11 01:21:15 +00:00
Peter Schauer 3423db8257 * configure.in (NEW_PROC_API): Escape square brackets when testing
for solaris2.[678].
	* configure:  Regenerate.
2000-04-08 11:13:17 +00:00
Andrew Cagney 1decb32380 When GCC always enable certain warnings.
Allow configure to set CFLAGS (-g -O2) when GCC.
2000-04-07 08:57:39 +00:00
Nicholas Duffek 6abadcf80e * configure.in (_MSE_INT_H): Define on Solaris 7.
(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-07 01:16:17 +00:00
H.J. Lu 8898755195 2000-04-03 H.J. Lu <hjl@gnu.org>
* 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-04-04 02:08:52 +00:00
Andrew Cagney 6a08e74c32 Don't include nrom in CONFIG_INITS. 2000-03-22 04:19:35 +00:00
Andrew Cagney 4397a6ab7a From John David Anglin:
Don't initialize HPUX thread twice.
2000-03-20 06:41:24 +00:00
Mark Kettenis 64bb16715d Double Oops! I forgot the regenerated configure too. 2000-03-05 23:00:32 +00:00
Andrew Cagney b3a9033281 Move GDBtk's ``ln -s ... gdbtcl'' code out of configure.
Add CONFIG_CLEAN, CONFIG_ALL to configured targets.
Add all-gdbtk, clean-gdbtk.
2000-03-03 05:44:39 +00:00
Andrew Cagney 379d643457 Only configure GDBtk when it is present. 2000-03-03 02:50:24 +00:00
Mark Kettenis 75c6e08a8a 2000-02-26 Mark Kettenis <kettenis@gnu.org>
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-26 13:46:56 +00:00
Andrew Cagney e56ac5c3a3 Only install GDBtk files when GDBtk is being built. 2000-02-24 08:16:26 +00:00
Andrew Cagney b0b1b869c7 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace. 2000-02-24 07:27:51 +00:00
Andrew Cagney fb40c20903 Add mi/ and testsuite/gdb.mi/ subdirectories.
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-23 00:25:43 +00:00
Fernando Nasser d45b9300fc 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* 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-16 23:35:19 +00:00
Mark Kettenis 3862412b5d 2000-02-16 Mark Kettenis <kettenis@gnu.org>
* configure: Regenerated.
2000-02-16 22:01:29 +00:00
Elena Zannoni f2c4d933e6 2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* 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-08 16:25:08 +00:00
Jason Molenda 3fc11d3e80 import insight-2000-02-04 snapshot (2nd try) 2000-02-07 00:19:45 +00:00
Jason Molenda dfcd3bfb6f import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
Jason Molenda 8b93c6380e import gdb-2000-02-02 snapshot 2000-02-03 04:14:45 +00:00
Jason Molenda c5394b80ae import gdb-2000-01-17 snapshot 2000-01-18 00:55:13 +00:00
Jason Molenda 0d06e24ba7 import gdb-2000-01-10 snapshot 2000-01-11 03:07:37 +00:00
Jason Molenda c3f6f71df3 import gdb-2000-01-05 snapshot 2000-01-06 03:07:20 +00:00
Jason Molenda ed9a39ebf9 import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
Jason Molenda c2d11a7da0 import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00