Fix erc32 sim build failure due to missing stdint.h.
[platform/upstream/binutils.git] / sim / erc32 / ChangeLog
1 2010-05-20  Joel Brobecker  <brobecker@adacore.com>
2
3         * sis.h: Remove #include <stdint.h>.
4         (uint64, int64): Redefine without using stdint.h.
5         (UINT64_MAX): Define.
6
7 2010-04-20  Tiemen Schut    <T.Schut@sron.nl>
8
9         * erc32.c (sis_memory_write): Change prototype to const unsigned char *.
10         * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
11         for counts.
12         * interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
13         (sim_resume): Specify maximum run time as uint64.
14         * sis.c (run_sim): Change icount to uint64_t.
15         * sis.h: Define uint64 as uint64_t. Change various fields and
16         prototypes to uint64 to support longer simulations.
17
18 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
19
20         * interp.c (sim_write): Add const to buf arg.
21
22 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
23
24         * configure: Regenerate.
25
26 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
27
28         * config.in: Regenerate.
29         * configure: Likewise.
30
31         * configure: Regenerate.
32
33 2008-11-10  Joel Sherrill <joel.sherrill@oarcorp.com>
34
35         * erc32.c, exec.c: Fix warnings.
36
37 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
38
39         * configure: Regenerate to track ../common/common.m4 changes.
40         * config.in: Ditto.
41
42 2008-06-09  Joel Sherrill <joel.sherrill@oarcorp.com>
43
44         * sis.c: Correct spelling error.
45
46 2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
47             Daniel Jacobowitz  <dan@codesourcery.com>
48             Joseph Myers  <joseph@codesourcery.com>
49
50         * configure: Regenerate.
51
52 2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
53
54         * acconfig.h: Remove.
55         * config.in: Regenerate.
56
57 2006-12-20  Hans-Peter Nilsson  <hp@axis.com>
58
59         * configure.ac: Add test for readline, substitute READLINE.
60         * Makefile.in (READLINE_LIB): New substituted-contents variable.
61         (SIM_EXTRA_LIBDEPS): Don't set.
62         (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
63         ../../readline/libreadline.a.
64         * configure: Regenerate.
65
66 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
67
68         * Makefile.in (func.o, help.o): Correct dependencies.
69
70 2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
71
72         * Makefile.in (install-sis): Honor DESTDIR.
73
74 2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
75
76         * configure: Regenerated.
77
78 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
79
80         * configure: Regenerated.
81
82 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
83
84         * configure: Regenerated.
85
86 2005-11-28  Mark Mitchell  <mark@codesourcery.com>
87
88         * interf.c: (gdb/signals.h): Include it.
89         (sim_stop_reason): Use TARGET_SIGNAL_*.
90
91 2005-07-08  Ben Elliston  <bje@au.ibm.com>
92
93         * func.c: Remove ANSI_PROTOTYPES conditional code.
94
95 2005-03-23  Mark Kettenis  <kettenis@gnu.org>
96
97         * configure: Regenerate.
98
99 2005-03-07  Jerome Guitton  <guitton@gnat.com>
100
101         * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
102         strings.
103         (clear_accex): Ditto.
104         * sim/erc32/interf.c: Remove the redeclaration of fprintf.
105         * sim/erc32/sis.c: Ditto.
106         * sim/erc32/exec.c: Add missing semicolon.
107         * sim/erc32/func.c: Remove definitions of generic_print_address,
108         generic_symbol_at_address, buffer_read_memory and perror_memory, as
109         they are already defined in opcodes/dis-buf.c.
110
111 2005-01-14  Andrew Cagney  <cagney@gnu.org>
112
113         * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
114         explicit call to AC_CONFIG_HEADER.
115         * configure: Regenerate.
116
117 2005-01-12  Andrew Cagney  <cagney@gnu.org>
118
119         * configure.ac: Update to use ../common/common.m4.
120         * configure: Re-generate.
121
122 2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
123
124         * configure: Regenerated to track ../common/aclocal.m4 changes.
125
126 2005-01-07  Andrew Cagney  <cagney@gnu.org>
127
128         * configure.ac: Rename configure.in, require autoconf 2.59.
129         * configure: Re-generate.
130
131 2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
132
133         * configure: Regenerate for ../common/aclocal.m4 update.
134
135 2004-11-11  Andreas Schwab  <schwab@suse.de>
136
137         * interf.c: Include "libiberty.h" instead of declaring buildargv
138         ourselves.
139
140 2003-02-27  Andrew Cagney  <cagney@redhat.com>
141
142         * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
143
144 2002-06-16  Andrew Cagney  <ac131313@redhat.com>
145
146         * configure: Regenerated to track ../common/aclocal.m4 changes.
147
148 2002-06-08  Andrew Cagney  <cagney@redhat.com>
149
150         * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h".
151         * interf.c: Include "gdb/remote-sim.h".
152
153 Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
154
155         * configure: Regenerated to track ../common/aclocal.m4 changes.
156
157 2000-03-07  Frank Ch. Eigler  <fche@redhat.com>
158
159         From John Dallaway  <jld@redhat.co.uk>:
160         * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
161
162 2000-03-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
163
164         * func.c (buffer_read_memory): Change type of size to unsigned to
165         match prototype
166
167 Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
168
169         * configure: Regenerated to track ../common/aclocal.m4 changes.
170
171 1999-05-08  Felix Lee  <flee@cygnus.com>
172
173         * configure: Regenerated to track ../common/aclocal.m4 changes.
174         
175 1999-03-03  DJ Delorie  <dj@cygnus.com>
176
177         * configure.in: add termcap and -luser32 for host=cygwin
178         * configure: regenerate
179         
180 1999-02-11  Hugo Tyson  <hmt@cygnus.co.uk>
181
182         * exec.c (dispatch_instruction): 
183         Correct the sense of the
184                   if (!sparclite) {
185                      sregs->trap = TRAP_UNIMP;
186                      break;
187                   }
188         clause that has been pasted around: it's correct in the SCAN and
189         DIVScc (divide step) cases (where it was probably originally
190         written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases
191         ie. instructions only in the SPARC V8 or SPARClite 86x
192         architectures.  It was also present when not required for SMUL,
193         SMULcc, UMUL, UMULcc instructions that are present in all
194         architectures.
195
196 1999-01-25  Hugo Tyson  <hmt@cygnus.co.uk>
197
198         * interf.c (run_sim): Fix a bug in the main loop's handling of
199         annulled delay slot instructions.  There is precedent for this
200         change; the _other_ main loop in sis.c gets it right according to
201         my reading of the code.
202
203         The bug is: if an interrupt happens when the next instruction
204         (at sregs->pc) is annulled, the trap is taken (by execute_trap())
205         with the current values of PC and NPC, so when the trap returns,
206         the annulled instruction is indeed executed.  Another giveaway is
207         that the annul flag is cleared in execute_trap(): the information
208         is demonstrably discarded.
209
210         The solution is: perform annulling before looking for traps, in
211         fact it's neater to do annulling, see if there's an interrupt and
212         if not, do the instruction, then handle traps be they generated by
213         interrupts pending or by the instruction we might just have done.
214         That's what the sis.c one does.
215
216 1999-01-20  Hugo Tyson  <hmt@cygnus.co.uk>
217
218         * sis.h: Add asr17 register for support of SparcLITE (at least the
219         Hitachi ones I find before me)
220
221         * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if
222         sparclite.  Other ASR numbers than 17 or 0 (Y) trap out.
223         Case RDY: Allow read of asr17 if sparclite.  Other ASRs ditto.
224         (execute_trap): Do single-vector-trapping if asr17 bit 0 is set.
225         (init_regs): Initialize y and asr17.
226         NB: In instruction-set space, the Y register is asr0; the
227         instructions have different names for human reasons only.
228
229         * sis.c:
230         * interf.c: Set boolean mode variable dumbio if invoked with
231         argument "-dumbio" and mention it of verbose.
232         * erc32.c: if "dumbio" is set, do not assume that there is a
233         terminal type device attached to stdin/stdout.  Do not set
234         buffering or mess with tcsetattr or do any read operations in
235         order to make UART interrupts; not input data is supported.
236         This is necessary to allow the sim to be used within the eCos
237         testing infrastructure where stdin/stdout are pipes to a TCL
238         program; the sim hangs otherwise.
239
240 Thu Jul 23 07:17:03 1998  Mark Alexander  <marka@cygnus.com>
241
242         * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
243
244 Tue Jul  7 21:12:41 1998  Mark Alexander  <marka@cygnus.com>
245
246         * func.c (bfd_load): Add special handling of a.out executables.
247
248 Sat Jun 13 08:33:25 1998  Mark Alexander  <marka@cygnus.com>
249
250         * func.c (bfd_load): Print correct endianness.
251         * interf.c (run_sim): Print debugging information if verbosity level
252         is greater than 2.
253         (sim_open): Repeated -v options now increment verbosity level.
254         (sim_store_register): Handle little-endian case.
255         (flush_window): Print debugging information if verbosity level
256         is greater then 2.
257
258 Tue Jun  2 15:20:35 1998  Mark Alexander  <marka@cygnus.com>
259
260         * interf.c (sim_open): Use revamped memory_read, which makes
261         byte-swapping unnecessary.  Add -sparclite-board option for
262         emulating RAM found on typical SPARClite boards.  Print
263         error message for unrecognized option.
264         * erc32.c: Change RAM address and size from constants to variables,
265         to allow emulation of SPARClite board RAM.
266         (fetch_bytes, store_bytes): New helper functions for revamped
267         mememory_read and memory_write.
268         (memory_read, memory_write): Rewrite to store bytes in target
269         byte order instead of storing words in host byte order; this
270         greatly simplifies support of little-endian programs.
271         (get_mem_ptr): Remove unnecessary byte parameter.
272         (sis_memory_write, sis_memory_read): Store words in target
273         byte order instead of host byte order.
274         (byte_swap_words): Remove, no longer needed.
275         * sis.h ((byte_swap_words): Remove declaration, no longer needed.
276         (memory_read): Add new sz parameter.
277         * sis.c (run_sim): Use revamped memory_read, which makes
278         byte-swapping unnecessary.
279         * exec.c (dispatch_instruction): Use revamped memory_read, which
280         makes byte-swapping and double-word fetching unnecessary.
281         * func.c (sparclite_board): Declare new variable.
282         (get_regi): Handle little-endian data.
283         (bfd_load): Recognize little-endian SPARClite as having
284         little-endian data.
285         
286 Fri May 22 14:23:16 1998  Mark Alexander  <marka@cygnus.com>
287
288         * erc32.c (port_init): Print messages only if sis_verbose is true.
289         * func.c (bfd_load): Ditto.
290         * interf.c (sim_open): Ditto.
291
292 Thu May 14 23:10:48 1998  Mark Alexander  <marka@cygnus.com>
293
294         * sis.h (uint64, int64): Define.
295         * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
296         * (mul64): Simplify calculation of negative result.
297         * (div64): New helper function for 64-bit division.
298         * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
299         and UDIVCC.
300         
301 Wed May 13 14:59:54 1998  Mark Alexander  <marka@cygnus.com>
302
303         * erc32.c (close_port): Don't close stdin; it kills GDB.
304         (byte_swap_words): New function.
305         * sis.h: (byte_swap_words): Declare.
306         * interf.c (run_sim): Always fetch instructions as big-endian.
307         * sis.c (run_sim): Ditto.
308
309 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
310
311         * configure: Regenerated to track ../common/aclocal.m4 changes.
312
313 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
314
315         * configure: Regenerated to track ../common/aclocal.m4 changes.
316         * config.in: Ditto.
317
318 Sun Apr 26 15:20:17 1998  Tom Tromey  <tromey@cygnus.com>
319
320         * acconfig.h: New file.
321         * configure.in: Reverted change of Apr 24; use sinclude again.
322
323 Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
324
325         * configure: Regenerated to track ../common/aclocal.m4 changes.
326         * config.in: Ditto.
327
328 Fri Apr 24 11:19:52 1998  Tom Tromey  <tromey@cygnus.com>
329
330         * configure.in: Don't call sinclude.
331
332 Sat Apr 18 12:00:16 1998  Mark Alexander  <marka@cygnus.com>
333
334         * func.c (disp_fpu): Fix build problem on big-endian hosts.
335
336 Wed Apr  8 19:33:34 1998  Mark Alexander  <marka@cygnus.com>
337
338         * erc32.c (sim_stop): Handle SIGINT gracefully.
339         * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
340
341 Wed Apr  8 18:29:40 1998  Mark Alexander  <marka@cygnus.com>
342
343         * exec.c (dispatch_instruction): Change how carry out is calculated
344         in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.
345
346 Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
347
348         * configure: Regenerated to track ../common/aclocal.m4 changes.
349
350 Wed Apr  1 21:19:18 1998  Mark Alexander  <marka@cygnus.com>
351
352         * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
353         * erc32.c: Ditto.
354         * exec.c: Ditto.
355         * float.c: Ditto.
356         * func.c: Ditto.
357         * help.c: Ditto.
358         * interf.c: Ditto.
359         * sis.c: Ditto.
360         * sis.h: Ditto.
361
362 Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
363
364         * configure: Regenerated to track ../common/aclocal.m4 changes.
365
366 Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
367
368         * configure: Regenerated to track ../common/aclocal.m4 changes.
369
370 Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
371
372         * configure: Regenerated to track ../common/aclocal.m4 changes.
373
374 Tue Feb 17 12:41:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
375
376         * interf.c (sim_store_register, sim_fetch_register): Pass in
377         length parameter.  Return -1.
378
379 Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
380
381         * configure: Regenerated to track ../common/aclocal.m4 changes.
382
383 Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
384
385         * configure: Regenerated to track ../common/aclocal.m4 changes.
386
387 Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
388
389         * configure: Regenerated to track ../common/aclocal.m4 changes.
390
391 Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
392
393         * configure: Regenerated to track ../common/aclocal.m4 changes.
394         * config.in: Ditto.
395
396 Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
397
398         * configure: Regenerated to track ../common/aclocal.m4 changes.
399
400 Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
401
402         * configure: Regenerated to track ../common/aclocal.m4 changes.
403
404 Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
405
406         * configure: Regenerated to track ../common/aclocal.m4 changes.
407
408 Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
409
410         * configure: Regenerated to track ../common/aclocal.m4 changes.
411
412 Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
413
414         * configure: Regenerated to track ../common/aclocal.m4 changes.
415
416 Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
417
418         * configure: Regenerated to track ../common/aclocal.m4 changes.
419
420 Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
421
422         * configure: Regenerated to track ../common/aclocal.m4 changes.
423
424 Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
425
426         * configure: Regenerated to track ../common/aclocal.m4 changes.
427         * config.in: Ditto.
428
429 Tue Aug 26 10:38:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
430
431         * float.c (__setfpucw): Compile on any i386 target.  Not just NT.
432
433         * interf.c (sim_kill): Delete.
434         (sim_create_inferior): Add ABFD argument.  Initialize PC from ABFD
435         argument.
436         (sim_load): Don't save start address.
437         (start_address): Delete variable.
438
439 Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
440
441         * configure: Regenerated to track ../common/aclocal.m4 changes.
442         * config.in: Ditto.
443
444 Mon Aug 25 16:19:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
445
446         * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
447
448 Mon Jun 30 11:45:25 1997  Doug Evans  <dje@canuck.cygnus.com>
449
450         * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
451
452 Wed May 28 09:46:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
453
454         * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
455         (sim_open): Add callback arg, save it.
456
457 Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
458
459         * configure: Regenerated to track ../common/aclocal.m4 changes.
460
461 Tue Apr 22 11:05:01 1997  Doug Evans  <dje@canuck.cygnus.com>
462
463         * interf.c (sim_open): Undo patch to add -E support.
464
465 Thu Apr 17 03:03:56 1997  Doug Evans  <dje@canuck.cygnus.com>
466
467         * interf.c (sim_open): Ignore -E arg.
468         (start_address): New static local.
469         (sim_load): Return SIM_RC.  New arg abfd.  Set start_address from bfd.
470         (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
471
472 Tue Apr 15 15:16:11 1997  Ian Lance Taylor  <ian@cygnus.com>
473
474         * Makefile.in (install-sis): Depend upon installdirs.  Use
475         $(program_transform_name) directly, rather than using
476         $(INSTALL_XFORM).
477
478 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
479
480         * configure: Regenerated to track ../common/aclocal.m4 changes.
481         * config.in: Ditto.
482
483 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
484
485         * interf.c (sim_open): New arg `kind'.
486
487         * configure: Regenerated to track ../common/aclocal.m4 changes.
488
489 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
490
491         * configure: Regenerated to track ../common/aclocal.m4 changes.
492
493 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
494
495         * configure: Re-generate.
496
497 Thu Mar 13 12:46:04 1997  Doug Evans  <dje@canuck.cygnus.com>
498
499         * interf.c (sim_open): New SIM_DESC result.  Argument is now in
500         argv form.
501         (other sim_*): New SIM_DESC argument.
502
503 Tue Feb  4 13:35:20 1997  Doug Evans  <dje@canuck.cygnus.com>
504
505         * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
506         COMMON_{PRE,POST}_CONFIG_FRAG instead.
507         * configure.in: sinclude ../common/aclocal.m4.
508         * configure: Regenerated.
509
510 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
511
512         * configure configure.in Makefile.in:  Update to new configure
513         scheme which is more compatible with WinGDB builds.
514         * configure.in:  Improve comment on how to run autoconf.
515         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
516         * Makefile.in:  Use autoconf substitution to install common
517         makefile fragment.
518
519 Wed Dec  4 18:25:04 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
520
521         * interf.c (run_sim): Stop the simulator and reset the stdio after
522         breakpoints.
523
524 Tue Dec  3 11:54:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
525
526         * configure.in: Look for libtermcap.a.
527         * Makefile.in: Only link in -ltermcap if it exists.
528         * erc32.c: Update to version 2.6a. Fix uart handling.
529         * exec.c: Update to version 2.6a. Add sparclite support.
530         * float.c: Update to version 2.6a. Convert comments to
531         preprocessor warnings. Add __setfpucw() for i385 hosts so floating
532         point exceptions work on win32.
533         * func.c: Update to version 2.6a. Fix uart handling, add support
534         for user error traps.
535         * help.c: Update to version 2.6a. Add help note on user error
536         traps.
537         * interf.c: Update to version 2.6a. Fix uart handling, and add
538         sparclite support.
539         * examples/gccx: Use sparclite cross compiler, not native gcc.
540         * examples/srt0.S: Use "mov" rather than "wr" for manipulating
541         the psr register.
542
543 Mon Nov 25 08:28:10 1996  Fred Fish  <fnf@cygnus.com>
544
545         * Makefile.in (run.o): Remove this rule, it hides the one in
546         ../common/Make-common.in that correctly references the source
547         in the sibling ../common directory.
548
549 Wed Nov 20 01:30:12 1996  Doug Evans  <dje@canuck.cygnus.com>
550
551         * Makefile.in: Delete stuff moved to ../common/Make-common.in.
552         (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
553         (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
554         * configure.in: Simplify using macros in ../common/aclocal.m4.
555         Call AC_CHECK_HEADERS(stdlib.h).
556         * configure: Regenerated.
557         * config.in: New file.
558         * func.c (sim_set_callbacks): Delete, moved to
559         * interf.c (sim_set_callbacks): here.
560         (sim_callback): New global.
561         Rewrite all calls to printf_filtered to go through callback.
562         (sim_size,sim_trace): New functions.
563         (sim_{insert,remove}_breakpoint): #if 0 out.
564         * sis.c: #include "config.h".  #include <stdlib.h> if present.
565         (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
566         * sis.h: #include "callback.h".
567         * run.c: Deleted, using one in ../common now.
568
569 Thu Oct  3 16:12:03 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
570
571         * Makefile.in (clean): Move config.log to distclean.
572
573 Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
574
575         * Makefile.in (clean): Also remove config.log.
576
577 Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
578
579         * Makefile.in (CC_FOR_BUILD): New variable.
580         (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
581         (RANLIB, CC): Likewise.
582         (end): Use $(CC_FOR_BUILD), not $(CC).
583         * configure.in: Set CC_FOR_BUILD.
584         * configure: Rebuild.
585
586 Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
587
588         * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
589         there either...).
590
591 Mon Aug 12 17:04:58 1996  Stu Grossman  (grossman@critters.cygnus.com)
592
593         * erc32.c:  Don't include sys/ioctl.h or sys/file.h.  They aren't
594         necessary.
595         * (port_init):  Don't even *try* to open pty's under _WIN32.
596         * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
597         * float.c:  Get rid of #warning.  Makes Microsoft C barf.
598         * interf.c (sim_open):  Cast fprintf to (fprintf_ftype) to fix
599         compiler warning.
600         * (sim_load sim_create_inferior sim_read):  Use prototypes only in
601         decls, not defs.
602         * Get rid of enum sim_stop.  It's defined in remote-sim.h.
603         * (sim_stop_reason):  Define SIGTRAP if _WIN32.
604         * sis.h:  Include ansidecl.h and remote-sim.h.
605
606 Wed Jul  3 16:05:23 1996  Stu Grossman  (grossman@critters.cygnus.com)
607
608         * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
609         sis.h:  Get rid of all uses of long long's.
610         * (close_port read_uart write_uart uarta_tx):  Don't seg fault
611         when can't open pty's.
612         * exec.c:  Add two new instructions: smul, and divscc.
613         * interf.c (flush_windows):  New routine to flush the register
614         windows out to the stack just before returning to GDB.  Makes
615         backtraces work much better.
616
617 Wed Jun 26 12:19:11 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
618
619         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
620         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
621         (docdir, oldincludedir): Removed.
622         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
623         (AC_PROG_INSTALL): Added.
624         * configure: Rebuilt.
625
626 Mon Jun 24 14:19:07 1996  Ian Lance Taylor  <ian@cygnus.com>
627
628         * configure.in: Call AC_PROG_CC before running configure.host.
629         * configure: Rebuild with autoconf 2.10.
630
631 Tue Jun  4 10:37:12 1996  Tom Tromey  <tromey@csk3.cygnus.com>
632
633         * Makefile.in (install): Don't check to see if tooldir exists.
634         Make $(tooldir) and $(tooldir)/bin.
635
636 Mon Jun  3 12:33:38 1996  Ian Lance Taylor  <ian@cygnus.com>
637
638         * Makefile.in (end.h): Use explicit ./ when running end.
639
640 Sun May 19 21:05:31 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
641
642         * func.c(bfd_load): Don't try to print the filename if the pfbd is
643         NULL.
644         * interf.c(sim_load): Pass the whole string, not just the first
645         byte.
646
647 Version 2.1 26-02-96
648 --------------------
649  
650 * Fixed bug in "go" command.
651  
652 version 2.0 05-02-96
653 --------------------
654
655 * Fixed bug in interrupt force register (erc32.c).
656
657 * Change file load function to use bfd_openr.
658
659 * SIS should now be endian independent.
660
661 version 1.8 24-11-95
662 --------------------
663
664 * Fixed FPU timing - some sequences of FPU instructions did not calculate
665   the resource dependencies right.
666
667 * Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
668   but no FPU trap is generated.
669
670 version 1.7.1 31-10-95
671 --------------------
672
673 * Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
674   the FPU stays in execute mode.
675
676 * Corrected JMPL and RETT timing (these instructions takes two cycles).
677
678
679 version 1.7 25-10-95
680 --------------------
681
682 * Interrupt during annuled instruction corrupted return address - fixed.
683
684
685 version 1.6.2 25-10-95
686 --------------------
687
688 * Added -DFAST_UART to Makefile
689  
690
691 version 1.6.1 24-10-95
692 --------------------
693  
694 * Fixed bug in STDFQ which caused bus error
695
696
697 version 1.6 02-10-95
698 --------------------
699  
700 * Modified srt0.s to include code that initiates registers in IU and FPU
701   and initializes the data segment. The simulator 'load' command does not
702   longer initialize the data segment!
703
704 * Corrected MEC timer operation; scalers now divide the frequency by 
705   (scaler_value + 1).
706
707 * MEC breakpoints are not checked during store operation
708
709
710 version 1.5 14-09-95
711 --------------------
712
713 * Fixed some bugs in the cycle counting for IU & FPU instructions.
714
715 * Fixed bug that allowed an annuled instruction to cause memory exception.
716
717 * The *ws parameter in mem.c should now contain the number of waitstates
718   required by the memory access (was total number of cycles).
719
720 * The supplied srt0.s now clears the BSS (thanks Joel).
721
722 version 1.4 22-08-95
723 --------------------
724
725 * Added a '-g' switch to enable/disable the GNU readline(), which cause
726 some problems on solaris 2.x machines.
727
728 * Enabled MEC watchpoint and breakpoint function to mem.c. Performance 
729 may suffer a bit ...
730
731 NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
732
733 version 1.3 26-07-95
734 --------------------
735
736 * Fixed bug in mulscc instruction (how could that ever have worked?)
737
738 * Fixed bug in UART B (flushed characters on UART A), thanks Paul.
739
740 version 1.2 13-07-95
741 --------------------
742
743 * Fixed bug in interrupt handling (wrong interrupt selected when more that
744 one interrupt pending)
745
746 * Fixed updating of condition codes during logical instructions (carry and
747 overflow were not reset)
748
749 * Fixed bug in WRTBR (tt field was wrongly over-written)
750
751 version 1.1 07-07-95
752 --------------------
753
754 * Fixed several bugs in the interrupt handler and callback routines.
755 (reported by Paul Warren, Alsys)