Commit graph

23042 commits

Author SHA1 Message Date
Ian Lance Taylor
d845999e69 tipo 1998-06-18 16:20:45 +00:00
Frank Ch. Eigler
5630c289dc * Adapt to changed R5900 SQC2 opcode.
Thu Jun 18 17:48:01 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* mips.igen (SDC2): Removed R5900 alternative.
	* r5900.igen (SQC2): Updated bit pattern to
	match changed R5900 specs.
1998-06-18 15:11:28 +00:00
release
3bb1e046d0 fix sanitization typo 1998-06-18 07:31:22 +00:00
release
c773c22617 fix sanitization; add t-ldl.s t-ldr.s t-lwl.s t-lwr.s t-sdr.s t-sub.s t-swl.s t-swr.s 1998-06-18 06:52:03 +00:00
release
27cd90b285 fix sanitization; add ax-gdb.c ax-gdb.h ax-general.c ax.h 1998-06-18 06:27:54 +00:00
release
9682b440c6 install tracing help files 1998-06-18 02:14:08 +00:00
Patrick Macdonald
be53145e44 * second phase of the --sky-debug, --sky-debug-file stuff
* only outstanding issue is vu0/vu1 to file (phase 3_

	* please see ChangeLog.sky for complete details
1998-06-18 00:28:06 +00:00
Jeff Law
a2d41a258b * gas/mn10300/am33.s: New test.
* gas/mn10300/basic.exp: Run it.
1998-06-18 00:17:18 +00:00
Jeff Law
82169ecef7 * config/tc-mn10300.c (r_registers): New register table.
(r_register_name): New function.
        (md_assemble): Handle new am33 operand types.
1998-06-18 00:12:44 +00:00
Jeff Law
7c8a2969e6 * simops.c (syscall): Handle change in opcode # for syscall.
* mn10300.igen (syscall): Likewise.
1998-06-18 00:03:00 +00:00
Jeff Law
67be18db3b * mn10300.h (MN10300_OPERAND_USP): Define.
(MN10300_OPERAND_SSP, MN10300_OPERAND_MSP): Likewise.
        (MN10300_OPERAND_PC, MN10300_OPERAND_EPSW): Likewise.
        (MN10300_OPERAND_RREG): Likewise.
Snapshot current work.
1998-06-17 23:57:33 +00:00
Jeff Law
9eb61c7c61 start-sanitize-am33
* m10300-opc.c (USP, SSP, MSP, PC, IMM4, EPSW, RN0, RM1): New
        operands for the am33.
        (mn10300_opcodes): Add new instructions from the am33.
end-sanitize-am33
        * m10300-opc.c (mn10300_opcodes): Change opcode for "syscall".

Snapshot current work.
1998-06-17 23:54:25 +00:00
Ron Unrau
3b3835ccde * parse.c (target_map_name_to_register): Check target specific
aliases *first* so that it can over-ride architectural names
	* txvu-tdep.c: start to handle backtraces
1998-06-17 21:53:20 +00:00
Said Ziouani
959941e717 * remote-sds.c (sds_start_remote): Fix printf call. 1998-06-17 21:21:55 +00:00
Ian Lance Taylor
31493cdfd6 * config/tc-mips.c (md_show_usage): Fix -mipsN usage. 1998-06-17 17:07:54 +00:00
Patrick Macdonald
c0e7453d60 * sky-pke.h: PKE_REG_SET_MASK / PKE_MEM_WRITE macros updated
to check/open the debug trace file
1998-06-17 14:54:11 +00:00
Frank Ch. Eigler
0f70e64f0e * MIPS test suite changes that allow cross-assemblers to test MIPS dialects
other than their native tongues.
Wed Jun 17 14:02:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case
 	run on differently targeted assembler.
	* gas/mips/{ld-ilocks-addr32,ld-svr4pic.d}: Ditto.
	* gas/mips/{ld-xgot.d,lif-svr4pic.d,lif-xgot.d}: Same.
	* gas/mips/{mips16.d,mips4.d,nodelay.d}: Again.
	* gas/mips/{trunc.d,uld.d,ulh-xgot.d,usd.d}: And then some.
	* gas/mips/ld-ilocks.d: Removed disassembler flags to let target
 	defaults go unmodified.  Replaced $f4/$f5 with $fp[45], as the
	original `ld.d' had.  Find `ld.s'.
	* gas/mips/mul-ilocks.d: Nearly ditto.
1998-06-17 11:31:32 +00:00
Andrew Cagney
67574b9cea Re-do sim-inline's handling of external functions and variables so
that there really is only one instance of them.
1998-06-17 07:42:53 +00:00
Mark Alexander
40fad4934f * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
crash when in "start".
1998-06-16 23:36:01 +00:00
Jillian Ye
419997a6d4 *** empty log message *** 1998-06-16 22:39:28 +00:00
Patrick Macdonald
7159249bbc * support for the --sky-debug, sky-debug-file options
* support for the --log, --log-file options
	* GIF disassembly
	* please view ChangeLog.Sky for details
1998-06-16 21:02:33 +00:00
Ron Unrau
ec07628095 * dbxread.c: reset function_start_offset after a finishing N_FUN
is seen.
        * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override
          target vectors as needed.
	* txvu-tdep.c: add support for VIF breakpoints.
1998-06-16 20:38:10 +00:00
Ron Unrau
2905d173c5 * sky-pke.c(read_pke_pc): return source address of current pc
* sky-pke.c(read_pke_pcx): return index of current pc
        * sky-pke.h: export read_pke_pcx
        * interp.c(sim_fetch_registers): read pke pc/pcx
        * sky-libvpe.c: track name change from GDB
        * sim-main.h: add vif memory based pc
          - extend gdb comm area for fifo breakpoints
          - define SIM_ENGINE_RESTART_HOOK
        * sky-gdb.c: add support for VIF breakpoints
1998-06-16 20:30:20 +00:00
Jillian Ye
d80e0c96ef *** empty log message *** 1998-06-16 19:47:31 +00:00
Jim Ingham
0436459d40 Mon Jun 15 13:18:21 1998 Jim Ingham <jingham@cygnus.com>
* gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST
       ELEMENTS.  This allows gdbtk to work when installed in a directory
       which has a space in the path.  D. Moseley pointed out the bug.
1998-06-16 19:36:47 +00:00
Frank Ch. Eigler
702968c54b * ECC (tx39) and sky changes.
[ChangeLog]
start-sanitize-tx3904
Tue Jun 16 14:39:00 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-tx3904tmr.c: Deschedule timer event after dispatching.
	Reduce unnecessarily high timer event frequency.
	* dv-tx3904cpu.c: Ditto for interrupt event.
end-sanitize-tx3904
start-sanitize-sky
Tue Jun 16 14:12:09 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* interp.c (decode_coproc): Removed COP2 branches.
	* r5900.igen: Moved COP2 branch instructions here.
	* mips.igen: Restricted COPz == COP2 bit pattern to
	exclude COP2 branches.
end-sanitize-sky
1998-06-16 18:13:47 +00:00
James Lemke
1106213c56 Fix unresolved external error for sky_cpcond0 on non-SKY builds. 1998-06-16 18:13:46 +00:00
Ian Lance Taylor
e6db632454 Tue Jun 16 13:10:51 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (index16): Add '%' to register names.  Use ','
	instead of '+'.
1998-06-16 17:11:47 +00:00
Ian Lance Taylor
fe55a7e7ca Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
	characters in it as LEX_IS_SYMBOL_COMPONENT.
	* config/tc-i386.h (tc_symbol_chars): Define.
	(extra_symbol_chars): Declare.
	* config/tc-i386.c (extra_symbol_chars): Define.
	(comment_chars): Don't use '/' as comment start if TE_LINUX.
	(line_comment_chars): Set to '/' if TE_LINUX.
	* doc/c-i386.texi (i386-prefixes): Update.
	* doc/internals.texi (CPU backend): Document tc_symbol_chars.
1998-06-16 17:10:17 +00:00
Frank Ch. Eigler
a2d12e4971 * sky testsuite fixes
Tue Jun 16 09:03:37 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* t-cop2.s: Reorder instruction blocks to prevent "Out of bounds"
	messages during test execution.  Added dummy branch labels for BC2*
 	instructions.
	* t-cop2.brn: Use --sky-debug option instead of env var.
	* t-cop2.vuexpect: Updated for with new disassembly format.
	* sky_sce_fast.exp: Don't compare GIF outputs for
 	--float-type=fast.
	* sce_test{17,33,49}.dvpasm: Use ".DmaPackVif 1" option to
	exercise assembler / PKE.
	* rw-vureg.c: Cast memcpy operand to allay warning.
1998-06-16 16:53:49 +00:00
Doug Evans
1a1f786125 cangelog entries moved here from sim/sky/ChangeLog 1998-06-16 16:53:48 +00:00
Ian Carmichael
8ea23ea4bb * Implement remaining bits in VPU_STAT, CMSAR0, CMSAR1, FBRST. Fix COP2 interface
* to VI registers (CFC2/CTC2).
*
* Modified Files:
* 	ChangeLog.sky interp.c sim-main.c sky-pke.h sky-vu.c sky-vu.h
1998-06-16 16:02:04 +00:00
Joyce Janczyn
f14defcc75 Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
* dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
	reset) are not enabled on reset.
