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