aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
AgeCommit message (Collapse)AuthorFilesLines
1996-06-26 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,Jason Molenda1-2/+3
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. (AC_PROG_INSTALL): Added. * configure: Rebuilt.
1996-01-16Remove SH3e sanitization.Jim Wilson1-21/+0
1995-12-04* gencode.c (tab): Added several sh3 opcodes.J.T. Conklin2-5/+27
(think): Added printonmatch for A_SSR and A_SPC. * interp.c (SSR, SPC): Added definitions. (saved_state_type): Added ssr and spc registers.
1995-11-29 * gencode.c (tab): In shad/shld definitions, negate R[m] beforeJim Wilson2-4/+12
the and operation instead of after. For shad delete cast. For shld use UR instead of R and delete cast.
1995-11-18Patch for Hitachi PR 8433, avoid core dump on HPUX hostJim Wilson1-0/+9
* gencode.c (tab): Add explicit NaN support for ftrc instruction.
1995-11-15 * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rtsStu Grossman2-3/+4
actually uses pr+0.
1995-11-14 * gencode.c: jsr actually saves pc+4, and rts actually uses pr+0.Stu Grossman2-4/+50
1995-10-21Indicate SIGILL instead of calling abort for default case.Jim Wilson1-0/+16
1995-10-06 * interp.c (callback): Remove last change. It is initialized byJim Wilson1-0/+3
a sim_set_callbacks call.
1995-10-06 * interp.c (trap, case SYS_utime): Cast second arg of utime toJim Wilson2-1/+8
void * to avoid compiler error.
1995-10-05 * interp.c (callback): Initialize to default callback.Steve Chamberlain2-22/+59
1995-09-28Thu Sep 28 15:26:59 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-284/+0
* run.c: Moved to ../common. * interp.c (trap): Use gdb's callback interface. * Makefile.in: Updated.
1995-09-20add maintainer-clean Makefile targetsIan Lance Taylor2-1/+5
1995-09-20 * run.c (sim_callback_write_stdout): New.Steve Chamberlain3-1/+17
* interp.c (trap): Call sim_callback_write_stdout when needed.
1995-09-19Mon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain4-36/+49
* interp.c (trap): Remove useless code. Fri Sep 15 19:30:05 1995 steve chamberlain <sac@slash.cygnus.com> * syscall.h: Copy from newlib.
1995-09-15 * gencode.c: Back up PC by 2 for breakpoints.Stu Grossman2-8/+17
* interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB, which expect pc to immediatly follow regs[].
1995-09-08 * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.Ian Lance Taylor3-11/+28
* configure: Rebuild. * Makefile.in (INSTALL): Revert to using install.sh. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). (INSTALL_XFORM, INSTALL_XFORM1): Restore. (CC_FOR_BUILD): Restore. (gencode): Build using $(CC_FOR_BUILD). (install): Don't install in $(tooldir).
1995-09-07(Try to) Update to new bfd autoconf scheme.J.T. Conklin5-47/+1069
* run.c: Don't include sysdep.h. * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value. (CC, CFLAGS, AR, RANLIB): Likewise. (HDEFINES, TDEFINES): Define. (CC_FOR_BUILD): Delete. (host_makefile_frag): Delete. (Makefile): Don't depend on frags. * configure.in (sysdep.h): Don't create symlink. (host_makefile_frag, frags): Deleted. (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values. * configure: Regenerated.
1995-08-31 * Makefile.in (run): Link in math library too.Jeff Law1-0/+1
1995-08-31 * interp.c (FPSCR, FPUL): Define.Jeff Law3-6/+94
(struct save_state): Add fields for floating point registers, FPSCR and FPUL. (sim_resume): Add 'F' for accessing floating point registers in the save state structure. * gencode.c: Add sh3e opcodes. (gensym): Define a buffer for int<->fp conversions. First cut at simulating sh3e instructions. Basic stuff should work; instructions using fpul and fpscr are completely untested... Sanitized away for now (sh3e).
1995-08-31 * gencode.c (gensim): abort if an unknown opcode is encountered.Jeff Law2-9/+35
1995-08-12For Sega/Hitachi, when simulator exits, check to see if it was becauseJim Wilson1-7/+20
of a signal.
1995-08-02Update FSF address.Fred Fish1-2/+2
1995-07-05* Makefile.in (distclean, mostlyclean, realclean): Remove autoconf files.J.T. Conklin2-2/+6
1995-07-05* sh.mt: Removed.J.T. Conklin3-5/+2
1995-07-05* Makefile.in, configure.in: converted to autoconf.J.T. Conklin4-89/+52
* configure: New file, generated with autconf 2.4.
1995-07-01 * interp.c (sim_open): If argument supplied, interpret asStan Shebs1-2/+9
desired memory size. (parse_and_set_memory_size): New function. (sim_do_command): New function.
1995-06-29 * interp.c: (SYS_wait): Define as SYS_wait4 if available andFred Fish2-0/+15
SYS_wait is not already defined (SunOS 4.1.3 for example). (SYS_utime): Define as SYS_utimes if available and SYS_utime is not already defined.
1995-06-23 * interp.c: Don't include sys/times.h or sys/param.hSteve Chamberlain2-2/+4
1995-06-21 * interp.c: (SIGBUS, SIGTERM): Define if not.Steve Chamberlain3-14/+48
(sim_memory_size): default to 2^19 on PCs. (sim_resume): Poll for quits on win32.
1995-05-25Unsanitize SH3 support.Jim Wilson1-23/+0
1995-05-24Wed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-15/+33
* gencode.c (tab): Add bsrf and braf.
1995-04-24 * configure.in: use ../../bfd/hosts/std-host.h, notJason Molenda1-1/+1
../bfd/hosts/std-host.h (which doesn't exist).
1995-03-27* run.c: parse arguments with getopt().J.T. Conklin1-32/+43
1995-02-28Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>Ian Lance Taylor1-5/+2
* configure.in: Use ../../bfd/hosts/std-host.h if specific host unavailable.
1995-01-22Changes for PR 6203.Torbjorn Granlund2-41/+76
1995-01-19Fix for PR 6200 (SUBC problems).Torbjorn Granlund2-271/+355
1995-01-09 * interp.c: Remove def of INLINE. This comes from bfd.h. Also,Stu Grossman1-0/+5
declare IOMEM before using it.
1994-12-29 * interp.c (BUSERROR): New macro.Steve Chamberlain3-199/+421
([r|w][bwl]at[little|big]) New functions. (sim_resume): If GO32 check for interrupt every now and again. Decrement PC if SIGBUS seen. * run.c (main): Return result of simulated _exit.
1994-11-24 * interp.c ([wr][bwl]at): New functions.Steve Chamberlain5-29/+110
(trap): Cope with both byte modes.
1994-06-28Specify the file type.Steve Chamberlain1-1/+1
1994-05-27 * interp.c (trap): Fix irix incompatibility.Steve Chamberlain1-1/+1
* run.c (main): open without specifying file type.
1994-05-18 * interp.c (sim_*): Make result void where there isn't one.David Edelsohn3-54/+279
(sim_set_pc): Delete. (sim_info): Delete printf_fn arg, all callers changed. Call printf_filtered instead. (sim_close): New function. (sim_load): New function. (sim_create_inferior): Renamed from sim_set_args, all callers changed. * run.c: #include <varargs.h>, "remote-sim.h". (printf_filtered): New function.
1994-02-12 * gencode.c (main, gendefines): New -d option prints table of defines.Steve Chamberlain1-0/+2
* interp.c (trap): Add a load of system calls. (sim_memory_size): Now default to 8Mbyte. (PARANOID): Keep vector of registers with undefined contents.
1993-11-11keep run.1David D. Zuhn1-0/+1
1993-10-26* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdbDavid Edelsohn1-1/+2
* interp.c: #include "remote-sim.h". (sim_resume): int result, new arg `siggnal'. (sim_write): Use SIM_ADDR for type of arg `addr'. (sim_read): Use SIM_ADDR for type of arg `addr'. Use unsigned char * for `buffer'. (sim_store_register): int result. (sim_fetch_register): Ditto. (sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'. (sim_set_pc): int result, use SIM_ADDR for type of arg `x'. (sim_info): int result, new args `verbose', `printf_fn'. (sim_kill): int result. (sim_open): int result, new arg `name'. * run.c: #include <stdio.h> (main): Update call to sim_info.
1993-10-23(sim_stop_signal): Result is now enum sim_stop.David Edelsohn2-21/+86
1993-10-22Man page for "run" simulator, and install-man target for it.Roland Pesch1-0/+107
1993-08-02Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitlyFred Fish1-1/+0
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-07-30Add .Sanitize to Things-to-lose list.Fred Fish1-0/+1