]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/erc32/ChangeLog
sim: update bug URI to https://
[thirdparty/binutils-gdb.git] / sim / erc32 / ChangeLog
CommitLineData
dfb856ba
MF
12021-01-04 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
f693213d
SM
52020-07-29 Simon Marchi <simon.marchi@efficios.com>
6
7 * configure: Re-generate.
8
c1230d1b
JS
92018-10-30 Joel Sherrill <joel@rtems.org>
10
11 * configure.ac: Remove the Cygwin-specific libtermcap.a hack
12 and use the standard logic to determine which library to use.
13 * configure: Regenerate.
14
5c887dd5
JB
152017-09-06 John Baldwin <jhb@FreeBSD.org>
16
17 * configure: Regenerate.
18
ce39bd38
MF
192016-01-10 Mike Frysinger <vapier@gentoo.org>
20
21 * config.in, configure: Regenerate.
22
0dc73ef7
MF
232016-01-10 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26
347fe5bb
MF
272016-01-10 Mike Frysinger <vapier@gentoo.org>
28
29 * configure: Regenerate.
30
99d8e879
MF
312016-01-10 Mike Frysinger <vapier@gentoo.org>
32
33 * configure: Regenerate.
34
35656e95
MF
352016-01-10 Mike Frysinger <vapier@gentoo.org>
36
37 * configure: Regenerate.
38
16f7876d
MF
392016-01-10 Mike Frysinger <vapier@gentoo.org>
40
41 * configure: Regenerate.
42
e19418e0
MF
432016-01-10 Mike Frysinger <vapier@gentoo.org>
44
45 * configure: Regenerate.
46
22be3fbe
MF
472016-01-10 Mike Frysinger <vapier@gentoo.org>
48
49 * configure: Regenerate.
50
936df756
MF
512016-01-09 Mike Frysinger <vapier@gentoo.org>
52
53 * config.in, configure: Regenerate.
54
2e3d4f4d
MF
552016-01-06 Mike Frysinger <vapier@gentoo.org>
56
57 * interf.c (sim_open): Mark argv const.
58 (sim_create_inferior): Mark argv and env const.
59
9bbf6f91
MF
602016-01-04 Mike Frysinger <vapier@gentoo.org>
61
62 * configure: Regenerate.
63
34fed699
MF
642016-01-03 Mike Frysinger <vapier@gentoo.org>
65
66 * interf.c (sim_open): Replace while loop with a call to countargv.
67
0cb8d851
MF
682016-01-03 Mike Frysinger <vapier@gentoo.org>
69
70 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
71 * configure: Regenerate.
72 * exec.c (fpexec): Rename CURRENT_HOST_BYTE_ORDER to
73 HOST_BYTE_ORDER.
74 * sis.h (WITH_HOST_BYTE_ORDER): Rename to ...
75 (HOST_BYTE_ORDER): ... this.
76
1ac72f06
MF
772016-01-02 Mike Frysinger <vapier@gentoo.org>
78
79 * configure: Regenerate.
80
1b393626
MF
812015-12-26 Mike Frysinger <vapier@gentoo.org>
82
83 * config.in, configure: Regenerate.
84
8d0978fb
MF
852015-06-23 Mike Frysinger <vapier@gentoo.org>
86
87 * configure: Regenerate.
88
306f4178
MF
892015-06-12 Mike Frysinger <vapier@gentoo.org>
90
91 * configure: Regenerate.
92
a3487082
MF
932015-06-12 Mike Frysinger <vapier@gentoo.org>
94
95 * configure: Regenerate.
96
296730a5
MF
972015-05-17 Mike Frysinger <vapier@gentoo.org>
98
99 * erc32.c: Re-add file overview & author info.
100 * exec.c, float.c, func.c, help.c, interf.c, sis.c: Likewise.
101
17d88f73
JB
1022015-05-08 Joel Brobecker <brobecker@adacore.com>
103
104 * configure.ac: Add copyright header.
105 * erc32.c: Change copyright holder to FSF. Reformat.
106 * exec.c, float.c, func.c, interf.c, sis.c, sis.h: Likewise.
107 * help.c, startsim: Add copyright header.
108
0a13382c
NC
1092015-04-29 Nick Clifton <nickc@redhat.com>
110
111 PR 18273
112 * sis.c (main): Remove unreachable code.
113
de7669bf
NC
1142015-04-24 David Binderman <dcb314@hotmail.com>
115 Nick Clifton <nickc@redhat.com>
116
117 PR 18273
118 * exec.c (add32): Fix typo in check for overflow.
119
d3e9b40a
JG
1202015-04-19 Jiri Gaisler <jiri@gaisler.se>
121
122 * erc32.c (current_target_byte_order): Delete.
123 (fetch_bytes): Remove.
124 (store_bytes): Remove byte twisting.
125 (memory_read, memory_write): Access memory directly.
126 (extract_short, extract_short_signed, extract_byte,
127 extract_byte_signed): New function for for sub-word LD instructions.
128 * exec.c (extract_short, extract_short_signed, extract_byte,
129 extract_byte_signed): New functions.
130 (dispatch_instruction): Update memory reads.
131 * func.c (current_target_byte_order): Delete.
132 (get_regi): Delete little endian handling.
133 (disp_ctrl, dis_mem): Adjust print-out to new data endian.
134 (bfd_load): Delete little endian handling.
135 * interf.c (current_target_byte_order): Delete.
136 (sim_open): Set dinfo to host endian to get correct disassembly.
137 (sim_write, sim_read): Convert endian when gdb reads or writes
138 memory.
139 * sis.c (main): Set endian.
140 * sis.h (EBT): Define.
141
bf12d44e
MF
1422015-04-13 Mike Frysinger <vapier@gentoo.org>
143
144 * configure: Regenerate.
145
aadc9410
MF
1462015-03-31 Mike Frysinger <vapier@gentoo.org>
147
148 * config.in, configure: Regenerate.
149
510d2751
JG
1502015-03-28 Jiri Gaisler <jiri@gaisler.se>
151
152 * func.c (exec_cmd): Fix old style prototype. Mark cmd const. Save
153 the command in a new cmdsave2 to avoid modifying.
154 (bfd_load): Fix old style prototype. Mark fname const.
155 * sis.h (exec_cmd): Mark cmd const.
156 (bfd_load): Mark fname const.
157
102b920e
JG
1582015-03-28 Jiri Gaisler <jiri@gaisler.se>
159
160 * erc32.c (memory_iread): New function to fetch instructions.
161 (memory_read): Print message in verbose mode.
162 * interf.c (run_sim): Use memory_iread.
163 * sis.c (run_sim): As above.
164 * sis.h (memory_iread): New prototype.
165 (sregs): Declare.
166
5831e29b
MF
1672015-03-28 Mike Frysinger <vapier@gentoo.org>
168
169 * erc32.c (mec_read): Delete parenthesis around return statement.
170 (mec_write, read_uart, rtc_counter_read, gpt_counter_read, memory_read,
171 memory_write, get_mem_ptr, sis_memory_write, sis_memory_read): Likewise.
172 * exec.c (sub_cc, add_cc, add32, dispatch_instruction, fpexec, chk_asi,
173 execute_trap, check_interrupts): Likewise.
174 * float.c (get_accex): Likewise.
175 * func.c (batch, limcalc, exec_cmd, disp_fpu, now, wait_for_irq,
176 check_bpt, bfd_load, get_time): Likewise.
177 * interf.c (run_sim, sim_write, sim_read): Likewise.
178 * sis.c (run_sim): Likewise.
179
523ba8f9
MF
1802015-03-24 Mike Frysinger <vapier@gentoo.org>
181
182 * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
183
b9f9ea2f
JG
1842015-03-17 Jiri Gaisler <jiri@gaisler.se>
185
186 * func.c (exec_cmd): Silence compiler warnings when calling system().
187 (batch): Replace fgets() with getline().
188
638fcdad
JG
1892015-03-17 Jiri Gaisler <jiri@gaisler.se>
190
191 * func.c (show_stat): Print simulation time in portable long long
192 format.
193 * help.c (usage): Update usage help print-out.
194 * sis.c (run_sim): Increase debug level with -v. Also print
195 simulation time in portable long long format.
196 * sis.h: Use stdint.h for portable 32- and 64-bit ints.
197
ae7d0cac
MF
1982015-03-16 Mike Frysinger <vapier@gentoo.org>
199
200 * config.in, configure: Regenerate.
201
9c5f41df
JG
2022015-03-16 Jiri Gaisler <jiri@gaisler.se>
203
204 * Makefile.in (end, end.h): Remove target rules.
205 (clean): Remove end and end.h.
206 (erc32.o, exec.o, float.o, func.o, help.o, interf.o, sis.o): Delete
207 rules.
208 * configure, config.in: Regenerate.
209 * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN
210 * end.c: Delete.
211 * erc32.c: Remove end.h include.
212 * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN.
213 * func.c, sis.c: Likewise.
214
465fb143
MF
2152015-03-14 Mike Frysinger <vapier@gentoo.org>
216
217 * Makefile.in (SIM_RUN_OBJS): Set to sis.o.
218
5cddc23a
MF
2192015-03-14 Mike Frysinger <vapier@gentoo.org>
220
221 * configure.ac (AC_CHECK_HEADERS): Delete.
222 * aclocal.m4, configure: Regenerate.
223
5634e839
JG
2242015-02-22 Jiri Gaisler <jiri@gaisler.se>
225
226 * Makefile.in: Add include path to readline.h.
227 sis.c: Remove locally define readline types.
228
96d67095
JG
2292015-02-21 Jiri Gaisler <jiri@gaisler.se>
230
231 * func.c (reset_stat, show_stat): Switch to double in time keeping.
232 (get_time): New function to get system time.
233 * interf.c (run_sim): Use get_time() for system time.
234 * sis.c (run_sim): Likewise.
235 * sis.h: Likewise.
236
bb6ead91
JG
2372015-02-21 Jiri Gaisler <jiri@gaisler.se>
238
239 * Makefile.in: Remove unused defines
240
0172ee3a
JG
2412015-02-21 Jiri Gaisler <jiri@gaisler.se>
242
243 * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h
244 instead of custom assembly.
245
20a0ffe3
JG
2462015-02-21 Jiri Gaisler <jiri@gaisler.se>
247
248 * erc32.c (mec_read): Allow simulator memory size to be read
249 by application.
250 (boot_init): initialize memory and timers if start address is
251 not 0.
252 * func.c (exe_cmd): Call boot_init if start address not 0.
253 * interf.c (run_sim): Likewise.
254
df9bc416
JG
2552015-02-21 Jiri Gaisler <jiri@gaisler.se>
256
257 * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
258
53b5af48
JG
2592015-02-21 Jiri Gaisler <jiri@gaisler.se>
260
261 * func.c (print_insn_sparc_sis): Add helper function for disassembly.
262 (disp_ctrl): Use helper function.
263
2974be62
AM
2642014-08-19 Alan Modra <amodra@gmail.com>
265
266 * configure: Regenerate.
267
faa743bb
RM
2682014-08-15 Roland McGrath <mcgrathr@google.com>
269
270 * configure: Regenerate.
271 * config.in: Regenerate.
272
60d847df
MF
2732014-03-10 Mike Frysinger <vapier@gentoo.org>
274
275 * interf.c (sim_do_command): Add const to cmd.
276
b2b255bd
MF
2772014-03-05 Mike Frysinger <vapier@gentoo.org>
278
279 * interf.c (sim_load): Add const to prog.
280
40776d19
SDJ
2812013-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
282
283 PR sim/16018:
284 * float.c (set_fsr): Add missing "break" statements. Reindent
285 code.
286
bf3d9781
AM
2872013-09-23 Alan Modra <amodra@gmail.com>
288
289 * configure: Regenerate.
290
31e6ad7d
MF
2912013-06-03 Mike Frysinger <vapier@gentoo.org>
292
293 * aclocal.m4, configure: Regenerate.
294
7b7f7f41
JB
2952013-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
296
297 * Makefile.in: Include build directory in search path to find
298 config.h
299
4232dbd1
NC
3002012-08-16 Nick Clifton <nickc@redhat.com>
301
302 * end.c: Include config.h before system header files.
303 * erc32.c: Likewise.
304 * exec.c: Likewise.
305 * float.c: Likewise.
306 * func.c: Likewise.
307 * help.c: Likewise.
308 * interf.c: Likewise.
309
9a210f30
JB
3102012-06-15 Joel Brobecker <brobecker@adacore.com>
311
312 * sys.h: Include "config.h".
313
5f3ef9d0
JB
3142012-06-15 Joel Brobecker <brobecker@adacore.com>
315
316 * config.in, configure: Regenerate.
317
a493e3e2
PA
3182012-05-24 Pedro Alves <palves@redhat.com>
319
320 PR gdb/7205
321
72f4393d 322 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
a493e3e2 323
2232061b
MF
3242012-03-24 Mike Frysinger <vapier@gentoo.org>
325
326 * aclocal.m4, config.in, configure: Regenerate.
327
b909d38d
MF
3282011-12-31 Mike Frysinger <vapier@gentoo.org>
329
e6ab98cd 330 PR sim/9971:
b909d38d
MF
331 * configure.ac: Change AC_CHECK_LIB to AC_SEARCH_LIBS to match
332 the code in gdb's configure.ac with $TERMCAP.
333 * configure: Regenerated.
334
db2e4d67
MF
3352011-12-03 Mike Frysinger <vapier@gentoo.org>
336
337 * aclocal.m4: New file.
338 * configure: Regenerate.
339
9c082ca8
MF
3402011-10-17 Mike Frysinger <vapier@gentoo.org>
341
342 * configure.ac: Change include to common/acinclude.m4.
343
6ffe910a
MF
3442011-10-17 Mike Frysinger <vapier@gentoo.org>
345
346 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
347 call. Replace common.m4 include with SIM_AC_COMMON.
348 * configure: Regenerate.
349
ce6f492f
MF
3502011-06-09 Mike Frysinger <vapier@gentoo.org>
351
352 * interf.c (sim_open): Accept and ignore `--sysroot=...'.
353
248d2a8f
JB
3542011-06-01 Joel Brobecker <brobecker@adacore.com>
355
356 * interf.c (sim_complete_command): New stub function.
357
dae477fe
AB
3582011-01-11 Andrew Burgess <aburgess@broadcom.com>
359
360 * interf.c (sim_store_register): Update return value to
361 match new API.
362
2464c810
JB
3632010-05-20 Joel Brobecker <brobecker@adacore.com>
364
365 * sis.h: Remove #include <stdint.h>.
366 (uint64, int64): Redefine without using stdint.h.
367 (UINT64_MAX): Define.
368
94110024
JS
3692010-04-20 Tiemen Schut <T.Schut@sron.nl>
370
371 * erc32.c (sis_memory_write): Change prototype to const unsigned char *.
372 * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
373 for counts.
374 * interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
375 (sim_resume): Specify maximum run time as uint64.
376 * sis.c (run_sim): Change icount to uint64_t.
377 * sis.h: Define uint64 as uint64_t. Change various fields and
378 prototypes to uint64 to support longer simulations.
379
5558e7e6
MF
3802010-04-14 Mike Frysinger <vapier@gentoo.org>
381
382 * interp.c (sim_write): Add const to buf arg.
383
3725885a
RW
3842010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
385
386 * configure: Regenerate.
387
d6416cdc
RW
3882009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
389
81ecdfbb
RW
390 * config.in: Regenerate.
391 * configure: Likewise.
392
d6416cdc
RW
393 * configure: Regenerate.
394
d68c23cd
JS
3952008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
396
397 * erc32.c, exec.c: Fix warnings.
398
b5bd9624
HPN
3992008-07-11 Hans-Peter Nilsson <hp@axis.com>
400
401 * configure: Regenerate to track ../common/common.m4 changes.
402 * config.in: Ditto.
403
14e1f957
MS
4042008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>
405
406 * sis.c: Correct spelling error.
407
6efef468 4082008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
409 Daniel Jacobowitz <dan@codesourcery.com>
410 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
411
412 * configure: Regenerate.
413
edc5d9ec
HPN
4142006-12-21 Hans-Peter Nilsson <hp@axis.com>
415
416 * acconfig.h: Remove.
417 * config.in: Regenerate.
418
70a9be63
HPN
4192006-12-20 Hans-Peter Nilsson <hp@axis.com>
420
421 * configure.ac: Add test for readline, substitute READLINE.
422 * Makefile.in (READLINE_LIB): New substituted-contents variable.
423 (SIM_EXTRA_LIBDEPS): Don't set.
424 (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
425 ../../readline/libreadline.a.
426 * configure: Regenerate.
427
ce928021
DJ
4282006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
429
430 * Makefile.in (func.o, help.o): Correct dependencies.
431
4322006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
433
434 * Makefile.in (install-sis): Honor DESTDIR.
435
e85e3205
RE
4362006-06-13 Richard Earnshaw <rearnsha@arm.com>
437
438 * configure: Regenerated.
439
2f0122dc
DJ
4402006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
441
442 * configure: Regenerated.
443
20e95c23
DJ
4442006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
445
446 * configure: Regenerated.
447
aba6488e
MM
4482005-11-28 Mark Mitchell <mark@codesourcery.com>
449
450 * interf.c: (gdb/signals.h): Include it.
451 (sim_stop_reason): Use TARGET_SIGNAL_*.
452
4eeb4f8d
BE
4532005-07-08 Ben Elliston <bje@au.ibm.com>
454
455 * func.c: Remove ANSI_PROTOTYPES conditional code.
456
2b193c4a
MK
4572005-03-23 Mark Kettenis <kettenis@gnu.org>
458
459 * configure: Regenerate.
460
187d3d28
JG
4612005-03-07 Jerome Guitton <guitton@gnat.com>
462
463 * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
464 strings.
465 (clear_accex): Ditto.
466 * sim/erc32/interf.c: Remove the redeclaration of fprintf.
467 * sim/erc32/sis.c: Ditto.
468 * sim/erc32/exec.c: Add missing semicolon.
469 * sim/erc32/func.c: Remove definitions of generic_print_address,
470 generic_symbol_at_address, buffer_read_memory and perror_memory, as
471 they are already defined in opcodes/dis-buf.c.
472
35695fd6
AC
4732005-01-14 Andrew Cagney <cagney@gnu.org>
474
475 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
476 explicit call to AC_CONFIG_HEADER.
477 * configure: Regenerate.
478
f0569246
AC
4792005-01-12 Andrew Cagney <cagney@gnu.org>
480
481 * configure.ac: Update to use ../common/common.m4.
482 * configure: Re-generate.
483
38f48d72
AC
4842005-01-11 Andrew Cagney <cagney@localhost.localdomain>
485
486 * configure: Regenerated to track ../common/aclocal.m4 changes.
487
b7026657
AC
4882005-01-07 Andrew Cagney <cagney@gnu.org>
489
490 * configure.ac: Rename configure.in, require autoconf 2.59.
491 * configure: Re-generate.
492
379832de
HPN
4932004-12-08 Hans-Peter Nilsson <hp@axis.com>
494
495 * configure: Regenerate for ../common/aclocal.m4 update.
496
2b3cc94f
AS
4972004-11-11 Andreas Schwab <schwab@suse.de>
498
499 * interf.c: Include "libiberty.h" instead of declaring buildargv
500 ourselves.
501
6b4a8935
AC
5022003-02-27 Andrew Cagney <cagney@redhat.com>
503
504 * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
505
c8cca39f
AC
5062002-06-16 Andrew Cagney <ac131313@redhat.com>
507
508 * configure: Regenerated to track ../common/aclocal.m4 changes.
509
3c25f8c7
AC
5102002-06-08 Andrew Cagney <cagney@redhat.com>
511
512 * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h".
513 * interf.c: Include "gdb/remote-sim.h".
514
eb2d80b4
AC
515Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
516
517 * configure: Regenerated to track ../common/aclocal.m4 changes.
518
a0539197
FCE
5192000-03-07 Frank Ch. Eigler <fche@redhat.com>
520
521 From John Dallaway <jld@redhat.co.uk>:
522 * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
523
0ef33cd0
FCE
5242000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk>
525
526 * func.c (buffer_read_memory): Change type of size to unsigned to
527 match prototype
528
d4f3574e
SS
529Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
530
531 * configure: Regenerated to track ../common/aclocal.m4 changes.
532
cd0fc7c3
SS
5331999-05-08 Felix Lee <flee@cygnus.com>
534
535 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 536
7a292a7a
SS
5371999-03-03 DJ Delorie <dj@cygnus.com>
538
539 * configure.in: add termcap and -luser32 for host=cygwin
540 * configure: regenerate
72f4393d 541
c906108c
SS
5421999-02-11 Hugo Tyson <hmt@cygnus.co.uk>
543
72f4393d 544 * exec.c (dispatch_instruction):
c906108c
SS
545 Correct the sense of the
546 if (!sparclite) {
547 sregs->trap = TRAP_UNIMP;
72f4393d 548 break;
c906108c
SS
549 }
550 clause that has been pasted around: it's correct in the SCAN and
551 DIVScc (divide step) cases (where it was probably originally
552 written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases
553 ie. instructions only in the SPARC V8 or SPARClite 86x
554 architectures. It was also present when not required for SMUL,
555 SMULcc, UMUL, UMULcc instructions that are present in all
556 architectures.
557
5581999-01-25 Hugo Tyson <hmt@cygnus.co.uk>
559
560 * interf.c (run_sim): Fix a bug in the main loop's handling of
561 annulled delay slot instructions. There is precedent for this
562 change; the _other_ main loop in sis.c gets it right according to
563 my reading of the code.
564
565 The bug is: if an interrupt happens when the next instruction
566 (at sregs->pc) is annulled, the trap is taken (by execute_trap())
567 with the current values of PC and NPC, so when the trap returns,
568 the annulled instruction is indeed executed. Another giveaway is
569 that the annul flag is cleared in execute_trap(): the information
570 is demonstrably discarded.
571
572 The solution is: perform annulling before looking for traps, in
573 fact it's neater to do annulling, see if there's an interrupt and
574 if not, do the instruction, then handle traps be they generated by
575 interrupts pending or by the instruction we might just have done.
576 That's what the sis.c one does.
577
5781999-01-20 Hugo Tyson <hmt@cygnus.co.uk>
579
580 * sis.h: Add asr17 register for support of SparcLITE (at least the
581 Hitachi ones I find before me)
582
583 * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if
584 sparclite. Other ASR numbers than 17 or 0 (Y) trap out.
585 Case RDY: Allow read of asr17 if sparclite. Other ASRs ditto.
586 (execute_trap): Do single-vector-trapping if asr17 bit 0 is set.
587 (init_regs): Initialize y and asr17.
588 NB: In instruction-set space, the Y register is asr0; the
589 instructions have different names for human reasons only.
590
591 * sis.c:
592 * interf.c: Set boolean mode variable dumbio if invoked with
593 argument "-dumbio" and mention it of verbose.
594 * erc32.c: if "dumbio" is set, do not assume that there is a
595 terminal type device attached to stdin/stdout. Do not set
596 buffering or mess with tcsetattr or do any read operations in
597 order to make UART interrupts; not input data is supported.
598 This is necessary to allow the sim to be used within the eCos
599 testing infrastructure where stdin/stdout are pipes to a TCL
600 program; the sim hangs otherwise.
601
602Thu Jul 23 07:17:03 1998 Mark Alexander <marka@cygnus.com>
603
604 * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
605
606Tue Jul 7 21:12:41 1998 Mark Alexander <marka@cygnus.com>
607
608 * func.c (bfd_load): Add special handling of a.out executables.
609
610Sat Jun 13 08:33:25 1998 Mark Alexander <marka@cygnus.com>
611
612 * func.c (bfd_load): Print correct endianness.
613 * interf.c (run_sim): Print debugging information if verbosity level
614 is greater than 2.
615 (sim_open): Repeated -v options now increment verbosity level.
616 (sim_store_register): Handle little-endian case.
617 (flush_window): Print debugging information if verbosity level
618 is greater then 2.
619
620Tue Jun 2 15:20:35 1998 Mark Alexander <marka@cygnus.com>
621
622 * interf.c (sim_open): Use revamped memory_read, which makes
623 byte-swapping unnecessary. Add -sparclite-board option for
624 emulating RAM found on typical SPARClite boards. Print
625 error message for unrecognized option.
626 * erc32.c: Change RAM address and size from constants to variables,
627 to allow emulation of SPARClite board RAM.
628 (fetch_bytes, store_bytes): New helper functions for revamped
629 mememory_read and memory_write.
630 (memory_read, memory_write): Rewrite to store bytes in target
631 byte order instead of storing words in host byte order; this
632 greatly simplifies support of little-endian programs.
633 (get_mem_ptr): Remove unnecessary byte parameter.
634 (sis_memory_write, sis_memory_read): Store words in target
635 byte order instead of host byte order.
636 (byte_swap_words): Remove, no longer needed.
637 * sis.h ((byte_swap_words): Remove declaration, no longer needed.
638 (memory_read): Add new sz parameter.
639 * sis.c (run_sim): Use revamped memory_read, which makes
640 byte-swapping unnecessary.
641 * exec.c (dispatch_instruction): Use revamped memory_read, which
642 makes byte-swapping and double-word fetching unnecessary.
643 * func.c (sparclite_board): Declare new variable.
644 (get_regi): Handle little-endian data.
645 (bfd_load): Recognize little-endian SPARClite as having
646 little-endian data.
72f4393d 647
c906108c
SS
648Fri May 22 14:23:16 1998 Mark Alexander <marka@cygnus.com>
649
650 * erc32.c (port_init): Print messages only if sis_verbose is true.
651 * func.c (bfd_load): Ditto.
652 * interf.c (sim_open): Ditto.
653
654Thu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com>
655
656 * sis.h (uint64, int64): Define.
657 * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
658 * (mul64): Simplify calculation of negative result.
659 * (div64): New helper function for 64-bit division.
660 * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
661 and UDIVCC.
72f4393d 662
c906108c
SS
663Wed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com>
664
665 * erc32.c (close_port): Don't close stdin; it kills GDB.
666 (byte_swap_words): New function.
667 * sis.h: (byte_swap_words): Declare.
668 * interf.c (run_sim): Always fetch instructions as big-endian.
669 * sis.c (run_sim): Ditto.
670
671Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
672
72f4393d 673 * configure: Regenerated to track ../common/aclocal.m4 changes.
c906108c
SS
674
675Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
676
677 * configure: Regenerated to track ../common/aclocal.m4 changes.
678 * config.in: Ditto.
679
680Sun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com>
681
682 * acconfig.h: New file.
683 * configure.in: Reverted change of Apr 24; use sinclude again.
684
685Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
686
687 * configure: Regenerated to track ../common/aclocal.m4 changes.
688 * config.in: Ditto.
689
690Fri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com>
691
692 * configure.in: Don't call sinclude.
693
694Sat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com>
695
696 * func.c (disp_fpu): Fix build problem on big-endian hosts.
697
698Wed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com>
699
700 * erc32.c (sim_stop): Handle SIGINT gracefully.
701 * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
702
703Wed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com>
704
705 * exec.c (dispatch_instruction): Change how carry out is calculated
706 in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC.
707
708Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
709
710 * configure: Regenerated to track ../common/aclocal.m4 changes.
711
712Wed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com>
713
714 * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
715 * erc32.c: Ditto.
716 * exec.c: Ditto.
717 * float.c: Ditto.
718 * func.c: Ditto.
719 * help.c: Ditto.
720 * interf.c: Ditto.
721 * sis.c: Ditto.
722 * sis.h: Ditto.
723
724Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
725
726 * configure: Regenerated to track ../common/aclocal.m4 changes.
727
728Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
729
730 * configure: Regenerated to track ../common/aclocal.m4 changes.
731
732Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
733
734 * configure: Regenerated to track ../common/aclocal.m4 changes.
735
736Tue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
737
738 * interf.c (sim_store_register, sim_fetch_register): Pass in
739 length parameter. Return -1.
740
741Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
742
743 * configure: Regenerated to track ../common/aclocal.m4 changes.
744
745Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
746
747 * configure: Regenerated to track ../common/aclocal.m4 changes.
748
749Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
750
751 * configure: Regenerated to track ../common/aclocal.m4 changes.
752
753Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
754
755 * configure: Regenerated to track ../common/aclocal.m4 changes.
756 * config.in: Ditto.
757
758Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
759
760 * configure: Regenerated to track ../common/aclocal.m4 changes.
761
762Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
763
764 * configure: Regenerated to track ../common/aclocal.m4 changes.
765
766Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
767
768 * configure: Regenerated to track ../common/aclocal.m4 changes.
769
770Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
771
772 * configure: Regenerated to track ../common/aclocal.m4 changes.
773
774Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
775
776 * configure: Regenerated to track ../common/aclocal.m4 changes.
777
778Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
779
780 * configure: Regenerated to track ../common/aclocal.m4 changes.
781
782Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
783
784 * configure: Regenerated to track ../common/aclocal.m4 changes.
785
786Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
787
788 * configure: Regenerated to track ../common/aclocal.m4 changes.
789 * config.in: Ditto.
790
791Tue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
792
793 * float.c (__setfpucw): Compile on any i386 target. Not just NT.
794
795 * interf.c (sim_kill): Delete.
796 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
797 argument.
798 (sim_load): Don't save start address.
799 (start_address): Delete variable.
800
801Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
802
803 * configure: Regenerated to track ../common/aclocal.m4 changes.
804 * config.in: Ditto.
805
806Mon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
807
808 * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
809
810Mon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com>
811
812 * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
813
814Wed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
815
816 * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
817 (sim_open): Add callback arg, save it.
818
819Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
820
821 * configure: Regenerated to track ../common/aclocal.m4 changes.
822
823Tue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com>
824
825 * interf.c (sim_open): Undo patch to add -E support.
826
827Thu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com>
828
829 * interf.c (sim_open): Ignore -E arg.
830 (start_address): New static local.
831 (sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd.
832 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
833
834Tue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com>
835
836 * Makefile.in (install-sis): Depend upon installdirs. Use
837 $(program_transform_name) directly, rather than using
838 $(INSTALL_XFORM).
839
840Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
841
842 * configure: Regenerated to track ../common/aclocal.m4 changes.
843 * config.in: Ditto.
844
845Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
846
847 * interf.c (sim_open): New arg `kind'.
848
849 * configure: Regenerated to track ../common/aclocal.m4 changes.
850
851Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
852
853 * configure: Regenerated to track ../common/aclocal.m4 changes.
854
855Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
856
857 * configure: Re-generate.
858
859Thu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com>
860
861 * interf.c (sim_open): New SIM_DESC result. Argument is now in
862 argv form.
863 (other sim_*): New SIM_DESC argument.
864
865Tue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
866
867 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
868 COMMON_{PRE,POST}_CONFIG_FRAG instead.
869 * configure.in: sinclude ../common/aclocal.m4.
870 * configure: Regenerated.
871
872Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
873
874 * configure configure.in Makefile.in: Update to new configure
875 scheme which is more compatible with WinGDB builds.
876 * configure.in: Improve comment on how to run autoconf.
877 * configure: Re-run autoconf to get new ../common/aclocal.m4.
878 * Makefile.in: Use autoconf substitution to install common
879 makefile fragment.
880
881Wed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com>
882
883 * interf.c (run_sim): Stop the simulator and reset the stdio after
884 breakpoints.
885
886Tue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com>
887
888 * configure.in: Look for libtermcap.a.
889 * Makefile.in: Only link in -ltermcap if it exists.
890 * erc32.c: Update to version 2.6a. Fix uart handling.
891 * exec.c: Update to version 2.6a. Add sparclite support.
892 * float.c: Update to version 2.6a. Convert comments to
893 preprocessor warnings. Add __setfpucw() for i385 hosts so floating
894 point exceptions work on win32.
895 * func.c: Update to version 2.6a. Fix uart handling, add support
896 for user error traps.
897 * help.c: Update to version 2.6a. Add help note on user error
898 traps.
899 * interf.c: Update to version 2.6a. Fix uart handling, and add
900 sparclite support.
901 * examples/gccx: Use sparclite cross compiler, not native gcc.
902 * examples/srt0.S: Use "mov" rather than "wr" for manipulating
903 the psr register.
904
905Mon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com>
906
907 * Makefile.in (run.o): Remove this rule, it hides the one in
908 ../common/Make-common.in that correctly references the source
909 in the sibling ../common directory.
910
911Wed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com>
912
913 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
914 (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
915 (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
916 * configure.in: Simplify using macros in ../common/aclocal.m4.
917 Call AC_CHECK_HEADERS(stdlib.h).
918 * configure: Regenerated.
919 * config.in: New file.
920 * func.c (sim_set_callbacks): Delete, moved to
921 * interf.c (sim_set_callbacks): here.
922 (sim_callback): New global.
923 Rewrite all calls to printf_filtered to go through callback.
924 (sim_size,sim_trace): New functions.
925 (sim_{insert,remove}_breakpoint): #if 0 out.
926 * sis.c: #include "config.h". #include <stdlib.h> if present.
927 (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
928 * sis.h: #include "callback.h".
929 * run.c: Deleted, using one in ../common now.
930
931Thu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
932
933 * Makefile.in (clean): Move config.log to distclean.
934
935Wed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
936
937 * Makefile.in (clean): Also remove config.log.
938
939Sat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com>
940
941 * Makefile.in (CC_FOR_BUILD): New variable.
942 (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
943 (RANLIB, CC): Likewise.
944 (end): Use $(CC_FOR_BUILD), not $(CC).
945 * configure.in: Set CC_FOR_BUILD.
946 * configure: Rebuild.
947
948Sun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com)
949
950 * erc32.c (port_init): Disable this for __GO32__ (got no pty's
951 there either...).
952
953Mon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com)
954
955 * erc32.c: Don't include sys/ioctl.h or sys/file.h. They aren't
956 necessary.
957 * (port_init): Don't even *try* to open pty's under _WIN32.
958 * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
959 * float.c: Get rid of #warning. Makes Microsoft C barf.
960 * interf.c (sim_open): Cast fprintf to (fprintf_ftype) to fix
961 compiler warning.
962 * (sim_load sim_create_inferior sim_read): Use prototypes only in
963 decls, not defs.
964 * Get rid of enum sim_stop. It's defined in remote-sim.h.
965 * (sim_stop_reason): Define SIGTRAP if _WIN32.
966 * sis.h: Include ansidecl.h and remote-sim.h.
967
968Wed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com)
969
970 * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
971 sis.h: Get rid of all uses of long long's.
972 * (close_port read_uart write_uart uarta_tx): Don't seg fault
973 when can't open pty's.
974 * exec.c: Add two new instructions: smul, and divscc.
975 * interf.c (flush_windows): New routine to flush the register
976 windows out to the stack just before returning to GDB. Makes
977 backtraces work much better.
978
979Wed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
980
72f4393d
L
981 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
982 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
983 (docdir, oldincludedir): Removed.
984 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
985 (AC_PROG_INSTALL): Added.
986 * configure: Rebuilt.
c906108c
SS
987
988Mon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com>
989
990 * configure.in: Call AC_PROG_CC before running configure.host.
991 * configure: Rebuild with autoconf 2.10.
992
993Tue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com>
994
995 * Makefile.in (install): Don't check to see if tooldir exists.
996 Make $(tooldir) and $(tooldir)/bin.
997
998Mon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com>
999
1000 * Makefile.in (end.h): Use explicit ./ when running end.
1001
1002Sun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1003
1004 * func.c(bfd_load): Don't try to print the filename if the pfbd is
1005 NULL.
1006 * interf.c(sim_load): Pass the whole string, not just the first
1007 byte.
1008
1009Version 2.1 26-02-96
1010--------------------
72f4393d 1011
c906108c 1012* Fixed bug in "go" command.
72f4393d 1013
c906108c
SS
1014version 2.0 05-02-96
1015--------------------
1016
1017* Fixed bug in interrupt force register (erc32.c).
1018
1019* Change file load function to use bfd_openr.
1020
1021* SIS should now be endian independent.
1022
1023version 1.8 24-11-95
1024--------------------
1025
1026* Fixed FPU timing - some sequences of FPU instructions did not calculate
1027 the resource dependencies right.
1028
1029* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
1030 but no FPU trap is generated.
1031
1032version 1.7.1 31-10-95
1033--------------------
1034
1035* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
1036 the FPU stays in execute mode.
1037
1038* Corrected JMPL and RETT timing (these instructions takes two cycles).
1039
1040
1041version 1.7 25-10-95
1042--------------------
1043
1044* Interrupt during annuled instruction corrupted return address - fixed.
1045
1046
1047version 1.6.2 25-10-95
1048--------------------
1049
1050* Added -DFAST_UART to Makefile
72f4393d 1051
c906108c
SS
1052
1053version 1.6.1 24-10-95
1054--------------------
72f4393d 1055
c906108c
SS
1056* Fixed bug in STDFQ which caused bus error
1057
1058
1059version 1.6 02-10-95
1060--------------------
72f4393d 1061
c906108c
SS
1062* Modified srt0.s to include code that initiates registers in IU and FPU
1063 and initializes the data segment. The simulator 'load' command does not
1064 longer initialize the data segment!
1065
72f4393d 1066* Corrected MEC timer operation; scalers now divide the frequency by
c906108c
SS
1067 (scaler_value + 1).
1068
1069* MEC breakpoints are not checked during store operation
1070
1071
1072version 1.5 14-09-95
1073--------------------
1074
1075* Fixed some bugs in the cycle counting for IU & FPU instructions.
1076
1077* Fixed bug that allowed an annuled instruction to cause memory exception.
1078
1079* The *ws parameter in mem.c should now contain the number of waitstates
1080 required by the memory access (was total number of cycles).
1081
1082* The supplied srt0.s now clears the BSS (thanks Joel).
1083
1084version 1.4 22-08-95
1085--------------------
1086
1087* Added a '-g' switch to enable/disable the GNU readline(), which cause
1088some problems on solaris 2.x machines.
1089
72f4393d 1090* Enabled MEC watchpoint and breakpoint function to mem.c. Performance
c906108c
SS
1091may suffer a bit ...
1092
1093NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
1094
1095version 1.3 26-07-95
1096--------------------
1097
1098* Fixed bug in mulscc instruction (how could that ever have worked?)
1099
1100* Fixed bug in UART B (flushed characters on UART A), thanks Paul.
1101
1102version 1.2 13-07-95
1103--------------------
1104
1105* Fixed bug in interrupt handling (wrong interrupt selected when more that
1106one interrupt pending)
1107
1108* Fixed updating of condition codes during logical instructions (carry and
1109overflow were not reset)
1110
1111* Fixed bug in WRTBR (tt field was wrongly over-written)
1112
1113version 1.1 07-07-95
1114--------------------
1115
1116* Fixed several bugs in the interrupt handler and callback routines.
1117(reported by Paul Warren, Alsys)