aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/sis.h
AgeCommit message (Collapse)AuthorFilesLines
2016-01-03sim: drop host endian configure optionMike Frysinger1-1/+1
The --enable-sim-hostendian flag was purely so people had an escape route for when cross-compiling. This is because historically, AC_C_BIGENDIAN did not work in those cases. That was fixed a while ago though, so we can require that macro everywhere now and simplify a good bit of code.
2016-01-01GDB copyright headers update after running GDB's copyright.py script.Joel Brobecker1-1/+1
gdb/ChangeLog: Update year range in copyright notice of all files.
2015-05-08Switch erc32 simulator copyright headers to FSF.Joel Brobecker1-20/+14
Permission was granted by Jiri Gaisler, who has a copyright assignment on file for GDB. sim/erc32/ChangeLog: * configure.ac: Add copyright header. * erc32.c: Change copyright holder to FSF. Reformat. * exec.c, float.c, func.c, interf.c, sis.c, sis.h: Likewise. * help.c, startsim: Add copyright header.
2015-04-19sim/erc32: Switched emulated memory to host endian order.Jiri Gaisler1-0/+2
Change data ordering in emulated memory from target order (big endian) to host order. Improves performance and simplifies most memory operations. Requires some byte twisting during stores on little endian hosts (intel). Also removed support for little-endian binaries.
2015-03-28sim/erc32: Fix a few compiler warningsJiri Gaisler1-2/+2
2015-03-28sim/erc32: Use memory_iread() function for instruction fetching.Jiri Gaisler1-0/+2
Use separate memory_iread() function for instruction fetching. Speeds up execution and allows addition of an MMU at a later stage.
2015-03-17sim/erc32: Added -v command line switch for verbose outputJiri Gaisler1-6/+4
2015-03-16sim/erc32: use SIM_AC_OPTION_HOSTENDIAN to probe for host endianessJiri Gaisler1-3/+8
2015-02-21sim/erc32: Fix incorrect simulator performance reportJiri Gaisler1-2/+3
2014-01-07remove PARAMS from simTom Tromey1-46/+46
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.
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker1-2/+1
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker1-1/+1
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
2012-06-15sim/erc32/sys.h: Include "config.h".Joel Brobecker1-0/+1
This file includes "gdb/callback.h", which includes "bfd.h", which itself verifies that "config.h" was included earlier. sim/erc32/ChangeLog: * sys.h: Include "config.h".
2010-05-20Fix erc32 sim build failure due to missing stdint.h.Joel Brobecker1-3/+4
* sis.h: Remove #include <stdint.h>. (uint64, int64): Redefine without using stdint.h. (UINT64_MAX): Define.
2010-05-112010-04-20 Tiemen Schut <T.Schut@sron.nl>Joel Sherrill1-23/+24
* erc32.c (sis_memory_write): Change prototype to const unsigned char *. * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64 for counts. * interf.c (run_sim): Change icount to uint64_t. Use strtol directly. (sim_resume): Specify maximum run time as uint64. * sis.c (run_sim): Change icount to uint64_t. * sis.h: Define uint64 as uint64_t. Change various fields and prototypes to uint64 to support longer simulations.
2002-06-09Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney1-2/+2
Update accordingly.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+217
1999-04-16Initial creation of sourceware repositoryStan Shebs1-145/+0
1996-07-04 * erc32.c (mec_reset mec_read mec_write memory_read memory_write),Stu Grossman1-0/+145
sis.h: Get rid of all uses of long long's. * (close_port read_uart write_uart uarta_tx): Don't seg fault when can't open pty's. * exec.c: Add two new instructions: smul, and divscc. * interf.c (flush_windows): New routine to flush the register windows out to the stack just before returning to GDB. Makes backtraces work much better.