20568 Commits

Author SHA1 Message Date
0fa555ea62 Add C_THUMBEXT etc. 1997-11-26 22:14:52 +00:00
6be035091a * Make-common.in (run.o): Depend on remote-sim.h.
(nrun.o,sim-hload.o,sim-hrw.o): Likewise.
	(sim-io.o,sim-reason.o,sim-resume.o): Likewise.
1997-11-26 22:11:31 +00:00
ac07041378 Flush writes to stdout, stderr 1997-11-26 21:52:16 +00:00
be88ccfcd4 Use names for all prototype arguments 1997-11-26 21:48:58 +00:00
2ec9f3fd50 * Makefile.in, configure, configure.in: merge with foundry-971118-build 1997-11-26 21:48:06 +00:00
3885125c8e * sim-io.c (sim_io_getstring): Delete unused len2. (sim_io_syscalls):
Ditto for sys_errno.
1997-11-26 21:35:53 +00:00
4ccd975a92 FreeBSD has (at least for the i386) a little-endian magic number. 1997-11-26 21:34:05 +00:00
6b8d6a1c49 Delete magic number FIXME. 1997-11-26 19:53:26 +00:00
4123aca810 Undo last change. callback.h changed instead.
Plus:
	* syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
1997-11-26 19:52:34 +00:00
881a60116f * callback.h (CB_SYSCALL): Change byte count arguments to
{read,write}_mem to `int'.  New member `magic'.
	(CB_SYSCALL_MAGIC,CB_SYSCALL_INIT): New macros.
1997-11-26 19:49:13 +00:00
fc63d75ab3 * syscall.c (cb_syscall, cases stat, fstat): Handle -Wall -Werror. 1997-11-26 19:19:58 +00:00
803fea795a Do no set private flags if building a PE port. 1997-11-26 17:31:53 +00:00
3199620a49 Check the abbrev offset found in the .debug_info section before using
it.
1997-11-26 12:35:07 +00:00
0d5d0d102d Fix typo in format argument to sim_io_eprintf. 1997-11-26 12:07:27 +00:00
35c246c9d7 Move MDMX instructions which are public knowledge from vr5400.igen
into mdmx.igen (MDMX is MMX on steroids).  Keep the file secret.
1997-11-26 11:47:36 +00:00
69628a60ea nuke lseek 1997-11-26 01:13:40 +00:00
8c31916d92 sanitize-r5900 not v5900 1997-11-25 22:02:59 +00:00
fd9223f9af Strip ChangeLog of v850e information 1997-11-25 22:00:26 +00:00
bd4ba9023a Add file alu-n-tst.h 1997-11-25 21:59:39 +00:00
58fb5d0a4f vr5400 sanitize cleanups 1997-11-25 21:47:16 +00:00
ae1cf848ed Add tm-fbsd.h 1997-11-25 21:44:13 +00:00
4936eb9abe Do not complain when trying to merge private data from different formats. 1997-11-25 18:57:03 +00:00
4ee2892be8 Add comment. 1997-11-25 18:43:29 +00:00
90d74939df * Makefile.am (BFD32_BACKENDS): Remove tekhex.lo.
(BFD32_BACKENDS_CFILES): Remove tekhex.c.
	* Makefile.in: Rebuild.
	* aclocal.m4, configure, src/Makefile.in: Rebuild with current
	automake and autoconf.
1997-11-25 17:14:09 +00:00
cc37e39a14 * coff-arm.c (arm_allocate_interworking_sections): Fix typo
(COFF_WITH_PR to COFF_WITH_PE).
1997-11-25 16:27:55 +00:00
7de19d317a * callback.h (struct stat): Move forward decl up.
(host_callback): Pass stat struct pointer to stat,fstat.
	(CB_SYS_nnn): Reorganize.
	(CB_SYSCALL): New members p1,p2.
	(cb_host_to_target_stat): Delete fourth arg.
