summaryrefslogtreecommitdiff
path: root/sim/h8300
Commit message (Collapse)AuthorAgeFilesLines
* import gdb-1999-09-08 snapshotStan Shebs1999-09-092-158/+153
|
* import gdb-1999-05-10Stan Shebs1999-05-112-174/+308
|
* import gdb-19990422 snapshotStan Shebs1999-04-262-1/+11
|
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-1610-0/+7999
|
* Initial creation of sourceware repositoryStan Shebs1999-04-1611-7802/+0
|
* * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey1998-04-265-120/+148
| | | | | | * config.in: Ditto. * acconfig.h: New file. * configure.in: Reverted change of Apr 24; use sinclude again.
* * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey1998-04-243-36/+1873
| | | | | * config.in: Ditto. * configure.in: Don't call sinclude.
* Add config support for the size of the target address and OF cell.Andrew Cagney1998-01-311-0/+4
|
* * aclocal.m4: Recognize --enable-maintainer-mode.Doug Evans1998-01-202-43/+96
| | | | */configure: Regenerated.
* Correct name of file given in ChangeLog for change: Pass lma_p andAndrew Cagney1997-10-251-1/+1
| | | | sim_write args to sim_load_file.
* Add LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().Andrew Cagney1997-10-222-4/+27
| | | | | Update all simulators. Clarify behavour of sim_load in remote-sim.h
* Remove need to update <targ>/Makefile.in when adding optional optionsAndrew Cagney1997-09-232-39/+125
| | | | | to <targ>/configure.in. Simplify logic used to select target [default] endianness.
* Simplify logic behind the generic configuration option --enable-sim-alignment.Andrew Cagney1997-09-221-0/+4
|
* Add support for --enable-sim-alignment to simulator common aclocal.m4Andrew Cagney1997-09-221-0/+8
| | | | | | Add support for --alignment={strict,nonstrict,forced} to simulator common run-time options. For v850 use, make the default NONSTRICT_ALIGNMENT.
* Update to reflect change to sim/common/aclocal.m4 (allow sim/commonAndrew Cagney1997-09-151-0/+4
| | | | directory to specify its own unqiue config.h file).
* * inst.h (sim_state): rename to h8300_sim_state, to avoid conflictFelix Lee1997-09-103-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.
* * configure: Regenerated to track ../common/aclocal.m4 changes.David Edelsohn1997-09-052-71/+307
|
* Fix doco on enable-sim-inline.Andrew Cagney1997-08-271-0/+5
|
* Add ABFD argument to sim_create_inferior. Document.Andrew Cagney1997-08-272-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.
* Flush defunct sim_kill.Andrew Cagney1997-08-262-7/+4
|
* Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney1997-08-252-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.
* * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.David Edelsohn1997-04-301-0/+8
|
* Ref gdb/11763 - can't stop a running simulator:Andrew Cagney1997-04-181-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).
* * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn1997-04-172-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.
* Get configure to define RETSIGTYPEAndrew Cagney1997-04-072-187/+116
|
* * compile.c (sim_open): New arg `kind'.David Edelsohn1997-04-021-0/+2
|
* * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.David Edelsohn1997-04-022-132/+281
| | | | | | (sim-debug): Allow arguments. Define WITH_DEBUG in addition to -DDEBUG. * configure: Regenerated to track ../common/aclocal.m4 changes.
* New file common/sim-config.c sets/checks simulator configuration options.Andrew Cagney1997-04-022-46/+34
| | | | Update common/aclocal.m4 to better work with sim-config.[hc].
* * configure: Re-generate.Andrew Cagney1997-03-172-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.
* Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the ↵Michael Meissner1997-03-142-302/+63
| | | | system call trap, keeping 0 temporarily
* * compile.c (sim_open): New SIM_DESC result. Argument is now inDavid Edelsohn1997-03-131-0/+13
| | | | | argv form. (other sim_*): New SIM_DESC argument.
* * Makefile.in (@COMMON_MAKEFILE_FRAG): UseDavid Edelsohn1997-02-041-1/+2
| | | | | | COMMON_{PRE,POST}_CONFIG_FRAG instead. * configure.in: sinclude ../common/aclocal.m4. * configure: Regenerated.
* * ../common/aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s inStu Grossman1997-01-241-2/+2
| | | | comments and single quotes. Fixes a problem found on hpux.
* * configure: Remove targ-vals.def when doing distclean. (ChangeStu Grossman1997-01-241-1/+1
| | | | is actually in ../common/aclocal.m4.)
* * configure: Remove Make-common.in from dependencies. (Actually inStu Grossman1997-01-241-1/+1
| | | | ../common/aclocal.m4).
* * configure configure.in Makefile.in: Update to new configureStu Grossman1997-01-234-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.
* * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn1996-11-204-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.
* * compile.c (sim_resume): Fix all rotate-by-2-bits insns.Jeff Law1996-07-102-4/+8
|
* No longer need to sanitize away h8s stuff.Jeff Law1996-07-054-43/+2
|
* * run.c (main): Don't "load" sections which don't haveJeff Law1996-07-033-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.
* * compile.c (sim_resume): Handle "ldm.l" and "stm.l".Jeff Law1996-07-022-2/+57
| | | | HMSE H8/S.
* * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,Jason Molenda1996-06-262-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.
* * compile.c (sim_load): Treat the H8/S like the H8/300H for now.Jeff Law1996-06-182-1/+32
| | | | | | * run.c (main): Treat the H8/S like the H8/300H for now. More sanitize H8/S stuff.
* * compile.c (sim_resume): Correctly handle divu.Jeff Law1996-05-232-23/+67
| | | | More bugfixing. HMSE
* * compile.c (sim_load): Re-allocate memory for the simulatorJeff Law1996-04-122-0/+38
| | | | | here. HMSE.
* * compile.c (sim_resume): Fix and simplify overflow and carryJeff Law1996-04-122-13/+7
| | | | handling for 32bit ALU insns.
* * compile.c (sim_resume): Fix overflow checks for ALU insns.Jeff Law1996-04-092-4/+50
| | | | So that int-compare.c passes.
* * compile.c (decode): Use "bit" to hold L_3 immediates insteadJeff Law1996-04-062-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.
* (sim_resume, shift insns): Fix setting of overflow flag for shal.David Edelsohn1996-03-112-12/+14
|
* * run.c (main): Print error message if argument is invalid.David Edelsohn1996-03-111-0/+2
| | | | (usage): Improve text.