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