Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
[deliverable/binutils-gdb.git] / sim / erc32 / ChangeLog
CommitLineData
7d146b76
MA
1Tue Jun 2 15:20:35 1998 Mark Alexander <marka@cygnus.com>
2
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
29Fri May 22 14:23:16 1998 Mark Alexander <marka@cygnus.com>
30
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.
34
f1a0162a
MA
35Thu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com>
36
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
17f382c9
DE
44Wed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com>
45
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.
51
f1a0162a
MA
52Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
53
54 * configure: Regenerated to track ../common/aclocal.m4 changes.
55
5da9ce07
TT
56Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
57
58 * configure: Regenerated to track ../common/aclocal.m4 changes.
59 * config.in: Ditto.
60
61Sun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com>
62
63 * acconfig.h: New file.
64 * configure.in: Reverted change of Apr 24; use sinclude again.
65
b1df34b9
TT
66Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
67
68 * configure: Regenerated to track ../common/aclocal.m4 changes.
69 * config.in: Ditto.
70
71Fri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com>
72
73 * configure.in: Don't call sinclude.
74
75Sat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com>
76
77 * func.c (disp_fpu): Fix build problem on big-endian hosts.
78
ecd4a90b
MA
79Wed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com>
80
81 * erc32.c (sim_stop): Handle SIGINT gracefully.
82 * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
83
e2324e29
MA
84Wed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com>
85
86 * exec.c (dispatch_instruction): Change how carry out is calculated
87 in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC.
88
278bda40
AC
89Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
90
91 * configure: Regenerated to track ../common/aclocal.m4 changes.
92
93Wed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com>
94
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.
104
d8f53049
AC
105Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
106
107 * configure: Regenerated to track ../common/aclocal.m4 changes.
108
109Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
110
111 * configure: Regenerated to track ../common/aclocal.m4 changes.
112
113Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
114
115 * configure: Regenerated to track ../common/aclocal.m4 changes.
116
117Tue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
118
119 * interf.c (sim_store_register, sim_fetch_register): Pass in
120 length parameter. Return -1.
121
122Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
123
124 * configure: Regenerated to track ../common/aclocal.m4 changes.
125
412c4e94
AC
126Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
127
128 * configure: Regenerated to track ../common/aclocal.m4 changes.
129
462cfbc4
DE
130Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
131
132 * configure: Regenerated to track ../common/aclocal.m4 changes.
133
134Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
135
136 * configure: Regenerated to track ../common/aclocal.m4 changes.
137 * config.in: Ditto.
138
139Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
140
141 * configure: Regenerated to track ../common/aclocal.m4 changes.
142
143Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
144
145 * configure: Regenerated to track ../common/aclocal.m4 changes.
146
147Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
148
149 * configure: Regenerated to track ../common/aclocal.m4 changes.
150
92f91d1f
AC
151Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
152
153 * configure: Regenerated to track ../common/aclocal.m4 changes.
154
794e9ac9
AC
155Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
156
157 * configure: Regenerated to track ../common/aclocal.m4 changes.
158
b45caf05
AC
159Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
160
161 * configure: Regenerated to track ../common/aclocal.m4 changes.
162
163Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
164
165 * configure: Regenerated to track ../common/aclocal.m4 changes.
166
88117054
AC
167Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
168
169 * configure: Regenerated to track ../common/aclocal.m4 changes.
170 * config.in: Ditto.
171
7230ff0f
AC
172Tue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
173
fafce69a
AC
174 * float.c (__setfpucw): Compile on any i386 target. Not just NT.
175
7230ff0f 176 * interf.c (sim_kill): Delete.
fafce69a
AC
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.
7230ff0f 181
247fccde
AC
182Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
183
184 * configure: Regenerated to track ../common/aclocal.m4 changes.
185 * config.in: Ditto.
186
187Mon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
188
189 * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
190
191Mon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com>
192
193 * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
194
195Wed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
196
197 * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
198 (sim_open): Add callback arg, save it.
199
200Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
201
202 * configure: Regenerated to track ../common/aclocal.m4 changes.
203
2d03fffe
DE
204Tue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com>
205
206 * interf.c (sim_open): Undo patch to add -E support.
207
26277668
DE
208Thu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com>
209
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.
214
61473a55
ILT
215Tue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com>
216
217 * Makefile.in (install-sis): Depend upon installdirs. Use
218 $(program_transform_name) directly, rather than using
219 $(INSTALL_XFORM).
220
221Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
222
223 * configure: Regenerated to track ../common/aclocal.m4 changes.
224 * config.in: Ditto.
225
fbda74b1
DE
226Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
227
999977ea
DE
228 * interf.c (sim_open): New arg `kind'.
229
fbda74b1
DE
230 * configure: Regenerated to track ../common/aclocal.m4 changes.
231
a35e91c3
AC
232Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
233
234 * configure: Regenerated to track ../common/aclocal.m4 changes.
235
236Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
237
238 * configure: Re-generate.
239
323d0e9d
DE
240Thu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com>
241
242 * interf.c (sim_open): New SIM_DESC result. Argument is now in
243 argv form.
244 (other sim_*): New SIM_DESC argument.
245
246Tue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
247
248 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
249 COMMON_{PRE,POST}_CONFIG_FRAG instead.
250 * configure.in: sinclude ../common/aclocal.m4.
251 * configure: Regenerated.
252
295dbbe4
SG
253Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
254
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.
261
262Wed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com>
263
264 * interf.c (run_sim): Stop the simulator and reset the stdio after
265 breakpoints.
266
a665caa6
RS
267Tue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com>
268
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.
285
286Mon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com>
287
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.
291
d70e3e2b
DE
292Wed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com>
293
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".
77f4c99c 310 * run.c: Deleted, using one in ../common now.
d70e3e2b
DE
311
312Thu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
313
314 * Makefile.in (clean): Move config.log to distclean.
315
38e4433b
JM
316Wed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
317
d70e3e2b 318 * Makefile.in (clean): Also remove config.log.
38e4433b
JM
319
320Sat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com>
321
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.
328
fad4a760
SG
329Sun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com)
330
331 * erc32.c (port_init): Disable this for __GO32__ (got no pty's
332 there either...).
333
334Mon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com)
335
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.
348
b7b31114
SG
349Wed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com)
350
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.
359
360Wed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
361
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.
368
369Mon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com>
370
371 * configure.in: Call AC_PROG_CC before running configure.host.
372 * configure: Rebuild with autoconf 2.10.
373
374Tue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com>
375
376 * Makefile.in (install): Don't check to see if tooldir exists.
377 Make $(tooldir) and $(tooldir)/bin.
378
f64c2f57
ILT
379Mon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com>
380
381 * Makefile.in (end.h): Use explicit ./ when running end.
382
383Sun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
384
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.
389
390Version 2.1 26-02-96
f4d2ff34
RS
391--------------------
392
393* Fixed bug in "go" command.
394
395version 2.0 05-02-96
396--------------------
397
398* Fixed bug in interrupt force register (erc32.c).
399
400* Change file load function to use bfd_openr.
401
402* SIS should now be endian independent.
403
404version 1.8 24-11-95
405--------------------
406
407* Fixed FPU timing - some sequences of FPU instructions did not calculate
408 the resource dependencies right.
409
410* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
411 but no FPU trap is generated.
412
413version 1.7.1 31-10-95
414--------------------
415
416* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
417 the FPU stays in execute mode.
418
419* Corrected JMPL and RETT timing (these instructions takes two cycles).
420
421
422version 1.7 25-10-95
423--------------------
424
425* Interrupt during annuled instruction corrupted return address - fixed.
426
427
428version 1.6.2 25-10-95
429--------------------
430
431* Added -DFAST_UART to Makefile
432
433
434version 1.6.1 24-10-95
435--------------------
436
437* Fixed bug in STDFQ which caused bus error
438
439
440version 1.6 02-10-95
441--------------------
442
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!
446
447* Corrected MEC timer operation; scalers now divide the frequency by
448 (scaler_value + 1).
449
450* MEC breakpoints are not checked during store operation
451
452
453version 1.5 14-09-95
454--------------------
455
456* Fixed some bugs in the cycle counting for IU & FPU instructions.
457
458* Fixed bug that allowed an annuled instruction to cause memory exception.
459
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).
462
463* The supplied srt0.s now clears the BSS (thanks Joel).
464
465version 1.4 22-08-95
466--------------------
467
468* Added a '-g' switch to enable/disable the GNU readline(), which cause
469some problems on solaris 2.x machines.
470
471* Enabled MEC watchpoint and breakpoint function to mem.c. Performance
472may suffer a bit ...
473
474NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
475
476version 1.3 26-07-95
477--------------------
478
479* Fixed bug in mulscc instruction (how could that ever have worked?)
480
481* Fixed bug in UART B (flushed characters on UART A), thanks Paul.
482
483version 1.2 13-07-95
484--------------------
485
486* Fixed bug in interrupt handling (wrong interrupt selected when more that
487one interrupt pending)
488
489* Fixed updating of condition codes during logical instructions (carry and
490overflow were not reset)
491
492* Fixed bug in WRTBR (tt field was wrongly over-written)
493
494version 1.1 07-07-95
495--------------------
496
497* Fixed several bugs in the interrupt handler and callback routines.
498(reported by Paul Warren, Alsys)
This page took 0.114326 seconds and 4 git commands to generate.