aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
AgeCommit message (Collapse)AuthorFilesLines
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
1995-07-05* Makefile.in, configure.in: converted to autoconf.J.T. Conklin4-103/+74
* configure: New file, generated with autconf 2.4.
1995-07-01 * compile.c (sim_do_command): New function.Stan Shebs1-0/+4
1995-06-20 * compile.c (get_now): Don't do if win32.Steve Chamberlain2-59/+130
(sim_resume): Poll in win32 too.
1995-05-24Correct typo in all simulator configure.in files other than SH: ../bfdJim Wilson1-1/+1
should be ../../bfd.
1995-03-27* run.c: parse arguments with getopt().J.T. Conklin1-18/+35
1995-02-28fix configuryIan Lance Taylor1-5/+2
1994-05-18 * compile.c: #include "bfd.h".David Edelsohn1-4/+20
(sim_*): Set result type to void where there isn't one. (sim_resume, default case): Set cpu.exception to SIGILL. (sim_trace): Delete. (sim_set_pc): Delete. (sim_info): Delete printf_fn arg, all callers changed. Call printf_filtered. (set_h8300h): New arg `flag', all callers changed. (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-05-14 * compile.c (decode): Fix typo (16 bit branches).David Edelsohn2-482/+569
(*): Some white space clean up.
1993-10-26* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdbDavid Edelsohn3-25/+54
* compile.c: #include "remote-sim.h". (sim_resume): New arg siggnal. (sim_write): Use SIM_ADDR for type of arg addr. Always return a value. (sim_read): Ditto. (sim_store_register): Result is type int. (sim_fetch_register): Ditto. (sim_stop_reason): Renamed from sim_stop_signal. (sim_set_pc): Use SIM_ADDR for type of arg pc. (sim_info): int result, new arg printf_fn. (sim_kill): int result. (sim_open): int result, new arg name. * run.c (main): Use sim_set_pc to set pc. Update call to sim_info.
1993-10-23(sim_stop_signal): Result is now enum sim_stop.David Edelsohn2-2/+29
1993-10-07 * compile.c (sim_set_pc): Write to the pc direcly.Steve Chamberlain2-59/+96
(sim_store_register): Now value is passed by reference. (sim_read, sim_write): Return number of bytes copied.
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-30Deleted.Steve Chamberlain1-98/+0
1993-07-30Add .Sanitize to Things-to-lose list.Fred Fish1-0/+2
1993-07-16Fix bit instructions (was setting destination reg and not carry).David Edelsohn1-10/+10
1993-07-15* compile.c: Reset HMODE back to zero (accidently set it to 1).David Edelsohn2-1/+3
1993-07-15* run.c (main): If h8/300h binary detected, call set_h8300h.David Edelsohn3-23/+28
* compile.c (sim_resume): Fix O_NEG insn.
1993-07-09* run.c (main): Add -h flag to enable h8/300h emulation.David Edelsohn3-20/+61
* compile.c: Rename Hmode to HMODE (consistency with gdb). (set_h8300h): New function. (sim_resume): Add support for extu,exts insns. (sim_resume): Fix logical right shifting. (sim_resume, label alu32): Fix setting of carry flag.
1993-07-04(sim_csize): Initialize cpu.cache.David Edelsohn2-0/+1641
1993-07-03Keep writecode.cSteve Chamberlain1-0/+1
1993-07-03Makefile.in: Add -I../../bfd to pick up bfd.h.David Edelsohn1-0/+34
1993-06-24* run.c (main): Fix parsing of args.David Edelsohn1-9/+4
* compile.c (sim_resume): Fix shll insn.
1993-06-10Checkpoint for dje.Steve Chamberlain1-88/+37
1993-06-08Rewrite for H8/300-HSteve Chamberlain6-415/+130