aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
AgeCommit message (Collapse)AuthorFilesLines
1997-04-18 * interp.c (sim_resume): Fix argument to poll_quit.David Edelsohn2-1/+5
1997-04-18Ref gdb/11763 - can't stop a running simulator:Andrew Cagney2-22/+17
o Provide poll_quit callback to simulators so that they can poll for SIGINT on clueless OS's. o Add sim_stop to simulators so that clients can request a halt (eg gdbtk's STOP button) Works for PPC! o Re-arange remote-sim.c so that the hard work is moved from gdbsim_resume() to gdbsim_wait() (where it should be).
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn3-26/+73
* interp.c (target_byte_order): Delete. (sim_kind, myname, little_endian_p): New static locals. (init_pointers): Use little_endian_p instead of target_byte_order. (sim_resume): Likewise. (sim_open): Set sim_kind, myname. Set little_endian_p from -E arg. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-07Get configure to define RETSIGTYPEAndrew Cagney2-187/+113
1997-04-02 * interp.c (sim_open): New arg `kind'.David Edelsohn1-0/+2
1997-04-02 * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.David Edelsohn2-132/+281
(sim-debug): Allow arguments. Define WITH_DEBUG in addition to -DDEBUG. * configure: Regenerated to track ../common/aclocal.m4 changes.
1997-04-02New file common/sim-config.c sets/checks simulator configuration options.Andrew Cagney2-46/+38
Update common/aclocal.m4 to better work with sim-config.[hc].
1997-03-18Move SIM_AC_OPTION_ macros out of SIM_AC_COMMON macro - was trashingAndrew Cagney1-0/+4
optional arguments. * Regenerate all configure scripts.
1997-03-17 * configure: Re-generate.Andrew Cagney2-191/+124
* Make-common.in (CSEARCH): Do not include the gdb directory in the search path. * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, SIM_WARNING): Drop, requiring the simulator specific Makefile.in to explicitly incorporate these. * aclocal.m4 (--enable-sim-alignment); New option. Strongly specify the alignment restrictions of the target architecture - without this option all alignment restrictions are accomodated. (--enable-sim-assert): New option. Conditionally compile in assertion statements. (--enable-sim-float): New option. Strongly specify the target's floating point support. (--enable-sim-hardware): New option. Specify the hardware devices included in the simulation. (--enable-sim-packages): New option. Specify the hardware packages included in the simulation. (--enable-sim-regparm): New option. Specify that parameters be passed in registers instead of on the stack. (--enable-sim-reserved-bits): New option. Specify that reserved bits within an instruction are are correctly set. (--enable-sim-smp): New option. Specify the level of SMP support to be included in the simulator. (--enable-sim-stdcall): New option. Specify an alternative function call convention. (--enable-sim-xor-endian): New option. Configure xor-endian support used by some targets to implement bi-endian support.
1997-03-14Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the ↵Michael Meissner2-302/+63
system call trap, keeping 0 temporarily
1997-03-13 * interp.c (sim_open): New SIM_DESC result. Argument is nowDavid Edelsohn2-122/+140
in argv form. (other sim_*): New SIM_DESC argument.
1997-02-04 * Makefile.in (@COMMON_MAKEFILE_FRAG): UseDavid Edelsohn1-1/+2
COMMON_{PRE,POST}_CONFIG_FRAG instead. * configure.in: sinclude ../common/aclocal.m4. * configure: Regenerated.
1997-01-24 * ../common/aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s inStu Grossman1-2/+2
comments and single quotes. Fixes a problem found on hpux.
1997-01-24 * configure: Remove targ-vals.def when doing distclean. (ChangeStu Grossman1-1/+1
is actually in ../common/aclocal.m4.)
1997-01-24 * configure: Remove Make-common.in from dependencies. (Actually inStu Grossman1-1/+1
../common/aclocal.m4).
1997-01-23 * configure configure.in Makefile.in: Update to new configureStu Grossman4-246/+974
scheme which is more compatible with WinGDB builds. * configure.in: Improve comment on how to run autoconf. * configure: Re-run autoconf to get new ../common/aclocal.m4. * Makefile.in: Use autoconf substitution to install common makefile fragment.
1996-11-20 * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn2-22/+4
(SIM_OBJS,SIM_EXTRA_LIBS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(unistd.h). * configure: Regenerated. * config.in: New file. * interp.c: #include "config.h". #include <unistd.h> if present. (trap): Fetch errno value with callback->get_errno.
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).