Ron Unrau [Sun, 15 Feb 1998 21:33:13 +0000 (21:33 +0000)]
configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.
sim-main.h: Define regs for sky if -DTARGET_SKY
interp.c: Initial register upload/download support for sky.
Ron Unrau [Sun, 15 Feb 1998 21:30:02 +0000 (21:30 +0000)]
parse.c (write_dollar_variable): call new function target_map_name_to_register
so that targets can define their own register name aliases.
infcmd.c (registers_info): call target_map_name_to_register so that
"print $reg" and "info reg $reg" share the same register alias set.
mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers
can be printed separately.
txvu-tdep.c: print registers according to current CPU context.
tm-txvu.h: define SKY registers and conditionalize register interpretation
macros.
txvu.mt: Don't bother building remote-mips.o for sky target.
- PKE functions still missing due to external dependencies:
* interrupt to 5900 (igen?)
* VU busy checking (sky-vu / coprocessor registers)
* PATH3 masking (sky-gpuif / covert control interface)
Doug Evans [Fri, 13 Feb 1998 02:31:10 +0000 (02:31 +0000)]
* cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Ignore ALIAS insns if asked to.
(@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
* m32r-opc.c: Regenerate.
Ian Lance Taylor [Fri, 13 Feb 1998 01:09:32 +0000 (01:09 +0000)]
Based on patches from Ross Harvey <ross@teraflop.com>:
* macro.c (ISSEP): Only treat '<' and '>' as separator characters
if macro_alternate or macro_mri.
(getstring): Remove support for byte constants between < and >.
(get_any_string): '<' only starts a string if macro_alternate or
macro_mri.
(macro_expand_body): Permit keyword parameters following
positional parameters.
Ian Lance Taylor [Thu, 12 Feb 1998 23:14:33 +0000 (23:14 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.host (alpha*-*-netbsd*): New host.
* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
targets.
Ian Lance Taylor [Thu, 12 Feb 1998 23:12:45 +0000 (23:12 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.in (alpha*-*-netbsd*): New target.
* config/te-nbsd.h (LOCAL_LABELS_FB): Define.
* configure: Rebuild.
Ian Lance Taylor [Thu, 12 Feb 1998 23:03:13 +0000 (23:03 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* vaxnetbsd.c: New file.
* netbsd-core.c: Clean up. Remove unused macros. Use netbsd
rather than netbsd_core.
* targets.c (vaxnetbsd_vec): Declare.
(bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is
defined, add netbsd_core_vec.
* configure.in: Set COREFILE for alpha*-*-netbsd* and
powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is
netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
* config.bfd (alpha*-*-netbsd*): New target.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add vaxnetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
* configure, Makefile.in: Rebuild.
Frank Ch. Eigler [Thu, 12 Feb 1998 21:28:52 +0000 (21:28 +0000)]
* Changed MIPS monitor interface code to be tolerant of slightly
different IDT/sim 6.0 behavior. Extra time and laxness is alloted
for monitor entry and exit.
Jeff Law [Thu, 12 Feb 1998 09:45:13 +0000 (09:45 +0000)]
* config/tc-mips.c (load_address): Don't use mips III or mips IV
insns regardless of the size of a pointer if we're in mips I or
MIPS II mode.
(macro, macro2, s_cprestore, s_cpadd): Likewise.
Fix problems in recent code to handle address sizes more sanely.
Andrew Cagney [Thu, 12 Feb 1998 05:48:23 +0000 (05:48 +0000)]
Add a new target specific protocol `target d10v' implemented in
remote-d10v.c. It has an xfer_mem function that can translate a d10v
GDB address into a d10v monitor address.
Andrew Cagney [Thu, 12 Feb 1998 05:09:25 +0000 (05:09 +0000)]
* gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
on-chip insn memory and IMAP1 to upper 128k.
(D10VCopy): Handle memory regions crossing 16k boundaries.
(D10VCopy): Transfer data in 32 bit chunks.
Doug Evans [Thu, 12 Feb 1998 01:42:43 +0000 (01:42 +0000)]
* cgen.h (CGEN_FIELDS): Define here.
(CGEN_HW_ENTRY): New member `type'.
(hw_list): Delete decl.
(enum cgen_mode): Declare.
(CGEN_OPERAND): New member `hw'.
(enum cgen_operand_instance_type): Declare.
(CGEN_OPERAND_INSTANCE): New type.
(CGEN_INSN): New member `operands'.
(CGEN_OPCODE_DATA): Make hw_list const.
(get_insn_operands,lookup_insn): Add prototypes for.
Frank Ch. Eigler [Wed, 11 Feb 1998 19:42:15 +0000 (19:42 +0000)]
- PKE simulation code almost complete. Still missing:
* handling of super duper packed UNPACK arguments
* skipping of in-progress instruction on break/stop
* interrupt generation to 5900
* PATH2/PATH3 status checking & masking
* ability to write to FIFO one word (instead of quadword) at a time
Keith Seitz [Wed, 11 Feb 1998 02:33:22 +0000 (02:33 +0000)]
* tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
if it exists.
Remove static declaration of free_actions.
* tracepoint.h: Add declaration of free_actions.
* gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification
hook.
(gdbtk_print_frame_info): Define this hook so that current_source_symtab
is set properly.
(gdb_actions_command): Use free_actions () from tracepoint.c/h.