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