aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
AgeCommit message (Collapse)AuthorFilesLines
1997-09-23Remove need to update <targ>/Makefile.in when adding optional optionsAndrew Cagney2-39/+125
to <targ>/configure.in. Simplify logic used to select target [default] endianness.
1997-09-22Simplify logic behind the generic configuration option --enable-sim-alignment.Andrew Cagney1-0/+4
1997-09-22Add support for --enable-sim-alignment to simulator common aclocal.m4Andrew Cagney1-0/+8
Add support for --alignment={strict,nonstrict,forced} to simulator common run-time options. For v850 use, make the default NONSTRICT_ALIGNMENT.
1997-09-10 * interp.c (sim_resume): poll_quit() at least once per call;Felix Lee1-0/+5
otherwise gdb can loop sim_resume() uninterruptably.
1997-09-05* configure: Regenerated to track ../common/aclocal.m4 changes.David Edelsohn2-71/+307
1997-09-02Support restore-sanitize-sh4 .Joern Rennecke1-1/+1
1997-09-02Comment typo fix.Joern Rennecke1-1/+1
1997-09-02Sanitation fixes.Joern Rennecke1-1/+41
1997-09-02Merge SH4 branch simulator in to devo.Andrew Cagney4-362/+1964
1997-08-27Fix doco on enable-sim-inline.Andrew Cagney1-0/+5
1997-08-27Add ABFD argument to sim_create_inferior. Document.Andrew Cagney2-2/+9
Add file sim-hload.c - generic load for hardware only simulators. Review each simulators sim_open, sim_load, sim_create_inferior so that they more closely match required behavour.
1997-08-26Flush defunct sim_kill.Andrew Cagney2-7/+4
1997-08-25Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney2-4/+40
that image properties such as endianness can be checked. More strongly document the expected behavour of each of the sim_* interfaces. Add default endian argument to simulator config macro SIM_AC_OPTION_ENDIAN. Use in sim_config.
1997-04-24 * tconfig.in: New file.David Edelsohn3-0/+23
* interp.c (sim_open): Handle missing arg to -E.
1997-04-22 * Makefile.in: Add clean targets.Stu Grossman1-0/+4
1997-04-19 * interp.c: Include float.h and define SIGTRAP if _WIN32.Stu Grossman2-2/+19
WIN32 -> _WIN32. * (trap): Do do SYS_chown for _WIN32.
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).