Commit Graph

171 Commits

Author SHA1 Message Date
Drew Moseley
84e42e1daf For cygwin hosts, we need to use the return value from the read
routine as the number of bytes to process.  This apparently is due to
text-mode vs binary-mode.  If the mounts are done text-mode, then the
size returnedby fstat() may be different than the number of bytes
"read" in text mode.
1998-10-28 21:16:44 +00:00
Michael Meissner
16a88df71e Do not try to include sys/mount.h anymore 1998-06-26 18:22:48 +00:00
Geoffrey Noer
8c59a22d97 Wed Apr 29 15:44:52 1998 Geoffrey Noer <noer@cygnus.com>
* aclocal.m4: new file for AM_EXEEXT macro
        * configure.in: call AM_EXEEXT
        * configure: regenerate with autoconf 2.12.1.
        * Makefile.in: add EXEEXT support
1998-04-29 22:49:27 +00:00
Tom Tromey
59fb349750 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* acconfig.h: New file.
	* configure.in: Reverted change of Apr 24; use sinclude again.
	Don't call AC_C_CROSS.
1998-04-26 21:43:25 +00:00
Tom Tromey
a2eb9d2751 * configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
	* Makefile.in (top_builddir): New macro.
	(INTLLIBS): New macro.
	(INTLDEPS): Likewise.
	(psim): Depend on INTLDEPS; link against INTLLIBS.
	* configure.in: Call CY_GNU_GETTEXT.
1998-04-24 20:55:51 +00:00
Michael Meissner
d865fb6e56 Regenerate configure 1998-04-22 18:29:57 +00:00
Andrew Cagney
63fe2cc799 Fix typo, WITH_TARGET_WORD_BITSIZE not WITH_TARGET_BITSIZE. 1997-10-02 23:37:30 +00:00
Andrew Cagney
d6fea803dc Add MSBIT* and LSBIT* macro's to sim-bits.h
Add more macro's for extracting sub word quantites to sim-endian.h
1997-08-27 07:56:27 +00:00
Andrew Cagney
fafce69ab1 Add ABFD argument to sim_create_inferior. Document.
Add file sim-hload.c - generic load for hardware only simulators.
Review each simulators sim_open, sim_load, sim_create_inferior so that
they more closely match required behavour.
1997-08-27 04:44:41 +00:00
Andrew Cagney
9f64f00ada * idecode_expression.h (ALU_END): From Charles Lefurgy - Extract
sign bit using 64 bit and not a 32 bit mask.

        * sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
        it has been used, not before.
1997-08-27 00:44:05 +00:00
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