Joyce Janczyn [Thu, 25 Jun 1998 14:17:47 +0000 (14:17 +0000)]
Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
* dv-mn103tim.c: Include sim-assert.h
* dv-mn103ser.c (do_polling_event): Check for incoming data on
serial line and schedule next polling event.
(read_status_reg): schedule events to check for incoming data on
serial line and issue interrupt if necessary.
Jeff Law [Wed, 24 Jun 1998 16:00:43 +0000 (16:00 +0000)]
* mn10300-dis.c (print_insn_mn10300): 0xf9 opcode prefix specifies
3 byte instructions.
(disassemble): Handle new instruction formats FMT_D6, FMT_D7, FMT_D8
FMT_D9 and FMT_D10. Handle various new opcode flags for the am33.
Jeff Law [Wed, 24 Jun 1998 15:56:40 +0000 (15:56 +0000)]
* mn10300-opc.c (IMM32_HIGH8_MEM): New operand type.
(mn10300_opcodes): Reorder so as to try and select opcodes from
the core chip when multiple alternatives exist. Change several
am33 instructions to use IMM32_HIGH8_MEM. Fix typos in "mac" and
"macbu" instructions. Fix typos in a couple DSP instructions too.
Jeff Law [Wed, 24 Jun 1998 15:44:27 +0000 (15:44 +0000)]
* config/tc-mn10300.c (r_registers): Add a0-a3,d0-d3 and e0-e7
as synonyms for "rN" registers.
(xr_registers): Add mcrh, mcrl, mcvf, mdrq and sp as synonyms
for "xrN" registers.
(md_assemble): Fix typo computing the size of relocations.
Jim Wilson [Wed, 24 Jun 1998 01:48:42 +0000 (01:48 +0000)]
Fix irix6-x-h8300 gas bug found while looking at gcc nightly testing failure.
* config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
char with code that explicitly sign-extends.
Michael Snyder [Tue, 23 Jun 1998 18:22:43 +0000 (18:22 +0000)]
Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/mips/tm-irix5.h: Modify to work better on irix 6, by
making FP registers 8 bytes instead of 4.
REGISTER_BYTES: redefine. REGISTER_BYTE(): redefine.
REGISTER_VIRTUAL_TYPE: redefine. MIPS_LAST_ARG_REGNUM: redefine.
* irix5-nat.c (fetch_core_registers): read 8 bytes per FP register.
* mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish
targets with 8-byte FP registers (don't use TARGET_MIPS64).
(STACK_ARGSIZE): new macro, how much space is taken up on the
stack for each function argument (don't use TARGET_MIPS64).
(mips_push_arguments): modify logic to work better on Irix 6
(n32 ABI).
Ian Lance Taylor [Mon, 22 Jun 1998 19:20:14 +0000 (19:20 +0000)]
* config/tc-i386.c (i386_operand): Be prepared for a space between
the open parenthesis and the start of the register operand,
because of the June 16 change.
* sky-dma.h, sky-gpuif.[c|h], sky-gs.h, sky-pke.[c|h],
sky-vu.h: use _IOLBF on debug files, _IOFBF on trace files
* sky-gdb.[c|h] (sky_open_file()): add buffer mode to
parameter list
Ron Unrau [Sun, 21 Jun 1998 15:31:09 +0000 (15:31 +0000)]
* symtab.c (find_line_pc): assumed that a PC of 0 is illegal.
Changed to pass PC as arg and return 1 if valid (0 otherwise).
symtab.h: change prototype to match
symtab.c (find_line_pc_range): use new interface
breakpoint.c (resolve_sal_pc): ditto
gdbtk.c (gdb_set_bp): ditto
Jeff Law [Fri, 19 Jun 1998 15:54:22 +0000 (15:54 +0000)]
start-sanitize-am33
* config/tc-mn10300.c (r_registers): Add missing registers.
(xr_registers): New set of registers.
(xr_register_name): New function.
(md_assemble): Handle XRREG and PLUS operands. Tweak handling of
RREG operand insertion. Handle new D6 and D7 instruction formats.
end-sanitize-am33
* config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
shift amount for a repeated operand. The shift amount for the
repeated copy comes from the size of the operand.
John Metzler [Thu, 18 Jun 1998 17:30:26 +0000 (17:30 +0000)]
* mips-dis.c (print_insn_little_mips): Previously, instruction
printing references the symbol table to determine whether the
instruction resides in a block regular instructions or mips16
instructions. However, when the disassembler gets used in other
environments where the symbol table is not present, we no longer
rely in the symbol table, rather, use the low bit of the
instructions address to guess. There should be no change for usage
of the disassembler in host based programse, gdb ,objdump.
(print_insn_big_mips): ditto.
(print_insn_mips): ditto
Jeff Law [Wed, 17 Jun 1998 23:54:25 +0000 (23:54 +0000)]
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".
Ron Unrau [Wed, 17 Jun 1998 21:53:20 +0000 (21:53 +0000)]
* 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