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