aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
AgeCommit message (Collapse)AuthorFilesLines
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
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