1 2015-04-24 David Binderman <dcb314@hotmail.com>
2 Nick Clifton <nickc@redhat.com>
5 * exec.c (add32): Fix typo in check for overflow.
7 2015-04-19 Jiri Gaisler <jiri@gaisler.se>
9 * erc32.c (current_target_byte_order): Delete.
10 (fetch_bytes): Remove.
11 (store_bytes): Remove byte twisting.
12 (memory_read, memory_write): Access memory directly.
13 (extract_short, extract_short_signed, extract_byte,
14 extract_byte_signed): New function for for sub-word LD instructions.
15 * exec.c (extract_short, extract_short_signed, extract_byte,
16 extract_byte_signed): New functions.
17 (dispatch_instruction): Update memory reads.
18 * func.c (current_target_byte_order): Delete.
19 (get_regi): Delete little endian handling.
20 (disp_ctrl, dis_mem): Adjust print-out to new data endian.
21 (bfd_load): Delete little endian handling.
22 * interf.c (current_target_byte_order): Delete.
23 (sim_open): Set dinfo to host endian to get correct disassembly.
24 (sim_write, sim_read): Convert endian when gdb reads or writes
26 * sis.c (main): Set endian.
27 * sis.h (EBT): Define.
29 2015-04-13 Mike Frysinger <vapier@gentoo.org>
31 * configure: Regenerate.
33 2015-03-31 Mike Frysinger <vapier@gentoo.org>
35 * config.in, configure: Regenerate.
37 2015-03-28 Jiri Gaisler <jiri@gaisler.se>
39 * func.c (exec_cmd): Fix old style prototype. Mark cmd const. Save
40 the command in a new cmdsave2 to avoid modifying.
41 (bfd_load): Fix old style prototype. Mark fname const.
42 * sis.h (exec_cmd): Mark cmd const.
43 (bfd_load): Mark fname const.
45 2015-03-28 Jiri Gaisler <jiri@gaisler.se>
47 * erc32.c (memory_iread): New function to fetch instructions.
48 (memory_read): Print message in verbose mode.
49 * interf.c (run_sim): Use memory_iread.
50 * sis.c (run_sim): As above.
51 * sis.h (memory_iread): New prototype.
54 2015-03-28 Mike Frysinger <vapier@gentoo.org>
56 * erc32.c (mec_read): Delete parenthesis around return statement.
57 (mec_write, read_uart, rtc_counter_read, gpt_counter_read, memory_read,
58 memory_write, get_mem_ptr, sis_memory_write, sis_memory_read): Likewise.
59 * exec.c (sub_cc, add_cc, add32, dispatch_instruction, fpexec, chk_asi,
60 execute_trap, check_interrupts): Likewise.
61 * float.c (get_accex): Likewise.
62 * func.c (batch, limcalc, exec_cmd, disp_fpu, now, wait_for_irq,
63 check_bpt, bfd_load, get_time): Likewise.
64 * interf.c (run_sim, sim_write, sim_read): Likewise.
65 * sis.c (run_sim): Likewise.
67 2015-03-24 Mike Frysinger <vapier@gentoo.org>
69 * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
71 2015-03-17 Jiri Gaisler <jiri@gaisler.se>
73 * func.c (exec_cmd): Silence compiler warnings when calling system().
74 (batch): Replace fgets() with getline().
76 2015-03-17 Jiri Gaisler <jiri@gaisler.se>
78 * func.c (show_stat): Print simulation time in portable long long
80 * help.c (usage): Update usage help print-out.
81 * sis.c (run_sim): Increase debug level with -v. Also print
82 simulation time in portable long long format.
83 * sis.h: Use stdint.h for portable 32- and 64-bit ints.
85 2015-03-16 Mike Frysinger <vapier@gentoo.org>
87 * config.in, configure: Regenerate.
89 2015-03-16 Jiri Gaisler <jiri@gaisler.se>
91 * Makefile.in (end, end.h): Remove target rules.
92 (clean): Remove end and end.h.
93 (erc32.o, exec.o, float.o, func.o, help.o, interf.o, sis.o): Delete
95 * configure, config.in: Regenerate.
96 * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN
98 * erc32.c: Remove end.h include.
99 * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN.
100 * func.c, sis.c: Likewise.
102 2015-03-14 Mike Frysinger <vapier@gentoo.org>
104 * Makefile.in (SIM_RUN_OBJS): Set to sis.o.
106 2015-03-14 Mike Frysinger <vapier@gentoo.org>
108 * configure.ac (AC_CHECK_HEADERS): Delete.
109 * aclocal.m4, configure: Regenerate.
111 2015-02-22 Jiri Gaisler <jiri@gaisler.se>
113 * Makefile.in: Add include path to readline.h.
114 sis.c: Remove locally define readline types.
116 2015-02-21 Jiri Gaisler <jiri@gaisler.se>
118 * func.c (reset_stat, show_stat): Switch to double in time keeping.
119 (get_time): New function to get system time.
120 * interf.c (run_sim): Use get_time() for system time.
121 * sis.c (run_sim): Likewise.
124 2015-02-21 Jiri Gaisler <jiri@gaisler.se>
126 * Makefile.in: Remove unused defines
128 2015-02-21 Jiri Gaisler <jiri@gaisler.se>
130 * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h
131 instead of custom assembly.
133 2015-02-21 Jiri Gaisler <jiri@gaisler.se>
135 * erc32.c (mec_read): Allow simulator memory size to be read
137 (boot_init): initialize memory and timers if start address is
139 * func.c (exe_cmd): Call boot_init if start address not 0.
140 * interf.c (run_sim): Likewise.
142 2015-02-21 Jiri Gaisler <jiri@gaisler.se>
144 * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
146 2015-02-21 Jiri Gaisler <jiri@gaisler.se>
148 * func.c (print_insn_sparc_sis): Add helper function for disassembly.
149 (disp_ctrl): Use helper function.
151 2014-08-19 Alan Modra <amodra@gmail.com>
153 * configure: Regenerate.
155 2014-08-15 Roland McGrath <mcgrathr@google.com>
157 * configure: Regenerate.
158 * config.in: Regenerate.
160 2014-03-10 Mike Frysinger <vapier@gentoo.org>
162 * interf.c (sim_do_command): Add const to cmd.
164 2014-03-05 Mike Frysinger <vapier@gentoo.org>
166 * interf.c (sim_load): Add const to prog.
168 2013-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
171 * float.c (set_fsr): Add missing "break" statements. Reindent
174 2013-09-23 Alan Modra <amodra@gmail.com>
176 * configure: Regenerate.
178 2013-06-03 Mike Frysinger <vapier@gentoo.org>
180 * aclocal.m4, configure: Regenerate.
182 2013-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
184 * Makefile.in: Include build directory in search path to find
187 2012-08-16 Nick Clifton <nickc@redhat.com>
189 * end.c: Include config.h before system header files.
195 * interf.c: Likewise.
197 2012-06-15 Joel Brobecker <brobecker@adacore.com>
199 * sys.h: Include "config.h".
201 2012-06-15 Joel Brobecker <brobecker@adacore.com>
203 * config.in, configure: Regenerate.
205 2012-05-24 Pedro Alves <palves@redhat.com>
209 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
211 2012-03-24 Mike Frysinger <vapier@gentoo.org>
213 * aclocal.m4, config.in, configure: Regenerate.
215 2011-12-31 Mike Frysinger <vapier@gentoo.org>
218 * configure.ac: Change AC_CHECK_LIB to AC_SEARCH_LIBS to match
219 the code in gdb's configure.ac with $TERMCAP.
220 * configure: Regenerated.
222 2011-12-03 Mike Frysinger <vapier@gentoo.org>
224 * aclocal.m4: New file.
225 * configure: Regenerate.
227 2011-10-17 Mike Frysinger <vapier@gentoo.org>
229 * configure.ac: Change include to common/acinclude.m4.
231 2011-10-17 Mike Frysinger <vapier@gentoo.org>
233 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
234 call. Replace common.m4 include with SIM_AC_COMMON.
235 * configure: Regenerate.
237 2011-06-09 Mike Frysinger <vapier@gentoo.org>
239 * interf.c (sim_open): Accept and ignore `--sysroot=...'.
241 2011-06-01 Joel Brobecker <brobecker@adacore.com>
243 * interf.c (sim_complete_command): New stub function.
245 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
247 * interf.c (sim_store_register): Update return value to
250 2010-05-20 Joel Brobecker <brobecker@adacore.com>
252 * sis.h: Remove #include <stdint.h>.
253 (uint64, int64): Redefine without using stdint.h.
254 (UINT64_MAX): Define.
256 2010-04-20 Tiemen Schut <T.Schut@sron.nl>
258 * erc32.c (sis_memory_write): Change prototype to const unsigned char *.
259 * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
261 * interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
262 (sim_resume): Specify maximum run time as uint64.
263 * sis.c (run_sim): Change icount to uint64_t.
264 * sis.h: Define uint64 as uint64_t. Change various fields and
265 prototypes to uint64 to support longer simulations.
267 2010-04-14 Mike Frysinger <vapier@gentoo.org>
269 * interp.c (sim_write): Add const to buf arg.
271 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
273 * configure: Regenerate.
275 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
277 * config.in: Regenerate.
278 * configure: Likewise.
280 * configure: Regenerate.
282 2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
284 * erc32.c, exec.c: Fix warnings.
286 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
288 * configure: Regenerate to track ../common/common.m4 changes.
291 2008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>
293 * sis.c: Correct spelling error.
295 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
296 Daniel Jacobowitz <dan@codesourcery.com>
297 Joseph Myers <joseph@codesourcery.com>
299 * configure: Regenerate.
301 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
303 * acconfig.h: Remove.
304 * config.in: Regenerate.
306 2006-12-20 Hans-Peter Nilsson <hp@axis.com>
308 * configure.ac: Add test for readline, substitute READLINE.
309 * Makefile.in (READLINE_LIB): New substituted-contents variable.
310 (SIM_EXTRA_LIBDEPS): Don't set.
311 (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
312 ../../readline/libreadline.a.
313 * configure: Regenerate.
315 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
317 * Makefile.in (func.o, help.o): Correct dependencies.
319 2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
321 * Makefile.in (install-sis): Honor DESTDIR.
323 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
325 * configure: Regenerated.
327 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
329 * configure: Regenerated.
331 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
333 * configure: Regenerated.
335 2005-11-28 Mark Mitchell <mark@codesourcery.com>
337 * interf.c: (gdb/signals.h): Include it.
338 (sim_stop_reason): Use TARGET_SIGNAL_*.
340 2005-07-08 Ben Elliston <bje@au.ibm.com>
342 * func.c: Remove ANSI_PROTOTYPES conditional code.
344 2005-03-23 Mark Kettenis <kettenis@gnu.org>
346 * configure: Regenerate.
348 2005-03-07 Jerome Guitton <guitton@gnat.com>
350 * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
352 (clear_accex): Ditto.
353 * sim/erc32/interf.c: Remove the redeclaration of fprintf.
354 * sim/erc32/sis.c: Ditto.
355 * sim/erc32/exec.c: Add missing semicolon.
356 * sim/erc32/func.c: Remove definitions of generic_print_address,
357 generic_symbol_at_address, buffer_read_memory and perror_memory, as
358 they are already defined in opcodes/dis-buf.c.
360 2005-01-14 Andrew Cagney <cagney@gnu.org>
362 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
363 explicit call to AC_CONFIG_HEADER.
364 * configure: Regenerate.
366 2005-01-12 Andrew Cagney <cagney@gnu.org>
368 * configure.ac: Update to use ../common/common.m4.
369 * configure: Re-generate.
371 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
373 * configure: Regenerated to track ../common/aclocal.m4 changes.
375 2005-01-07 Andrew Cagney <cagney@gnu.org>
377 * configure.ac: Rename configure.in, require autoconf 2.59.
378 * configure: Re-generate.
380 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
382 * configure: Regenerate for ../common/aclocal.m4 update.
384 2004-11-11 Andreas Schwab <schwab@suse.de>
386 * interf.c: Include "libiberty.h" instead of declaring buildargv
389 2003-02-27 Andrew Cagney <cagney@redhat.com>
391 * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
393 2002-06-16 Andrew Cagney <ac131313@redhat.com>
395 * configure: Regenerated to track ../common/aclocal.m4 changes.
397 2002-06-08 Andrew Cagney <cagney@redhat.com>
399 * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h".
400 * interf.c: Include "gdb/remote-sim.h".
402 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
404 * configure: Regenerated to track ../common/aclocal.m4 changes.
406 2000-03-07 Frank Ch. Eigler <fche@redhat.com>
408 From John Dallaway <jld@redhat.co.uk>:
409 * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
411 2000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk>
413 * func.c (buffer_read_memory): Change type of size to unsigned to
416 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
418 * configure: Regenerated to track ../common/aclocal.m4 changes.
420 1999-05-08 Felix Lee <flee@cygnus.com>
422 * configure: Regenerated to track ../common/aclocal.m4 changes.
424 1999-03-03 DJ Delorie <dj@cygnus.com>
426 * configure.in: add termcap and -luser32 for host=cygwin
427 * configure: regenerate
429 1999-02-11 Hugo Tyson <hmt@cygnus.co.uk>
431 * exec.c (dispatch_instruction):
432 Correct the sense of the
434 sregs->trap = TRAP_UNIMP;
437 clause that has been pasted around: it's correct in the SCAN and
438 DIVScc (divide step) cases (where it was probably originally
439 written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases
440 ie. instructions only in the SPARC V8 or SPARClite 86x
441 architectures. It was also present when not required for SMUL,
442 SMULcc, UMUL, UMULcc instructions that are present in all
445 1999-01-25 Hugo Tyson <hmt@cygnus.co.uk>
447 * interf.c (run_sim): Fix a bug in the main loop's handling of
448 annulled delay slot instructions. There is precedent for this
449 change; the _other_ main loop in sis.c gets it right according to
450 my reading of the code.
452 The bug is: if an interrupt happens when the next instruction
453 (at sregs->pc) is annulled, the trap is taken (by execute_trap())
454 with the current values of PC and NPC, so when the trap returns,
455 the annulled instruction is indeed executed. Another giveaway is
456 that the annul flag is cleared in execute_trap(): the information
457 is demonstrably discarded.
459 The solution is: perform annulling before looking for traps, in
460 fact it's neater to do annulling, see if there's an interrupt and
461 if not, do the instruction, then handle traps be they generated by
462 interrupts pending or by the instruction we might just have done.
463 That's what the sis.c one does.
465 1999-01-20 Hugo Tyson <hmt@cygnus.co.uk>
467 * sis.h: Add asr17 register for support of SparcLITE (at least the
468 Hitachi ones I find before me)
470 * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if
471 sparclite. Other ASR numbers than 17 or 0 (Y) trap out.
472 Case RDY: Allow read of asr17 if sparclite. Other ASRs ditto.
473 (execute_trap): Do single-vector-trapping if asr17 bit 0 is set.
474 (init_regs): Initialize y and asr17.
475 NB: In instruction-set space, the Y register is asr0; the
476 instructions have different names for human reasons only.
479 * interf.c: Set boolean mode variable dumbio if invoked with
480 argument "-dumbio" and mention it of verbose.
481 * erc32.c: if "dumbio" is set, do not assume that there is a
482 terminal type device attached to stdin/stdout. Do not set
483 buffering or mess with tcsetattr or do any read operations in
484 order to make UART interrupts; not input data is supported.
485 This is necessary to allow the sim to be used within the eCos
486 testing infrastructure where stdin/stdout are pipes to a TCL
487 program; the sim hangs otherwise.
489 Thu Jul 23 07:17:03 1998 Mark Alexander <marka@cygnus.com>
491 * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
493 Tue Jul 7 21:12:41 1998 Mark Alexander <marka@cygnus.com>
495 * func.c (bfd_load): Add special handling of a.out executables.
497 Sat Jun 13 08:33:25 1998 Mark Alexander <marka@cygnus.com>
499 * func.c (bfd_load): Print correct endianness.
500 * interf.c (run_sim): Print debugging information if verbosity level
502 (sim_open): Repeated -v options now increment verbosity level.
503 (sim_store_register): Handle little-endian case.
504 (flush_window): Print debugging information if verbosity level
507 Tue Jun 2 15:20:35 1998 Mark Alexander <marka@cygnus.com>
509 * interf.c (sim_open): Use revamped memory_read, which makes
510 byte-swapping unnecessary. Add -sparclite-board option for
511 emulating RAM found on typical SPARClite boards. Print
512 error message for unrecognized option.
513 * erc32.c: Change RAM address and size from constants to variables,
514 to allow emulation of SPARClite board RAM.
515 (fetch_bytes, store_bytes): New helper functions for revamped
516 mememory_read and memory_write.
517 (memory_read, memory_write): Rewrite to store bytes in target
518 byte order instead of storing words in host byte order; this
519 greatly simplifies support of little-endian programs.
520 (get_mem_ptr): Remove unnecessary byte parameter.
521 (sis_memory_write, sis_memory_read): Store words in target
522 byte order instead of host byte order.
523 (byte_swap_words): Remove, no longer needed.
524 * sis.h ((byte_swap_words): Remove declaration, no longer needed.
525 (memory_read): Add new sz parameter.
526 * sis.c (run_sim): Use revamped memory_read, which makes
527 byte-swapping unnecessary.
528 * exec.c (dispatch_instruction): Use revamped memory_read, which
529 makes byte-swapping and double-word fetching unnecessary.
530 * func.c (sparclite_board): Declare new variable.
531 (get_regi): Handle little-endian data.
532 (bfd_load): Recognize little-endian SPARClite as having
535 Fri May 22 14:23:16 1998 Mark Alexander <marka@cygnus.com>
537 * erc32.c (port_init): Print messages only if sis_verbose is true.
538 * func.c (bfd_load): Ditto.
539 * interf.c (sim_open): Ditto.
541 Thu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com>
543 * sis.h (uint64, int64): Define.
544 * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
545 * (mul64): Simplify calculation of negative result.
546 * (div64): New helper function for 64-bit division.
547 * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
550 Wed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com>
552 * erc32.c (close_port): Don't close stdin; it kills GDB.
553 (byte_swap_words): New function.
554 * sis.h: (byte_swap_words): Declare.
555 * interf.c (run_sim): Always fetch instructions as big-endian.
556 * sis.c (run_sim): Ditto.
558 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
560 * configure: Regenerated to track ../common/aclocal.m4 changes.
562 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
564 * configure: Regenerated to track ../common/aclocal.m4 changes.
567 Sun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com>
569 * acconfig.h: New file.
570 * configure.in: Reverted change of Apr 24; use sinclude again.
572 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
574 * configure: Regenerated to track ../common/aclocal.m4 changes.
577 Fri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com>
579 * configure.in: Don't call sinclude.
581 Sat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com>
583 * func.c (disp_fpu): Fix build problem on big-endian hosts.
585 Wed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com>
587 * erc32.c (sim_stop): Handle SIGINT gracefully.
588 * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
590 Wed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com>
592 * exec.c (dispatch_instruction): Change how carry out is calculated
593 in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC.
595 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
597 * configure: Regenerated to track ../common/aclocal.m4 changes.
599 Wed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com>
601 * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
611 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
613 * configure: Regenerated to track ../common/aclocal.m4 changes.
615 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
617 * configure: Regenerated to track ../common/aclocal.m4 changes.
619 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
621 * configure: Regenerated to track ../common/aclocal.m4 changes.
623 Tue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
625 * interf.c (sim_store_register, sim_fetch_register): Pass in
626 length parameter. Return -1.
628 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
630 * configure: Regenerated to track ../common/aclocal.m4 changes.
632 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
634 * configure: Regenerated to track ../common/aclocal.m4 changes.
636 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
638 * configure: Regenerated to track ../common/aclocal.m4 changes.
640 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
642 * configure: Regenerated to track ../common/aclocal.m4 changes.
645 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
647 * configure: Regenerated to track ../common/aclocal.m4 changes.
649 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
651 * configure: Regenerated to track ../common/aclocal.m4 changes.
653 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
655 * configure: Regenerated to track ../common/aclocal.m4 changes.
657 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
659 * configure: Regenerated to track ../common/aclocal.m4 changes.
661 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
663 * configure: Regenerated to track ../common/aclocal.m4 changes.
665 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
667 * configure: Regenerated to track ../common/aclocal.m4 changes.
669 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
671 * configure: Regenerated to track ../common/aclocal.m4 changes.
673 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
675 * configure: Regenerated to track ../common/aclocal.m4 changes.
678 Tue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
680 * float.c (__setfpucw): Compile on any i386 target. Not just NT.
682 * interf.c (sim_kill): Delete.
683 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
685 (sim_load): Don't save start address.
686 (start_address): Delete variable.
688 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
690 * configure: Regenerated to track ../common/aclocal.m4 changes.
693 Mon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
695 * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
697 Mon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com>
699 * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
701 Wed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
703 * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
704 (sim_open): Add callback arg, save it.
706 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
708 * configure: Regenerated to track ../common/aclocal.m4 changes.
710 Tue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com>
712 * interf.c (sim_open): Undo patch to add -E support.
714 Thu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com>
716 * interf.c (sim_open): Ignore -E arg.
717 (start_address): New static local.
718 (sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd.
719 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
721 Tue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com>
723 * Makefile.in (install-sis): Depend upon installdirs. Use
724 $(program_transform_name) directly, rather than using
727 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
729 * configure: Regenerated to track ../common/aclocal.m4 changes.
732 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
734 * interf.c (sim_open): New arg `kind'.
736 * configure: Regenerated to track ../common/aclocal.m4 changes.
738 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
740 * configure: Regenerated to track ../common/aclocal.m4 changes.
742 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
744 * configure: Re-generate.
746 Thu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com>
748 * interf.c (sim_open): New SIM_DESC result. Argument is now in
750 (other sim_*): New SIM_DESC argument.
752 Tue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
754 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
755 COMMON_{PRE,POST}_CONFIG_FRAG instead.
756 * configure.in: sinclude ../common/aclocal.m4.
757 * configure: Regenerated.
759 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
761 * configure configure.in Makefile.in: Update to new configure
762 scheme which is more compatible with WinGDB builds.
763 * configure.in: Improve comment on how to run autoconf.
764 * configure: Re-run autoconf to get new ../common/aclocal.m4.
765 * Makefile.in: Use autoconf substitution to install common
768 Wed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com>
770 * interf.c (run_sim): Stop the simulator and reset the stdio after
773 Tue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com>
775 * configure.in: Look for libtermcap.a.
776 * Makefile.in: Only link in -ltermcap if it exists.
777 * erc32.c: Update to version 2.6a. Fix uart handling.
778 * exec.c: Update to version 2.6a. Add sparclite support.
779 * float.c: Update to version 2.6a. Convert comments to
780 preprocessor warnings. Add __setfpucw() for i385 hosts so floating
781 point exceptions work on win32.
782 * func.c: Update to version 2.6a. Fix uart handling, add support
783 for user error traps.
784 * help.c: Update to version 2.6a. Add help note on user error
786 * interf.c: Update to version 2.6a. Fix uart handling, and add
788 * examples/gccx: Use sparclite cross compiler, not native gcc.
789 * examples/srt0.S: Use "mov" rather than "wr" for manipulating
792 Mon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com>
794 * Makefile.in (run.o): Remove this rule, it hides the one in
795 ../common/Make-common.in that correctly references the source
796 in the sibling ../common directory.
798 Wed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com>
800 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
801 (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
802 (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
803 * configure.in: Simplify using macros in ../common/aclocal.m4.
804 Call AC_CHECK_HEADERS(stdlib.h).
805 * configure: Regenerated.
806 * config.in: New file.
807 * func.c (sim_set_callbacks): Delete, moved to
808 * interf.c (sim_set_callbacks): here.
809 (sim_callback): New global.
810 Rewrite all calls to printf_filtered to go through callback.
811 (sim_size,sim_trace): New functions.
812 (sim_{insert,remove}_breakpoint): #if 0 out.
813 * sis.c: #include "config.h". #include <stdlib.h> if present.
814 (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
815 * sis.h: #include "callback.h".
816 * run.c: Deleted, using one in ../common now.
818 Thu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
820 * Makefile.in (clean): Move config.log to distclean.
822 Wed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
824 * Makefile.in (clean): Also remove config.log.
826 Sat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com>
828 * Makefile.in (CC_FOR_BUILD): New variable.
829 (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
830 (RANLIB, CC): Likewise.
831 (end): Use $(CC_FOR_BUILD), not $(CC).
832 * configure.in: Set CC_FOR_BUILD.
833 * configure: Rebuild.
835 Sun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com)
837 * erc32.c (port_init): Disable this for __GO32__ (got no pty's
840 Mon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com)
842 * erc32.c: Don't include sys/ioctl.h or sys/file.h. They aren't
844 * (port_init): Don't even *try* to open pty's under _WIN32.
845 * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
846 * float.c: Get rid of #warning. Makes Microsoft C barf.
847 * interf.c (sim_open): Cast fprintf to (fprintf_ftype) to fix
849 * (sim_load sim_create_inferior sim_read): Use prototypes only in
851 * Get rid of enum sim_stop. It's defined in remote-sim.h.
852 * (sim_stop_reason): Define SIGTRAP if _WIN32.
853 * sis.h: Include ansidecl.h and remote-sim.h.
855 Wed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com)
857 * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
858 sis.h: Get rid of all uses of long long's.
859 * (close_port read_uart write_uart uarta_tx): Don't seg fault
860 when can't open pty's.
861 * exec.c: Add two new instructions: smul, and divscc.
862 * interf.c (flush_windows): New routine to flush the register
863 windows out to the stack just before returning to GDB. Makes
864 backtraces work much better.
866 Wed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
868 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
869 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
870 (docdir, oldincludedir): Removed.
871 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
872 (AC_PROG_INSTALL): Added.
873 * configure: Rebuilt.
875 Mon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com>
877 * configure.in: Call AC_PROG_CC before running configure.host.
878 * configure: Rebuild with autoconf 2.10.
880 Tue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com>
882 * Makefile.in (install): Don't check to see if tooldir exists.
883 Make $(tooldir) and $(tooldir)/bin.
885 Mon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com>
887 * Makefile.in (end.h): Use explicit ./ when running end.
889 Sun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
891 * func.c(bfd_load): Don't try to print the filename if the pfbd is
893 * interf.c(sim_load): Pass the whole string, not just the first
899 * Fixed bug in "go" command.
904 * Fixed bug in interrupt force register (erc32.c).
906 * Change file load function to use bfd_openr.
908 * SIS should now be endian independent.
913 * Fixed FPU timing - some sequences of FPU instructions did not calculate
914 the resource dependencies right.
916 * Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
917 but no FPU trap is generated.
919 version 1.7.1 31-10-95
922 * Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
923 the FPU stays in execute mode.
925 * Corrected JMPL and RETT timing (these instructions takes two cycles).
931 * Interrupt during annuled instruction corrupted return address - fixed.
934 version 1.6.2 25-10-95
937 * Added -DFAST_UART to Makefile
940 version 1.6.1 24-10-95
943 * Fixed bug in STDFQ which caused bus error
949 * Modified srt0.s to include code that initiates registers in IU and FPU
950 and initializes the data segment. The simulator 'load' command does not
951 longer initialize the data segment!
953 * Corrected MEC timer operation; scalers now divide the frequency by
956 * MEC breakpoints are not checked during store operation
962 * Fixed some bugs in the cycle counting for IU & FPU instructions.
964 * Fixed bug that allowed an annuled instruction to cause memory exception.
966 * The *ws parameter in mem.c should now contain the number of waitstates
967 required by the memory access (was total number of cycles).
969 * The supplied srt0.s now clears the BSS (thanks Joel).
974 * Added a '-g' switch to enable/disable the GNU readline(), which cause
975 some problems on solaris 2.x machines.
977 * Enabled MEC watchpoint and breakpoint function to mem.c. Performance
980 NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
985 * Fixed bug in mulscc instruction (how could that ever have worked?)
987 * Fixed bug in UART B (flushed characters on UART A), thanks Paul.
992 * Fixed bug in interrupt handling (wrong interrupt selected when more that
993 one interrupt pending)
995 * Fixed updating of condition codes during logical instructions (carry and
996 overflow were not reset)
998 * Fixed bug in WRTBR (tt field was wrongly over-written)
1000 version 1.1 07-07-95
1001 --------------------
1003 * Fixed several bugs in the interrupt handler and callback routines.
1004 (reported by Paul Warren, Alsys)