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.
Andrew Cagney [Fri, 6 Feb 1998 07:26:11 +0000 (07:26 +0000)]
* config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
D10V_CONVERT_DADDR_TO_RAW): Define.
* d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
registers, regardless of their size, when they fit.
Andrew Cagney [Fri, 6 Feb 1998 04:09:35 +0000 (04:09 +0000)]
o Update GDB to match changes to d10v abi (ARG1 in r0 instead of r2).
o Fix code assuming that host/target were both bigendian.
o Replace d10v push dummy frame code with version using new common
generic generic version.
o Find/fix more cases where a value needs to be translated to/from
instruction (IMAP) or data (DMAP) spaces.
Andrew Cagney [Fri, 6 Feb 1998 03:26:11 +0000 (03:26 +0000)]
Get overlay testsuite to work on m32r when image is being built with a
small data section (.sdata): Force _novrly variable into .data; stop
test variables being put into .sdata.
Doug Evans [Fri, 6 Feb 1998 03:19:56 +0000 (03:19 +0000)]
* Makefile.in (SIM_SKY_OBJS,MIPS_EXTRA_OBJS): New vars.
(SIM_OBJS): Add $(MIPS_EXTRA_OBJS).
* configure.in: Set mips_extra_objs to sky files if mips64r59*-sky-*.
* configure: Regenerated.