1 Thu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com>
3 * sis.h (uint64, int64): Define.
4 * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
5 * (mul64): Simplify calculation of negative result.
6 * (div64): New helper function for 64-bit division.
7 * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
10 Wed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com>
12 * erc32.c (close_port): Don't close stdin; it kills GDB.
13 (byte_swap_words): New function.
14 * sis.h: (byte_swap_words): Declare.
15 * interf.c (run_sim): Always fetch instructions as big-endian.
16 * sis.c (run_sim): Ditto.
18 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
20 * configure: Regenerated to track ../common/aclocal.m4 changes.
22 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
24 * configure: Regenerated to track ../common/aclocal.m4 changes.
27 Sun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com>
29 * acconfig.h: New file.
30 * configure.in: Reverted change of Apr 24; use sinclude again.
32 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
34 * configure: Regenerated to track ../common/aclocal.m4 changes.
37 Fri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com>
39 * configure.in: Don't call sinclude.
41 Sat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com>
43 * func.c (disp_fpu): Fix build problem on big-endian hosts.
45 Wed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com>
47 * erc32.c (sim_stop): Handle SIGINT gracefully.
48 * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
50 Wed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com>
52 * exec.c (dispatch_instruction): Change how carry out is calculated
53 in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC.
55 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
57 * configure: Regenerated to track ../common/aclocal.m4 changes.
59 Wed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com>
61 * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
71 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
73 * configure: Regenerated to track ../common/aclocal.m4 changes.
75 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
77 * configure: Regenerated to track ../common/aclocal.m4 changes.
79 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
81 * configure: Regenerated to track ../common/aclocal.m4 changes.
83 Tue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
85 * interf.c (sim_store_register, sim_fetch_register): Pass in
86 length parameter. Return -1.
88 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
90 * configure: Regenerated to track ../common/aclocal.m4 changes.
92 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
94 * configure: Regenerated to track ../common/aclocal.m4 changes.
96 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
98 * configure: Regenerated to track ../common/aclocal.m4 changes.
100 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
102 * configure: Regenerated to track ../common/aclocal.m4 changes.
105 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
107 * configure: Regenerated to track ../common/aclocal.m4 changes.
109 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
111 * configure: Regenerated to track ../common/aclocal.m4 changes.
113 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
115 * configure: Regenerated to track ../common/aclocal.m4 changes.
117 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
119 * configure: Regenerated to track ../common/aclocal.m4 changes.
121 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
123 * configure: Regenerated to track ../common/aclocal.m4 changes.
125 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
127 * configure: Regenerated to track ../common/aclocal.m4 changes.
129 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
131 * configure: Regenerated to track ../common/aclocal.m4 changes.
133 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
135 * configure: Regenerated to track ../common/aclocal.m4 changes.
138 Tue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
140 * float.c (__setfpucw): Compile on any i386 target. Not just NT.
142 * interf.c (sim_kill): Delete.
143 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
145 (sim_load): Don't save start address.
146 (start_address): Delete variable.
148 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
150 * configure: Regenerated to track ../common/aclocal.m4 changes.
153 Mon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
155 * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
157 Mon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com>
159 * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
161 Wed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
163 * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
164 (sim_open): Add callback arg, save it.
166 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
168 * configure: Regenerated to track ../common/aclocal.m4 changes.
170 Tue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com>
172 * interf.c (sim_open): Undo patch to add -E support.
174 Thu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com>
176 * interf.c (sim_open): Ignore -E arg.
177 (start_address): New static local.
178 (sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd.
179 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
181 Tue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com>
183 * Makefile.in (install-sis): Depend upon installdirs. Use
184 $(program_transform_name) directly, rather than using
187 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
189 * configure: Regenerated to track ../common/aclocal.m4 changes.
192 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
194 * interf.c (sim_open): New arg `kind'.
196 * configure: Regenerated to track ../common/aclocal.m4 changes.
198 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
200 * configure: Regenerated to track ../common/aclocal.m4 changes.
202 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
204 * configure: Re-generate.
206 Thu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com>
208 * interf.c (sim_open): New SIM_DESC result. Argument is now in
210 (other sim_*): New SIM_DESC argument.
212 Tue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
214 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
215 COMMON_{PRE,POST}_CONFIG_FRAG instead.
216 * configure.in: sinclude ../common/aclocal.m4.
217 * configure: Regenerated.
219 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
221 * configure configure.in Makefile.in: Update to new configure
222 scheme which is more compatible with WinGDB builds.
223 * configure.in: Improve comment on how to run autoconf.
224 * configure: Re-run autoconf to get new ../common/aclocal.m4.
225 * Makefile.in: Use autoconf substitution to install common
228 Wed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com>
230 * interf.c (run_sim): Stop the simulator and reset the stdio after
233 Tue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com>
235 * configure.in: Look for libtermcap.a.
236 * Makefile.in: Only link in -ltermcap if it exists.
237 * erc32.c: Update to version 2.6a. Fix uart handling.
238 * exec.c: Update to version 2.6a. Add sparclite support.
239 * float.c: Update to version 2.6a. Convert comments to
240 preprocessor warnings. Add __setfpucw() for i385 hosts so floating
241 point exceptions work on win32.
242 * func.c: Update to version 2.6a. Fix uart handling, add support
243 for user error traps.
244 * help.c: Update to version 2.6a. Add help note on user error
246 * interf.c: Update to version 2.6a. Fix uart handling, and add
248 * examples/gccx: Use sparclite cross compiler, not native gcc.
249 * examples/srt0.S: Use "mov" rather than "wr" for manipulating
252 Mon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com>
254 * Makefile.in (run.o): Remove this rule, it hides the one in
255 ../common/Make-common.in that correctly references the source
256 in the sibling ../common directory.
258 Wed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com>
260 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
261 (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
262 (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
263 * configure.in: Simplify using macros in ../common/aclocal.m4.
264 Call AC_CHECK_HEADERS(stdlib.h).
265 * configure: Regenerated.
266 * config.in: New file.
267 * func.c (sim_set_callbacks): Delete, moved to
268 * interf.c (sim_set_callbacks): here.
269 (sim_callback): New global.
270 Rewrite all calls to printf_filtered to go through callback.
271 (sim_size,sim_trace): New functions.
272 (sim_{insert,remove}_breakpoint): #if 0 out.
273 * sis.c: #include "config.h". #include <stdlib.h> if present.
274 (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
275 * sis.h: #include "callback.h".
276 * run.c: Deleted, using one in ../common now.
278 Thu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
280 * Makefile.in (clean): Move config.log to distclean.
282 Wed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
284 * Makefile.in (clean): Also remove config.log.
286 Sat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com>
288 * Makefile.in (CC_FOR_BUILD): New variable.
289 (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
290 (RANLIB, CC): Likewise.
291 (end): Use $(CC_FOR_BUILD), not $(CC).
292 * configure.in: Set CC_FOR_BUILD.
293 * configure: Rebuild.
295 Sun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com)
297 * erc32.c (port_init): Disable this for __GO32__ (got no pty's
300 Mon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com)
302 * erc32.c: Don't include sys/ioctl.h or sys/file.h. They aren't
304 * (port_init): Don't even *try* to open pty's under _WIN32.
305 * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
306 * float.c: Get rid of #warning. Makes Microsoft C barf.
307 * interf.c (sim_open): Cast fprintf to (fprintf_ftype) to fix
309 * (sim_load sim_create_inferior sim_read): Use prototypes only in
311 * Get rid of enum sim_stop. It's defined in remote-sim.h.
312 * (sim_stop_reason): Define SIGTRAP if _WIN32.
313 * sis.h: Include ansidecl.h and remote-sim.h.
315 Wed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com)
317 * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
318 sis.h: Get rid of all uses of long long's.
319 * (close_port read_uart write_uart uarta_tx): Don't seg fault
320 when can't open pty's.
321 * exec.c: Add two new instructions: smul, and divscc.
322 * interf.c (flush_windows): New routine to flush the register
323 windows out to the stack just before returning to GDB. Makes
324 backtraces work much better.
326 Wed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
328 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
329 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
330 (docdir, oldincludedir): Removed.
331 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
332 (AC_PROG_INSTALL): Added.
333 * configure: Rebuilt.
335 Mon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com>
337 * configure.in: Call AC_PROG_CC before running configure.host.
338 * configure: Rebuild with autoconf 2.10.
340 Tue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com>
342 * Makefile.in (install): Don't check to see if tooldir exists.
343 Make $(tooldir) and $(tooldir)/bin.
345 Mon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com>
347 * Makefile.in (end.h): Use explicit ./ when running end.
349 Sun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
351 * func.c(bfd_load): Don't try to print the filename if the pfbd is
353 * interf.c(sim_load): Pass the whole string, not just the first
359 * Fixed bug in "go" command.
364 * Fixed bug in interrupt force register (erc32.c).
366 * Change file load function to use bfd_openr.
368 * SIS should now be endian independent.
373 * Fixed FPU timing - some sequences of FPU instructions did not calculate
374 the resource dependencies right.
376 * Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
377 but no FPU trap is generated.
379 version 1.7.1 31-10-95
382 * Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
383 the FPU stays in execute mode.
385 * Corrected JMPL and RETT timing (these instructions takes two cycles).
391 * Interrupt during annuled instruction corrupted return address - fixed.
394 version 1.6.2 25-10-95
397 * Added -DFAST_UART to Makefile
400 version 1.6.1 24-10-95
403 * Fixed bug in STDFQ which caused bus error
409 * Modified srt0.s to include code that initiates registers in IU and FPU
410 and initializes the data segment. The simulator 'load' command does not
411 longer initialize the data segment!
413 * Corrected MEC timer operation; scalers now divide the frequency by
416 * MEC breakpoints are not checked during store operation
422 * Fixed some bugs in the cycle counting for IU & FPU instructions.
424 * Fixed bug that allowed an annuled instruction to cause memory exception.
426 * The *ws parameter in mem.c should now contain the number of waitstates
427 required by the memory access (was total number of cycles).
429 * The supplied srt0.s now clears the BSS (thanks Joel).
434 * Added a '-g' switch to enable/disable the GNU readline(), which cause
435 some problems on solaris 2.x machines.
437 * Enabled MEC watchpoint and breakpoint function to mem.c. Performance
440 NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
445 * Fixed bug in mulscc instruction (how could that ever have worked?)
447 * Fixed bug in UART B (flushed characters on UART A), thanks Paul.
452 * Fixed bug in interrupt handling (wrong interrupt selected when more that
453 one interrupt pending)
455 * Fixed updating of condition codes during logical instructions (carry and
456 overflow were not reset)
458 * Fixed bug in WRTBR (tt field was wrongly over-written)
463 * Fixed several bugs in the interrupt handler and callback routines.
464 (reported by Paul Warren, Alsys)