Commit graph

311 commits

Author SHA1 Message Date
Michael Meissner
4220dcd698 checkpoint ppc simulator 1995-11-17 19:17:58 +00:00
Michael Meissner
84bbbc3577 Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success 1995-11-16 21:42:27 +00:00
Michael Meissner
867b71685a fix bug in last checkin 1995-11-16 19:25:47 +00:00
Michael Meissner
845ff5a45f more functional unit changes 1995-11-16 19:02:52 +00:00
Michael Meissner
acb06d3040 Add option to make options inline 1995-11-15 23:01:47 +00:00
Michael Meissner
80948f392b More model specific changes 1995-11-15 22:53:59 +00:00
Stu Grossman
fe2f8313f0 * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts
actually uses pr+0.
1995-11-15 00:47:21 +00:00
Stu Grossman
9999417ef6 * gencode.c: jsr actually saves pc+4, and rts actually uses pr+0. 1995-11-14 23:42:22 +00:00
Michael Meissner
39c324612d make inline model use static when inlining. 1995-11-14 11:34:01 +00:00
Michael Meissner
f35df46cc3 make inline model use static when inlining. 1995-11-14 11:25:34 +00:00
Michael Meissner
fe439e0f18 fix more warnings 1995-11-14 10:52:24 +00:00
Michael Meissner
ac79ccd41d Fix warnings and dependency 1995-11-14 09:52:29 +00:00
Michael Meissner
1dc7c0ed84 checkpoint 1995-11-13 16:07:30 +00:00
Michael Meissner
eb4ef19775 Add model-functions support 1995-11-13 01:27:21 +00:00
Michael Meissner
28816f45f5 Add support for setting model name and other things 1995-11-12 14:20:39 +00:00
Michael Meissner
c05c182dd6 Various changes 1995-11-12 02:06:11 +00:00
Michael Meissner
d587782c78 fix typo 1995-11-11 12:30:17 +00:00
Michael Meissner
813ad010f6 Check for files in the source directory, not the build directory 1995-11-11 01:11:31 +00:00
Michael Meissner
a31140524a Tons of changes to allow model specific information in the instruction file. 1995-11-10 22:49:05 +00:00
Michael Meissner
b51e5b4f6e If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2. 1995-11-10 11:41:58 +00:00
Michael Meissner
e218c1be05 Add comment about enabing PowerPC simulator 1995-11-10 11:38:13 +00:00
Michael Meissner
f7c22f27af fix typo 1995-11-10 11:27:14 +00:00
Michael Meissner
f50dc1050d Add --enable-sim-powerpc support. 1995-11-09 22:44:47 +00:00
Michael Meissner
2bc7869d54 Obey --silent 1995-11-09 21:38:13 +00:00
Michael Meissner
6f07ee29f3 Get CC, etc. vars from configure; build ppc simulator if we are using GCC 1995-11-09 21:23:36 +00:00
Michael Meissner
23a994eee6 fix typo 1995-11-09 19:51:34 +00:00
Michael Meissner
ba62bb1c74 Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set 1995-11-09 19:50:51 +00:00
Michael Meissner
c5addc193d General cleanup; add -t options support to print all options 1995-11-09 02:35:15 +00:00
Michael Meissner
73c4941b23 first stage in function unit support; add new switches & latest code from andrew 1995-11-08 18:57:06 +00:00
Jackie Smith Cashion
595a6ec337 * configure.in (mips*-*-*): Added "mips" simulator target.
* configure: Re-generated.
1995-11-08 15:48:59 +00:00
Jackie Smith Cashion
8ad5773724 Initial check-in of the MIPS simulator. Work still needs to be done on
the run-time support code (interp.c) to provide better tracing, and
also to add profiling and architecture specific support. At the moment
the simulator has a fixed size, fixed address memory area, and
simulates a subset of the IDT monitor calls (enough to execute test
programs).

