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