Michael Meissner
119b85f6ca
More changes for GO32 canadian cross builds
1996-05-24 19:12:21 +00:00
Michael Meissner
0c18e3f002
More changes for GO32 canadian cross builds
1996-05-24 19:05:17 +00:00
Michael Meissner
f64dbcddaf
Allow psim to be built on go32
1996-05-24 14:15:17 +00:00
Jeff Law
7e1e013fd9
* compile.c (sim_resume): Correctly handle divu.
...
More bugfixing. HMSE
1996-05-23 04:25:43 +00:00
Rob Savoye
d46637152c
* configure.in: Only built erc32 simulator on Unix hosts as it
...
uses pseudo ttys.
* configure: Regenerated with autoconf 2.8.
1996-05-22 18:12:32 +00:00
Rob Savoye
fd58f4b10e
Sanitize support for the ESA sparc simulator.
1996-05-20 03:18:13 +00:00
Rob Savoye
b5ef6d669e
* func.c(bfd_load): Don't try to print the filename if the pfbd is
...
NULL.
* interf.c(sim_load): Pass the whole string, not just the first
byte.
1996-05-20 03:13:02 +00:00
Rob Savoye
f4d2ff34be
New sparc simulator from the ESA.
1996-05-20 02:46:07 +00:00
Michael Meissner
d61eb8127b
Check for sys/ioctl.h
1996-05-16 15:03:24 +00:00
Michael Meissner
048668d355
More progressive fixes
1996-05-13 17:25:06 +00:00
Jackie Smith Cashion
9a739379c4
Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c (ColdReset): Fix boolean test.
Actually compare a boolean result, rather than the bitmasks!
1996-05-09 23:43:58 +00:00
Jackie Smith Cashion
f7481d45a5
Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c (xfer_direct_word, xfer_direct_long,
swap_direct_word, swap_direct_long, xfer_big_word,
xfer_big_long, xfer_little_word, xfer_little_long,
swap_word,swap_long): Added.
* interp.c (ColdReset): Provide function indirection to
host<->simulated_target transfer routines.
* interp.c (sim_store_register, sim_fetch_register): Updated to
make use of indirected transfer routines.
1996-05-08 14:22:12 +00:00
Michael Meissner
1ed0c0e75d
Fix INLN in bugapi to read a full line
1996-05-06 16:03:44 +00:00
Michael Meissner
08dc78ad19
Make simulator build in a Canadian cross environment
1996-05-03 19:10:20 +00:00
Michael Meissner
a72d2509c2
Work in a cross compile environment
1996-04-30 22:50:22 +00:00
Jackie Smith Cashion
a9f7253f64
Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* gencode.c (process_instructions): Ensure FP ABS instruction
recognised.
* interp.c (AbsoluteValue): Add routine. Also provide simple PMON
system call support.
1996-04-19 14:53:16 +00:00
Michael Meissner
d4d3c7adbb
update from Andrew
1996-04-17 20:09:36 +00:00
Jeff Law
132fdcb974
* compile.c (sim_load): Re-allocate memory for the simulator
...
here.
HMSE.
1996-04-12 22:42:03 +00:00
Jeff Law
9b1271617b
* compile.c (sim_resume): Fix and simplify overflow and carry
...
handling for 32bit ALU insns.
1996-04-12 15:38:08 +00:00
Jackie Smith Cashion
8b554809c0
Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c (sim_do_command): Complain if callback structure not
initialised.
1996-04-10 08:53:24 +00:00
Jeff Law
50d45d1b2f
* compile.c (sim_resume): Fix overflow checks for ALU insns.
...
So that int-compare.c passes.
1996-04-09 05:57:15 +00:00
Fred Fish
ed086b0a71
From: Miles Bader <miles@gnu.ai.mit.edu>
...
* configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
* configure: Regenerate using autoconf.
1996-04-08 04:56:53 +00:00
Jeff Law
e24146ec95
* compile.c (decode): Use "bit" to hold L_3 immediates instead
...
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.
1996-04-06 00:21:35 +00:00
Michael Meissner
997f0ee967
fix long lines
1996-04-04 20:19:28 +00:00
Michael Meissner
64646bd32b
Doc fixes from Andrew
1996-04-04 20:03:33 +00:00
Michael Meissner
4e956fd5e1
Add dependency
1996-04-04 18:48:51 +00:00
Michael Meissner
6740925b4d
Print WITH_STDIO if -t options
1996-03-29 18:06:42 +00:00
Michael Meissner
d6103e8eb6
Add --enable-sim-stdio to make console I/O use stdio, not printf_filtered and polling input
1996-03-29 17:33:56 +00:00
Jackie Smith Cashion
d0757082eb
Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c (Convert): Provide round-to-nearest and round-to-zero
support for Sun hosts.
* Makefile.in (gencode): Ensure the host compiler and libraries
used for cross-hosted build.
Allow a DOS hosted version of the simulator to be built. NOTE: The FP
is still not complete, since round-to-nearest and round-to-zero have
not been implemented generically.
1996-03-28 14:08:51 +00:00
Jackie Smith Cashion
e871dd189e
Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c, gencode.c: Some more (TODO) tidying.
1996-03-27 14:46:27 +00:00
Michael Meissner
7a543ca48e
Fix typo that clobbered the stack and rewrite 2/26 change
1996-03-26 21:20:54 +00:00
Michael Meissner
8a1d8a0b60
update from andrew
1996-03-23 15:02:42 +00:00
David Edelsohn
5d06fa80b2
(sim_resume, shift insns): Fix setting of overflow flag for shal.
1996-03-11 23:25:53 +00:00
David Edelsohn
e10bb7b3e9
* run.c (main): Print error message if argument is invalid.
...
(usage): Improve text.
1996-03-11 21:59:47 +00:00
David Edelsohn
741fd619cb
(main): Print error message if argument is invalid.
...
(usage): Improve text.
1996-03-11 21:59:22 +00:00
David Edelsohn
4dfb4ffcd1
* compile.c: #include "wait.h".
...
(sim_resume, sleep insn): Check program exit status in r0.
1996-03-11 19:30:53 +00:00
David Edelsohn
e656ecf90c
* compile.c (sim_resume): Watch for calls to abort.
...
* run.c: #include <signal.h>.
(main): Abort if program got SIGILL.
1996-03-11 17:54:45 +00:00
Michael Meissner
98fe0e07c5
Make psim build on AIX 4.1
1996-03-08 01:24:01 +00:00
Jackie Smith Cashion
a647a859cb
Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* gencode.c, interp.c: Replaced explicit long long references with
WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
* support.h (SET64LO, SET64HI): Macros added.
This is an intermediate checkin. The work of removing "long long"
usage is not yet finished. These changes are clean, and have been
sitting on my machine for a while (whilst doing other work), and it is
safer for them to be checked in.
1996-03-07 11:25:15 +00:00
Fred Fish
be7b99e5be
Remove missing file "PROBLEMS" from list of files to keep.
1996-02-29 03:41:50 +00:00
Michael Meissner
0d02fbb844
Update to 1.0.1
1996-02-24 14:36:59 +00:00
Michael Meissner
262faa5417
Add input support; at end of user writes, call fflush
1996-02-22 20:11:41 +00:00
Michael Meissner
eaf2030fff
fix typo
1996-02-22 16:32:31 +00:00
Michael Meissner
ad836e027c
Add more write system calls; Add system call tracing
1996-02-21 21:58:43 +00:00
Michael Meissner
94feae28e3
Fix -m switch
1996-02-21 18:58:31 +00:00
Ian Lance Taylor
5c59ec4318
regenerate configure scripts with autoconf 2.7
1996-02-21 17:18:42 +00:00
Ian Lance Taylor
c8cd6f237b
* Makefile.in (all): Simplify.
...
(clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
as in the all target.
(distclean, maintainer-clean, realclean): Likewise.
(install): Likewise.
1996-02-21 17:02:23 +00:00
Michael Meissner
eada1efcaf
Update to 1995-02-20 release
1996-02-21 16:47:06 +00:00
J.T. Conklin
d271dd0591
* config.in: Regenerated.
1996-02-21 01:02:10 +00:00
Michael Meissner
6cf9d64e77
Update to rev 1.0 from andrew
1996-02-16 15:51:57 +00:00