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