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.
Jason Molenda [Tue, 10 Feb 1998 20:14:43 +0000 (20:14 +0000)]
Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
* m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
`REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
`REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
(STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
(FRAME_NUM_ARGS): New macro.
* m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
* delta68-nat.c (clear_insn_cache): New function, forgotten in previous
patch.
Doug Evans [Tue, 10 Feb 1998 01:43:42 +0000 (01:43 +0000)]
* cgen-sim.h (DECODE): Always use switch for `read' for now.
* cgen.sh (decode): Add s/@arch@/$arch/.
* genmloop.sh (@cpu@_engine_run): Delete `current_state'.
(engine_resume): Likewise. Make `engine' volatile. Save copy
of cpu pointer in volatile object. Initialize read switch if
-parallel.
Doug Evans [Mon, 9 Feb 1998 23:25:39 +0000 (23:25 +0000)]
* symtab.c (fixup_psymbol_section): Move forward declaration to
top of file with other such decls. Make it a static function.
* symtab.h: Minor formatting tweaks.
Via Fred, from m32r branch.
Doug Evans [Mon, 9 Feb 1998 23:20:13 +0000 (23:20 +0000)]
* symtab.c (fixup_psymbol_section): Move forward declaration to
top of file with other such decls. Make it a static function.
* symtab.h: Minor formatting tweaks.
Via Fred, from m32r branch.
Doug Evans [Mon, 9 Feb 1998 22:51:21 +0000 (22:51 +0000)]
* genmloop.sh (@cpu@_engine_run): Delete `current_state'.
(engine_resume): Likewise. Make `engine' volatile. Save copy
of cpu pointer in volatile object.
Jason Molenda [Fri, 6 Feb 1998 23:27:06 +0000 (23:27 +0000)]
Sun Jul 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
* m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
(EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
because floating-point values return via %fp0.
(CLEAR_INSN_CACHE): New macro.
* m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
to use DOUBLEST.
(REGISTER_CONVERT_TO_RAW): Ditto.
* infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
call it after having written in child process's memory.
* inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
(gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
Jeff Law [Fri, 6 Feb 1998 23:11:01 +0000 (23:11 +0000)]
* config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
the argument to bfd_set_arch_mach.
(load_address): Use bfd_arch_bits_per_address to determine the
bit size of an address instead of looking at the isa level.
(macro, macro2, s_cprestore, s_cpadd): Likewise.