* interf.c (sim_open): Undo patch to add -E support.
[external/binutils.git] / sim / erc32 / ChangeLog
1 Tue Apr 22 11:05:01 1997  Doug Evans  <dje@canuck.cygnus.com>
2
3         * interf.c (sim_open): Undo patch to add -E support.
4
5 Thu Apr 17 03:03:56 1997  Doug Evans  <dje@canuck.cygnus.com>
6
7         * interf.c (sim_open): Ignore -E arg.
8         (start_address): New static local.
9         (sim_load): Return SIM_RC.  New arg abfd.  Set start_address from bfd.
10         (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
11
12 Tue Apr 15 15:16:11 1997  Ian Lance Taylor  <ian@cygnus.com>
13
14         * Makefile.in (install-sis): Depend upon installdirs.  Use
15         $(program_transform_name) directly, rather than using
16         $(INSTALL_XFORM).
17
18 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
19
20         * configure: Regenerated to track ../common/aclocal.m4 changes.
21         * config.in: Ditto.
22
23 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
24
25         * interf.c (sim_open): New arg `kind'.
26
27         * configure: Regenerated to track ../common/aclocal.m4 changes.
28
29 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
30
31         * configure: Regenerated to track ../common/aclocal.m4 changes.
32
33 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
34
35         * configure: Re-generate.
36
37 Thu Mar 13 12:46:04 1997  Doug Evans  <dje@canuck.cygnus.com>
38
39         * interf.c (sim_open): New SIM_DESC result.  Argument is now in
40         argv form.
41         (other sim_*): New SIM_DESC argument.
42
43 Tue Feb  4 13:35:20 1997  Doug Evans  <dje@canuck.cygnus.com>
44
45         * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
46         COMMON_{PRE,POST}_CONFIG_FRAG instead.
47         * configure.in: sinclude ../common/aclocal.m4.
48         * configure: Regenerated.
49
50 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
51
52         * configure configure.in Makefile.in:  Update to new configure
53         scheme which is more compatible with WinGDB builds.
54         * configure.in:  Improve comment on how to run autoconf.
55         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
56         * Makefile.in:  Use autoconf substitution to install common
57         makefile fragment.
58
59 Wed Dec  4 18:25:04 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
60
61         * interf.c (run_sim): Stop the simulator and reset the stdio after
62         breakpoints.
63
64 Tue Dec  3 11:54:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
65
66         * configure.in: Look for libtermcap.a.
67         * Makefile.in: Only link in -ltermcap if it exists.
68         * erc32.c: Update to version 2.6a. Fix uart handling.
69         * exec.c: Update to version 2.6a. Add sparclite support.
70         * float.c: Update to version 2.6a. Convert comments to
71         preprocessor warnings. Add __setfpucw() for i385 hosts so floating
72         point exceptions work on win32.
73         * func.c: Update to version 2.6a. Fix uart handling, add support
74         for user error traps.
75         * help.c: Update to version 2.6a. Add help note on user error
76         traps.
77         * interf.c: Update to version 2.6a. Fix uart handling, and add
78         sparclite support.
79         * examples/gccx: Use sparclite cross compiler, not native gcc.
80         * examples/srt0.S: Use "mov" rather than "wr" for manipulating
81         the psr register.
82
83 Mon Nov 25 08:28:10 1996  Fred Fish  <fnf@cygnus.com>
84
85         * Makefile.in (run.o): Remove this rule, it hides the one in
86         ../common/Make-common.in that correctly references the source
87         in the sibling ../common directory.
88
89 Wed Nov 20 01:30:12 1996  Doug Evans  <dje@canuck.cygnus.com>
90
91         * Makefile.in: Delete stuff moved to ../common/Make-common.in.
92         (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
93         (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
94         * configure.in: Simplify using macros in ../common/aclocal.m4.
95         Call AC_CHECK_HEADERS(stdlib.h).
96         * configure: Regenerated.
97         * config.in: New file.
98         * func.c (sim_set_callbacks): Delete, moved to
99         * interf.c (sim_set_callbacks): here.
100         (sim_callback): New global.
101         Rewrite all calls to printf_filtered to go through callback.
102         (sim_size,sim_trace): New functions.
103         (sim_{insert,remove}_breakpoint): #if 0 out.
104         * sis.c: #include "config.h".  #include <stdlib.h> if present.
105         (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
106         * sis.h: #include "callback.h".
107         * run.c: Deleted, using one in ../common now.
108
109 Thu Oct  3 16:12:03 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
110
111         * Makefile.in (clean): Move config.log to distclean.
112
113 Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
114
115         * Makefile.in (clean): Also remove config.log.
116
117 Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
118
119         * Makefile.in (CC_FOR_BUILD): New variable.
120         (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
121         (RANLIB, CC): Likewise.
122         (end): Use $(CC_FOR_BUILD), not $(CC).
123         * configure.in: Set CC_FOR_BUILD.
124         * configure: Rebuild.
125
126 Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
127
128         * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
129         there either...).
130
131 Mon Aug 12 17:04:58 1996  Stu Grossman  (grossman@critters.cygnus.com)
132
133         * erc32.c:  Don't include sys/ioctl.h or sys/file.h.  They aren't
134         necessary.
135         * (port_init):  Don't even *try* to open pty's under _WIN32.
136         * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
137         * float.c:  Get rid of #warning.  Makes Microsoft C barf.
138         * interf.c (sim_open):  Cast fprintf to (fprintf_ftype) to fix
139         compiler warning.
140         * (sim_load sim_create_inferior sim_read):  Use prototypes only in
141         decls, not defs.
142         * Get rid of enum sim_stop.  It's defined in remote-sim.h.
143         * (sim_stop_reason):  Define SIGTRAP if _WIN32.
144         * sis.h:  Include ansidecl.h and remote-sim.h.
145
146 Wed Jul  3 16:05:23 1996  Stu Grossman  (grossman@critters.cygnus.com)
147
148         * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
149         sis.h:  Get rid of all uses of long long's.
150         * (close_port read_uart write_uart uarta_tx):  Don't seg fault
151         when can't open pty's.
152         * exec.c:  Add two new instructions: smul, and divscc.
153         * interf.c (flush_windows):  New routine to flush the register
154         windows out to the stack just before returning to GDB.  Makes
155         backtraces work much better.
156
157 Wed Jun 26 12:19:11 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
158
159         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
160         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
161         (docdir, oldincludedir): Removed.
162         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
163         (AC_PROG_INSTALL): Added.
164         * configure: Rebuilt.
165
166 Mon Jun 24 14:19:07 1996  Ian Lance Taylor  <ian@cygnus.com>
167
168         * configure.in: Call AC_PROG_CC before running configure.host.
169         * configure: Rebuild with autoconf 2.10.
170
171 Tue Jun  4 10:37:12 1996  Tom Tromey  <tromey@csk3.cygnus.com>
172
173         * Makefile.in (install): Don't check to see if tooldir exists.
174         Make $(tooldir) and $(tooldir)/bin.
175
176 Mon Jun  3 12:33:38 1996  Ian Lance Taylor  <ian@cygnus.com>
177
178         * Makefile.in (end.h): Use explicit ./ when running end.
179
180 Sun May 19 21:05:31 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
181
182         * func.c(bfd_load): Don't try to print the filename if the pfbd is
183         NULL.
184         * interf.c(sim_load): Pass the whole string, not just the first
185         byte.
186
187 Version 2.1 26-02-96
188 --------------------
189  
190 * Fixed bug in "go" command.
191  
192 version 2.0 05-02-96
193 --------------------
194
195 * Fixed bug in interrupt force register (erc32.c).
196
197 * Change file load function to use bfd_openr.
198
199 * SIS should now be endian independent.
200
201 version 1.8 24-11-95
202 --------------------
203
204 * Fixed FPU timing - some sequences of FPU instructions did not calculate
205   the resource dependencies right.
206
207 * Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
208   but no FPU trap is generated.
209
210 version 1.7.1 31-10-95
211 --------------------
212
213 * Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
214   the FPU stays in execute mode.
215
216 * Corrected JMPL and RETT timing (these instructions takes two cycles).
217
218
219 version 1.7 25-10-95
220 --------------------
221
222 * Interrupt during annuled instruction corrupted return address - fixed.
223
224
225 version 1.6.2 25-10-95
226 --------------------
227
228 * Added -DFAST_UART to Makefile
229  
230
231 version 1.6.1 24-10-95
232 --------------------
233  
234 * Fixed bug in STDFQ which caused bus error
235
236
237 version 1.6 02-10-95
238 --------------------
239  
240 * Modified srt0.s to include code that initiates registers in IU and FPU
241   and initializes the data segment. The simulator 'load' command does not
242   longer initialize the data segment!
243
244 * Corrected MEC timer operation; scalers now divide the frequency by 
245   (scaler_value + 1).
246
247 * MEC breakpoints are not checked during store operation
248
249
250 version 1.5 14-09-95
251 --------------------
252
253 * Fixed some bugs in the cycle counting for IU & FPU instructions.
254
255 * Fixed bug that allowed an annuled instruction to cause memory exception.
256
257 * The *ws parameter in mem.c should now contain the number of waitstates
258   required by the memory access (was total number of cycles).
259
260 * The supplied srt0.s now clears the BSS (thanks Joel).
261
262 version 1.4 22-08-95
263 --------------------
264
265 * Added a '-g' switch to enable/disable the GNU readline(), which cause
266 some problems on solaris 2.x machines.
267
268 * Enabled MEC watchpoint and breakpoint function to mem.c. Performance 
269 may suffer a bit ...
270
271 NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
272
273 version 1.3 26-07-95
274 --------------------
275
276 * Fixed bug in mulscc instruction (how could that ever have worked?)
277
278 * Fixed bug in UART B (flushed characters on UART A), thanks Paul.
279
280 version 1.2 13-07-95
281 --------------------
282
283 * Fixed bug in interrupt handling (wrong interrupt selected when more that
284 one interrupt pending)
285
286 * Fixed updating of condition codes during logical instructions (carry and
287 overflow were not reset)
288
289 * Fixed bug in WRTBR (tt field was wrongly over-written)
290
291 version 1.1 07-07-95
292 --------------------
293
294 * Fixed several bugs in the interrupt handler and callback routines.
295 (reported by Paul Warren, Alsys)