aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
AgeCommit message (Collapse)AuthorFilesLines
1998-01-31Add config support for the size of the target address and OF cell.Andrew Cagney1-0/+4
1998-01-20* aclocal.m4: Recognize --enable-maintainer-mode.Doug Evans2-43/+96
*/configure: Regenerated.
1997-10-25Correct name of file given in ChangeLog for change: Pass lma_p andAndrew Cagney1-1/+1
sim_write args to sim_load_file.
1997-10-22Add LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().Andrew Cagney2-4/+27
Update all simulators. Clarify behavour of sim_load in remote-sim.h
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-15Update to reflect change to sim/common/aclocal.m4 (allow sim/commonAndrew Cagney1-0/+4
directory to specify its own unqiue config.h file).
1997-09-10 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflictFelix Lee3-2/+13
with sim/common. * configure.in: check for sys/param.h * compile.c: #ifdef HAVE_SYS_PARAM_H. #define SIGTRAP for wingdb. (sim_resume): poll keyboard at least once per call. (sim_resume): use host_callback instead of printf for syscall output.
1997-09-05* configure: Regenerated to track ../common/aclocal.m4 changes.David Edelsohn2-71/+307
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/+19
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-24/+38
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-30 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.David Edelsohn1-0/+8
1997-04-18Ref gdb/11763 - can't stop a running simulator:Andrew Cagney1-0/+5
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 Edelsohn2-55/+181
* compile.c (sim_kind, myname): New static locals. (sim_open): Set sim_kind, myname. (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h. 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/+116
1997-04-02 * compile.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/+34
Update common/aclocal.m4 to better work with sim-config.[hc].
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 * compile.c (sim_open): New SIM_DESC result. Argument is now inDavid Edelsohn1-0/+13
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-113/+1861
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 Edelsohn4-162/+31
(SIM_OBJS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. * configure: Regenerated. * inst.h (enum sim_state): Define. (cpu_state_type): New member `state'. Set it whenever `exception' is set. * compile.c (sim_callback): New global. (sim_set_simcache_size): Renamed from sim_csize. (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out 'cus it can't work. Change main loop exit test to use cpu.state. (sim_trace): New function. (sim_stop_reason): Add right way to set results, but #if 0 out. (sim_size): New function. (sim_info): Redirect calls to printf_filtered through callback. (sim_set_callbacks): Record callback. * run.c: Deleted, using one in ../common now. * tconfig.in: New file.
1996-07-10 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.Jeff Law2-4/+8
1996-07-05No longer need to sanitize away h8s stuff.Jeff Law4-43/+2
1996-07-03 * run.c (main): Don't "load" sections which don't haveJeff Law3-36/+94
SEC_LOAD set. * compile.c (sim_resume, case "O_NOT"): Use ONOT instead of OSHIFTS. (ONOT): Define. (sim_resume, shift/rotate cases): Add support for shift/rotate by two bits. (OSHIFTS): Corresponding changes. Handling more H8/S ops.
1996-07-02 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".Jeff Law2-2/+57
HMSE H8/S.
1996-06-26 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,Jason Molenda2-1/+23
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-06-18 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.Jeff Law2-1/+32
* run.c (main): Treat the H8/S like the H8/300H for now. More sanitize H8/S stuff.
1996-05-23 * compile.c (sim_resume): Correctly handle divu.Jeff Law2-23/+67
More bugfixing. HMSE
1996-04-12 * compile.c (sim_load): Re-allocate memory for the simulatorJeff Law2-0/+38
here. HMSE.
1996-04-12 * compile.c (sim_resume): Fix and simplify overflow and carryJeff Law2-13/+7
handling for 32bit ALU insns.
1996-04-09 * compile.c (sim_resume): Fix overflow checks for ALU insns.Jeff Law2-4/+50
So that int-compare.c passes.
1996-04-06 * compile.c (decode): Use "bit" to hold L_3 immediates insteadJeff Law2-4/+32
of holding them in "abs". Handle ABS8MEM memory references aka 8-bit area. Replace ABSMOV references with ABS8MEM. So we've got a chance of simulating something like btst #0,@40:8 correctly. hmse.
1996-03-11 (sim_resume, shift insns): Fix setting of overflow flag for shal.David Edelsohn2-12/+14
1996-03-11* run.c (main): Print error message if argument is invalid.David Edelsohn1-0/+2
(usage): Improve text.
1996-03-11(main): Print error message if argument is invalid.David Edelsohn1-31/+35
(usage): Improve text.
1996-03-11 * compile.c: #include "wait.h".David Edelsohn2-2/+7
(sim_resume, sleep insn): Check program exit status in r0.
1996-03-11 * compile.c (sim_resume): Watch for calls to abort.David Edelsohn3-10/+83
* run.c: #include <signal.h>. (main): Abort if program got SIGILL.
1995-09-08 * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor2-11/+3
1995-09-08mention new config.in fileIan Lance Taylor1-0/+1
1995-09-08 * configure.in: Call AC_CONFIG_HEADER. Don't try to useIan Lance Taylor5-36/+75
bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR. Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if creating config.h. * configure: Rebuild. * Makefile.in (AR): Define as @AR@. (CC): New variable, defined as @CC@. (CFLAGS): Define as @CFLAGS@. (RANLIB): Define as @RANLIB@. (HDEFINES, TDEFINES): New variables. (@host_makefile_frag@): Remove. (compile.o, run.o): Depend upon config.h. (mostlyclean): Make the same as clean, not distclean. (clean): Remove config.log. (distclean): Remove config.h and stamp-h. (Makefile): Don't depend upon @frags@. Just rebuild Makefile when invoking config.status. (config.h, stamp-h): New targets. * compile.c: Include "config.h". Don't include <sys/times.h>. Include <time.h> and <stdlib.h> if they exist. Don't include "sysdep.h". (get_now): Remove unused local b. * run.c: Include "config.h". Include <stdlib.h> if it exists. Don't include "sysdep.h". * writecode.c: Don't include "bfd.h" or "sysdep.h". Include <stdio.h>.
1995-07-05* h8300.mt: Removed.J.T. Conklin3-5/+2