Commit Graph

19504 Commits

Author SHA1 Message Date
Michael Snyder
0f5b751aaf Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* sol-thread.c (sol_thread_[store, fetch]_registers): if
        inferior_pid is an LWP rather than a Solaris thread, let
        procfs handle the request.
        (rw_common, sol_thread_xfer_memory): procfs_xfer_memory will
        only work if inferior_pid points to an LWP (rather than a
        Solaris thread).  Use procfs_first_available to find a good LWP.
        (info_solthreads): added a maintenance command to list all
        known Solaris threads and their attributes.
1997-07-16 19:16:07 +00:00
Fred Fish
e53430c439 * config/tc-tic80.c (build_insn): Initialize extended word to zero
when it will be filled in later by relocation information.
PR 12796
1997-07-16 05:19:20 +00:00
Brendan Kehoe
e69e959ad3 * install-sh (chmodcmd): Set to null if the DST directory already
exists.  Same as Nov 11th change.
1997-07-15 21:33:49 +00:00
Andrew Cagney
7cf0d79519 Configure r5900 testsuite sub-directory. 1997-07-15 20:46:15 +00:00
Andrew Cagney
39e9b3369a Similistic configure/build scripts for tx59 simulator tests. 1997-07-15 20:35:26 +00:00
Andrew Cagney
b31dd8eea2 Generic tests for 5900. 1997-07-15 20:25:09 +00:00
David Edelsohn
e528bfeca8 * gas/m32r/uppercase.[sd]: New testcase.
* gas/m32r/m32r.exp: New file.
1997-07-15 20:04:40 +00:00
David Edelsohn
0d7c678ec1 * cgen-opc.c: #include <ctype.h>.
(hash_keyword_name): New arg `case_sensitive_p'.  Callers updated.
	Handle case insensitive hashing.
	(hash_keyword_value): Change type of `value' to unsigned int.
1997-07-15 20:02:47 +00:00
Ian Lance Taylor
a652f74c72 * config/tc-mips.c (macro_build): Restore check of fmt argument.
(mips_ip): Fix ISA checks.
1997-07-15 17:03:15 +00:00
Jeff Law
d1ce2fc04f * configure.tgt: Default the r5900 to little endian. 1997-07-15 16:15:40 +00:00
Jeff Law
9587640a81 * configure.in: Default the r5900 to little endian.
* configure: Rebuilt.
1997-07-15 16:13:18 +00:00
Fred Fish
8ae66b94c6 * config/tc-tic80.c (build_insn): Fix endianness problem with
O_big operands.
PR 12765
1997-07-15 02:53:47 +00:00
Michael Snyder
f14465c3a7 Mon Jul 14 18:02:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* procfs.c (wait_fd): Handle an fd that has "hung up" or
        otherwise terminated (Solaris threads).
1997-07-15 01:05:10 +00:00
Ian Lance Taylor
3fc2c14638 * elf.c (map_sections_to_segments): When checking whether
including a section in a segment would force us to skip a page,
	align the address of the next segment to avoid wraparound
	problems.
PR 12828.
1997-07-14 22:35:27 +00:00
Martin Hunt
2c3acdf8b3 Mon Jul 14 11:01:15 1997 Martin M. Hunt <hunt@cygnus.com>
* configure (GDB_TK): Needs itcl and tix.
1997-07-14 20:18:16 +00:00
Andrew Cagney
d9c61e8391 Standard simulator tests. 1997-07-14 16:53:04 +00:00
Jason Merrill
54a3aefcb6 * config.guess: Update from FSF.
For pc-linux-gnulibc1
1997-07-14 07:32:55 +00:00
Ian Lance Taylor
4dc8550840 * config/tc-mips.c (check_absolute_expr): Change warning to
error.
PR 12849.
1997-07-14 03:45:16 +00:00
Andrew Cagney
ccc034af67 Tests for mips r5900 instructions 1997-07-11 21:36:11 +00:00
Martin Hunt
192fcb4e11 Fri Jul 11 11:57:11 1997 Martin M. Hunt <hunt@cygnus.com>
* Makefile.in (GDB_TK): Depend on itcl and tix.
1997-07-11 18:58:56 +00:00
Jeff Law
931a1858a6 * config/tc-mips.c (macro_build): Refine code to check if an
instruction is available on a particular cpu variant.
        (mips_ip): Likewise.
