Andrew Cagney
7230ff0faa
Flush defunct sim_kill.
1997-08-26 02:05:18 +00:00
Andrew Cagney
247fccdeb5
Add ABFD argument to sim_open call. Pass through to sim_config so
...
that image properties such as endianness can be checked.
More strongly document the expected behavour of each of the sim_*
interfaces.
Add default endian argument to simulator config macro
SIM_AC_OPTION_ENDIAN. Use in sim_config.
1997-08-25 23:14:25 +00:00
Andrew Cagney
0f552ea045
Sync powerpc simulator with public version. Enable FPSCR and string
...
instructions.
1997-07-03 07:44:38 +00:00
Andrew Cagney
ff82f21409
Part II of adding callback argument to sim_open(). Update all the
...
other simulators; remove SIM_DESC from depreciated function
sim_set_callbacks().
1997-05-20 01:57:43 +00:00
Andrew Cagney
8517f62b16
Ref gdb/11763 - can't stop a running simulator:
...
o Provide poll_quit callback to simulators
so that they can poll for SIGINT on
clueless OS's.
o Add sim_stop to simulators so that clients
can request a halt (eg gdbtk's STOP button)
Works for PPC!
o Re-arange remote-sim.c so that the
hard work is moved from gdbsim_resume()
to gdbsim_wait() (where it should be).
1997-04-18 12:24:52 +00:00
David Edelsohn
ed119303f5
* psim.c (psim_options): Ignore -E option (sets endianness).
...
* sim_calls.c: #include bfd.h.
(entry_point): New static local.
(sim_load): Return SIM_RC. New arg abfd. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 10:31:52 +00:00
Ian Lance Taylor
04184003f6
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM).
(installdirs): New target.
1997-04-15 19:06:20 +00:00
Andrew Cagney
21a2898b49
From Jim Wilson <wilson@cygnus.com>
...
* Makefile.in (tmp-hw, tmp-pk): Use for loop to eliminate duplicates
rather than the non-portable cat -n.
1997-04-15 10:48:28 +00:00
Andrew Cagney
1414a2e5cb
From Jim Wilson, fix typo in instruction name
1997-04-03 02:36:28 +00:00
David Edelsohn
33f00b8b20
* sim_calls.c (sim_open): New arg `kind'.
1997-04-02 23:38:22 +00:00
Ian Lance Taylor
64d2004922
* COPYING: Update FSF address.
1997-04-02 19:51:31 +00:00
Andrew Cagney
332cb0a763
* emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
...
* configure.in (enable-sim-endain): Correct typo in usage (from
Erik Landry <landry@ENGR.ORST.EDU>).
* configure: Re-generate.
1997-03-25 05:06:12 +00:00
David Edelsohn
87ae64c3a3
* sim_calls.c (sim_open): New SIM_DESC result. Argument is now
...
in argv form.
(other sim_*): New SIM_DESC argument.
1997-03-13 20:59:29 +00:00
Andrew Cagney
d7e89eaff8
Per PR 11678 - also need to maintan .Sanitize
1997-02-14 21:58:48 +00:00
Andrew Cagney
cdd3120398
PR 11678 - rename long decode-rule files to shorter ones, eliminate
...
need for multiple almost identical decode-rule files
1997-02-14 19:06:08 +00:00
Michael Meissner
37404956b4
New version from Andrew; Portability fixes on top of that
1997-02-11 20:19:28 +00:00
Michael Meissner
f9114af581
Fix warnings when compiling callback.c
1997-02-11 18:56:35 +00:00
David Edelsohn
cef84fb394
* configure.in: Fix typo in test for callback.c.
...
* configure: Regenerated.
1997-02-04 22:05:00 +00:00
Michael Meissner
54973b801f
Fix from Cagney so that new common files do not show up when using psim on old gdbs
1997-01-30 00:55:18 +00:00
Michael Meissner
d2e3d3af16
build callback and targ-map from the common directory
1997-01-29 17:42:14 +00:00
Michael Meissner
5c04f4f7fc
January 23rd merge
1997-01-27 21:34:50 +00:00
Michael Meissner
3fbe064171
New revision from Andrew
1996-12-10 16:12:48 +00:00
David Edelsohn
34452aa40a
* Makefile.in (LIBCOMMON): Define.
...
($(TARGETLIB)): Add files from $(LIBCOMMON).
1996-11-20 10:02:44 +00:00
David Edelsohn
939b233a57
* sim_calls.c (sim_resume): Reset sim_should_run if single stepping.
1996-11-20 08:38:13 +00:00
Michael Meissner
f8149dfee8
Fix some warnings
1996-11-15 20:24:54 +00:00
Michael Meissner
b9f74e0b24
Add access, sigaltstack, sigaction emulations
1996-10-29 23:02:33 +00:00
Michael Meissner
c7f6f3993c
Add support for fsel
1996-10-18 16:22:35 +00:00
Michael Meissner
ed9714ab65
Lose doc directory until we DOS-ize it; Add doc/.Sanitize
1996-09-20 13:11:37 +00:00
Michael Meissner
183632b238
Add documentation files
1996-09-20 12:46:09 +00:00
Michael Meissner
fd96c1f320
PSIM 1996/9/19 update
1996-09-20 12:36:54 +00:00
Michael Meissner
ca78464476
Fixes from Andrew
1996-08-19 22:21:19 +00:00
Angela Marie Thomas
e1fcafd594
removed NOTES from Things-to-keep since it's a dead file
1996-08-18 21:28:18 +00:00
Michael Meissner
83a650d857
Improve -t options support to list all of the configuration macros & work standalone
1996-08-13 17:29:04 +00:00
Michael Meissner
9aecf50da5
Test whether /dev/zero works before attemping to us it
1996-08-12 23:06:21 +00:00
Michael Meissner
7b25dea587
If HAVE_TERMOS_STRUCTURE is not defined, make sure HAVE_TCGETATTR is also not defined.
1996-08-08 00:17:48 +00:00
Michael Meissner
def7f77515
Allow simulator to build on other machines than x86
1996-08-07 18:48:07 +00:00
Michael Meissner
2e913166b1
7/30 release from Andrew
1996-08-06 15:55:32 +00:00
Michael Meissner
30c87b55ec
New simulator changes from Andrew
1996-07-23 15:42:42 +00:00
Michael Meissner
ed451ff744
Make simulator build again on SunOS and HP/US systems
1996-06-26 20:01:38 +00:00
Jason Molenda
78c09e4af5
* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
...
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
(docdir): Removed.
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
(AC_PROG_INSTALL): Added.
* configure: Rebuilt.
1996-06-26 03:35:01 +00:00
Michael Meissner
8477437c17
Latest changes from Andrew
1996-06-05 16:02:54 +00:00
Michael Meissner
fe098bf490
Abort if we find the program has an .interp section
1996-06-03 20:26:09 +00:00
Michael Meissner
5b18a1a0bf
Add time, gettimeofday, and getrusage system call support
1996-06-03 19:10:25 +00:00
Michael Meissner
88f1eac415
Add Solaris and Linux emulations
1996-06-02 15:40:16 +00:00
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
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
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
Michael Meissner
d4d3c7adbb
update from Andrew
1996-04-17 20:09:36 +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
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
Michael Meissner
98fe0e07c5
Make psim build on AIX 4.1
1996-03-08 01:24:01 +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
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
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
Michael Meissner
74eeaa7d57
Make simulator build on Solaris 2.4
1996-02-15 23:18:56 +00:00
Michael Meissner
7393a6f0b1
Work with HP/UX 9.00
1996-02-14 22:50:23 +00:00
Michael Meissner
2e9bb935e8
Latest changes from Andrew
1996-01-22 15:56:15 +00:00
Michael Meissner
4ffd6ed0f3
Make {add to,subtract from} minus one; Make -t alu work better
1996-01-16 16:21:17 +00:00
Michael Meissner
52edddb970
Latest changes from Andrew
1996-01-10 20:42:29 +00:00
Michael Meissner
979c3c25fd
Latest cagney update
1996-01-08 18:01:17 +00:00
Michael Meissner
a9ddbbf5a1
12/19 release from Andrew that fixes Netbsd break problem
1995-12-19 16:41:06 +00:00
Michael Meissner
98a497b3e9
Work with new and old BFDs; Do not inline model externs functions by default
1995-12-16 15:02:48 +00:00
Michael Meissner
669b4e1ef6
Fix warnings when using full inlining.
1995-12-15 21:06:22 +00:00
Michael Meissner
93fac32455
Changes from Andrew
1995-12-15 20:20:13 +00:00
Michael Meissner
1f1e5dd85f
Let autoconf determine if host is big endian or not
1995-11-30 11:13:08 +00:00
Michael Meissner
cf644706d6
fix typo
1995-11-28 18:57:30 +00:00
Michael Meissner
290ad14a9d
Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information
1995-11-28 18:47:07 +00:00
Michael Meissner
70fc4ad384
Build again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use __attribute__((const))
1995-11-27 22:54:40 +00:00
Michael Meissner
eade8e035c
Check lf_printf for type correctness
1995-11-25 06:08:56 +00:00
Michael Meissner
3d2f9d7c88
Make WITH_MODEL_ISSUE==0 not core dump
1995-11-25 05:56:28 +00:00
Michael Meissner
f2181eff5f
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
1995-11-25 01:35:14 +00:00
Michael Meissner
63caaafa5b
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
1995-11-25 01:34:26 +00:00
Michael Meissner
45525d8d6d
Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up
1995-11-24 16:44:37 +00:00
Michael Meissner
46c065ab31
Count each type of conditional branch
1995-11-22 21:02:49 +00:00
Michael Meissner
4a0351ab45
Add floating point model specific support; Redo method model specific support is done; Add remaining floating add/subtract-multiply
1995-11-21 21:41:25 +00:00
Michael Meissner
0bcce7d390
speed up search for free function unit slightly.
1995-11-20 04:05:36 +00:00
Angela Marie Thomas
86db8439a2
removed build-psim,config.make,config.hdr,function_unit.c,function_unit.h
1995-11-19 09:43:46 +00:00
Michael Meissner
15ec5b60e2
Add scheduling support for M{F,T}CR
1995-11-18 01:39:04 +00:00
Michael Meissner
54e986998a
More scheduling stuff
1995-11-18 01:14:45 +00:00
Michael Meissner
4220dcd698
checkpoint ppc simulator
1995-11-17 19:17:58 +00:00
Michael Meissner
84bbbc3577
Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success
1995-11-16 21:42:27 +00:00
Michael Meissner
867b71685a
fix bug in last checkin
1995-11-16 19:25:47 +00:00
Michael Meissner
845ff5a45f
more functional unit changes
1995-11-16 19:02:52 +00:00
Michael Meissner
acb06d3040
Add option to make options inline
1995-11-15 23:01:47 +00:00
Michael Meissner
80948f392b
More model specific changes
1995-11-15 22:53:59 +00:00
Michael Meissner
39c324612d
make inline model use static when inlining.
1995-11-14 11:34:01 +00:00
Michael Meissner
f35df46cc3
make inline model use static when inlining.
1995-11-14 11:25:34 +00:00
Michael Meissner
fe439e0f18
fix more warnings
1995-11-14 10:52:24 +00:00
Michael Meissner
ac79ccd41d
Fix warnings and dependency
1995-11-14 09:52:29 +00:00
Michael Meissner
1dc7c0ed84
checkpoint
1995-11-13 16:07:30 +00:00
Michael Meissner
eb4ef19775
Add model-functions support
1995-11-13 01:27:21 +00:00
Michael Meissner
28816f45f5
Add support for setting model name and other things
1995-11-12 14:20:39 +00:00
Michael Meissner
c05c182dd6
Various changes
1995-11-12 02:06:11 +00:00
Michael Meissner
d587782c78
fix typo
1995-11-11 12:30:17 +00:00
Michael Meissner
813ad010f6
Check for files in the source directory, not the build directory
1995-11-11 01:11:31 +00:00
Michael Meissner
a31140524a
Tons of changes to allow model specific information in the instruction file.
1995-11-10 22:49:05 +00:00
Michael Meissner
b51e5b4f6e
If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2.
1995-11-10 11:41:58 +00:00
Michael Meissner
2bc7869d54
Obey --silent
1995-11-09 21:38:13 +00:00
Michael Meissner
23a994eee6
fix typo
1995-11-09 19:51:34 +00:00
Michael Meissner
ba62bb1c74
Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set
1995-11-09 19:50:51 +00:00
Michael Meissner
c5addc193d
General cleanup; add -t options support to print all options
1995-11-09 02:35:15 +00:00
Michael Meissner
73c4941b23
first stage in function unit support; add new switches & latest code from andrew
1995-11-08 18:57:06 +00:00
Michael Meissner
bea9581508
Remove references to config.make/config.hdr
1995-11-07 02:58:35 +00:00
Michael Meissner
0934e52021
delete unused files
1995-11-06 15:40:26 +00:00
Michael Meissner
4dcb0cdda6
Small changes from Andrew
1995-11-06 15:37:43 +00:00
Fred Fish
01860b7ed1
* core.c: Rename to corefile.c
...
* core.h: Rename to corefile.h
* inline.c: Include corefile.h, renamed from core.h.
* cpu.h: Include corefile.h, renamed from core.h
* vm.c: Include corefile.h, renamed from core.h
* Makefile.in (CPU_H): Change core.h to corefile.h
(vm.o): Change dependency to corefile.h
(LIB_SRC): Change core.c to corefile.c.
(LIB_OBJ): Change core.o to corefile.o.
(corefile.o): Change dependencies to corefile.c, corefile.h.
* corefile.c: Include corefile.h rather than core.h
* README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
references.
1995-11-05 05:40:15 +00:00
Michael Meissner
056e975cfe
Add 2 config flags that were missing; make data cache instructions be nops
1995-11-03 19:37:28 +00:00
Michael Meissner
b3737d33ea
Fix typo in last changes
1995-11-03 03:55:44 +00:00
Michael Meissner
e61900e6a2
Update dependencies; Fix multiple options in --enable-sim-cflags
1995-11-03 03:39:27 +00:00
Michael Meissner
c494cadde6
Use autoconf correctly; provide more stats with -I
1995-11-02 20:21:35 +00:00
Michael Meissner
7ff82a593d
Add ppc-opcode-stupid
1995-11-02 14:28:10 +00:00
Michael Meissner
a983c8f080
Andrew's latest changes & print all instruction counts if -I
1995-11-02 14:27:18 +00:00
Michael Meissner
c143ef6296
Lots of changes
1995-11-01 19:32:38 +00:00
Michael Meissner
4ac24d7673
remove extra #endif
1995-11-01 03:25:04 +00:00
Michael Meissner
5281197d1e
fix typo in last change
1995-11-01 03:02:04 +00:00
Michael Meissner
5d0e859038
map , to spaces in --enable-sim-cflags
1995-10-31 20:59:19 +00:00
Michael Meissner
4b935ed4a4
Add various switches to control how the simulator is built
1995-10-31 20:24:41 +00:00
Michael Meissner
5b4d72dd73
New changes from Andrew
1995-10-31 18:29:37 +00:00
Michael Meissner
e89929cd79
Delete *.i and *.out files for clean
1995-10-26 18:10:13 +00:00
Michael Meissner
22ddef466e
Fix SWAP_8 and optimize it; print out the failing address if a signal is issued for non-gdb runs
1995-10-26 16:43:00 +00:00
Fred Fish
64415b767b
*** empty log message ***
1995-10-20 16:16:18 +00:00
Michael Meissner
5b0d3b1490
Move counting of instructions into the semantic routines.
1995-10-16 21:36:01 +00:00
Michael Meissner
9aa8a78839
Speedups from Andrew
1995-10-16 20:17:35 +00:00
Michael Meissner
a1fe883fd0
Rename trace to ppc_trace; Remove extra static.
1995-10-13 14:01:32 +00:00
Michael Meissner
9f5912cb98
Format #instructions with commas
1995-10-13 01:10:06 +00:00
Michael Meissner
a8958dd48b
Performance tweaks
1995-10-12 21:49:37 +00:00
Michael Meissner
8e20a3ac82
Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug
1995-10-12 15:48:22 +00:00
Michael Meissner
dec38daceb
October 11th changes from Andrew
1995-10-11 20:17:49 +00:00
Michael Meissner
f46f380706
Add set_sim_callbacks new needed by gdb.
1995-10-08 02:42:39 +00:00
Michael Meissner
7ca054e88e
Print exit status/signal number if -I
1995-10-06 21:23:35 +00:00
Michael Meissner
8b57093d33
Add # in front of CPU number
1995-10-02 18:33:17 +00:00
Michael Meissner
e1aaf97993
update usage message
1995-10-02 18:21:46 +00:00
Michael Meissner
344d5a23f7
fix typo
1995-10-02 18:20:04 +00:00
Michael Meissner
83d96c6e3e
Add support to count the number of instructions issued.
1995-10-02 18:19:17 +00:00
Michael Meissner
8eab189bce
Add switch processing in gdb.
1995-10-02 15:47:57 +00:00