The other major feature (could even be a bug) is that the simulator
makes use of the GCC "long long" extension. Work has been started to
make this a build configuration option... but there is still a lot of
this to be done.
1995-11-08 15:44:38 +00:00
Michael Meissner
bea9581508 Remove references to config.make/config.hdr 1995-11-07 02:58:35 +00:00
Michael Meissner
0934e52021 delete unused files 1995-11-06 15:40:26 +00:00
Michael Meissner
4dcb0cdda6 Small changes from Andrew 1995-11-06 15:37:43 +00:00
Fred Fish
01860b7ed1 * core.c: Rename to corefile.c
* core.h:  Rename to corefile.h
	* inline.c: Include corefile.h, renamed from core.h.
	* cpu.h: Include corefile.h, renamed from core.h
	* vm.c: Include corefile.h, renamed from core.h
	* Makefile.in (CPU_H): Change core.h to corefile.h
	(vm.o):  Change dependency to corefile.h
	(LIB_SRC): Change core.c to corefile.c.
	(LIB_OBJ): Change core.o to corefile.o.
	(corefile.o):  Change dependencies to corefile.c, corefile.h.
	* corefile.c: Include corefile.h rather than core.h
	* README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
	references.
1995-11-05 05:40:15 +00:00
Michael Meissner
056e975cfe Add 2 config flags that were missing; make data cache instructions be nops 1995-11-03 19:37:28 +00:00
Michael Meissner
b3737d33ea Fix typo in last changes 1995-11-03 03:55:44 +00:00
Michael Meissner
e61900e6a2 Update dependencies; Fix multiple options in --enable-sim-cflags 1995-11-03 03:39:27 +00:00
Michael Meissner
c494cadde6 Use autoconf correctly; provide more stats with -I 1995-11-02 20:21:35 +00:00
Michael Meissner
7ff82a593d Add ppc-opcode-stupid 1995-11-02 14:28:10 +00:00
Michael Meissner
a983c8f080 Andrew's latest changes & print all instruction counts if -I 1995-11-02 14:27:18 +00:00
Michael Meissner
c143ef6296 Lots of changes 1995-11-01 19:32:38 +00:00
Michael Meissner
4ac24d7673 remove extra #endif 1995-11-01 03:25:04 +00:00
Michael Meissner
5281197d1e fix typo in last change 1995-11-01 03:02:04 +00:00
Michael Meissner
5d0e859038 map , to spaces in --enable-sim-cflags 1995-10-31 20:59:19 +00:00
Michael Meissner
4b935ed4a4 Add various switches to control how the simulator is built 1995-10-31 20:24:41 +00:00
Michael Meissner
5b4d72dd73 New changes from Andrew 1995-10-31 18:29:37 +00:00
Michael Meissner
e89929cd79 Delete *.i and *.out files for clean 1995-10-26 18:10:13 +00:00
Michael Meissner
22ddef466e Fix SWAP_8 and optimize it; print out the failing address if a signal is issued for non-gdb runs 1995-10-26 16:43:00 +00:00
Jim Wilson
3be50301d5 Fix SH simulator to handle program exit correctly. 1995-10-22 20:22:02 +00:00
Jim Wilson
99e6fd41ea Indicate SIGILL instead of calling abort for default case. 1995-10-21 21:38:40 +00:00
Fred Fish
64415b767b *** empty log message *** 1995-10-20 16:16:18 +00:00
Michael Meissner
5b0d3b1490 Move counting of instructions into the semantic routines. 1995-10-16 21:36:01 +00:00
Michael Meissner
9aa8a78839 Speedups from Andrew 1995-10-16 20:17:35 +00:00
Steve Chamberlain
a325a02e36 Add sim_set_callbacks. 1995-10-13 22:06:30 +00:00
Michael Meissner
a1fe883fd0 Rename trace to ppc_trace; Remove extra static. 1995-10-13 14:01:32 +00:00
Michael Meissner
9f5912cb98 Format #instructions with commas 1995-10-13 01:10:06 +00:00
Michael Meissner
a8958dd48b Performance tweaks 1995-10-12 21:49:37 +00:00
Michael Meissner
8e20a3ac82 Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug 1995-10-12 15:48:22 +00:00
Michael Meissner
dec38daceb October 11th changes from Andrew 1995-10-11 20:17:49 +00:00
Fred Fish
479fc045cd * Makefile.in (BISONFLAGS): Remove macro. 1995-10-10 20:37:09 +00:00
Peter Schauer
23de525f42 * configure.in: Explicitly `exit 0' for broken shells.
* configure:  Rebuilt.
1995-10-08 11:27:49 +00:00
Michael Meissner
f46f380706 Add set_sim_callbacks new needed by gdb. 1995-10-08 02:42:39 +00:00
Michael Meissner
7ca054e88e Print exit status/signal number if -I 1995-10-06 21:23:35 +00:00
Jim Wilson
0e1815de9d * interp.c (callback): Remove last change. It is initialized by
a sim_set_callbacks call.
1995-10-06 19:15:06 +00:00
Jim Wilson
437fb926e6 * interp.c (trap, case SYS_utime): Cast second arg of utime to
void * to avoid compiler error.
1995-10-06 19:13:13 +00:00
Jim Wilson
6834d4935c * common/run.c (main): Initialize the callbacks. 1995-10-06 19:05:40 +00:00
Steve Chamberlain
f025d903c2 new file. 1995-10-05 21:23:43 +00:00
Steve Chamberlain
28920b9dbb * interp.c (callback): Initialize to default callback. 1995-10-05 21:14:21 +00:00
Jason Molenda
e635c16ecb revert to stock autoconf 2.4 configure scripts. 1995-10-03 20:31:16 +00:00
Stan Shebs
3994972d62 No ChangeLog to keep. 1995-10-03 01:50:49 +00:00
Michael Meissner
8b57093d33 Add # in front of CPU number 1995-10-02 18:33:17 +00:00
Michael Meissner
e1aaf97993 update usage message 1995-10-02 18:21:46 +00:00
Michael Meissner
344d5a23f7 fix typo 1995-10-02 18:20:04 +00:00
Michael Meissner
83d96c6e3e Add support to count the number of instructions issued. 1995-10-02 18:19:17 +00:00
Michael Meissner
8eab189bce Add switch processing in gdb. 1995-10-02 15:47:57 +00:00
Michael Meissner
d8d46596e6 Match standalone printf_filtered to gdb prototype. 1995-10-01 17:54:45 +00:00
Michael Meissner
9d3b470184 Fix prototype. 1995-10-01 00:48:15 +00:00
Steve Chamberlain
6018179603 keep common directory. 1995-09-30 00:44:21 +00:00
Steve Chamberlain
7bf1bbbc92 Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com>
* run.c, run.1: From sh directory.
1995-09-28 22:42:28 +00:00
Steve Chamberlain
c966ea3a50 Thu Sep 28 15:26:59 1995 steve chamberlain <sac@slash.cygnus.com>
* run.c: Moved to ../common.
	* interp.c (trap): Use gdb's callback interface.
	* Makefile.in: Updated.
1995-09-28 22:39:36 +00:00
Michael Meissner
8b89f5aa47 Default stack creation; fixup last change. 1995-09-21 22:50:23 +00:00
Michael Meissner
4f35cbffa6 enhance OEA behavior. 1995-09-21 22:23:56 +00:00
Ian Lance Taylor
602677ad44 add maintainer-clean Makefile targets 1995-09-20 17:38:13 +00:00
Steve Chamberlain
5897a29e88 * run.c (sim_callback_write_stdout): New.
* interp.c (trap): Call sim_callback_write_stdout when needed.
1995-09-20 16:52:52 +00:00
Steve Chamberlain
e9aea0b33e Mon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com>
* interp.c (trap): Remove useless code.

Fri Sep 15 19:30:05 1995  steve chamberlain  <sac@slash.cygnus.com>

	* syscall.h: Copy from newlib.
1995-09-19 01:47:35 +00:00
Stu Grossman
95295b419c * gencode.c: Back up PC by 2 for breakpoints.
* interp.c:  Move fp regs beyond pc/pr/etc to avoid confusing GDB,
	which expect pc to immediatly follow regs[].
1995-09-15 02:36:10 +00:00
Michael Tiemann
0384d2e3df Sun Sep 10 10:23:56 1995 Michael Tiemann <tiemann@axon.cygnus.com>
* registers.c (register_description): Add gdb synonyms for cr
	(cnd) and msr (ps).
1995-09-10 17:33:54 +00:00
Michael Meissner
d8f994b2dc fix typo. 1995-09-10 03:44:58 +00:00
Michael Meissner
8b3797aa18 Update to new config scheme 1995-09-08 23:56:38 +00:00
Ian Lance Taylor
fe7ec1d0a2 * Makefile.in (install): Don't install in $(tooldir). 1995-09-08 18:33:23 +00:00
Ian Lance Taylor
21852576ff * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
* configure: Rebuild.
	* Makefile.in (INSTALL): Revert to using install.sh.
	(INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
	(INSTALL_XFORM, INSTALL_XFORM1): Restore.
	(CC_FOR_BUILD): Restore.
	(gencode): Build using $(CC_FOR_BUILD).
	(install): Don't install in $(tooldir).
1995-09-08 18:32:37 +00:00
Ian Lance Taylor
c64dfabd07 * configure.in: Remove AC_PROG_INSTALL.
* configure: Rebuild.
	* Makefile.in (INSTALL): Revert to using install.sh.
	(INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
	(INSTALL_XFORM, INSTALL_XFORM1): Restore.
	(mostlyclean): Make the same as clean, not distclean.
	(clean): Remove config.log.
	(install): Don't install in $(tooldir).
1995-09-08 18:29:22 +00:00
Ian Lance Taylor
b6de8f6a08 * configure.in: Convert to use autoconf.
* configure: New file, built by autoconf.
	* acconfig.h: New file.
	* config.in: New file, built by autoheader.
	* Makefile.in: Various changes for new configure script.  Also:
	(INSTALL): Go up two levels, not one.
	(ALLOCA, MALLOC, OPCODES): Remove.
	(gencode): Use $(CC_FOR_BUILD).
	(case.o): Remove.
	(run.o, interp.o): Depend upon config.h.
	* interp.c: Include "config.h".  Don't include "sysdep.h".
	Include <stdlib.h>, <time.h>, and <unistd.h> if they exist.
	* run.c: Include "config.h".  Don't include "sysdep.h".  Include
	<stdlib.h> if it exists.  Include "getopt.h".  Declare printf if
	necessary.
1995-09-08 18:07:02 +00:00
Ian Lance Taylor
247d4fb1af mention new config.in file 1995-09-08 16:34:48 +00:00
Ian Lance Taylor
0743b4ac29 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
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-09-08 16:26:41 +00:00
Michael Meissner
4f965b817e Do not include sysdep.h, bfd no longer provides it 1995-09-08 13:59:49 +00:00
J.T. Conklin
c632873c27 (Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
(CC, CFLAGS, AR, RANLIB): Likewise.
(HDEFINES, TDEFINES): Define.
(CC_FOR_BUILD): Delete.
(host_makefile_frag): Delete.
(Makefile): Don't depend on frags.
* configure.in (sysdep.h): Don't create symlink.
(host_makefile_frag, frags): Deleted.
(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
* configure: Regenerated.
1995-09-07 22:07:47 +00:00
David Edelsohn
24691f5599 (Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
	* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
	(CC, CFLAGS, AR, RANLIB): Likewise.
	(HDEFINES, TDEFINES): Define.
	(CC_FOR_BUILD): Delete.
	(host_makefile_frag): Delete.
	(Makefile): Don't depend on frags.
	* configure.in (sysdep.h): Don't create symlink.
	(host_makefile_frag, frags): Deleted.
	(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
	* configure: Regenerated.
1995-09-07 19:08:15 +00:00
Michael Meissner
c464ba6669 Fix brk system call. 1995-09-06 14:00:16 +00:00
Jeff Law
1fc210a78b * Makefile.in (run): Link in math library too. 1995-08-31 04:22:57 +00:00
Jeff Law
c1bce9f662 * interp.c (FPSCR, FPUL): Define.
(struct save_state): Add fields for floating point registers,
	FPSCR and FPUL.
	(sim_resume): Add 'F' for accessing floating point registers
	in the save state structure.
	* gencode.c: Add sh3e opcodes.
	(gensym): Define a buffer for int<->fp conversions.

First cut at simulating sh3e instructions.  Basic stuff should work;
instructions using fpul and fpscr are completely untested...  Sanitized
away for now (sh3e).
1995-08-31 04:21:32 +00:00
Jeff Law
2ca7c3c417 * gencode.c (gensim): abort if an unknown opcode is encountered. 1995-08-31 04:07:00 +00:00
Michael Meissner
13ba8b6927 Only build PowerPC simulator if target is powerpc*-*-eabisim 1995-08-25 16:05:32 +00:00
Michael Meissner
cb7a68927a Add PowerPC simulator from Andrew Cagney <cagney@highland.com.au> 1995-08-23 21:06:36 +00:00
Jim Wilson
f2d1b56f40 For Sega/Hitachi, when simulator exits, check to see if it was because
of a signal.
1995-08-12 01:03:16 +00:00
Fred Fish
605b7789b1 Document FSF address updating of all files with FSF addresses,
except for the COPYING* files.
1995-08-03 18:42:27 +00:00
Fred Fish
07edac884e Remove Sanitize reference. 1995-08-03 17:07:55 +00:00
Fred Fish
6c9638b444 Update FSF address. 1995-08-02 03:41:12 +00:00
J.T. Conklin
80c5739dbe forgot to check this in 1995-07-05 23:51:30 +00:00
J.T. Conklin
982744ff4c * Makefile.in, configure.in: converted to autoconf.
* configure: New file, generated with autconf 2.4.
1995-07-05 23:39:33 +00:00
J.T. Conklin
4f3547f172 * Makefile.in (distclean, mostlyclean, realclean): Remove autoconf files. 1995-07-05 23:36:48 +00:00
J.T. Conklin
e58104714a * w65.mt: Removed. 1995-07-05 23:19:07 +00:00
J.T. Conklin
d1709457d9 * arm.mt: Removed. 1995-07-05 23:18:25 +00:00
J.T. Conklin
ee0eaaefde * sh.mt: Removed. 1995-07-05 23:17:43 +00:00
J.T. Conklin
8b40f60829 * h8300.mt: Removed. 1995-07-05 23:16:38 +00:00
J.T. Conklin
437ba769b3 * Makefile.in (all, clean, distclean, mostlyclean, realclean,
install): Changed targets so that they descend all
  subdirectories in $(SUBDIRS).
  (*-all, *-clean, *-install): Removed targets.

* configure.in: Don't bother with target makefile fragments, they
  are no longer needed.
* configure: regenerated.
1995-07-05 23:10:29 +00:00
J.T. Conklin
1ffd292be6 * Makefile.in, configure.in: converted to autoconf.
* configure: New file, generated with autconf 2.4.
1995-07-05 22:54:10 +00:00
Stan Shebs
8e968e86d4 * interp.c (sim_open): If argument supplied, interpret as
desired memory size.
	(parse_and_set_memory_size): New function.
	(sim_do_command): New function.
1995-07-01 00:01:19 +00:00
Stan Shebs
94d1ac891b * compile.c (sim_do_command): New function. 1995-07-01 00:00:12 +00:00
Stan Shebs
1a0e5dd043 * wrapper.c (sim_do_command): New function. 1995-06-30 23:59:46 +00:00
Fred Fish
7427b968f3 * interp.c: (SYS_wait): Define as SYS_wait4 if available and
SYS_wait is not already defined (SunOS 4.1.3 for example).
	(SYS_utime): Define as SYS_utimes if available and
	SYS_utime is not already defined.
1995-06-29 17:15:30 +00:00
Steve Chamberlain
32a9989d68 * interp.c: Don't include sys/times.h or sys/param.h 1995-06-23 00:26:40 +00:00
Steve Chamberlain
edf6a84356 * interp.c: (SIGBUS, SIGTERM): Define if not.
(sim_memory_size): default to 2^19 on PCs.
	(sim_resume): Poll for quits on win32.
1995-06-21 22:05:47 +00:00
Steve Chamberlain
7478904c77 * compile.c (get_now): Don't do if win32.
(sim_resume): Poll in win32 too.
1995-06-20 23:21:23 +00:00
Steve Chamberlain
5cb74cfef5 * armos.c (ARMul_OSHandleSWI): New version to work with
newlib simply.
1995-06-13 17:57:26 +00:00
Steve Chamberlain
c8aea29bd6 * run.c (main): Grab return value from right register. 1995-06-08 21:37:35 +00:00
Jim Wilson
856253d4d8 Unsanitize SH3 support. 1995-05-25 00:00:03 +00:00
Jim Wilson
4cea100d33 Correct typo in all simulator configure.in files other than SH: ../bfd
should be ../../bfd.
1995-05-24 23:38:06 +00:00
Steve Chamberlain
d32033ad35 Wed May 24 14:48:46 1995 Steve Chamberlain <sac@slash.cygnus.com>
* Makefile.in: Support ARM.
	* configure.in: Ditto.
1995-05-24 21:49:24 +00:00
Steve Chamberlain
2494eaf6fd Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
* New.
1995-05-24 21:45:01 +00:00
Steve Chamberlain
a43b22b577 Wed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>
* gencode.c (tab): Add bsrf and braf.
1995-05-24 21:14:40 +00:00
Jason Molenda
5887848eb4 * configure.in: use ../../bfd/hosts/std-host.h, not
../bfd/hosts/std-host.h (which doesn't exist).
1995-04-24 22:10:32 +00:00
J.T. Conklin
057af5c96c * run.c: parse arguments with getopt(). 1995-03-27 18:49:58 +00:00
Ian Lance Taylor
f7ce03e552 fix configury 1995-02-28 22:34:21 +00:00
Ian Lance Taylor
35680553b1 Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
* configure.in: Use ../../bfd/hosts/std-host.h if specific
	host unavailable.
1995-02-28 19:16:40 +00:00
Torbjorn Granlund
0fb39e84f9 Changes for PR 6203. 1995-01-22 22:12:59 +00:00
Torbjorn Granlund
acae2683a9 Fix for PR 6200 (SUBC problems). 1995-01-19 13:59:13 +00:00
Steve Chamberlain
4a5947d010 * Makefile.in: Support W65.
* configure.in: Ditto.
1995-01-16 01:47:43 +00:00
Steve Chamberlain
26aef5db38 new files. 1995-01-16 01:47:04 +00:00
Steve Chamberlain
6c19c2efe3 * Makefile.in: Support W65.
* configure.in: Ditto.
1995-01-16 00:55:22 +00:00
Steve Chamberlain
321a78a5a0 New files. 1995-01-16 00:53:05 +00:00
Stu Grossman
a42b1d054c * interp.c: Remove def of INLINE. This comes from bfd.h. Also,
declare IOMEM before using it.
1995-01-09 23:46:03 +00:00
Steve Chamberlain
4d0be1f5d4 * interp.c (BUSERROR): New macro.
([r|w][bwl]at[little|big]) New functions.
	(sim_resume): If GO32 check for interrupt every now
	and again.  Decrement PC if SIGBUS seen.
	* run.c (main):  Return result of simulated _exit.
1994-12-29 05:28:20 +00:00
Steve Chamberlain
d2fd61a812 * interp.c ([wr][bwl]at): New functions.
(trap): Cope with both byte modes.
1994-11-24 05:33:47 +00:00
Steve Chamberlain
0a24010060 Specify the file type. 1994-06-28 01:05:38 +00:00
Steve Chamberlain
3d3e5651cf * interp.c (trap): Fix irix incompatibility.
* run.c (main): open without specifying file type.
1994-05-27 02:06:14 +00:00
David Edelsohn
fe031f82c4 * interp.c (sim_*): Make result void where there isn't one.
(sim_set_pc): Delete.
	(sim_info): Delete printf_fn arg, all callers changed.
	Call printf_filtered instead.
	(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-18 21:37:08 +00:00
David Edelsohn
3a1d485df5 * compile.c: #include "bfd.h".
(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-18 20:55:12 +00:00
David Edelsohn
0693d363df * compile.c (decode): Fix typo (16 bit branches).
(*): Some white space clean up.
1994-05-14 01:36:52 +00:00