* "objcopy -O binary" warning tweak, suggested by dmoseley
[binutils-gdb.git] / sim / erc32 / ChangeLog
blobfddec3a416ef661ad6cf5bf48d37146faf5bc39b
1 Tue Jun  2 15:20:35 1998  Mark Alexander  <marka@cygnus.com>
3         * interf.c (sim_open): Use revamped memory_read, which makes
4         byte-swapping unnecessary.  Add -sparclite-board option for
5         emulating RAM found on typical SPARClite boards.  Print
6         error message for unrecognized option.
7         * erc32.c: Change RAM address and size from constants to variables,
8         to allow emulation of SPARClite board RAM.
9         (fetch_bytes, store_bytes): New helper functions for revamped
10         mememory_read and memory_write.
11         (memory_read, memory_write): Rewrite to store bytes in target
12         byte order instead of storing words in host byte order; this
13         greatly simplifies support of little-endian programs.
14         (get_mem_ptr): Remove unnecessary byte parameter.
15         (sis_memory_write, sis_memory_read): Store words in target
16         byte order instead of host byte order.
17         (byte_swap_words): Remove, no longer needed.
18         * sis.h ((byte_swap_words): Remove declaration, no longer needed.
19         (memory_read): Add new sz parameter.
20         * sis.c (run_sim): Use revamped memory_read, which makes
21         byte-swapping unnecessary.
22         * exec.c (dispatch_instruction): Use revamped memory_read, which
23         makes byte-swapping and double-word fetching unnecessary.
24         * func.c (sparclite_board): Declare new variable.
25         (get_regi): Handle little-endian data.
26         (bfd_load): Recognize little-endian SPARClite as having
27         little-endian data.
28         
29 Fri May 22 14:23:16 1998  Mark Alexander  <marka@cygnus.com>
31         * erc32.c (port_init): Print messages only if sis_verbose is true.
32         * func.c (bfd_load): Ditto.
33         * interf.c (sim_open): Ditto.
35 Thu May 14 23:10:48 1998  Mark Alexander  <marka@cygnus.com>
37         * sis.h (uint64, int64): Define.
38         * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
39         * (mul64): Simplify calculation of negative result.
40         * (div64): New helper function for 64-bit division.
41         * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
42         and UDIVCC.
43         
44 Wed May 13 14:59:54 1998  Mark Alexander  <marka@cygnus.com>
46         * erc32.c (close_port): Don't close stdin; it kills GDB.
47         (byte_swap_words): New function.
48         * sis.h: (byte_swap_words): Declare.
49         * interf.c (run_sim): Always fetch instructions as big-endian.
50         * sis.c (run_sim): Ditto.
52 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
54         * configure: Regenerated to track ../common/aclocal.m4 changes.
56 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
58         * configure: Regenerated to track ../common/aclocal.m4 changes.
59         * config.in: Ditto.
61 Sun Apr 26 15:20:17 1998  Tom Tromey  <tromey@cygnus.com>
63         * acconfig.h: New file.
64         * configure.in: Reverted change of Apr 24; use sinclude again.
66 Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
68         * configure: Regenerated to track ../common/aclocal.m4 changes.
69         * config.in: Ditto.
71 Fri Apr 24 11:19:52 1998  Tom Tromey  <tromey@cygnus.com>
73         * configure.in: Don't call sinclude.
75 Sat Apr 18 12:00:16 1998  Mark Alexander  <marka@cygnus.com>
77         * func.c (disp_fpu): Fix build problem on big-endian hosts.
79 Wed Apr  8 19:33:34 1998  Mark Alexander  <marka@cygnus.com>
81         * erc32.c (sim_stop): Handle SIGINT gracefully.
82         * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
84 Wed Apr  8 18:29:40 1998  Mark Alexander  <marka@cygnus.com>
86         * exec.c (dispatch_instruction): Change how carry out is calculated
87         in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.
89 Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
91         * configure: Regenerated to track ../common/aclocal.m4 changes.
93 Wed Apr  1 21:19:18 1998  Mark Alexander  <marka@cygnus.com>
95         * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
96         * erc32.c: Ditto.
97         * exec.c: Ditto.
98         * float.c: Ditto.
99         * func.c: Ditto.
100         * help.c: Ditto.
101         * interf.c: Ditto.
102         * sis.c: Ditto.
103         * sis.h: Ditto.
105 Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
107         * configure: Regenerated to track ../common/aclocal.m4 changes.
109 Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
111         * configure: Regenerated to track ../common/aclocal.m4 changes.
113 Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
115         * configure: Regenerated to track ../common/aclocal.m4 changes.
117 Tue Feb 17 12:41:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
119         * interf.c (sim_store_register, sim_fetch_register): Pass in
120         length parameter.  Return -1.
122 Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
124         * configure: Regenerated to track ../common/aclocal.m4 changes.
126 Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
128         * configure: Regenerated to track ../common/aclocal.m4 changes.
130 Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
132         * configure: Regenerated to track ../common/aclocal.m4 changes.
134 Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
136         * configure: Regenerated to track ../common/aclocal.m4 changes.
137         * config.in: Ditto.
139 Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
141         * configure: Regenerated to track ../common/aclocal.m4 changes.
143 Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
145         * configure: Regenerated to track ../common/aclocal.m4 changes.
147 Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
149         * configure: Regenerated to track ../common/aclocal.m4 changes.
151 Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
153         * configure: Regenerated to track ../common/aclocal.m4 changes.
155 Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
157         * configure: Regenerated to track ../common/aclocal.m4 changes.
159 Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
161         * configure: Regenerated to track ../common/aclocal.m4 changes.
163 Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
165         * configure: Regenerated to track ../common/aclocal.m4 changes.
167 Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
169         * configure: Regenerated to track ../common/aclocal.m4 changes.
170         * config.in: Ditto.
172 Tue Aug 26 10:38:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
174         * float.c (__setfpucw): Compile on any i386 target.  Not just NT.
176         * interf.c (sim_kill): Delete.
177         (sim_create_inferior): Add ABFD argument.  Initialize PC from ABFD
178         argument.
179         (sim_load): Don't save start address.
180         (start_address): Delete variable.
182 Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
184         * configure: Regenerated to track ../common/aclocal.m4 changes.
185         * config.in: Ditto.
187 Mon Aug 25 16:19:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
189         * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
191 Mon Jun 30 11:45:25 1997  Doug Evans  <dje@canuck.cygnus.com>
193         * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
195 Wed May 28 09:46:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
197         * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
198         (sim_open): Add callback arg, save it.
200 Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
202         * configure: Regenerated to track ../common/aclocal.m4 changes.
204 Tue Apr 22 11:05:01 1997  Doug Evans  <dje@canuck.cygnus.com>
206         * interf.c (sim_open): Undo patch to add -E support.
208 Thu Apr 17 03:03:56 1997  Doug Evans  <dje@canuck.cygnus.com>
210         * interf.c (sim_open): Ignore -E arg.
211         (start_address): New static local.
212         (sim_load): Return SIM_RC.  New arg abfd.  Set start_address from bfd.
213         (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
215 Tue Apr 15 15:16:11 1997  Ian Lance Taylor  <ian@cygnus.com>
217         * Makefile.in (install-sis): Depend upon installdirs.  Use
218         $(program_transform_name) directly, rather than using
219         $(INSTALL_XFORM).
221 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
223         * configure: Regenerated to track ../common/aclocal.m4 changes.
224         * config.in: Ditto.
226 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
228         * interf.c (sim_open): New arg `kind'.
230         * configure: Regenerated to track ../common/aclocal.m4 changes.
232 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
234         * configure: Regenerated to track ../common/aclocal.m4 changes.
236 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
238         * configure: Re-generate.
240 Thu Mar 13 12:46:04 1997  Doug Evans  <dje@canuck.cygnus.com>
242         * interf.c (sim_open): New SIM_DESC result.  Argument is now in
243         argv form.
244         (other sim_*): New SIM_DESC argument.
246 Tue Feb  4 13:35:20 1997  Doug Evans  <dje@canuck.cygnus.com>
248         * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
249         COMMON_{PRE,POST}_CONFIG_FRAG instead.
250         * configure.in: sinclude ../common/aclocal.m4.
251         * configure: Regenerated.
253 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
255         * configure configure.in Makefile.in:  Update to new configure
256         scheme which is more compatible with WinGDB builds.
257         * configure.in:  Improve comment on how to run autoconf.
258         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
259         * Makefile.in:  Use autoconf substitution to install common
260         makefile fragment.
262 Wed Dec  4 18:25:04 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
264         * interf.c (run_sim): Stop the simulator and reset the stdio after
265         breakpoints.
267 Tue Dec  3 11:54:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
269         * configure.in: Look for libtermcap.a.
270         * Makefile.in: Only link in -ltermcap if it exists.
271         * erc32.c: Update to version 2.6a. Fix uart handling.
272         * exec.c: Update to version 2.6a. Add sparclite support.
273         * float.c: Update to version 2.6a. Convert comments to
274         preprocessor warnings. Add __setfpucw() for i385 hosts so floating
275         point exceptions work on win32.
276         * func.c: Update to version 2.6a. Fix uart handling, add support
277         for user error traps.
278         * help.c: Update to version 2.6a. Add help note on user error
279         traps.
280         * interf.c: Update to version 2.6a. Fix uart handling, and add
281         sparclite support.
282         * examples/gccx: Use sparclite cross compiler, not native gcc.
283         * examples/srt0.S: Use "mov" rather than "wr" for manipulating
284         the psr register.
286 Mon Nov 25 08:28:10 1996  Fred Fish  <fnf@cygnus.com>
288         * Makefile.in (run.o): Remove this rule, it hides the one in
289         ../common/Make-common.in that correctly references the source
290         in the sibling ../common directory.
292 Wed Nov 20 01:30:12 1996  Doug Evans  <dje@canuck.cygnus.com>
294         * Makefile.in: Delete stuff moved to ../common/Make-common.in.
295         (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
296         (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
297         * configure.in: Simplify using macros in ../common/aclocal.m4.
298         Call AC_CHECK_HEADERS(stdlib.h).
299         * configure: Regenerated.
300         * config.in: New file.
301         * func.c (sim_set_callbacks): Delete, moved to
302         * interf.c (sim_set_callbacks): here.
303         (sim_callback): New global.
304         Rewrite all calls to printf_filtered to go through callback.
305         (sim_size,sim_trace): New functions.
306         (sim_{insert,remove}_breakpoint): #if 0 out.
307         * sis.c: #include "config.h".  #include <stdlib.h> if present.
308         (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
309         * sis.h: #include "callback.h".
310         * run.c: Deleted, using one in ../common now.
312 Thu Oct  3 16:12:03 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
314         * Makefile.in (clean): Move config.log to distclean.
316 Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
318         * Makefile.in (clean): Also remove config.log.
320 Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
322         * Makefile.in (CC_FOR_BUILD): New variable.
323         (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
324         (RANLIB, CC): Likewise.
325         (end): Use $(CC_FOR_BUILD), not $(CC).
326         * configure.in: Set CC_FOR_BUILD.
327         * configure: Rebuild.
329 Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
331         * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
332         there either...).
334 Mon Aug 12 17:04:58 1996  Stu Grossman  (grossman@critters.cygnus.com)
336         * erc32.c:  Don't include sys/ioctl.h or sys/file.h.  They aren't
337         necessary.
338         * (port_init):  Don't even *try* to open pty's under _WIN32.
339         * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
340         * float.c:  Get rid of #warning.  Makes Microsoft C barf.
341         * interf.c (sim_open):  Cast fprintf to (fprintf_ftype) to fix
342         compiler warning.
343         * (sim_load sim_create_inferior sim_read):  Use prototypes only in
344         decls, not defs.
345         * Get rid of enum sim_stop.  It's defined in remote-sim.h.
346         * (sim_stop_reason):  Define SIGTRAP if _WIN32.
347         * sis.h:  Include ansidecl.h and remote-sim.h.
349 Wed Jul  3 16:05:23 1996  Stu Grossman  (grossman@critters.cygnus.com)
351         * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
352         sis.h:  Get rid of all uses of long long's.
353         * (close_port read_uart write_uart uarta_tx):  Don't seg fault
354         when can't open pty's.
355         * exec.c:  Add two new instructions: smul, and divscc.
356         * interf.c (flush_windows):  New routine to flush the register
357         windows out to the stack just before returning to GDB.  Makes
358         backtraces work much better.
360 Wed Jun 26 12:19:11 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
362         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
363         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
364         (docdir, oldincludedir): Removed.
365         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
366         (AC_PROG_INSTALL): Added.
367         * configure: Rebuilt.
369 Mon Jun 24 14:19:07 1996  Ian Lance Taylor  <ian@cygnus.com>
371         * configure.in: Call AC_PROG_CC before running configure.host.
372         * configure: Rebuild with autoconf 2.10.
374 Tue Jun  4 10:37:12 1996  Tom Tromey  <tromey@csk3.cygnus.com>
376         * Makefile.in (install): Don't check to see if tooldir exists.
377         Make $(tooldir) and $(tooldir)/bin.
379 Mon Jun  3 12:33:38 1996  Ian Lance Taylor  <ian@cygnus.com>
381         * Makefile.in (end.h): Use explicit ./ when running end.
383 Sun May 19 21:05:31 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
385         * func.c(bfd_load): Don't try to print the filename if the pfbd is
386         NULL.
387         * interf.c(sim_load): Pass the whole string, not just the first
388         byte.
390 Version 2.1 26-02-96
391 --------------------
393 * Fixed bug in "go" command.
395 version 2.0 05-02-96
396 --------------------
398 * Fixed bug in interrupt force register (erc32.c).
400 * Change file load function to use bfd_openr.
402 * SIS should now be endian independent.
404 version 1.8 24-11-95
405 --------------------
407 * Fixed FPU timing - some sequences of FPU instructions did not calculate
408   the resource dependencies right.
410 * Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
411   but no FPU trap is generated.
413 version 1.7.1 31-10-95
414 --------------------
416 * Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
417   the FPU stays in execute mode.
419 * Corrected JMPL and RETT timing (these instructions takes two cycles).
422 version 1.7 25-10-95
423 --------------------
425 * Interrupt during annuled instruction corrupted return address - fixed.
428 version 1.6.2 25-10-95
429 --------------------
431 * Added -DFAST_UART to Makefile
434 version 1.6.1 24-10-95
435 --------------------
437 * Fixed bug in STDFQ which caused bus error
440 version 1.6 02-10-95
441 --------------------
443 * Modified srt0.s to include code that initiates registers in IU and FPU
444   and initializes the data segment. The simulator 'load' command does not
445   longer initialize the data segment!
447 * Corrected MEC timer operation; scalers now divide the frequency by 
448   (scaler_value + 1).
450 * MEC breakpoints are not checked during store operation
453 version 1.5 14-09-95
454 --------------------
456 * Fixed some bugs in the cycle counting for IU & FPU instructions.
458 * Fixed bug that allowed an annuled instruction to cause memory exception.
460 * The *ws parameter in mem.c should now contain the number of waitstates
461   required by the memory access (was total number of cycles).
463 * The supplied srt0.s now clears the BSS (thanks Joel).
465 version 1.4 22-08-95
466 --------------------
468 * Added a '-g' switch to enable/disable the GNU readline(), which cause
469 some problems on solaris 2.x machines.
471 * Enabled MEC watchpoint and breakpoint function to mem.c. Performance 
472 may suffer a bit ...
474 NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
476 version 1.3 26-07-95
477 --------------------
479 * Fixed bug in mulscc instruction (how could that ever have worked?)
481 * Fixed bug in UART B (flushed characters on UART A), thanks Paul.
483 version 1.2 13-07-95
484 --------------------
486 * Fixed bug in interrupt handling (wrong interrupt selected when more that
487 one interrupt pending)
489 * Fixed updating of condition codes during logical instructions (carry and
490 overflow were not reset)
492 * Fixed bug in WRTBR (tt field was wrongly over-written)
494 version 1.1 07-07-95
495 --------------------
497 * Fixed several bugs in the interrupt handler and callback routines.
498 (reported by Paul Warren, Alsys)