aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/gencode.c
AgeCommit message (Collapse)AuthorFilesLines
2015-11-15sim: d10v: push down sd/cpu varsMike Frysinger1-4/+4
By itself, this commit doesn't really change anything. It lays the groundwork for using the cpu state in follow up commits, both for engine state and for cpu state. Splitting things up this way so it is easier to see how things have changed.
2015-03-30sim: d10v: clean up misc warningsMike Frysinger1-11/+10
2014-01-07remove PARAMS from simTom Tromey1-4/+4
This removes the last uses of PARAMS from sim. 2014-01-06 Tom Tromey <tromey@redhat.com> * README-HACKING: Don't use PARAMS. * arm/wrapper.c: Don't use PARAMS. * bfin/sim-main.h: Don't use PARAMS. * common/callback.c: Don't use PARAMS. * common/cgen-trace.c: Don't use PARAMS. * common/run-sim.h: Don't use PARAMS. * common/run.c: Don't use PARAMS. * common/sim-base.h: Don't use PARAMS. * common/sim-load.c: Don't use PARAMS. * common/sim-options.h: Don't use PARAMS. * common/sim-trace.c: Don't use PARAMS. * common/sim-trace.h: Don't use PARAMS. * common/sim-utils.h: Don't use PARAMS. * cr16/cr16_sim.h: Don't use PARAMS. * cr16/gencode.c: Don't use PARAMS. * cr16/interp.c: Don't use PARAMS. * cr16/simops.c: Don't use PARAMS. * d10v/d10v_sim.h: Don't use PARAMS. * d10v/gencode.c: Don't use PARAMS. * d10v/interp.c: Don't use PARAMS. * d10v/simops.c: Don't use PARAMS. * erc32/erc32.c: Don't use PARAMS. * erc32/exec.c: Don't use PARAMS. * erc32/float.c: Don't use PARAMS. * erc32/func.c: Don't use PARAMS. * erc32/sis.c: Don't use PARAMS. * erc32/sis.h: Don't use PARAMS. * mips/interp.c: Don't use PARAMS. * mips/sim-main.h: Don't use PARAMS. * sh/interp.c: Don't use PARAMS. * v850/sim-main.h: Don't use PARAMS. * v850/v850_sim.h: Don't use PARAMS.
2002-06-09Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney1-1/+0
Update accordingly.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+156
1999-04-16Initial creation of sourceware repositoryStan Shebs1-146/+0
1996-11-09Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+146
* 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.