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