]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/erc32/ChangeLog
Fix typos in sim sources exposed by static analysis.
[thirdparty/binutils-gdb.git] / sim / erc32 / ChangeLog
CommitLineData
de7669bf
NC
12015-04-24 David Binderman <dcb314@hotmail.com>
2 Nick Clifton <nickc@redhat.com>
3
4 PR 18273
5 * exec.c (add32): Fix typo in check for overflow.
6
d3e9b40a
JG
72015-04-19 Jiri Gaisler <jiri@gaisler.se>
8
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
25 memory.
26 * sis.c (main): Set endian.
27 * sis.h (EBT): Define.
28
bf12d44e
MF
292015-04-13 Mike Frysinger <vapier@gentoo.org>
30
31 * configure: Regenerate.
32
aadc9410
MF
332015-03-31 Mike Frysinger <vapier@gentoo.org>
34
35 * config.in, configure: Regenerate.
36
510d2751
JG
372015-03-28 Jiri Gaisler <jiri@gaisler.se>
38
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.
44
102b920e
JG
452015-03-28 Jiri Gaisler <jiri@gaisler.se>
46
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.
52 (sregs): Declare.
53
5831e29b
MF
542015-03-28 Mike Frysinger <vapier@gentoo.org>
55
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.
66
523ba8f9
MF
672015-03-24 Mike Frysinger <vapier@gentoo.org>
68
69 * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
70
b9f9ea2f
JG
712015-03-17 Jiri Gaisler <jiri@gaisler.se>
72
73 * func.c (exec_cmd): Silence compiler warnings when calling system().
74 (batch): Replace fgets() with getline().
75
638fcdad
JG
762015-03-17 Jiri Gaisler <jiri@gaisler.se>
77
78 * func.c (show_stat): Print simulation time in portable long long
79 format.
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.
84
ae7d0cac
MF
852015-03-16 Mike Frysinger <vapier@gentoo.org>
86
87 * config.in, configure: Regenerate.
88
9c5f41df
JG
892015-03-16 Jiri Gaisler <jiri@gaisler.se>
90
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
94 rules.
95 * configure, config.in: Regenerate.
96 * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN
97 * end.c: Delete.
98 * erc32.c: Remove end.h include.
99 * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN.
100 * func.c, sis.c: Likewise.
101
465fb143
MF
1022015-03-14 Mike Frysinger <vapier@gentoo.org>
103
104 * Makefile.in (SIM_RUN_OBJS): Set to sis.o.
105
5cddc23a
MF
1062015-03-14 Mike Frysinger <vapier@gentoo.org>
107
108 * configure.ac (AC_CHECK_HEADERS): Delete.
109 * aclocal.m4, configure: Regenerate.
110
5634e839
JG
1112015-02-22 Jiri Gaisler <jiri@gaisler.se>
112
113 * Makefile.in: Add include path to readline.h.
114 sis.c: Remove locally define readline types.
115
96d67095
JG
1162015-02-21 Jiri Gaisler <jiri@gaisler.se>
117
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.
122 * sis.h: Likewise.
123
bb6ead91
JG
1242015-02-21 Jiri Gaisler <jiri@gaisler.se>
125
126 * Makefile.in: Remove unused defines
127
0172ee3a
JG
1282015-02-21 Jiri Gaisler <jiri@gaisler.se>
129
130 * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h
131 instead of custom assembly.
132
20a0ffe3
JG
1332015-02-21 Jiri Gaisler <jiri@gaisler.se>
134
135 * erc32.c (mec_read): Allow simulator memory size to be read
136 by application.
137 (boot_init): initialize memory and timers if start address is
138 not 0.
139 * func.c (exe_cmd): Call boot_init if start address not 0.
140 * interf.c (run_sim): Likewise.
141
df9bc416
JG
1422015-02-21 Jiri Gaisler <jiri@gaisler.se>
143
144 * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
145
53b5af48
JG
1462015-02-21 Jiri Gaisler <jiri@gaisler.se>
147
148 * func.c (print_insn_sparc_sis): Add helper function for disassembly.
149 (disp_ctrl): Use helper function.
150
2974be62
AM
1512014-08-19 Alan Modra <amodra@gmail.com>
152
153 * configure: Regenerate.
154
faa743bb
RM
1552014-08-15 Roland McGrath <mcgrathr@google.com>
156
157 * configure: Regenerate.
158 * config.in: Regenerate.
159
60d847df
MF
1602014-03-10 Mike Frysinger <vapier@gentoo.org>
161
162 * interf.c (sim_do_command): Add const to cmd.
163
b2b255bd
MF
1642014-03-05 Mike Frysinger <vapier@gentoo.org>
165
166 * interf.c (sim_load): Add const to prog.
167
40776d19
SDJ
1682013-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
169
170 PR sim/16018:
171 * float.c (set_fsr): Add missing "break" statements. Reindent
172 code.
173
bf3d9781
AM
1742013-09-23 Alan Modra <amodra@gmail.com>
175
176 * configure: Regenerate.
177
31e6ad7d
MF
1782013-06-03 Mike Frysinger <vapier@gentoo.org>
179
180 * aclocal.m4, configure: Regenerate.
181
7b7f7f41
JB
1822013-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
183
184 * Makefile.in: Include build directory in search path to find
185 config.h
186
4232dbd1
NC
1872012-08-16 Nick Clifton <nickc@redhat.com>
188
189 * end.c: Include config.h before system header files.
190 * erc32.c: Likewise.
191 * exec.c: Likewise.
192 * float.c: Likewise.
193 * func.c: Likewise.
194 * help.c: Likewise.
195 * interf.c: Likewise.
196
9a210f30
JB
1972012-06-15 Joel Brobecker <brobecker@adacore.com>
198
199 * sys.h: Include "config.h".
200
5f3ef9d0
JB
2012012-06-15 Joel Brobecker <brobecker@adacore.com>
202
203 * config.in, configure: Regenerate.
204
a493e3e2
PA
2052012-05-24 Pedro Alves <palves@redhat.com>
206
207 PR gdb/7205
208
209 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
210
2232061b
MF
2112012-03-24 Mike Frysinger <vapier@gentoo.org>
212
213 * aclocal.m4, config.in, configure: Regenerate.
214
b909d38d
MF
2152011-12-31 Mike Frysinger <vapier@gentoo.org>
216
e6ab98cd 217 PR sim/9971:
b909d38d
MF
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.
221
db2e4d67
MF
2222011-12-03 Mike Frysinger <vapier@gentoo.org>
223
224 * aclocal.m4: New file.
225 * configure: Regenerate.
226
9c082ca8
MF
2272011-10-17 Mike Frysinger <vapier@gentoo.org>
228
229 * configure.ac: Change include to common/acinclude.m4.
230
6ffe910a
MF
2312011-10-17 Mike Frysinger <vapier@gentoo.org>
232
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.
236
ce6f492f
MF
2372011-06-09 Mike Frysinger <vapier@gentoo.org>
238
239 * interf.c (sim_open): Accept and ignore `--sysroot=...'.
240
248d2a8f
JB
2412011-06-01 Joel Brobecker <brobecker@adacore.com>
242
243 * interf.c (sim_complete_command): New stub function.
244
dae477fe
AB
2452011-01-11 Andrew Burgess <aburgess@broadcom.com>
246
247 * interf.c (sim_store_register): Update return value to
248 match new API.
249
2464c810
JB
2502010-05-20 Joel Brobecker <brobecker@adacore.com>
251
252 * sis.h: Remove #include <stdint.h>.
253 (uint64, int64): Redefine without using stdint.h.
254 (UINT64_MAX): Define.
255
94110024
JS
2562010-04-20 Tiemen Schut <T.Schut@sron.nl>
257
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
260 for counts.
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.
266
5558e7e6
MF
2672010-04-14 Mike Frysinger <vapier@gentoo.org>
268
269 * interp.c (sim_write): Add const to buf arg.
270
3725885a
RW
2712010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
272
273 * configure: Regenerate.
274
d6416cdc
RW
2752009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
276
81ecdfbb
RW
277 * config.in: Regenerate.
278 * configure: Likewise.
279
d6416cdc
RW
280 * configure: Regenerate.
281
d68c23cd
JS
2822008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
283
284 * erc32.c, exec.c: Fix warnings.
285
b5bd9624
HPN
2862008-07-11 Hans-Peter Nilsson <hp@axis.com>
287
288 * configure: Regenerate to track ../common/common.m4 changes.
289 * config.in: Ditto.
290
14e1f957
MS
2912008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>
292
293 * sis.c: Correct spelling error.
294
6efef468
JM
2952008-06-06 Vladimir Prus <vladimir@codesourcery.com>
296 Daniel Jacobowitz <dan@codesourcery.com>
297 Joseph Myers <joseph@codesourcery.com>
298
299 * configure: Regenerate.
300
edc5d9ec
HPN
3012006-12-21 Hans-Peter Nilsson <hp@axis.com>
302
303 * acconfig.h: Remove.
304 * config.in: Regenerate.
305
70a9be63
HPN
3062006-12-20 Hans-Peter Nilsson <hp@axis.com>
307
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.
314
ce928021
DJ
3152006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
316
317 * Makefile.in (func.o, help.o): Correct dependencies.
318
3192006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
320
321 * Makefile.in (install-sis): Honor DESTDIR.
322
e85e3205
RE
3232006-06-13 Richard Earnshaw <rearnsha@arm.com>
324
325 * configure: Regenerated.
326
2f0122dc
DJ
3272006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
328
329 * configure: Regenerated.
330
20e95c23
DJ
3312006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
332
333 * configure: Regenerated.
334
aba6488e
MM
3352005-11-28 Mark Mitchell <mark@codesourcery.com>
336
337 * interf.c: (gdb/signals.h): Include it.
338 (sim_stop_reason): Use TARGET_SIGNAL_*.
339
4eeb4f8d
BE
3402005-07-08 Ben Elliston <bje@au.ibm.com>
341
342 * func.c: Remove ANSI_PROTOTYPES conditional code.
343
2b193c4a
MK
3442005-03-23 Mark Kettenis <kettenis@gnu.org>
345
346 * configure: Regenerate.
347
187d3d28
JG
3482005-03-07 Jerome Guitton <guitton@gnat.com>
349
350 * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
351 strings.
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.
359
35695fd6
AC
3602005-01-14 Andrew Cagney <cagney@gnu.org>
361
362 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
363 explicit call to AC_CONFIG_HEADER.
364 * configure: Regenerate.
365
f0569246
AC
3662005-01-12 Andrew Cagney <cagney@gnu.org>
367
368 * configure.ac: Update to use ../common/common.m4.
369 * configure: Re-generate.
370
38f48d72
AC
3712005-01-11 Andrew Cagney <cagney@localhost.localdomain>
372
373 * configure: Regenerated to track ../common/aclocal.m4 changes.
374
b7026657
AC
3752005-01-07 Andrew Cagney <cagney@gnu.org>
376
377 * configure.ac: Rename configure.in, require autoconf 2.59.
378 * configure: Re-generate.
379
379832de
HPN
3802004-12-08 Hans-Peter Nilsson <hp@axis.com>
381
382 * configure: Regenerate for ../common/aclocal.m4 update.
383
2b3cc94f
AS
3842004-11-11 Andreas Schwab <schwab@suse.de>
385
386 * interf.c: Include "libiberty.h" instead of declaring buildargv
387 ourselves.
388
6b4a8935
AC
3892003-02-27 Andrew Cagney <cagney@redhat.com>
390
391 * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
392
c8cca39f
AC
3932002-06-16 Andrew Cagney <ac131313@redhat.com>
394
395 * configure: Regenerated to track ../common/aclocal.m4 changes.
396
3c25f8c7
AC
3972002-06-08 Andrew Cagney <cagney@redhat.com>
398
399 * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h".
400 * interf.c: Include "gdb/remote-sim.h".
401
eb2d80b4
AC
402Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
403
404 * configure: Regenerated to track ../common/aclocal.m4 changes.
405
a0539197
FCE
4062000-03-07 Frank Ch. Eigler <fche@redhat.com>
407
408 From John Dallaway <jld@redhat.co.uk>:
409 * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
410
0ef33cd0
FCE
4112000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk>
412
413 * func.c (buffer_read_memory): Change type of size to unsigned to
414 match prototype
415
d4f3574e
SS
416Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
417
418 * configure: Regenerated to track ../common/aclocal.m4 changes.
419
cd0fc7c3
SS
4201999-05-08 Felix Lee <flee@cygnus.com>
421
422 * configure: Regenerated to track ../common/aclocal.m4 changes.
423
7a292a7a
SS
4241999-03-03 DJ Delorie <dj@cygnus.com>
425
426 * configure.in: add termcap and -luser32 for host=cygwin
427 * configure: regenerate
428
c906108c
SS
4291999-02-11 Hugo Tyson <hmt@cygnus.co.uk>
430
431 * exec.c (dispatch_instruction):
432 Correct the sense of the
433 if (!sparclite) {
434 sregs->trap = TRAP_UNIMP;
435 break;
436 }
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
443 architectures.
444
4451999-01-25 Hugo Tyson <hmt@cygnus.co.uk>
446
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.
451
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.
458
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.
464
4651999-01-20 Hugo Tyson <hmt@cygnus.co.uk>
466
467 * sis.h: Add asr17 register for support of SparcLITE (at least the
468 Hitachi ones I find before me)
469
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.
477
478 * sis.c:
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.
488
489Thu Jul 23 07:17:03 1998 Mark Alexander <marka@cygnus.com>
490
491 * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
492
493Tue Jul 7 21:12:41 1998 Mark Alexander <marka@cygnus.com>
494
495 * func.c (bfd_load): Add special handling of a.out executables.
496
497Sat Jun 13 08:33:25 1998 Mark Alexander <marka@cygnus.com>
498
499 * func.c (bfd_load): Print correct endianness.
500 * interf.c (run_sim): Print debugging information if verbosity level
501 is greater than 2.
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
505 is greater then 2.
506
507Tue Jun 2 15:20:35 1998 Mark Alexander <marka@cygnus.com>
508
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
533 little-endian data.
534
535Fri May 22 14:23:16 1998 Mark Alexander <marka@cygnus.com>
536
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.
540
541Thu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com>
542
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,
548 and UDIVCC.
549
550Wed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com>
551
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.
557
558Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
559
560 * configure: Regenerated to track ../common/aclocal.m4 changes.
561
562Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
563
564 * configure: Regenerated to track ../common/aclocal.m4 changes.
565 * config.in: Ditto.
566
567Sun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com>
568
569 * acconfig.h: New file.
570 * configure.in: Reverted change of Apr 24; use sinclude again.
571
572Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
573
574 * configure: Regenerated to track ../common/aclocal.m4 changes.
575 * config.in: Ditto.
576
577Fri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com>
578
579 * configure.in: Don't call sinclude.
580
581Sat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com>
582
583 * func.c (disp_fpu): Fix build problem on big-endian hosts.
584
585Wed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com>
586
587 * erc32.c (sim_stop): Handle SIGINT gracefully.
588 * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
589
590Wed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com>
591
592 * exec.c (dispatch_instruction): Change how carry out is calculated
593 in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC.
594
595Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
596
597 * configure: Regenerated to track ../common/aclocal.m4 changes.
598
599Wed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com>
600
601 * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
602 * erc32.c: Ditto.
603 * exec.c: Ditto.
604 * float.c: Ditto.
605 * func.c: Ditto.
606 * help.c: Ditto.
607 * interf.c: Ditto.
608 * sis.c: Ditto.
609 * sis.h: Ditto.
610
611Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
612
613 * configure: Regenerated to track ../common/aclocal.m4 changes.
614
615Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
616
617 * configure: Regenerated to track ../common/aclocal.m4 changes.
618
619Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
620
621 * configure: Regenerated to track ../common/aclocal.m4 changes.
622
623Tue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
624
625 * interf.c (sim_store_register, sim_fetch_register): Pass in
626 length parameter. Return -1.
627
628Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
629
630 * configure: Regenerated to track ../common/aclocal.m4 changes.
631
632Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
633
634 * configure: Regenerated to track ../common/aclocal.m4 changes.
635
636Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
637
638 * configure: Regenerated to track ../common/aclocal.m4 changes.
639
640Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
641
642 * configure: Regenerated to track ../common/aclocal.m4 changes.
643 * config.in: Ditto.
644
645Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
646
647 * configure: Regenerated to track ../common/aclocal.m4 changes.
648
649Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
650
651 * configure: Regenerated to track ../common/aclocal.m4 changes.
652
653Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
654
655 * configure: Regenerated to track ../common/aclocal.m4 changes.
656
657Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
658
659 * configure: Regenerated to track ../common/aclocal.m4 changes.
660
661Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
662
663 * configure: Regenerated to track ../common/aclocal.m4 changes.
664
665Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
666
667 * configure: Regenerated to track ../common/aclocal.m4 changes.
668
669Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
670
671 * configure: Regenerated to track ../common/aclocal.m4 changes.
672
673Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
674
675 * configure: Regenerated to track ../common/aclocal.m4 changes.
676 * config.in: Ditto.
677
678Tue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
679
680 * float.c (__setfpucw): Compile on any i386 target. Not just NT.
681
682 * interf.c (sim_kill): Delete.
683 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
684 argument.
685 (sim_load): Don't save start address.
686 (start_address): Delete variable.
687
688Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
689
690 * configure: Regenerated to track ../common/aclocal.m4 changes.
691 * config.in: Ditto.
692
693Mon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
694
695 * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
696
697Mon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com>
698
699 * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
700
701Wed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
702
703 * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
704 (sim_open): Add callback arg, save it.
705
706Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
707
708 * configure: Regenerated to track ../common/aclocal.m4 changes.
709
710Tue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com>
711
712 * interf.c (sim_open): Undo patch to add -E support.
713
714Thu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com>
715
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.
720
721Tue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com>
722
723 * Makefile.in (install-sis): Depend upon installdirs. Use
724 $(program_transform_name) directly, rather than using
725 $(INSTALL_XFORM).
726
727Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
728
729 * configure: Regenerated to track ../common/aclocal.m4 changes.
730 * config.in: Ditto.
731
732Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
733
734 * interf.c (sim_open): New arg `kind'.
735
736 * configure: Regenerated to track ../common/aclocal.m4 changes.
737
738Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
739
740 * configure: Regenerated to track ../common/aclocal.m4 changes.
741
742Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
743
744 * configure: Re-generate.
745
746Thu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com>
747
748 * interf.c (sim_open): New SIM_DESC result. Argument is now in
749 argv form.
750 (other sim_*): New SIM_DESC argument.
751
752Tue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
753
754 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
755 COMMON_{PRE,POST}_CONFIG_FRAG instead.
756 * configure.in: sinclude ../common/aclocal.m4.
757 * configure: Regenerated.
758
759Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
760
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
766 makefile fragment.
767
768Wed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com>
769
770 * interf.c (run_sim): Stop the simulator and reset the stdio after
771 breakpoints.
772
773Tue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com>
774
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
785 traps.
786 * interf.c: Update to version 2.6a. Fix uart handling, and add
787 sparclite support.
788 * examples/gccx: Use sparclite cross compiler, not native gcc.
789 * examples/srt0.S: Use "mov" rather than "wr" for manipulating
790 the psr register.
791
792Mon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com>
793
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.
797
798Wed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com>
799
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.
817
818Thu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
819
820 * Makefile.in (clean): Move config.log to distclean.
821
822Wed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
823
824 * Makefile.in (clean): Also remove config.log.
825
826Sat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com>
827
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.
834
835Sun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com)
836
837 * erc32.c (port_init): Disable this for __GO32__ (got no pty's
838 there either...).
839
840Mon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com)
841
842 * erc32.c: Don't include sys/ioctl.h or sys/file.h. They aren't
843 necessary.
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
848 compiler warning.
849 * (sim_load sim_create_inferior sim_read): Use prototypes only in
850 decls, not defs.
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.
854
855Wed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com)
856
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.
865
866Wed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
867
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.
874
875Mon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com>
876
877 * configure.in: Call AC_PROG_CC before running configure.host.
878 * configure: Rebuild with autoconf 2.10.
879
880Tue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com>
881
882 * Makefile.in (install): Don't check to see if tooldir exists.
883 Make $(tooldir) and $(tooldir)/bin.
884
885Mon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com>
886
887 * Makefile.in (end.h): Use explicit ./ when running end.
888
889Sun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
890
891 * func.c(bfd_load): Don't try to print the filename if the pfbd is
892 NULL.
893 * interf.c(sim_load): Pass the whole string, not just the first
894 byte.
895
896Version 2.1 26-02-96
897--------------------
898
899* Fixed bug in "go" command.
900
901version 2.0 05-02-96
902--------------------
903
904* Fixed bug in interrupt force register (erc32.c).
905
906* Change file load function to use bfd_openr.
907
908* SIS should now be endian independent.
909
910version 1.8 24-11-95
911--------------------
912
913* Fixed FPU timing - some sequences of FPU instructions did not calculate
914 the resource dependencies right.
915
916* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
917 but no FPU trap is generated.
918
919version 1.7.1 31-10-95
920--------------------
921
922* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
923 the FPU stays in execute mode.
924
925* Corrected JMPL and RETT timing (these instructions takes two cycles).
926
927
928version 1.7 25-10-95
929--------------------
930
931* Interrupt during annuled instruction corrupted return address - fixed.
932
933
934version 1.6.2 25-10-95
935--------------------
936
937* Added -DFAST_UART to Makefile
938
939
940version 1.6.1 24-10-95
941--------------------
942
943* Fixed bug in STDFQ which caused bus error
944
945
946version 1.6 02-10-95
947--------------------
948
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!
952
953* Corrected MEC timer operation; scalers now divide the frequency by
954 (scaler_value + 1).
955
956* MEC breakpoints are not checked during store operation
957
958
959version 1.5 14-09-95
960--------------------
961
962* Fixed some bugs in the cycle counting for IU & FPU instructions.
963
964* Fixed bug that allowed an annuled instruction to cause memory exception.
965
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).
968
969* The supplied srt0.s now clears the BSS (thanks Joel).
970
971version 1.4 22-08-95
972--------------------
973
974* Added a '-g' switch to enable/disable the GNU readline(), which cause
975some problems on solaris 2.x machines.
976
977* Enabled MEC watchpoint and breakpoint function to mem.c. Performance
978may suffer a bit ...
979
980NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
981
982version 1.3 26-07-95
983--------------------
984
985* Fixed bug in mulscc instruction (how could that ever have worked?)
986
987* Fixed bug in UART B (flushed characters on UART A), thanks Paul.
988
989version 1.2 13-07-95
990--------------------
991
992* Fixed bug in interrupt handling (wrong interrupt selected when more that
993one interrupt pending)
994
995* Fixed updating of condition codes during logical instructions (carry and
996overflow were not reset)
997
998* Fixed bug in WRTBR (tt field was wrongly over-written)
999
1000version 1.1 07-07-95
1001--------------------
1002
1003* Fixed several bugs in the interrupt handler and callback routines.
1004(reported by Paul Warren, Alsys)