]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/erc32/ChangeLog
sim: unify -Werror build settings
[thirdparty/binutils-gdb.git] / sim / erc32 / ChangeLog
CommitLineData
47ce766a
MF
12021-06-18 Mike Frysinger <vapier@gentoo.org>
2
3 * aclocal.m4, configure: Regenerate.
4
982c3a65
MF
52021-06-18 Mike Frysinger <vapier@gentoo.org>
6
7 * Makefile.in (SIM_WERROR_CFLAGS): New variable.
8 * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
9 * configure: Regenerate.
10
f9a4d543
MF
112021-06-17 Mike Frysinger <vapier@gentoo.org>
12
13 * configure: Regenerate.
14
a8a3d907
MF
152021-06-16 Mike Frysinger <vapier@gentoo.org>
16
17 * configure: Regenerate.
18
52d37d2c
MF
192021-06-16 Mike Frysinger <vapier@gentoo.org>
20
21 * configure: Regenerate.
22 * config.in: Removed.
23
bcaa61f7
MF
242021-06-15 Mike Frysinger <vapier@gentoo.org>
25
26 * config.in, configure: Regenerate.
27
757b3c2f
MF
282021-06-14 Mike Frysinger <vapier@gentoo.org>
29
30 * interf.c (sim_open) [F_GETFL]: Only set termsave.
31 (sim_close) [F_SETFL]: Only call fcntl.
32 * sis.c (main) [F_GETFL]: Only set termsave.
33
4df5cdbd
MF
342021-06-14 Mike Frysinger <vapier@gentoo.org>
35
36 * erc32.c [HAVE_TERMIOS_H]: Include termios.h and declare ioc1,
37 ioc2, iocold1, & iocold2.
38 (init_stdio) [HAVE_TERMIOS_H]: Only call tcsetattr.
39 (restore_stdio) [HAVE_TERMIOS_H]: Likewise.
40 (port_init) [HAVE_TERMIOS_H]: Only call tcgetattr.
41
a80249d0
MF
422021-06-12 Mike Frysinger <vapier@gentoo.org>
43
44 * erc32.c (uart_rx): Change caddr_t to void*.
45 (uart_intr): Likewise.
46 (wdog_intr): Likewise.
47 (rtc_intr): Likewise.
48 (gpt_intr): Likewise.
49
4218a6dc
MF
502021-06-12 Mike Frysinger <vapier@gentoo.org>
51
52 * Makefile.in: Add $(EXEEXT) to sis.
53
dba333c1
MF
542021-06-12 Mike Frysinger <vapier@gentoo.org>
55
56 * aclocal.m4, config.in, configure: Regenerate.
57
b15c5d7a
MF
582021-06-12 Mike Frysinger <vapier@gentoo.org>
59
60 * config.in, configure: Regenerate.
61
6df01ab8
MF
622021-05-16 Mike Frysinger <vapier@gentoo.org>
63
64 * erc32.c, exec.c, float.c, func.c, help.c, interf.c, sis.c: Replace
65 config.h include with defs.h.
66 * sis.h: Delete config.h include.
67
79633c12
MF
682021-05-16 Mike Frysinger <vapier@gentoo.org>
69
70 * config.in, configure: Regenerate.
71
df68e12b
MF
722021-05-14 Mike Frysinger <vapier@gentoo.org>
73
74 * interf.c: Update include path.
75 * sis.h: Likewise.
76
aa0fca16
MF
772021-05-04 Mike Frysinger <vapier@gentoo.org>
78
79 * configure: Regenerate.
80
5ee0bc23
MF
812021-05-04 Mike Frysinger <vapier@gentoo.org>
82
83 * func.c (bfd_load): Use BFD_VMA_FMT.
84
fe348617
MF
852021-05-01 Mike Frysinger <vapier@gentoo.org>
86
87 * config.in, configure: Regenerate.
88
66d055c7
MF
892021-04-26 Mike Frysinger <vapier@gentoo.org>
90
91 * aclocal.m4, config.in, configure: Regenerate.
92
19f6a43c
TT
932021-04-22 Tom Tromey <tom@tromey.com>
94
95 * configure, config.in: Rebuild.
96
efd82ac7
TT
972021-04-22 Tom Tromey <tom@tromey.com>
98
99 * configure: Rebuild.
100
2662c237
MF
1012021-04-21 Mike Frysinger <vapier@gentoo.org>
102
103 * aclocal.m4: Regenerate.
104
1f195bc3
SM
1052021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
106
107 * configure: Regenerate.
108
37e9f182
MF
1092021-04-18 Mike Frysinger <vapier@gentoo.org>
110
111 * configure: Regenerate.
112
2694bce9
JB
1132021-04-15 John Baldwin <jhb@FreeBSD.org>
114
115 * Makefile.in (READLINE_SRC, READLINE_CFLAGS): Add.
116 (SIM_EXTRA_CFLAGS): Add READLINE_CFLAGS.
117 * configure: Rebuild.
118 * configure.ac (READLINE_CFLAGS): Add.
119
32a046ab
TT
1202021-04-08 Tom Tromey <tom@tromey.com>
121
122 * func.c: Include sys/time.h.
123
81e6e8ae
TT
1242021-04-08 Tom Tromey <tom@tromey.com>
125
126 * sis.c (run_sim, main): Use new-style declaration.
127 * interf.c (run_sim, sim_open, sim_close, sim_load)
128 (sim_create_inferior, sim_store_register, sim_fetch_register)
129 (sim_info, sim_stop_reason, flush_windows, sim_do_command): Use
130 new-style declaration.
131 * help.c (usage, gen_help): Use new-style declaration.
132 * func.c (batch, set_regi, set_rega, disp_reg, limcalc)
133 (reset_stat, show_stat, init_bpt, int_handler, init_signals)
134 (disp_fpu, disp_regs, disp_ctrl, disp_mem, dis_mem, event)
135 (init_event, set_int, advance_time, now, wait_for_irq, check_bpt)
136 (reset_all, sys_reset, sys_halt): Use new-style declaration.
137 * float.c (get_accex, clear_accex, set_fsr): Use new-style
138 declaration.
139 * exec.c (sub_cc, add_cc, log_cc, dispatch_instruction, fpexec)
140 (chk_asi, execute_trap, check_interrupts, init_regs): Use
141 new-style declaration.
142 * erc32.c (init_sim, reset, decode_ersr, mecparerror)
143 (error_mode, decode_memcfg, decode_wcr, decode_mcr, sim_halt)
144 (close_port, exit_sim, mec_reset, mec_intack, chk_irq, mec_irq)
145 (set_sfsr, mec_read, mec_write, init_stdio, restore_stdio)
146 (port_init, read_uart, write_uart, flush_uart, uarta_tx)
147 (uartb_tx, uart_rx, uart_intr, uart_irq_start, wdog_intr)
148 (wdog_start, rtc_intr, rtc_start, rtc_counter_read)
149 (rtc_scaler_set, rtc_reload_set, gpt_intr, gpt_start)
150 (gpt_counter_read, gpt_scaler_set, gpt_reload_set, timer_ctrl)
151 (memory_read, memory_write, get_mem_ptr, sis_memory_write)
152 (sis_memory_read): Use new-style declaration.
153
53e123a5
TT
1542021-04-05 Tom Tromey <tromey@adacore.com>
155
156 * configure: Rebuild.
157 * configure.ac (READLINE): Adjust in-tree value.
158
c2783492
MF
1592021-04-02 Mike Frysinger <vapier@gentoo.org>
160
161 * aclocal.m4, configure: Regenerate.
162
ebe9564b
MF
1632021-02-28 Mike Frysinger <vapier@gentoo.org>
164
165 * configure: Regenerate.
166
f8069d55
MF
1672021-02-27 Mike Frysinger <vapier@gentoo.org>
168
169 * Makefile.in (SIM_EXTRA_ALL): Delete.
170 (all): New target.
171
760b3e8b
MF
1722021-02-21 Mike Frysinger <vapier@gentoo.org>
173
174 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
175 * aclocal.m4, configure: Regenerate.
176
136da8cd
MF
1772021-02-13 Mike Frysinger <vapier@gentoo.org>
178
179 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
180 * aclocal.m4, configure: Regenerate.
181
7a9bd3b4
MF
1822021-02-06 Mike Frysinger <vapier@gentoo.org>
183
184 * interf.c (sim_memory_map): Define.
185
aa09469f
MF
1862021-02-06 Mike Frysinger <vapier@gentoo.org>
187
188 * configure: Regenerate.
189
5c1008a4
MF
1902021-01-11 Mike Frysinger <vapier@gentoo.org>
191
192 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
193 * configure: Regenerate.
194
68ed2854
MF
1952021-01-11 Mike Frysinger <vapier@gentoo.org>
196
197 * config.in, configure: Regenerate.
198 * sis.c: Delete HAVE_STDLIB_H.
199
50df264d
MF
2002021-01-09 Mike Frysinger <vapier@gentoo.org>
201
202 * configure: Regenerate.
203
46f900c0
MF
2042021-01-08 Mike Frysinger <vapier@gentoo.org>
205
206 * configure: Regenerate.
207
dfb856ba
MF
2082021-01-04 Mike Frysinger <vapier@gentoo.org>
209
210 * configure: Regenerate.
211
f693213d
SM
2122020-07-29 Simon Marchi <simon.marchi@efficios.com>
213
214 * configure: Re-generate.
215
c1230d1b
JS
2162018-10-30 Joel Sherrill <joel@rtems.org>
217
218 * configure.ac: Remove the Cygwin-specific libtermcap.a hack
219 and use the standard logic to determine which library to use.
220 * configure: Regenerate.
221
5c887dd5
JB
2222017-09-06 John Baldwin <jhb@FreeBSD.org>
223
224 * configure: Regenerate.
225
ce39bd38
MF
2262016-01-10 Mike Frysinger <vapier@gentoo.org>
227
228 * config.in, configure: Regenerate.
229
0dc73ef7
MF
2302016-01-10 Mike Frysinger <vapier@gentoo.org>
231
232 * configure: Regenerate.
233
347fe5bb
MF
2342016-01-10 Mike Frysinger <vapier@gentoo.org>
235
236 * configure: Regenerate.
237
99d8e879
MF
2382016-01-10 Mike Frysinger <vapier@gentoo.org>
239
240 * configure: Regenerate.
241
35656e95
MF
2422016-01-10 Mike Frysinger <vapier@gentoo.org>
243
244 * configure: Regenerate.
245
16f7876d
MF
2462016-01-10 Mike Frysinger <vapier@gentoo.org>
247
248 * configure: Regenerate.
249
e19418e0
MF
2502016-01-10 Mike Frysinger <vapier@gentoo.org>
251
252 * configure: Regenerate.
253
22be3fbe
MF
2542016-01-10 Mike Frysinger <vapier@gentoo.org>
255
256 * configure: Regenerate.
257
936df756
MF
2582016-01-09 Mike Frysinger <vapier@gentoo.org>
259
260 * config.in, configure: Regenerate.
261
2e3d4f4d
MF
2622016-01-06 Mike Frysinger <vapier@gentoo.org>
263
264 * interf.c (sim_open): Mark argv const.
265 (sim_create_inferior): Mark argv and env const.
266
9bbf6f91
MF
2672016-01-04 Mike Frysinger <vapier@gentoo.org>
268
269 * configure: Regenerate.
270
34fed699
MF
2712016-01-03 Mike Frysinger <vapier@gentoo.org>
272
273 * interf.c (sim_open): Replace while loop with a call to countargv.
274
0cb8d851
MF
2752016-01-03 Mike Frysinger <vapier@gentoo.org>
276
277 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
278 * configure: Regenerate.
279 * exec.c (fpexec): Rename CURRENT_HOST_BYTE_ORDER to
280 HOST_BYTE_ORDER.
281 * sis.h (WITH_HOST_BYTE_ORDER): Rename to ...
282 (HOST_BYTE_ORDER): ... this.
283
1ac72f06
MF
2842016-01-02 Mike Frysinger <vapier@gentoo.org>
285
286 * configure: Regenerate.
287
1b393626
MF
2882015-12-26 Mike Frysinger <vapier@gentoo.org>
289
290 * config.in, configure: Regenerate.
291
8d0978fb
MF
2922015-06-23 Mike Frysinger <vapier@gentoo.org>
293
294 * configure: Regenerate.
295
306f4178
MF
2962015-06-12 Mike Frysinger <vapier@gentoo.org>
297
298 * configure: Regenerate.
299
a3487082
MF
3002015-06-12 Mike Frysinger <vapier@gentoo.org>
301
302 * configure: Regenerate.
303
296730a5
MF
3042015-05-17 Mike Frysinger <vapier@gentoo.org>
305
306 * erc32.c: Re-add file overview & author info.
307 * exec.c, float.c, func.c, help.c, interf.c, sis.c: Likewise.
308
17d88f73
JB
3092015-05-08 Joel Brobecker <brobecker@adacore.com>
310
311 * configure.ac: Add copyright header.
312 * erc32.c: Change copyright holder to FSF. Reformat.
313 * exec.c, float.c, func.c, interf.c, sis.c, sis.h: Likewise.
314 * help.c, startsim: Add copyright header.
315
0a13382c
NC
3162015-04-29 Nick Clifton <nickc@redhat.com>
317
318 PR 18273
319 * sis.c (main): Remove unreachable code.
320
de7669bf
NC
3212015-04-24 David Binderman <dcb314@hotmail.com>
322 Nick Clifton <nickc@redhat.com>
323
324 PR 18273
325 * exec.c (add32): Fix typo in check for overflow.
326
d3e9b40a
JG
3272015-04-19 Jiri Gaisler <jiri@gaisler.se>
328
329 * erc32.c (current_target_byte_order): Delete.
330 (fetch_bytes): Remove.
331 (store_bytes): Remove byte twisting.
332 (memory_read, memory_write): Access memory directly.
333 (extract_short, extract_short_signed, extract_byte,
334 extract_byte_signed): New function for for sub-word LD instructions.
335 * exec.c (extract_short, extract_short_signed, extract_byte,
336 extract_byte_signed): New functions.
337 (dispatch_instruction): Update memory reads.
338 * func.c (current_target_byte_order): Delete.
339 (get_regi): Delete little endian handling.
340 (disp_ctrl, dis_mem): Adjust print-out to new data endian.
341 (bfd_load): Delete little endian handling.
342 * interf.c (current_target_byte_order): Delete.
343 (sim_open): Set dinfo to host endian to get correct disassembly.
344 (sim_write, sim_read): Convert endian when gdb reads or writes
345 memory.
346 * sis.c (main): Set endian.
347 * sis.h (EBT): Define.
348
bf12d44e
MF
3492015-04-13 Mike Frysinger <vapier@gentoo.org>
350
351 * configure: Regenerate.
352
aadc9410
MF
3532015-03-31 Mike Frysinger <vapier@gentoo.org>
354
355 * config.in, configure: Regenerate.
356
510d2751
JG
3572015-03-28 Jiri Gaisler <jiri@gaisler.se>
358
359 * func.c (exec_cmd): Fix old style prototype. Mark cmd const. Save
360 the command in a new cmdsave2 to avoid modifying.
361 (bfd_load): Fix old style prototype. Mark fname const.
362 * sis.h (exec_cmd): Mark cmd const.
363 (bfd_load): Mark fname const.
364
102b920e
JG
3652015-03-28 Jiri Gaisler <jiri@gaisler.se>
366
367 * erc32.c (memory_iread): New function to fetch instructions.
368 (memory_read): Print message in verbose mode.
369 * interf.c (run_sim): Use memory_iread.
370 * sis.c (run_sim): As above.
371 * sis.h (memory_iread): New prototype.
372 (sregs): Declare.
373
5831e29b
MF
3742015-03-28 Mike Frysinger <vapier@gentoo.org>
375
376 * erc32.c (mec_read): Delete parenthesis around return statement.
377 (mec_write, read_uart, rtc_counter_read, gpt_counter_read, memory_read,
378 memory_write, get_mem_ptr, sis_memory_write, sis_memory_read): Likewise.
379 * exec.c (sub_cc, add_cc, add32, dispatch_instruction, fpexec, chk_asi,
380 execute_trap, check_interrupts): Likewise.
381 * float.c (get_accex): Likewise.
382 * func.c (batch, limcalc, exec_cmd, disp_fpu, now, wait_for_irq,
383 check_bpt, bfd_load, get_time): Likewise.
384 * interf.c (run_sim, sim_write, sim_read): Likewise.
385 * sis.c (run_sim): Likewise.
386
523ba8f9
MF
3872015-03-24 Mike Frysinger <vapier@gentoo.org>
388
389 * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
390
b9f9ea2f
JG
3912015-03-17 Jiri Gaisler <jiri@gaisler.se>
392
393 * func.c (exec_cmd): Silence compiler warnings when calling system().
394 (batch): Replace fgets() with getline().
395
638fcdad
JG
3962015-03-17 Jiri Gaisler <jiri@gaisler.se>
397
398 * func.c (show_stat): Print simulation time in portable long long
399 format.
400 * help.c (usage): Update usage help print-out.
401 * sis.c (run_sim): Increase debug level with -v. Also print
402 simulation time in portable long long format.
403 * sis.h: Use stdint.h for portable 32- and 64-bit ints.
404
ae7d0cac
MF
4052015-03-16 Mike Frysinger <vapier@gentoo.org>
406
407 * config.in, configure: Regenerate.
408
9c5f41df
JG
4092015-03-16 Jiri Gaisler <jiri@gaisler.se>
410
411 * Makefile.in (end, end.h): Remove target rules.
412 (clean): Remove end and end.h.
413 (erc32.o, exec.o, float.o, func.o, help.o, interf.o, sis.o): Delete
414 rules.
415 * configure, config.in: Regenerate.
416 * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN
417 * end.c: Delete.
418 * erc32.c: Remove end.h include.
419 * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN.
420 * func.c, sis.c: Likewise.
421
465fb143
MF
4222015-03-14 Mike Frysinger <vapier@gentoo.org>
423
424 * Makefile.in (SIM_RUN_OBJS): Set to sis.o.
425
5cddc23a
MF
4262015-03-14 Mike Frysinger <vapier@gentoo.org>
427
428 * configure.ac (AC_CHECK_HEADERS): Delete.
429 * aclocal.m4, configure: Regenerate.
430
5634e839
JG
4312015-02-22 Jiri Gaisler <jiri@gaisler.se>
432
433 * Makefile.in: Add include path to readline.h.
434 sis.c: Remove locally define readline types.
435
96d67095
JG
4362015-02-21 Jiri Gaisler <jiri@gaisler.se>
437
438 * func.c (reset_stat, show_stat): Switch to double in time keeping.
439 (get_time): New function to get system time.
440 * interf.c (run_sim): Use get_time() for system time.
441 * sis.c (run_sim): Likewise.
442 * sis.h: Likewise.
443
bb6ead91
JG
4442015-02-21 Jiri Gaisler <jiri@gaisler.se>
445
446 * Makefile.in: Remove unused defines
447
0172ee3a
JG
4482015-02-21 Jiri Gaisler <jiri@gaisler.se>
449
450 * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h
451 instead of custom assembly.
452
20a0ffe3
JG
4532015-02-21 Jiri Gaisler <jiri@gaisler.se>
454
455 * erc32.c (mec_read): Allow simulator memory size to be read
456 by application.
457 (boot_init): initialize memory and timers if start address is
458 not 0.
459 * func.c (exe_cmd): Call boot_init if start address not 0.
460 * interf.c (run_sim): Likewise.
461
df9bc416
JG
4622015-02-21 Jiri Gaisler <jiri@gaisler.se>
463
464 * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
465
53b5af48
JG
4662015-02-21 Jiri Gaisler <jiri@gaisler.se>
467
468 * func.c (print_insn_sparc_sis): Add helper function for disassembly.
469 (disp_ctrl): Use helper function.
470
2974be62
AM
4712014-08-19 Alan Modra <amodra@gmail.com>
472
473 * configure: Regenerate.
474
faa743bb
RM
4752014-08-15 Roland McGrath <mcgrathr@google.com>
476
477 * configure: Regenerate.
478 * config.in: Regenerate.
479
60d847df
MF
4802014-03-10 Mike Frysinger <vapier@gentoo.org>
481
482 * interf.c (sim_do_command): Add const to cmd.
483
b2b255bd
MF
4842014-03-05 Mike Frysinger <vapier@gentoo.org>
485
486 * interf.c (sim_load): Add const to prog.
487
40776d19
SDJ
4882013-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
489
490 PR sim/16018:
491 * float.c (set_fsr): Add missing "break" statements. Reindent
492 code.
493
bf3d9781
AM
4942013-09-23 Alan Modra <amodra@gmail.com>
495
496 * configure: Regenerate.
497
31e6ad7d
MF
4982013-06-03 Mike Frysinger <vapier@gentoo.org>
499
500 * aclocal.m4, configure: Regenerate.
501
7b7f7f41
JB
5022013-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
503
504 * Makefile.in: Include build directory in search path to find
505 config.h
506
4232dbd1
NC
5072012-08-16 Nick Clifton <nickc@redhat.com>
508
509 * end.c: Include config.h before system header files.
510 * erc32.c: Likewise.
511 * exec.c: Likewise.
512 * float.c: Likewise.
513 * func.c: Likewise.
514 * help.c: Likewise.
515 * interf.c: Likewise.
516
9a210f30
JB
5172012-06-15 Joel Brobecker <brobecker@adacore.com>
518
519 * sys.h: Include "config.h".
520
5f3ef9d0
JB
5212012-06-15 Joel Brobecker <brobecker@adacore.com>
522
523 * config.in, configure: Regenerate.
524
a493e3e2
PA
5252012-05-24 Pedro Alves <palves@redhat.com>
526
527 PR gdb/7205
528
72f4393d 529 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
a493e3e2 530
2232061b
MF
5312012-03-24 Mike Frysinger <vapier@gentoo.org>
532
533 * aclocal.m4, config.in, configure: Regenerate.
534
b909d38d
MF
5352011-12-31 Mike Frysinger <vapier@gentoo.org>
536
e6ab98cd 537 PR sim/9971:
b909d38d
MF
538 * configure.ac: Change AC_CHECK_LIB to AC_SEARCH_LIBS to match
539 the code in gdb's configure.ac with $TERMCAP.
540 * configure: Regenerated.
541
db2e4d67
MF
5422011-12-03 Mike Frysinger <vapier@gentoo.org>
543
544 * aclocal.m4: New file.
545 * configure: Regenerate.
546
9c082ca8
MF
5472011-10-17 Mike Frysinger <vapier@gentoo.org>
548
549 * configure.ac: Change include to common/acinclude.m4.
550
6ffe910a
MF
5512011-10-17 Mike Frysinger <vapier@gentoo.org>
552
553 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
554 call. Replace common.m4 include with SIM_AC_COMMON.
555 * configure: Regenerate.
556
ce6f492f
MF
5572011-06-09 Mike Frysinger <vapier@gentoo.org>
558
559 * interf.c (sim_open): Accept and ignore `--sysroot=...'.
560
248d2a8f
JB
5612011-06-01 Joel Brobecker <brobecker@adacore.com>
562
563 * interf.c (sim_complete_command): New stub function.
564
dae477fe
AB
5652011-01-11 Andrew Burgess <aburgess@broadcom.com>
566
567 * interf.c (sim_store_register): Update return value to
568 match new API.
569
2464c810
JB
5702010-05-20 Joel Brobecker <brobecker@adacore.com>
571
572 * sis.h: Remove #include <stdint.h>.
573 (uint64, int64): Redefine without using stdint.h.
574 (UINT64_MAX): Define.
575
94110024
JS
5762010-04-20 Tiemen Schut <T.Schut@sron.nl>
577
578 * erc32.c (sis_memory_write): Change prototype to const unsigned char *.
579 * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
580 for counts.
581 * interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
582 (sim_resume): Specify maximum run time as uint64.
583 * sis.c (run_sim): Change icount to uint64_t.
584 * sis.h: Define uint64 as uint64_t. Change various fields and
585 prototypes to uint64 to support longer simulations.
586
5558e7e6
MF
5872010-04-14 Mike Frysinger <vapier@gentoo.org>
588
589 * interp.c (sim_write): Add const to buf arg.
590
3725885a
RW
5912010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
592
593 * configure: Regenerate.
594
d6416cdc
RW
5952009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
596
81ecdfbb
RW
597 * config.in: Regenerate.
598 * configure: Likewise.
599
d6416cdc
RW
600 * configure: Regenerate.
601
d68c23cd
JS
6022008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
603
604 * erc32.c, exec.c: Fix warnings.
605
b5bd9624
HPN
6062008-07-11 Hans-Peter Nilsson <hp@axis.com>
607
608 * configure: Regenerate to track ../common/common.m4 changes.
609 * config.in: Ditto.
610
14e1f957
MS
6112008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>
612
613 * sis.c: Correct spelling error.
614
6efef468 6152008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
616 Daniel Jacobowitz <dan@codesourcery.com>
617 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
618
619 * configure: Regenerate.
620
edc5d9ec
HPN
6212006-12-21 Hans-Peter Nilsson <hp@axis.com>
622
623 * acconfig.h: Remove.
624 * config.in: Regenerate.
625
70a9be63
HPN
6262006-12-20 Hans-Peter Nilsson <hp@axis.com>
627
628 * configure.ac: Add test for readline, substitute READLINE.
629 * Makefile.in (READLINE_LIB): New substituted-contents variable.
630 (SIM_EXTRA_LIBDEPS): Don't set.
631 (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
632 ../../readline/libreadline.a.
633 * configure: Regenerate.
634
ce928021
DJ
6352006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
636
637 * Makefile.in (func.o, help.o): Correct dependencies.
638
6392006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
640
641 * Makefile.in (install-sis): Honor DESTDIR.
642
e85e3205
RE
6432006-06-13 Richard Earnshaw <rearnsha@arm.com>
644
645 * configure: Regenerated.
646
2f0122dc
DJ
6472006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
648
649 * configure: Regenerated.
650
20e95c23
DJ
6512006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
652
653 * configure: Regenerated.
654
aba6488e
MM
6552005-11-28 Mark Mitchell <mark@codesourcery.com>
656
657 * interf.c: (gdb/signals.h): Include it.
658 (sim_stop_reason): Use TARGET_SIGNAL_*.
659
4eeb4f8d
BE
6602005-07-08 Ben Elliston <bje@au.ibm.com>
661
662 * func.c: Remove ANSI_PROTOTYPES conditional code.
663
2b193c4a
MK
6642005-03-23 Mark Kettenis <kettenis@gnu.org>
665
666 * configure: Regenerate.
667
187d3d28
JG
6682005-03-07 Jerome Guitton <guitton@gnat.com>
669
670 * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
671 strings.
672 (clear_accex): Ditto.
673 * sim/erc32/interf.c: Remove the redeclaration of fprintf.
674 * sim/erc32/sis.c: Ditto.
675 * sim/erc32/exec.c: Add missing semicolon.
676 * sim/erc32/func.c: Remove definitions of generic_print_address,
677 generic_symbol_at_address, buffer_read_memory and perror_memory, as
678 they are already defined in opcodes/dis-buf.c.
679
35695fd6
AC
6802005-01-14 Andrew Cagney <cagney@gnu.org>
681
682 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
683 explicit call to AC_CONFIG_HEADER.
684 * configure: Regenerate.
685
f0569246
AC
6862005-01-12 Andrew Cagney <cagney@gnu.org>
687
688 * configure.ac: Update to use ../common/common.m4.
689 * configure: Re-generate.
690
38f48d72
AC
6912005-01-11 Andrew Cagney <cagney@localhost.localdomain>
692
693 * configure: Regenerated to track ../common/aclocal.m4 changes.
694
b7026657
AC
6952005-01-07 Andrew Cagney <cagney@gnu.org>
696
697 * configure.ac: Rename configure.in, require autoconf 2.59.
698 * configure: Re-generate.
699
379832de
HPN
7002004-12-08 Hans-Peter Nilsson <hp@axis.com>
701
702 * configure: Regenerate for ../common/aclocal.m4 update.
703
2b3cc94f
AS
7042004-11-11 Andreas Schwab <schwab@suse.de>
705
706 * interf.c: Include "libiberty.h" instead of declaring buildargv
707 ourselves.
708
6b4a8935
AC
7092003-02-27 Andrew Cagney <cagney@redhat.com>
710
711 * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
712
c8cca39f
AC
7132002-06-16 Andrew Cagney <ac131313@redhat.com>
714
715 * configure: Regenerated to track ../common/aclocal.m4 changes.
716
3c25f8c7
AC
7172002-06-08 Andrew Cagney <cagney@redhat.com>
718
719 * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h".
720 * interf.c: Include "gdb/remote-sim.h".
721
eb2d80b4
AC
722Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
723
724 * configure: Regenerated to track ../common/aclocal.m4 changes.
725
a0539197
FCE
7262000-03-07 Frank Ch. Eigler <fche@redhat.com>
727
728 From John Dallaway <jld@redhat.co.uk>:
729 * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
730
0ef33cd0
FCE
7312000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk>
732
733 * func.c (buffer_read_memory): Change type of size to unsigned to
734 match prototype
735
d4f3574e
SS
736Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
737
738 * configure: Regenerated to track ../common/aclocal.m4 changes.
739
cd0fc7c3
SS
7401999-05-08 Felix Lee <flee@cygnus.com>
741
742 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 743
7a292a7a
SS
7441999-03-03 DJ Delorie <dj@cygnus.com>
745
746 * configure.in: add termcap and -luser32 for host=cygwin
747 * configure: regenerate
72f4393d 748
c906108c
SS
7491999-02-11 Hugo Tyson <hmt@cygnus.co.uk>
750
72f4393d 751 * exec.c (dispatch_instruction):
c906108c
SS
752 Correct the sense of the
753 if (!sparclite) {
754 sregs->trap = TRAP_UNIMP;
72f4393d 755 break;
c906108c
SS
756 }
757 clause that has been pasted around: it's correct in the SCAN and
758 DIVScc (divide step) cases (where it was probably originally
759 written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases
760 ie. instructions only in the SPARC V8 or SPARClite 86x
761 architectures. It was also present when not required for SMUL,
762 SMULcc, UMUL, UMULcc instructions that are present in all
763 architectures.
764
7651999-01-25 Hugo Tyson <hmt@cygnus.co.uk>
766
767 * interf.c (run_sim): Fix a bug in the main loop's handling of
768 annulled delay slot instructions. There is precedent for this
769 change; the _other_ main loop in sis.c gets it right according to
770 my reading of the code.
771
772 The bug is: if an interrupt happens when the next instruction
773 (at sregs->pc) is annulled, the trap is taken (by execute_trap())
774 with the current values of PC and NPC, so when the trap returns,
775 the annulled instruction is indeed executed. Another giveaway is
776 that the annul flag is cleared in execute_trap(): the information
777 is demonstrably discarded.
778
779 The solution is: perform annulling before looking for traps, in
780 fact it's neater to do annulling, see if there's an interrupt and
781 if not, do the instruction, then handle traps be they generated by
782 interrupts pending or by the instruction we might just have done.
783 That's what the sis.c one does.
784
7851999-01-20 Hugo Tyson <hmt@cygnus.co.uk>
786
787 * sis.h: Add asr17 register for support of SparcLITE (at least the
788 Hitachi ones I find before me)
789
790 * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if
791 sparclite. Other ASR numbers than 17 or 0 (Y) trap out.
792 Case RDY: Allow read of asr17 if sparclite. Other ASRs ditto.
793 (execute_trap): Do single-vector-trapping if asr17 bit 0 is set.
794 (init_regs): Initialize y and asr17.
795 NB: In instruction-set space, the Y register is asr0; the
796 instructions have different names for human reasons only.
797
798 * sis.c:
799 * interf.c: Set boolean mode variable dumbio if invoked with
800 argument "-dumbio" and mention it of verbose.
801 * erc32.c: if "dumbio" is set, do not assume that there is a
802 terminal type device attached to stdin/stdout. Do not set
803 buffering or mess with tcsetattr or do any read operations in
804 order to make UART interrupts; not input data is supported.
805 This is necessary to allow the sim to be used within the eCos
806 testing infrastructure where stdin/stdout are pipes to a TCL
807 program; the sim hangs otherwise.
808
809Thu Jul 23 07:17:03 1998 Mark Alexander <marka@cygnus.com>
810
811 * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
812
813Tue Jul 7 21:12:41 1998 Mark Alexander <marka@cygnus.com>
814
815 * func.c (bfd_load): Add special handling of a.out executables.
816
817Sat Jun 13 08:33:25 1998 Mark Alexander <marka@cygnus.com>
818
819 * func.c (bfd_load): Print correct endianness.
820 * interf.c (run_sim): Print debugging information if verbosity level
821 is greater than 2.
822 (sim_open): Repeated -v options now increment verbosity level.
823 (sim_store_register): Handle little-endian case.
824 (flush_window): Print debugging information if verbosity level
825 is greater then 2.
826
827Tue Jun 2 15:20:35 1998 Mark Alexander <marka@cygnus.com>
828
829 * interf.c (sim_open): Use revamped memory_read, which makes
830 byte-swapping unnecessary. Add -sparclite-board option for
831 emulating RAM found on typical SPARClite boards. Print
832 error message for unrecognized option.
833 * erc32.c: Change RAM address and size from constants to variables,
834 to allow emulation of SPARClite board RAM.
835 (fetch_bytes, store_bytes): New helper functions for revamped
836 mememory_read and memory_write.
837 (memory_read, memory_write): Rewrite to store bytes in target
838 byte order instead of storing words in host byte order; this
839 greatly simplifies support of little-endian programs.
840 (get_mem_ptr): Remove unnecessary byte parameter.
841 (sis_memory_write, sis_memory_read): Store words in target
842 byte order instead of host byte order.
843 (byte_swap_words): Remove, no longer needed.
844 * sis.h ((byte_swap_words): Remove declaration, no longer needed.
845 (memory_read): Add new sz parameter.
846 * sis.c (run_sim): Use revamped memory_read, which makes
847 byte-swapping unnecessary.
848 * exec.c (dispatch_instruction): Use revamped memory_read, which
849 makes byte-swapping and double-word fetching unnecessary.
850 * func.c (sparclite_board): Declare new variable.
851 (get_regi): Handle little-endian data.
852 (bfd_load): Recognize little-endian SPARClite as having
853 little-endian data.
72f4393d 854
c906108c
SS
855Fri May 22 14:23:16 1998 Mark Alexander <marka@cygnus.com>
856
857 * erc32.c (port_init): Print messages only if sis_verbose is true.
858 * func.c (bfd_load): Ditto.
859 * interf.c (sim_open): Ditto.
860
861Thu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com>
862
863 * sis.h (uint64, int64): Define.
864 * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
865 * (mul64): Simplify calculation of negative result.
866 * (div64): New helper function for 64-bit division.
867 * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
868 and UDIVCC.
72f4393d 869
c906108c
SS
870Wed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com>
871
872 * erc32.c (close_port): Don't close stdin; it kills GDB.
873 (byte_swap_words): New function.
874 * sis.h: (byte_swap_words): Declare.
875 * interf.c (run_sim): Always fetch instructions as big-endian.
876 * sis.c (run_sim): Ditto.
877
878Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
879
72f4393d 880 * configure: Regenerated to track ../common/aclocal.m4 changes.
c906108c
SS
881
882Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
883
884 * configure: Regenerated to track ../common/aclocal.m4 changes.
885 * config.in: Ditto.
886
887Sun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com>
888
889 * acconfig.h: New file.
890 * configure.in: Reverted change of Apr 24; use sinclude again.
891
892Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
893
894 * configure: Regenerated to track ../common/aclocal.m4 changes.
895 * config.in: Ditto.
896
897Fri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com>
898
899 * configure.in: Don't call sinclude.
900
901Sat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com>
902
903 * func.c (disp_fpu): Fix build problem on big-endian hosts.
904
905Wed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com>
906
907 * erc32.c (sim_stop): Handle SIGINT gracefully.
908 * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
909
910Wed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com>
911
912 * exec.c (dispatch_instruction): Change how carry out is calculated
913 in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC.
914
915Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
916
917 * configure: Regenerated to track ../common/aclocal.m4 changes.
918
919Wed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com>
920
921 * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
922 * erc32.c: Ditto.
923 * exec.c: Ditto.
924 * float.c: Ditto.
925 * func.c: Ditto.
926 * help.c: Ditto.
927 * interf.c: Ditto.
928 * sis.c: Ditto.
929 * sis.h: Ditto.
930
931Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
932
933 * configure: Regenerated to track ../common/aclocal.m4 changes.
934
935Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
936
937 * configure: Regenerated to track ../common/aclocal.m4 changes.
938
939Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
940
941 * configure: Regenerated to track ../common/aclocal.m4 changes.
942
943Tue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
944
945 * interf.c (sim_store_register, sim_fetch_register): Pass in
946 length parameter. Return -1.
947
948Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
949
950 * configure: Regenerated to track ../common/aclocal.m4 changes.
951
952Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
953
954 * configure: Regenerated to track ../common/aclocal.m4 changes.
955
956Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
957
958 * configure: Regenerated to track ../common/aclocal.m4 changes.
959
960Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
961
962 * configure: Regenerated to track ../common/aclocal.m4 changes.
963 * config.in: Ditto.
964
965Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
966
967 * configure: Regenerated to track ../common/aclocal.m4 changes.
968
969Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
970
971 * configure: Regenerated to track ../common/aclocal.m4 changes.
972
973Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
974
975 * configure: Regenerated to track ../common/aclocal.m4 changes.
976
977Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
978
979 * configure: Regenerated to track ../common/aclocal.m4 changes.
980
981Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
982
983 * configure: Regenerated to track ../common/aclocal.m4 changes.
984
985Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
986
987 * configure: Regenerated to track ../common/aclocal.m4 changes.
988
989Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
990
991 * configure: Regenerated to track ../common/aclocal.m4 changes.
992
993Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
994
995 * configure: Regenerated to track ../common/aclocal.m4 changes.
996 * config.in: Ditto.
997
998Tue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
999
1000 * float.c (__setfpucw): Compile on any i386 target. Not just NT.
1001
1002 * interf.c (sim_kill): Delete.
1003 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
1004 argument.
1005 (sim_load): Don't save start address.
1006 (start_address): Delete variable.
1007
1008Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1009
1010 * configure: Regenerated to track ../common/aclocal.m4 changes.
1011 * config.in: Ditto.
1012
1013Mon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
1014
1015 * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
1016
1017Mon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com>
1018
1019 * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
1020
1021Wed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
1022
1023 * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
1024 (sim_open): Add callback arg, save it.
1025
1026Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1027
1028 * configure: Regenerated to track ../common/aclocal.m4 changes.
1029
1030Tue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com>
1031
1032 * interf.c (sim_open): Undo patch to add -E support.
1033
1034Thu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com>
1035
1036 * interf.c (sim_open): Ignore -E arg.
1037 (start_address): New static local.
1038 (sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd.
1039 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1040
1041Tue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com>
1042
1043 * Makefile.in (install-sis): Depend upon installdirs. Use
1044 $(program_transform_name) directly, rather than using
1045 $(INSTALL_XFORM).
1046
1047Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1048
1049 * configure: Regenerated to track ../common/aclocal.m4 changes.
1050 * config.in: Ditto.
1051
1052Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1053
1054 * interf.c (sim_open): New arg `kind'.
1055
1056 * configure: Regenerated to track ../common/aclocal.m4 changes.
1057
1058Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1059
1060 * configure: Regenerated to track ../common/aclocal.m4 changes.
1061
1062Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1063
1064 * configure: Re-generate.
1065
1066Thu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com>
1067
1068 * interf.c (sim_open): New SIM_DESC result. Argument is now in
1069 argv form.
1070 (other sim_*): New SIM_DESC argument.
1071
1072Tue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
1073
1074 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1075 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1076 * configure.in: sinclude ../common/aclocal.m4.
1077 * configure: Regenerated.
1078
1079Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1080
1081 * configure configure.in Makefile.in: Update to new configure
1082 scheme which is more compatible with WinGDB builds.
1083 * configure.in: Improve comment on how to run autoconf.
1084 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1085 * Makefile.in: Use autoconf substitution to install common
1086 makefile fragment.
1087
1088Wed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1089
1090 * interf.c (run_sim): Stop the simulator and reset the stdio after
1091 breakpoints.
1092
1093Tue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1094
1095 * configure.in: Look for libtermcap.a.
1096 * Makefile.in: Only link in -ltermcap if it exists.
1097 * erc32.c: Update to version 2.6a. Fix uart handling.
1098 * exec.c: Update to version 2.6a. Add sparclite support.
1099 * float.c: Update to version 2.6a. Convert comments to
1100 preprocessor warnings. Add __setfpucw() for i385 hosts so floating
1101 point exceptions work on win32.
1102 * func.c: Update to version 2.6a. Fix uart handling, add support
1103 for user error traps.
1104 * help.c: Update to version 2.6a. Add help note on user error
1105 traps.
1106 * interf.c: Update to version 2.6a. Fix uart handling, and add
1107 sparclite support.
1108 * examples/gccx: Use sparclite cross compiler, not native gcc.
1109 * examples/srt0.S: Use "mov" rather than "wr" for manipulating
1110 the psr register.
1111
1112Mon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com>
1113
1114 * Makefile.in (run.o): Remove this rule, it hides the one in
1115 ../common/Make-common.in that correctly references the source
1116 in the sibling ../common directory.
1117
1118Wed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com>
1119
1120 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
1121 (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
1122 (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
1123 * configure.in: Simplify using macros in ../common/aclocal.m4.
1124 Call AC_CHECK_HEADERS(stdlib.h).
1125 * configure: Regenerated.
1126 * config.in: New file.
1127 * func.c (sim_set_callbacks): Delete, moved to
1128 * interf.c (sim_set_callbacks): here.
1129 (sim_callback): New global.
1130 Rewrite all calls to printf_filtered to go through callback.
1131 (sim_size,sim_trace): New functions.
1132 (sim_{insert,remove}_breakpoint): #if 0 out.
1133 * sis.c: #include "config.h". #include <stdlib.h> if present.
1134 (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
1135 * sis.h: #include "callback.h".
1136 * run.c: Deleted, using one in ../common now.
1137
1138Thu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1139
1140 * Makefile.in (clean): Move config.log to distclean.
1141
1142Wed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1143
1144 * Makefile.in (clean): Also remove config.log.
1145
1146Sat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com>
1147
1148 * Makefile.in (CC_FOR_BUILD): New variable.
1149 (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
1150 (RANLIB, CC): Likewise.
1151 (end): Use $(CC_FOR_BUILD), not $(CC).
1152 * configure.in: Set CC_FOR_BUILD.
1153 * configure: Rebuild.
1154
1155Sun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com)
1156
1157 * erc32.c (port_init): Disable this for __GO32__ (got no pty's
1158 there either...).
1159
1160Mon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com)
1161
1162 * erc32.c: Don't include sys/ioctl.h or sys/file.h. They aren't
1163 necessary.
1164 * (port_init): Don't even *try* to open pty's under _WIN32.
1165 * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
1166 * float.c: Get rid of #warning. Makes Microsoft C barf.
1167 * interf.c (sim_open): Cast fprintf to (fprintf_ftype) to fix
1168 compiler warning.
1169 * (sim_load sim_create_inferior sim_read): Use prototypes only in
1170 decls, not defs.
1171 * Get rid of enum sim_stop. It's defined in remote-sim.h.
1172 * (sim_stop_reason): Define SIGTRAP if _WIN32.
1173 * sis.h: Include ansidecl.h and remote-sim.h.
1174
1175Wed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com)
1176
1177 * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
1178 sis.h: Get rid of all uses of long long's.
1179 * (close_port read_uart write_uart uarta_tx): Don't seg fault
1180 when can't open pty's.
1181 * exec.c: Add two new instructions: smul, and divscc.
1182 * interf.c (flush_windows): New routine to flush the register
1183 windows out to the stack just before returning to GDB. Makes
1184 backtraces work much better.
1185
1186Wed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1187
72f4393d
L
1188 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1189 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1190 (docdir, oldincludedir): Removed.
1191 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1192 (AC_PROG_INSTALL): Added.
1193 * configure: Rebuilt.
c906108c
SS
1194
1195Mon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com>
1196
1197 * configure.in: Call AC_PROG_CC before running configure.host.
1198 * configure: Rebuild with autoconf 2.10.
1199
1200Tue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com>
1201
1202 * Makefile.in (install): Don't check to see if tooldir exists.
1203 Make $(tooldir) and $(tooldir)/bin.
1204
1205Mon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com>
1206
1207 * Makefile.in (end.h): Use explicit ./ when running end.
1208
1209Sun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1210
1211 * func.c(bfd_load): Don't try to print the filename if the pfbd is
1212 NULL.
1213 * interf.c(sim_load): Pass the whole string, not just the first
1214 byte.
1215
1216Version 2.1 26-02-96
1217--------------------
72f4393d 1218
c906108c 1219* Fixed bug in "go" command.
72f4393d 1220
c906108c
SS
1221version 2.0 05-02-96
1222--------------------
1223
1224* Fixed bug in interrupt force register (erc32.c).
1225
1226* Change file load function to use bfd_openr.
1227
1228* SIS should now be endian independent.
1229
1230version 1.8 24-11-95
1231--------------------
1232
1233* Fixed FPU timing - some sequences of FPU instructions did not calculate
1234 the resource dependencies right.
1235
1236* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
1237 but no FPU trap is generated.
1238
1239version 1.7.1 31-10-95
1240--------------------
1241
1242* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
1243 the FPU stays in execute mode.
1244
1245* Corrected JMPL and RETT timing (these instructions takes two cycles).
1246
1247
1248version 1.7 25-10-95
1249--------------------
1250
1251* Interrupt during annuled instruction corrupted return address - fixed.
1252
1253
1254version 1.6.2 25-10-95
1255--------------------
1256
1257* Added -DFAST_UART to Makefile
72f4393d 1258
c906108c
SS
1259
1260version 1.6.1 24-10-95
1261--------------------
72f4393d 1262
c906108c
SS
1263* Fixed bug in STDFQ which caused bus error
1264
1265
1266version 1.6 02-10-95
1267--------------------
72f4393d 1268
c906108c
SS
1269* Modified srt0.s to include code that initiates registers in IU and FPU
1270 and initializes the data segment. The simulator 'load' command does not
1271 longer initialize the data segment!
1272
72f4393d 1273* Corrected MEC timer operation; scalers now divide the frequency by
c906108c
SS
1274 (scaler_value + 1).
1275
1276* MEC breakpoints are not checked during store operation
1277
1278
1279version 1.5 14-09-95
1280--------------------
1281
1282* Fixed some bugs in the cycle counting for IU & FPU instructions.
1283
1284* Fixed bug that allowed an annuled instruction to cause memory exception.
1285
1286* The *ws parameter in mem.c should now contain the number of waitstates
1287 required by the memory access (was total number of cycles).
1288
1289* The supplied srt0.s now clears the BSS (thanks Joel).
1290
1291version 1.4 22-08-95
1292--------------------
1293
1294* Added a '-g' switch to enable/disable the GNU readline(), which cause
1295some problems on solaris 2.x machines.
1296
72f4393d 1297* Enabled MEC watchpoint and breakpoint function to mem.c. Performance
c906108c
SS
1298may suffer a bit ...
1299
1300NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
1301
1302version 1.3 26-07-95
1303--------------------
1304
1305* Fixed bug in mulscc instruction (how could that ever have worked?)
1306
1307* Fixed bug in UART B (flushed characters on UART A), thanks Paul.
1308
1309version 1.2 13-07-95
1310--------------------
1311
1312* Fixed bug in interrupt handling (wrong interrupt selected when more that
1313one interrupt pending)
1314
1315* Fixed updating of condition codes during logical instructions (carry and
1316overflow were not reset)
1317
1318* Fixed bug in WRTBR (tt field was wrongly over-written)
1319
1320version 1.1 07-07-95
1321--------------------
1322
1323* Fixed several bugs in the interrupt handler and callback routines.
1324(reported by Paul Warren, Alsys)