toshiba 5900 stuff
1997-07-11 16:40:14 +00:00
Jeff Law
4bb0ae107d * mips-opc.c (mips_builtin_opcodes): If an insn uses single
precision FP, mark it as such.  Likewise for double precision
        FP.  Mark ISA1 insns.  Consolidate duplicate opcodes where
        possible.
        (mips_builtin_opcodes): Remove non-existant r5900 instructions
toshiba_5900 stuff
1997-07-11 16:13:42 +00:00
Jeff Law
71545ee538 * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn
uses single or double precision floating point resources.
        (INSN_NO_ISA, INSN_ISA1): Define.
        (cpu specific INSN macros): Tweak into bitmasks outside the range
        of INSN_ISA field.
toshiba_5900 stuff
1997-07-11 16:12:56 +00:00
Andrew Cagney
1e851d2c82 Fix a number of problems in the r5900 specific p* (parallel) instructions.
In particular a host endian dependency one fixed resolved most problems.
1997-07-11 03:07:29 +00:00
Martin Hunt
2476848aaf Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
	IDE configuration information.

	* gdbtk.c (breakpoint_notify): Send address, linenumber and
	filename when a breakpoint is set.  Avoids call to bp_info.
 	(gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
	Itcl, Tix and IDE initialization.

	* defs.h (init_ui_hook): Change prototype to accept one arg.

	* main.c (gdb_init): Change prototype to accept one arg.

	* top.c (gdb_init): Accepts one argument which it uses to
	call (*init_ui_hook), which will be gdbtk_init(). This is
 	used for calling Tcl_FindExecutable().

	* gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to
	accept variable number of args for compatibility with
	cchanges in gdbtk.c.

	* configure: Regenerated.

	* gdbtcl/tclIndex: Regenerated.
1997-07-10 07:15:26 +00:00
Fred Fish
67bc13a478 Add coffswap.h to file list for TIc80 sanitization. 1997-07-09 00:34:22 +00:00
Fred Fish
7f2e68542b * coffcode.h (coff_write_object_contents): Initialize
target id field to TIC80_TARGET_ID.
      * coffswap.h (coff_swap_filehdr_out): Swap out target id field
      if used.
      (coff_swap_filehdr_in): Swap in target id field if used.
1997-07-09 00:19:41 +00:00
Fred Fish
c8c854bd3f > * tic80.h (TIC80_TARGET_ID): Add define.
>       * internal.h (struct internal_filehdr): Add f_target_id field.
1997-07-08 23:43:17 +00:00
Ian Lance Taylor
76fb6d2f2f * config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
OBJ_AOUT to ifdef OBJ_ELF.
	(md_apply_fix3): When mangling 32 bit PC relative reloc for
	BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
	case.
	* write.c (fixup_segment): Change special case for i386-coff to
 	not apply for i386-pe.
	* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
	which were not done.
	(coff_frob_file_after_relocs): Rename from coff_frob_file.
	(coff_format_ops): Initialize frob_file_after_relocs field rather
	than frob_file field.
	* config/obj-coff.h (coff_frob_file): Don't declare.
	(coff_frob_file_after_relocs): Declare.
	(obj_frob_file): Don't define.
	(obj_frob_file_after_relocs): Define.
	* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
	* configure: Rebuild.
1997-07-08 02:57:50 +00:00
Ian Lance Taylor
4049609622 * coff-i386.c (coff_i386_is_local_label_name): New static function
if TARGET_UNDERSCORE.
	(coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE.
	(i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags.
1997-07-07 20:42:48 +00:00
Ian Lance Taylor
81272efdfd From Manfred Hollstein <manfred@s-direktnet.de>:
* configure.host (i[3456]86-*-linux*libc1*): Renamed from
	i[3456]86-*-linux*.
	(i[3456]86-*-linux*): New host.
1997-07-07 16:41:04 +00:00
Ian Lance Taylor
f897ef47f1 * source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon
whether CRLF_SOURCE_FILES is defined.
	(open_source_file): Use OPEN_MODE with open and openp.
	(print_source_lines): Use FDOPEN_MODE with fdopen.  If
	CRLF_SOURCE_FILES is defined, ignore \r characters.
	(forward_search_command): Use FDOPEN_MODE with fdopen.
	(reverse_search_command): Likewise.
	* config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define.
	(LSEEK_NOT_LINEAR): Don't define.
1997-07-04 18:54:57 +00:00
Ian Lance Taylor
96ac3cb652 * gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES.
Document LSEEK_NOT_LINEAR.
1997-07-04 18:53:24 +00:00
Ian Lance Taylor
8270cd762b * Makefile.in (INSTALL_PROGRAM_ARGS): New variable.
(INSTALL_PROGRAM): Use $(INSTALL_PROGRAM_ARGS).
	(INSTALL_SCRIPT): New variable.
	(BASE_FLAGS_TO_PASS): Pass down INSTALL_SCRIPT.
	* configure.in: If host is *-*-cygwin32*, set INSTALL_PROGRAM_ARGS
	to -x.
	* install-sh: Add support for -x option.
1997-07-04 17:27:30 +00:00
Bob Manson
9039701bda * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
if we can't get a debug format from GDB (we may be testing an
 	older GDB). Use a 10 second timeout when checking for the format.

	* gdb.stabs/weird.exp: Fix quoting.
1997-07-04 01:04:45 +00:00
Michael Snyder
87910097ba Thu Jul 3 17:41:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_extract_return_value): align 4-byte float
        return values within the 8-byte FP register.
1997-07-04 00:44:01 +00:00
Bob Manson
6d2f93f855 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c. 1997-07-03 22:38:51 +00:00
Michael Snyder
c430260cae Thu Jul 3 13:48:11 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): don't left-adjust 32-bit
        integers in 64-bit register parameters before function calls.
