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