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