1998-06-16 13:43:34 +00:00
Frank Ch. Eigler
7924771e5d * PR 15693 fix.
Wed Jun 10 18:04:35 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for
	all-positive enum.
	(create_set_type): Ditto for all-positive set values.
	* values.c (unpack_field_as_long): Check for typedef in struct
	field unpacking.
1998-06-16 08:30:47 +00:00
James Lemke
05faca8731 Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL. 1998-06-15 17:36:23 +00:00
Joyce Janczyn
2a62f119fa Updates to dv-mn103iop.c, dv-mn103ser.c and inter.c 1998-06-14 21:19:53 +00:00
Ron Unrau
f083fff397 * sky-engine.c: Set ordering of device issues to match enumerated type
txvu_cpu_context (sim-main.h tm-txvu.h). This also allowed the issue
        structure to be simplified to an array of functions.
1998-06-14 17:01:02 +00:00
Ron Unrau
c4faac32e5 *** empty log message *** 1998-06-14 14:49:12 +00:00
Ron Unrau
f85d9973b3 * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass
CUR_SYMBOL_VALUE as CORE_ADDR instead of long
        * buildsym.[ch]: export pending_blocks list
	* tm-txvu.h: define TARGET_READ_SP and TARGET_WRITE_SP
	* txvu-tdep.c: rewrite symtabs to support N_FUN symbols in overlays.
	  (Actually, the last version did this for N_SLINE symbols).
	  (txvu_read_sp,txvu_write_sp): new
