darling-gdb/sim
Martin Hunt 849c575f97 Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-sim.h (simops): Add flag is_long.
	(State): Add pc_changed.  Instructions which update the PC should
	use the JMP macro which sets this.
	(JMP): New macro.  Sets the PC and the pc_changed flag.

	* gencode.c (write_opcodes): Add is_long field.

	* interp.c (lookup_hash): If we blindly apply a short opcode's mask
	to a long opcode we could get a false match.  Check the opcode size.
	(hash): Add a size field to the hash table.
	(sim_open): Initialize size field in hash table.
	(sim_resume): Change to logic for setting the PC.  Used to increment the
	PC if it had not been changed.  This didn't allow single-instruction loops.
	Now checks the flag State.pc_changed.  Also now stops when ^C is received.
	(dmem_addr): Fix translation of data segments to unified memory.
	(sim_ctrl_c): New function.  When ^C is received, set stop_simulator flag.

	* simops.c: Changed all branch and jump instructions to use new JMP macro.
	(OP_20000000): Corrected trace information to show this is a ldi.l, not
	a ldi.s instruction.
1996-11-09 00:38:07 +00:00
..
arm * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 1996-06-26 03:22:34 +00:00
common Better error messages when a program stops due to signal; support d10v getpid/kill 1996-10-15 15:44:10 +00:00
d10v Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-11-09 00:38:07 +00:00
erc32 * Makefile.in (clean): Remove config.log. 1996-10-02 07:57:18 +00:00
h8300 * compile.c (sim_resume): Fix all rotate-by-2-bits insns. 1996-07-10 04:15:17 +00:00
mips Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk> 1996-09-26 16:42:57 +00:00
ppc Add access, sigaltstack, sigaction emulations 1996-10-29 23:02:33 +00:00
sh * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 1996-06-26 03:35:01 +00:00
v850 Fix linux build problem. 1996-10-31 19:58:14 +00:00
w65 * Makefile.in (mostlyclean): Move config.log to distclean. 1996-10-03 07:16:56 +00:00
.Sanitize Add more m32r support. 1996-10-17 18:57:19 +00:00
ChangeLog Powerpc-linux now builds the simulator 1996-11-01 13:08:43 +00:00
configure * configure.in: Only build the V850 simulator if 1996-10-12 03:14:54 +00:00
configure.in Powerpc-linux now builds the simulator 1996-11-01 13:08:43 +00:00
Makefile.in * Makefile.in (all): Simplify. 1996-02-21 17:02:23 +00:00