1997-07-03 20:50:11 +00:00
Andrew Cagney
0f552ea045 Sync powerpc simulator with public version. Enable FPSCR and string
instructions.
1997-07-03 07:44:38 +00:00
Jeff Law
6443523484 * gencode.c (build_instruction): Handle "pext5" according to
version 1.95 of the r5900 ISA.
Fixes pr12413 (c/h from toshiba).
1997-07-02 18:41:22 +00:00
Jeff Law
649625bb8e * gencode.c (build_instruction): Handle "ppac5" according to
version 1.95 of the r5900 ISA.
fixes pr12407 (c/h from toshiba).
1997-07-02 18:29:16 +00:00
Jeff Law
05d1322f2c * interp.c (sim_engine_run): Reset the ZERO register to zero
regardless of FEATURE_WARN_ZERO.
1997-07-02 18:13:00 +00:00
Jeff Law
ae19b07bf8 * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
Fix for pr12402 (c/h from toshiba).
1997-07-02 17:57:56 +00:00
Ian Lance Taylor
b709b16fdc * config/obj-coff.c (fixup_segment): Never subtract section
address from PC relative reloc which will be fully resolved.
1997-07-02 16:05:55 +00:00
Jeff Law
db3152efa0 * ecoff.c (page_type): Renamed from page_t to avoid conflict
with hpux10 header files.
1997-07-01 21:22:38 +00:00
Bob Manson
2255614907 * config/arm-ice.exp: New file. 1997-07-01 01:33:58 +00:00
Michael Snyder
781a59b28a Mon Jun 30 17:54:51 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): special-case handling for
        odd-sized struct parameters passed in registers / on stack.
1997-07-01 00:57:19 +00:00
Michael Snyder
158bda58c5 Mon Jun 30 15:30:38 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): tweak alignment of small
        structs passed in registers for little-endian non-EABI mode.
1997-06-30 22:32:20 +00:00
Michael Snyder
71e099952d Mon Jun 30 13:05:39 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* breakpoint.c (frame_in_dummy): use generic dummy if available.
          (check_duplicates, clear_command): compare sections only if
          doing overlay debugging.
1997-06-30 20:08:11 +00:00
Ian Lance Taylor
c446cc8bb4 * configure.in, Makefile.in: Treat tix like itcl. 1997-06-30 19:52:58 +00:00