1998-06-14 14:48:27 +00:00
Dawn Perchik
4796337086 * remote.c : Fix remote help string to match that of help.exp. 1998-06-13 20:06:13 +00:00
Ian Lance Taylor
5f90dab190 Sat Jun 13 11:33:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c: Don't print opcode suffix when we can figure out the
	size (and gas can!) by register operands, or from the default
	size.
	(putop): Handle 'A', 'B', 'L', 'P', 'Q', 'R' macros.  Rename 'C'
	macro to 'E'.
	(dis386, dis386_twobyte, grps): Use new suffix macros.
	(dis386): Correct imul Ib to imul sIb.  Change jnl to jge to be
	consistent.  Add suffix for call, jmp, lcall, ljmp, iret.  Reverse
	order of cmps operands to agree with Intel docs.  Correct operand
	of aad and aam (Ib -> sIb).  Change ud2b from 0fb8 to 0fb9 to
	agree with Intel docs.
	(print_insn_x86): Print orphan fwait before other prefixes.
	Return correct byte count for orphan fwait with prefixes.  Don't
	print `bound' operands in reverse order.
	(ckprefix): Stop accumulating prefixes if we get fwait.
	(OP_DIR): Print `$' before Ap operands of ljmp, lcall.
1998-06-13 15:38:32 +00:00
Ian Lance Taylor
c8ab56dcab Sat Jun 13 11:31:35 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386.h (i386_optab): Add general form of aad and aam.  Add ud2a
	and ud2b.
	(i386_regtab): Allow cr0..7, db0..7, dr0..7, tr0..7, not just
	those that happen to be implemented on pentiums.
1998-06-13 15:33:23 +00:00
Ian Lance Taylor
2f300fe69e add d30v sanitization to readelf 1998-06-13 15:15:13 +00:00
Doug Evans
b4cbaee405 * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
load_stall,biggest_cycles.
	* m32r.c (m32r_model_mark_get_h_gr): Update.
	(m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
	(m32r_model_record_cti,m32r_model_record_cycles): New functions.
	* mloop.in: Call cycle init/update fns.
	* model.c: Regenerate.
	* m32rx.c (m32rx_model_mark_get_h_gr): Update.
	* mloopx.in: Call cycle init/update fns.
	* modelx.c: Regenerate.
1998-06-13 14:56:28 +00:00
Doug Evans
403bed787e * cgen-trace.c (trace_insn_fini): Redo cycle handling.
* sim-profile.h (PROFILE_DATA): Rename cycle handling members.
	* sim-profile.c (profile_print_model): Update.
1998-06-13 14:47:51 +00:00
Doug Evans
7beb913807 emulparams/m32relf.sh: Back out INPUT_FILES change. libgcc1-test fails. 1998-06-13 05:38:21 +00:00
Doug Evans
af2b0c8593 * gennltvals.def (m32r): Use common syscall.h now.
(mn10300): Add entry.
	* nltvals.def: Regenerate.
1998-06-13 01:39:44 +00:00
Doug Evans
695bc2ee12 * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
* emulparams/m32relf.sh (INPUT_FILES): Define.
	(OTHER_RELOCATING_SECTIONS): Change top of stack to 8MB.
1998-06-13 00:53:24 +00:00
Ian Lance Taylor
030bf387cc rebuild 1998-06-12 23:41:52 +00:00
Ian Lance Taylor
7e41967244 * Makefile.am (HFILES): Remove config.h.
(EMULATION_OFILES, POTFILES): Move patch of May 14 from
	Makefile.in to Makefile.am.
	(earmcoff.c): Depend upon armcoff.em, not generic.em.
	* po/Make-in (all-yes): Correct misspelling in $(PACKAGE).
	($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT).
	* Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild.
1998-06-12 23:36:05 +00:00