Commit Graph

115 Commits

Author SHA1 Message Date
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 94d1ac891b * compile.c (sim_do_command): New function. 1995-07-01 00:00:12 +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
David Edelsohn 0693d363df * compile.c (decode): Fix typo (16 bit branches).
(*): Some white space clean up.
1994-05-14 01:36:52 +00:00
David Edelsohn a415cf0a77 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
* 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-26 17:01:03 +00:00
David Edelsohn 7db9345b40 (sim_stop_signal): Result is now enum sim_stop. 1993-10-23 22:03:52 +00:00
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
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
David Edelsohn ce51bde687 (sim_csize): Initialize cpu.cache. 1993-07-04 07:37: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 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 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