aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
AgeCommit message (Collapse)AuthorFilesLines
2000-08-112000-08-10 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-8/+10
* compile.c (decode): Clean up the code.
2000-07-27* compile.c (decode): Distinguish inc/dec.[wl] and adds/subsAndrew Cagney2-1/+11
correctly.
2000-06-20* build fixFrank Ch. Eigler2-21/+11
2000-06-20 Frank Ch. Eigler <fche@redhat.com> * compile.c: Don't include "wait.h". (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros instead of WIF* from host.
2000-06-13* "Dont" -> "Don't"Frank Ch. Eigler3-2/+6
2000-06-13 Frank Ch. Eigler <fche@redhat.com> * compile.c, writecode.c: Correct typo.
2000-06-132000-06-13 Kazu Hirata <kazu@hxi.com>Jeff Law2-47/+36
* compile.c: Fix formatting.
2000-05-24Change profiling so that it is enabled by default. Re-generate everything.Andrew Cagney2-147/+162
1999-09-09import gdb-1999-09-08 snapshotStan Shebs2-158/+153
1999-05-11import gdb-1999-05-10Stan Shebs2-174/+308
1999-04-26import gdb-19990422 snapshotStan Shebs2-1/+11
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs10-0/+7999
1999-04-16Initial creation of sourceware repositoryStan Shebs11-7802/+0
1998-04-26 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey5-120/+148
* config.in: Ditto. * acconfig.h: New file. * configure.in: Reverted change of Apr 24; use sinclude again.
1998-04-24 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey3-36/+1873
* config.in: Ditto. * configure.in: Don't call sinclude.
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