Commit graph

3004 commits

Author SHA1 Message Date
Steve Chamberlain
28655f000c * compile.c (sim_set_pc): Write to the pc direcly.
(sim_store_register): Now value is passed by reference. (sim_read,
	sim_write): Return number of bytes copied.
1993-10-07 23:25:14 +00:00
K. Richard Pixley
becbe1c328 do not echo recursion lines 1993-09-13 19:49:33 +00:00
Fred Fish
b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Steve Chamberlain
f412eb92fe Configure for h8300h too. 1993-08-02 21:19:38 +00:00
Steve Chamberlain
73e77bc3da Deleted. 1993-07-30 17:46:09 +00:00
Fred Fish
775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
David Edelsohn
f853f4ca53 Fix bit instructions (was setting destination reg and not carry). 1993-07-16 20:26:05 +00:00
David Edelsohn
56390ce8d4 * compile.c: Reset HMODE back to zero (accidently set it to 1). 1993-07-15 17:04:39 +00:00
David Edelsohn
cf5b4aa63a * run.c (main): If h8/300h binary detected, call set_h8300h.
* compile.c (sim_resume): Fix O_NEG insn.
1993-07-15 17:01:40 +00:00
David Edelsohn
89a2c4fdaa * run.c (main): Add -h flag to enable h8/300h emulation.
* 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-09 21:42:02 +00:00
Steve Chamberlain
1a11e53014 * run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.
1993-07-06 17:31:34 +00:00
David Edelsohn
ce51bde687 (sim_csize): Initialize cpu.cache. 1993-07-04 07:37:45 +00:00
Steve Chamberlain
56fc37746d Keep writecode.c 1993-07-03 01:45:45 +00:00
David Edelsohn
f7e3d580dc Makefile.in: Add -I../../bfd to pick up bfd.h. 1993-07-03 00:43:59 +00:00
Steve Chamberlain
f6fba99573 Checkpoint. 1993-06-24 20:52:58 +00:00
David Edelsohn
1835992e85 * run.c (main): Fix parsing of args.
* compile.c (sim_resume): Fix shll insn.
1993-06-24 20:43:41 +00:00
Steve Chamberlain
e615309a0b Look in the right place for bfd.h 1993-06-18 22:16:32 +00:00
Steve Chamberlain
ebd7d72e33 New file for configuring. 1993-06-18 21:24:00 +00:00
Steve Chamberlain
fdc506e668 Lint. 1993-06-18 20:53:58 +00:00
Steve Chamberlain
90fe361fdc * gencode.c: Fix some opcodes.
* interp.c: Support for profiling and portability fixes.
	* run.c (main): Get profiling args.
1993-06-18 01:31:54 +00:00
Jim Kingdon
68dd30141d * Makefile.in: Add distclean, realclean, and mostlyclean targets. 1993-06-13 20:11:10 +00:00
Steve Chamberlain
ce38539a45 Checkpoint for dje. 1993-06-10 20:38:39 +00:00
Steve Chamberlain
a2ca98b6bb Obsolete. 1993-06-08 21:38:42 +00:00
Steve Chamberlain
7ecaa5af33 Rewrite for H8/300-H 1993-06-08 21:16:33 +00:00
Steve Chamberlain
1cec8dae68 Support for -v 1993-06-01 18:20:29 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Ian Lance Taylor
30947f7efc * Makefile.in (check, installcheck): Added dummy targets. 1993-05-21 17:55:36 +00:00
David D. Zuhn
b23eaace23 add no-op dvi target 1993-05-21 17:41:21 +00:00
Steve Chamberlain
5e1ac26014 Support for broken makes and lint. 1993-05-03 22:27:41 +00:00
Steve Chamberlain
ad5fcc6248 (endian): Add explicit rule for broken makes. 1993-05-03 15:29:55 +00:00
Steve Chamberlain
a86ea03fc2 Support for the SH 1993-04-27 02:20:07 +00:00
Steve Chamberlain
594266fc8a New stuff for SH. 1993-04-27 01:02:38 +00:00
Steve Chamberlain
56a3fc33c9 Sanitize out empty direcories 1993-04-20 19:39:51 +00:00
Steve Chamberlain
a66ad4b239 add h8500 directory 1993-03-29 21:23:15 +00:00
Ian Lance Taylor
6deb169cc8 * h8300.mt (DO_INSTALL): Renamed from INSTALL. 1993-03-15 23:49:48 +00:00
Steve Chamberlain
83a4c26f54 Add ChangeLog to kept things 1993-03-03 23:08:41 +00:00
Steve Chamberlain
18079b9e6f Found trying to compile on ok.
* Makefile.in: Don't use cb or indent
	* p1.c, state.h, writecode.c: lint
1993-03-03 23:07:53 +00:00
Steve Chamberlain
ea6bbfba0a Copyright change 1993-02-11 22:54:38 +00:00
K. Richard Pixley
7413f20a5e build endian.h via a temporary file so that we don't leave an
incomplete file lying around on interrupted builds.
1993-02-11 03:15:39 +00:00
Steve Chamberlain
67c9903f93 * Makefile.in, configure.in: if target isn't supported, build a
harmless makefile.
support for make clean
1993-02-08 19:47:11 +00:00
Steve Chamberlain
47dba87afa * Makefile.in, configure.in: if target isn't supported, build a
harmless makefile.
1993-02-08 19:46:59 +00:00
Steve Chamberlain
55538130c9 Remember about Makefile.in 1993-02-04 18:45:23 +00:00
Steve Chamberlain
e856060f53 These should be in too 1993-02-04 15:53:49 +00:00
Steve Chamberlain
b0c9f02613 New simulator tree structure 1993-02-04 00:22:22 +00:00
John Gilmore
6a467dd255 Add perifs.c and state.h; elim extraneous output. 1993-02-03 09:01:53 +00:00
John Gilmore
a082325bd2 * Makefile.in: Make SunOS halfdone VPATH work.
* p1.c:  Lint picked up by HP native compiler.
1993-02-02 00:45:59 +00:00
Steve Chamberlain
2c320e3598 fix endian problem 1993-01-21 01:33:20 +00:00
Steve Chamberlain
69488a770a new file 1993-01-18 21:32:32 +00:00
Steve Chamberlain
62b66d6df1 checkpoint 1993-01-18 20:24:47 +00:00
Steve Chamberlain
06137fcb39 * p{1,3}.c (sim_resume): when running on dos, any character typed to
the keyboard will cause a simulated exception.
1993-01-04 20:55:22 +00:00
Steve Chamberlain
4d53c4e361 Now works in a cross build environment 1993-01-04 15:45:35 +00:00
Steve Chamberlain
f53974be00 Allow srcdir builds 1993-01-04 01:55:53 +00:00
Steve Chamberlain
191395156c * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
running
1993-01-03 22:19:42 +00:00
Steve Chamberlain
a154eea78c H8/300 simulator 1992-12-22 21:59:06 +00:00