Steve Chamberlain
8aff8146d2
* gencode.c (main, gendefines): New -d option prints table of defines.
* interp.c (trap): Add a load of system calls.
(sim_memory_size): Now default to 8Mbyte.
(PARANOID): Keep vector of registers with undefined contents.
33 years ago
David D. Zuhn
062d092547
keep run.1
33 years ago
David Edelsohn
c834dacddd
* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
* interp.c: #include "remote-sim.h".
(sim_resume): int result, new arg `siggnal'.
(sim_write): Use SIM_ADDR for type of arg `addr'.
(sim_read): Use SIM_ADDR for type of arg `addr'.
Use unsigned char * for `buffer'.
(sim_store_register): int result.
(sim_fetch_register): Ditto.
(sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'.
(sim_set_pc): int result, use SIM_ADDR for type of arg `x'.
(sim_info): int result, new args `verbose', `printf_fn'.
(sim_kill): int result.
(sim_open): int result, new arg `name'.
* run.c: #include <stdio.h>
(main): Update call to sim_info.
33 years ago
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.
33 years ago
David Edelsohn
631f6b2406
(sim_stop_signal): Result is now enum sim_stop.
33 years ago
David Edelsohn
7db9345b40
(sim_stop_signal): Result is now enum sim_stop.
33 years ago
Roland Pesch
06b24c9e49
Man page for "run" simulator, and install-man target for it.
33 years ago
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.
33 years ago
K. Richard Pixley
becbe1c328
do not echo recursion lines
33 years ago
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.
34 years ago
Steve Chamberlain
f412eb92fe
Configure for h8300h too.
34 years ago
Steve Chamberlain
73e77bc3da
Deleted.
34 years ago
Fred Fish
775d4a4096
Add .Sanitize to Things-to-lose list.
34 years ago
David Edelsohn
f853f4ca53
Fix bit instructions (was setting destination reg and not carry).
34 years ago
David Edelsohn
56390ce8d4
* compile.c: Reset HMODE back to zero (accidently set it to 1).
34 years ago
David Edelsohn
cf5b4aa63a
* run.c (main): If h8/300h binary detected, call set_h8300h.
* compile.c (sim_resume): Fix O_NEG insn.
34 years ago
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.
34 years ago
Steve Chamberlain
1a11e53014
* run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.
34 years ago
David Edelsohn
ce51bde687
(sim_csize): Initialize cpu.cache.
34 years ago
Steve Chamberlain
56fc37746d
Keep writecode.c
34 years ago
David Edelsohn
f7e3d580dc
Makefile.in: Add -I../../bfd to pick up bfd.h.
34 years ago
Steve Chamberlain
f6fba99573
Checkpoint.
34 years ago
David Edelsohn
1835992e85
* run.c (main): Fix parsing of args.
* compile.c (sim_resume): Fix shll insn.
34 years ago
Steve Chamberlain
e615309a0b
Look in the right place for bfd.h
34 years ago
Steve Chamberlain
ebd7d72e33
New file for configuring.
34 years ago
Steve Chamberlain
fdc506e668
Lint.
34 years ago
Steve Chamberlain
90fe361fdc
* gencode.c: Fix some opcodes.
* interp.c: Support for profiling and portability fixes.
* run.c (main): Get profiling args.
34 years ago
Jim Kingdon
68dd30141d
* Makefile.in: Add distclean, realclean, and mostlyclean targets.
34 years ago
Steve Chamberlain
ce38539a45
Checkpoint for dje.
34 years ago
Steve Chamberlain
a2ca98b6bb
Obsolete.
34 years ago
Steve Chamberlain
7ecaa5af33
Rewrite for H8/300-H
34 years ago
Steve Chamberlain
1cec8dae68
Support for -v
34 years ago
K. Richard Pixley
87756e15db
added things-to-lose sections
34 years ago
Ian Lance Taylor
30947f7efc
* Makefile.in (check, installcheck): Added dummy targets.
34 years ago
David D. Zuhn
b23eaace23
add no-op dvi target
34 years ago
Steve Chamberlain
5e1ac26014
Support for broken makes and lint.
34 years ago
Steve Chamberlain
ad5fcc6248
(endian): Add explicit rule for broken makes.
34 years ago
Steve Chamberlain
a86ea03fc2
Support for the SH
34 years ago
Steve Chamberlain
594266fc8a
New stuff for SH.
34 years ago
Steve Chamberlain
56a3fc33c9
Sanitize out empty direcories
34 years ago
Steve Chamberlain
a66ad4b239
add h8500 directory
34 years ago
Ian Lance Taylor
6deb169cc8
* h8300.mt (DO_INSTALL): Renamed from INSTALL.
34 years ago
Steve Chamberlain
83a4c26f54
Add ChangeLog to kept things
34 years ago
Steve Chamberlain
18079b9e6f
Found trying to compile on ok.
* Makefile.in: Don't use cb or indent
* p1.c, state.h, writecode.c: lint
34 years ago
Steve Chamberlain
ea6bbfba0a
Copyright change
34 years ago
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.
34 years ago
Steve Chamberlain
67c9903f93
* Makefile.in, configure.in: if target isn't supported, build a
harmless makefile.
support for make clean
34 years ago
Steve Chamberlain
47dba87afa
* Makefile.in, configure.in: if target isn't supported, build a
harmless makefile.
34 years ago
Steve Chamberlain
55538130c9
Remember about Makefile.in
34 years ago
Steve Chamberlain
e856060f53
These should be in too
34 years ago