1997-11-25 09:39:56 +00:00
f33673061f * callback.c (os_stat): Make 3rd arg a host struct stat ptr.
(os_fstat): Likewise.  Validate fd argument.
	(cb_host_to_target_stat): Delete big_p arg.  If HS arg is NULL,
	just compute target stat struct length.
	* syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
	(ENOSYS,ENAMETOOLONG): Provide definitions if missing.
	(get_string): Return host errno values so they can be properly
	translated later.
	(cb_syscall): Likewise.
	(cb_syscall, cases open,unlink): Use get_path instead of get_string.
	(cb_syscall, case read): Use read_stdin for file descriptor 0.
	(cb_syscall, case write): Use write_stderr for file descriptor 2.
	(cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
	(get_path): New function.
1997-11-25 09:33:34 +00:00
c76e66831a * gennltvals.sh: Generate syscall values for d30v.
Use libgloss/syscall.h for sparc.
	* nltvals.def: Regenerate.
1997-11-25 08:18:57 +00:00
e386d4d2fb Flush ser-go32-para.c, never worked and never used. 1997-11-25 03:25:18 +00:00
d440e85e43 Handle case where sizeof long != sizeof int when examining a union. 1997-11-25 02:28:05 +00:00
33d5d35156 Cut out unused code for PE build. 1997-11-25 02:09:19 +00:00
3445e1cefb Add sim_io_syscalls to do common system call emulation 1997-11-24 23:59:20 +00:00
f76d3101e8 Fix for PE build 1997-11-24 23:51:15 +00:00
c5ecfceb13 * cpu.h (TRACE_COND_BR): Use TRACE_BRANCH_P, not TRACE_ALU_P. 1997-11-24 22:58:47 +00:00
091521c48b * sim-trace.c (trace_option_handler): Set state trace file
for --trace-file in addition to cpu's values.
	(trace_vprintf): If cpu == NULL, try state's trace file.
1997-11-24 22:21:51 +00:00
46ac172085 Mon Nov 24 14:17:02 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* infcmd.c: export registers_info, for use by other modules.
	* printcmd.c: export output_command, for use by other modules.
	* stack.c: export locals_info and args_info, for use by other modules.
1997-11-24 22:20:34 +00:00
8f3cfc0efb Entries for .gdbinit additions and sim-model.c option fix. 1997-11-24 22:09:12 +00:00
4b5545c9f0 * sim-model.c (model_options): Use '\0' for `shortopt'. 1997-11-24 20:43:38 +00:00
f375dd7d0e * Make-common.in (all): Add .gdbinit.
* gdbinit.in: Add dump command.
1997-11-24 20:14:35 +00:00
f2ea891349 * sim-core.c (sim_core_signal): Fix spelling error in message.
* sim-hrw.c (sim_read): Use read map, not write map.
1997-11-24 20:11:02 +00:00
6156728be0 A ton of my most recent changes, mostly to add post-mortem data analysis,
plus some better error checking and reporting.  Still not publically
visible (not mentioned in the makefile or changelog).
1997-11-24 20:02:28 +00:00
57c0b02655 Some early changes by Keith Seitz to support the Tcl/Tk GUI.
Note: these files are still not publically visible; just keeping
their history at this point.
1997-11-24 19:47:05 +00:00
6a02d20100 Create CVS files tracepoint.c and tracepoint.h. This is new work,
not yet ready for public release, so no changelog entry yet (and I'm
sanitizing the files out).  Just want to get them into the repository
for now, so I can begin keeping their history.  Not checking in the
Makefile change that would cause them to be built and linked.
1997-11-24 19:38:44 +00:00
9dcdd9ad73 Sanitization 1997-11-24 13:34:52 +00:00
4251ff49e8 Add function print_decimal to handle display of long long decimal
values on hosts with long-long but no "%ll".
1997-11-24 12:49:38 +00:00
f7b8c9ce46 Improve GDB support for FreeBSD host/target.
To configure.in: make PRINTF_HAS_LONG_LONG check more pedantic; check
that SCANF_HAS_LONG_DOUBLE instead of assuming PRINTF_HAS_LONG_DOUBLE
implies it; document.
1997-11-24 06:50:12 +00:00
d14573e31e Pass architecture from ``set arch MACH'' command into disasembler
through tm_print_insn_info.mach argument.
Delete x86 specific set assembler command, subsumed by replaced with
``set arch''
1997-11-24 06:37:01 +00:00
c08075aaf8 Have mips64vr5400-*-elf look like a mips64vr5000. 1997-11-24 06:31:05 +00:00
4ba8d09fe2 Change MIPS simulator so that it uses the (software) module sim_fpu
for floating point operations.  Eliminates all dependencies the
simulator had on the hosts FP implemantation.

Add sim_fpu_{inv,abs,neg} functions to sim_fpu.[hc]
1997-11-23 03:34:15 +00:00
e1aeb28538 Add support for PIC and APCS-FLOAT type binaries. 1997-11-22 23:17:39 +00:00