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