sim: riscv: move __int128 check to configure
[deliverable/binutils-gdb.git] / sim / sh / ChangeLog
1 2021-05-16 Mike Frysinger <vapier@gentoo.org>
2
3 * config.in, configure: Regenerate.
4
5 2021-05-14 Mike Frysinger <vapier@gentoo.org>
6
7 * interp.c: Update include path.
8
9 2021-05-04 Mike Frysinger <vapier@gentoo.org>
10
11 * configure: Regenerate.
12
13 2021-05-01 Mike Frysinger <vapier@gentoo.org>
14
15 * config.in, configure: Regenerate.
16
17 2021-04-26 Mike Frysinger <vapier@gentoo.org>
18
19 * aclocal.m4, config.in, configure: Regenerate.
20
21 2021-04-22 Tom Tromey <tom@tromey.com>
22
23 * interp.c: Update includes.
24 * configure, config.in: Rebuild.
25
26 2021-04-22 Tom Tromey <tom@tromey.com>
27
28 * Makefile.in (SIM_EXTRA_DEPS): New variable.
29 (interp.o): Remove.
30
31 2021-04-22 Tom Tromey <tom@tromey.com>
32
33 * configure: Rebuild.
34
35 2021-04-21 Mike Frysinger <vapier@gentoo.org>
36
37 * aclocal.m4: Regenerate.
38
39 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
40
41 * configure: Regenerate.
42
43 2021-04-18 Mike Frysinger <vapier@gentoo.org>
44
45 * configure: Regenerate.
46
47 2021-04-18 Mike Frysinger <vapier@gentoo.org>
48
49 * Makefile.in (NL_TARGET): Define.
50 * interp.c: Change syscall.h include to targ-vals.h.
51 (trap): Add TARGET_ prefix to all SYS_ constants.
52 * syscall.h: Removed.
53
54 2021-04-18 Mike Frysinger <vapier@gentoo.org>
55
56 * configure: Regenerate.
57
58 2021-04-12 Mike Frysinger <vapier@gentoo.org>
59
60 * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
61
62 2021-04-02 Mike Frysinger <vapier@gentoo.org>
63
64 * aclocal.m4, configure: Regenerate.
65
66 2021-03-13 Mike Frysinger <vapier@gentoo.org>
67
68 * Makefile.in (gencode.o): New rule.
69 (gencode): Call LINK_FOR_BUILD.
70
71 2021-02-28 Mike Frysinger <vapier@gentoo.org>
72
73 * configure: Regenerate.
74
75 2021-02-21 Mike Frysinger <vapier@gentoo.org>
76
77 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
78 * aclocal.m4, configure: Regenerate.
79
80 2021-02-13 Mike Frysinger <vapier@gentoo.org>
81
82 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
83 * aclocal.m4, configure: Regenerate.
84
85 2021-02-06 Mike Frysinger <vapier@gentoo.org>
86
87 * configure: Regenerate.
88
89 2021-01-11 Mike Frysinger <vapier@gentoo.org>
90
91 * config.in, configure: Regenerate.
92 * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
93 HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
94
95 2021-01-09 Mike Frysinger <vapier@gentoo.org>
96
97 * configure: Regenerate.
98
99 2021-01-09 Mike Frysinger <vapier@gentoo.org>
100
101 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
102 * configure: Regenerate.
103
104 2021-01-08 Mike Frysinger <vapier@gentoo.org>
105
106 * configure: Regenerate.
107
108 2021-01-04 Mike Frysinger <vapier@gentoo.org>
109
110 * configure: Regenerate.
111
112 2017-09-06 John Baldwin <jhb@FreeBSD.org>
113
114 * configure: Regenerate.
115
116 2017-02-13 Mike Frysinger <vapier@gentoo.org>
117
118 * gencode.c: Include libiberty.h.
119 (conflict_warn): Use ARRAY_SIZE.
120 * interp.c (init_dsp): Likewise.
121
122 2016-04-10 Oleg Endo <olegendo@gcc.gnu.org>
123
124 * interp.c (dmul): Split into dmul_s and dmul_u. Use explicit integer
125 width types and simplify implementation.
126 * gencode.c (dmuls.l, dmulu.l): Use new functions dmul_s and dmul_u.
127
128 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
129
130 * interp.c (sim_memory_size): Default init to 30.
131 (parse_and_set_memory_size): Adjust upper bound to 31.
132
133 2016-01-10 Mike Frysinger <vapier@gentoo.org>
134
135 * config.in, configure: Regenerate.
136
137 2016-01-10 Mike Frysinger <vapier@gentoo.org>
138
139 * configure: Regenerate.
140
141 2016-01-10 Mike Frysinger <vapier@gentoo.org>
142
143 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
144 * configure: Regenerate.
145
146 2016-01-10 Mike Frysinger <vapier@gentoo.org>
147
148 * configure: Regenerate.
149
150 2016-01-10 Mike Frysinger <vapier@gentoo.org>
151
152 * configure: Regenerate.
153
154 2016-01-10 Mike Frysinger <vapier@gentoo.org>
155
156 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
157 * configure: Regenerate.
158
159 2016-01-10 Mike Frysinger <vapier@gentoo.org>
160
161 * configure: Regenerate.
162
163 2016-01-10 Mike Frysinger <vapier@gentoo.org>
164
165 * configure: Regenerate.
166
167 2016-01-09 Mike Frysinger <vapier@gentoo.org>
168
169 * config.in, configure: Regenerate.
170
171 2016-01-06 Mike Frysinger <vapier@gentoo.org>
172
173 * interp.c (sim_open): Mark argv const.
174 (sim_create_inferior): Mark argv and env const.
175
176 2016-01-04 Mike Frysinger <vapier@gentoo.org>
177
178 * configure: Regenerate.
179
180 2016-01-03 Mike Frysinger <vapier@gentoo.org>
181
182 * interp.c (sim_open): Update sim_parse_args comment.
183
184 2016-01-03 Mike Frysinger <vapier@gentoo.org>
185
186 * interp.c (count_argc): Delete.
187 (trap): Change count_argc to countargv.
188
189 2016-01-03 Mike Frysinger <vapier@gentoo.org>
190
191 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
192 * configure: Regenerate.
193 * interp.c (host_little_endian): Change CURRENT_HOST_BYTE_ORDER
194 to HOST_BYTE_ORDER.
195
196 2016-01-02 Mike Frysinger <vapier@gentoo.org>
197
198 * configure: Regenerate.
199 * interp.c (target_little_endian): Change LITTLE_ENDIAN to
200 BFD_ENDIAN_LITTLE.
201 (host_little_endian): Likewise.
202
203 2015-12-30 Mike Frysinger <vapier@gentoo.org>
204
205 * wrapper.c (sim_store_register): Rename to ...
206 (sh_reg_store): ... this.
207 (sim_fetch_register): Rename to ...
208 (sh_reg_fetch): ... this.
209 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
210
211 2015-12-27 Mike Frysinger <vapier@gentoo.org>
212
213 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
214
215 2015-12-26 Mike Frysinger <vapier@gentoo.org>
216
217 * config.in, configure: Regenerate.
218
219 2015-11-21 Mike Frysinger <vapier@gentoo.org>
220
221 * gencode.c (tab): Pass sd into trap calls.
222 * interp.c (prog_argv, callback): Delete.
223 (parse_and_set_memory_size): Add SIM_DESC arg.
224 (trap): Declare callback and prog_argv.
225 (sim_resume): Declare callback.
226 (sim_info): Change callback->printf_filtered calls to sim_io_printf.
227 (sim_open): Delete callback assignment. Pass sd to
228 parse_and_set_memory_size.
229 (parse_and_set_memory_size): Change callback->printf_filtered call
230 to sim_io_printf.
231 (sim_create_inferior): Delete prog_argv assignment.
232 (sim_do_command): Change callback->printf_filtered calls to
233 sim_io_printf. Pass sd to parse_and_set_memory_size.
234
235 2015-11-15 Mike Frysinger <vapier@gentoo.org>
236
237 * Makefile.in (SIM_OBJS): Delete sim-stop.o.
238
239 2015-11-14 Mike Frysinger <vapier@gentoo.org>
240
241 * interp.c (sim_close): Delete.
242
243 2015-06-23 Mike Frysinger <vapier@gentoo.org>
244
245 * configure: Regenerate.
246
247 2015-06-12 Mike Frysinger <vapier@gentoo.org>
248
249 * configure: Regenerate.
250
251 2015-06-12 Mike Frysinger <vapier@gentoo.org>
252
253 * configure: Regenerate.
254
255 2015-04-18 Mike Frysinger <vapier@gentoo.org>
256
257 * sim-main.h (SIM_CPU): Delete.
258
259 2015-04-18 Mike Frysinger <vapier@gentoo.org>
260
261 * sim-main.h (sim_cia): Delete.
262
263 2015-04-17 Mike Frysinger <vapier@gentoo.org>
264
265 * sim-main.h (CIA_GET, CIA_SET): Delete.
266
267 2015-04-17 Mike Frysinger <vapier@gentoo.org>
268
269 * interp.c (sh_pc_get, sh_pc_set): New functions.
270 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
271
272 2015-04-15 Mike Frysinger <vapier@gentoo.org>
273
274 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
275 * sim-main.h (STATE_CPU): Delete.
276
277 2015-04-13 Mike Frysinger <vapier@gentoo.org>
278
279 * configure: Regenerate.
280
281 2015-04-06 Mike Frysinger <vapier@gentoo.org>
282
283 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
284
285 2015-03-31 Mike Frysinger <vapier@gentoo.org>
286
287 * config.in, configure: Regenerate.
288
289 2015-03-28 Mike Frysinger <vapier@gentoo.org>
290
291 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
292 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
293 * interp.c: Delete run-sim.h include. Include sim-main.h, sim-base.h,
294 and sim-options.h.
295 (SEXT, SEXT32): Undefine.
296 (sim_write): Delete prototype.
297 (regstacktype, saved_state_type): Move to sim-main.h.
298 (target_little_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
299 (host_little_endian): Replace with CURRENT_HOST_BYTE_ORDER.
300 (sim_kind, myname, tracing, sim_stop, sim_trace, sim_set_profile,
301 sim_set_profile_size, sim_load, sim_set_callbacks,
302 sim_complete_command): Delete.
303 (sim_size): Mark static.
304 (init_pointers): Delete host_little_endian setup.
305 (sim_resume): Delete tracing check.
306 (free_state): New cleanup function.
307 (sim_open): Rewrite to use new common logic.
308 (sim_create_inferior): Call init_dsp.
309 * sim-main.h: New file.
310 * tconfig.h: Delete file.
311
312 2015-03-28 Mike Frysinger <vapier@gentoo.org>
313
314 * gencode.c (ppi_gensim): Convert old style prototype with ppi_insn.
315 * interp.c: Include ctype.h and run-sim.h.
316 [HAVE_TIME_H]: Include time.h
317 [HAVE_SYS_TIME_H]: Include sys/time.h
318 [!_WIN32]: Include utime.h and sys/wait.h.
319 (set_fpscr1, raise_exception, raise_buserror, get_dr, set_dr, set_sr,
320 do_rdat, do_wdat, process_wlat_addr, process_wwat_addr,
321 process_wbat_addr, process_rlat_addr, process_rwat_addr,
322 process_rbat_addr, IOMEM, get_now, now_persec, swapout, swapout16,
323 ptr, strswaplen, strnswap, dmul, macw, macl, get_loop_bounds_ext,
324 get_loop_bounds, sim_size, init_dsp, init_pointers, dump_profile,
325 gotcall, sim_stop, sim_write, sim_read, sim_store_register,
326 sim_fetch_register, sim_trace, sim_stop_reason, sim_info,
327 sim_set_profile, sim_set_profile_size, sim_open,
328 parse_and_set_memory_size, sim_close, sim_load, sim_create_inferior,
329 sim_do_command, sim_set_callbacks): Convert old style prototype.
330 (fail): Delete unused function.
331 (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
332 Delete unused prototypes.
333 (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast,
334 swap, swap16):
335 Convert old style prototype and move INLINE before the type.
336 (trap): Convert old style prototype. Add casts to wait and sim_write
337 calls.
338 (div1): Convert old style prototype. Change return to void.
339 (do_long_move_insn, do_blog_insn, fsca_s, fsrra_s, mcalloc): Mark
340 static.
341 (sim_resume): Convert old style prototype. Align printf format and
342 args.
343
344 2015-03-28 Mike Frysinger <vapier@gentoo.org>
345
346 * gencode.c (ppi_gensim): Add missing */. Change case 4 to case 5.
347
348 2015-03-28 Mike Frysinger <vapier@gentoo.org>
349
350 * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS),
351 and $(WARN_CFLAGS).
352 * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h.
353 (struct op): Mark members const.
354 (tab): Mark static.
355 (nibble_type_list): Mark const.
356 (arg_type_list): Mark const.
357 (make_enum_list): Delete unused func.
358 (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old
359 style prototype and mark args const.
360 (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy,
361 gensim, ppi_filltable): Convert old style prototype.
362 (gensim_caselist): Convert old style prototype. Mark local
363 variables s and r const.
364 (gendefines): Convert old style prototype. Mark s const. Move
365 tolower call into printf statement.
366 (ppi_gensim): Convert old style prototype. Mark local variable
367 s const.
368 (main): Convert old style prototype. Change printf %d to %zu.
369
370 2015-03-28 Mike Frysinger <vapier@gentoo.org>
371
372 * config.in, configure: Regenerate.
373 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
374 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
375 SIM_AC_OPTION_INLINE, SIM_AC_OPTION_WARNINGS.
376
377 2015-03-16 Mike Frysinger <vapier@gentoo.org>
378
379 * config.in, configure: Regenerate.
380 * tconfig.in: Rename file ...
381 * tconfig.h: ... here.
382
383 2015-03-14 Mike Frysinger <vapier@gentoo.org>
384
385 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
386 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
387 (SIM_RUN_OBJS): Set to run.o.
388
389 2015-03-14 Mike Frysinger <vapier@gentoo.org>
390
391 * configure.ac (AC_CHECK_HEADERS): Delete.
392 * aclocal.m4, configure: Regenerate.
393
394 2014-10-14 Oleg Endo <olegendo@gcc.gnu.org> (tiny patch)
395
396 * gencode.c (fabs, fneg): Implement as integer operation
397 instead of using the FP_UNARY macro.
398
399 2014-08-19 Alan Modra <amodra@gmail.com>
400
401 * configure: Regenerate.
402
403 2014-08-15 Roland McGrath <mcgrathr@google.com>
404
405 * configure: Regenerate.
406 * config.in: Regenerate.
407
408 2014-03-10 Mike Frysinger <vapier@gentoo.org>
409
410 * interp.c (parse_and_set_memory_size): Add const to str.
411 (sim_do_command): Add const to cmd and sms_cmd.
412
413 2014-03-05 Mike Frysinger <vapier@gentoo.org>
414
415 * interp.c (sim_load): Add const to prog.
416
417 2014-02-17 Mike Frysinger <vapier@gentoo.org>
418
419 PR gdb/16450
420 * interp.c (control_c): Delete.
421 (sim_resume): Delete signal(SIGINT) handling.
422
423 2013-09-23 Alan Modra <amodra@gmail.com>
424
425 * configure: Regenerate.
426
427 2013-06-03 Mike Frysinger <vapier@gentoo.org>
428
429 * aclocal.m4, configure: Regenerate.
430
431 2012-06-15 Joel Brobecker <brobecker@adacore.com>
432
433 * config.in, configure: Regenerate.
434
435 2012-03-24 Mike Frysinger <vapier@gentoo.org>
436
437 * aclocal.m4, config.in, configure: Regenerate.
438
439 2012-02-16 Kevin Buettner <kevinb@redhat.com>
440
441 * interp.c (MA): Adjust cast to avoid warning on 64-bit hosts.
442
443 * interp.c (sim_store_register, sim_fetch_register): Return
444 length, not -1.
445
446 2011-12-03 Mike Frysinger <vapier@gentoo.org>
447
448 * aclocal.m4: New file.
449 * configure: Regenerate.
450
451 2011-10-17 Mike Frysinger <vapier@gentoo.org>
452
453 * configure.ac: Change include to common/acinclude.m4.
454
455 2011-10-17 Mike Frysinger <vapier@gentoo.org>
456
457 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
458 call. Replace common.m4 include with SIM_AC_COMMON.
459 * configure: Regenerate.
460
461 2011-04-16 Mike Frysinger <vapier@gentoo.org>
462
463 * interp.c (sim_complete_command): New stub function.
464
465 2010-04-14 Mike Frysinger <vapier@gentoo.org>
466
467 * interp.c (sim_write): Add const to buffer arg.
468
469 2010-01-12 Masaki Muranaka <monaka@monami-software.com>
470
471 * interp.c: Don't include sysdep.h.
472 Include stdio.h and errno.h.
473 Include string.h strings.h stdlib.h sys/stat.h if present.
474
475 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
476
477 * configure: Regenerate.
478
479 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
480
481 * config.in: Regenerate.
482 * configure: Likewise.
483
484 * configure: Regenerate.
485
486 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
487
488 * configure: Regenerate to track ../common/common.m4 changes.
489 * config.in: Ditto.
490
491 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
492 Daniel Jacobowitz <dan@codesourcery.com>
493 Joseph Myers <joseph@codesourcery.com>
494
495 * configure: Regenerate.
496
497 2008-02-04 Antony King <antony.king@st.com>
498
499 * interp.c (macl): Fix non-portable implementation.
500
501 2007-10-08 Andrew Stubbs <andrew.stubbs@st.com>
502
503 * gencode.c (tab): Add RAISE_EXCEPTION_IF_IN_DELAY_SLOT to the
504 definition of PC relative 'mov.l'/'mov.w' and also 'mova'.
505
506 2007-03-02 Andrew Stubbs <andrew.stubbs@st.com>
507
508 * gencode.c (tab): Correct pre-decrement instructions when m == n.
509
510 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
511
512 * acconfig.h: Remove.
513 * config.in: Regenerate.
514
515 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
516
517 * configure: Regenerated.
518
519 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
520
521 * configure: Regenerated.
522
523 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
524
525 * configure: Regenerated.
526
527 2005-11-10 Andrew Stubbs <andrew.stubbs@st.com>
528
529 * interp.c (sim_memory_size): Use same amount of memory on Windows as
530 elsewhere.
531
532 2005-09-19 J"orn Rennecke <joern.rennecke@st.com>
533
534 * interp.c (<sys/mman.h>): Include.
535 (mcalloc): New function / macro.
536 (mfree): New macro.
537 (sim_size): Use mcalloc and mfree.
538
539 2005-08-02 J"orn Rennecke <joern.rennecke@st.com>
540
541 * interp.c (strswaplen): Add one for '\0' delimiter.
542
543 2005-06-16 Daniel Jacobowitz <dan@codesourcery.com>
544
545 * gencode.c (tab): Avoid lvalue casts. Suggested by
546 Ralf Corsepius <ralf.corsepius@rtems.org>.
547
548 2005-04-12 Jonathan Larmour <jifl@eCosCentric.com>
549
550 * gencode.c (tab): Avoid inserting code before variables all declared.
551
552 2005-03-23 Mark Kettenis <kettenis@gnu.org>
553
554 * configure: Regenerate.
555
556 2005-01-14 Andrew Cagney <cagney@gnu.org>
557
558 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
559 explicit call to AC_CONFIG_HEADER.
560 * configure: Regenerate.
561
562 2005-01-12 Andrew Cagney <cagney@gnu.org>
563
564 * configure.ac: Update to use ../common/common.m4.
565 * configure: Re-generate.
566
567 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
568
569 * configure: Regenerated to track ../common/aclocal.m4 changes.
570
571 2005-01-07 Andrew Cagney <cagney@gnu.org>
572
573 * configure.ac: Rename configure.in, require autoconf 2.59.
574 * configure: Re-generate.
575
576 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
577
578 * configure: Regenerate for ../common/aclocal.m4 update.
579
580 2004-09-08 DJ Delorie <dj@redhat.com>
581
582 Commited by Corinna Vinschen <vinschen@redhat.com>
583 * gencode.c (movua.l): Compensate for endianness.
584
585 2004-09-08 Corinna Vinschen <vinschen@redhat.com>
586
587 * interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro.
588 (in_delay_slot): New flag variable.
589 (Delay_Slot): Set in_delay_slot.
590 (sim_resume): Reset in_delay_slot after leaving code switch.
591 * gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all
592 instructions not allowed in delay slots.
593
594 2004-09-08 Michael Snyder <msnyder@redhat.com>
595
596 Commited by Corinna Vinschen <vinschen@redhat.com>
597 Introduce SH2a support.
598 * interp.c: Change type of jump table to short. Add various macros.
599 (sim_load): Save the bfd machine code.
600 (sim_create_inferior): Ditto.
601 (union saved_state_type): Add tbr, ibnr and ibcr registers.
602 Move bfd_mach to end of struct. Add regstack pointer.
603 (init_dsp): Don't swap contents of sh_dsp_table any more. Instead
604 use it directly in its own switch statement. Allocate space for 512
605 register banks.
606 (do_long_move_insn): New function.
607 (do_blog_insn): Ditto.
608 (trap): Use trap #13 and trap #14 to set ibnr and ibcr.
609 * gencode.c: Move movx/movy insns into separate switch statement.
610 (op tab): Add sh2a insns. Reject instructions that are disabled
611 on that chip.
612 (gensim_caselist): Generate default case here instead of in caller.
613 (gensim): Generate two separate switch statements. Call
614 gensim_caselist once for each (for movsxy_tab and for tab).
615 Add tokens for r15 and multiple regs.
616 (conflict_warn, warn_conflicts): Add for debugging.
617
618 2004-08-18 J"orn Rennecke <joern.rennecke@superh.com>
619
620 * gencode.c (tab): For shad snd shld, fix result for
621 (op1 < 0 && shift_amount == 0).
622
623 2004-02-02 Michael Snyder <msnyder@redhat.com>
624
625 * gencode.c (movua.l): Set thislock to 0, not n.
626
627 2004-02-12 Michael Snyder <msnyder@redhat.com>
628
629 * gencode.c (table): Change from char to short.
630 (dumptable): Change generated table from char to short.
631 * interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short.
632 (init_dsp): Compute size of sh_dsp_table.
633 (sim_resume): Change jump_table from char to short.
634
635 2004-01-27 Michael Snyder <msnyder@redhat.com>
636
637 * gencode.c: (op tab): Some refs and defs fixes.
638 "fsrra" -> "fsrra <FREG_N>".
639 "sleep": replace array ref with array addr.
640 "trapa": ditto.
641 Comment and whitespace clean-ups.
642
643 2004-01-07 Michael Snyder <msnyder@redhat.com>
644
645 * gencode.c: Whitespace cleanup.
646 * interp.c: Ditto.
647
648 * gencode.c: Replace 'Hitachi' with 'Renesas'.
649 (op tab): Add new instructions for sh4a, DBR, SBR.
650 (expand_opcode): Add handling for new movxy combinations.
651 (gensym_caselist): Ditto.
652 (expand_ppi_movxy): Remove movx/movy expansions,
653 now handled in expand_opcode.
654 (gensym): Add some helpful macros.
655 (expand_ppi_code): Flatten loop for simplicity, tweak for 12-bit
656 instead of 8-bit table (some insns are ambiguous to 8 bits).
657 (ppi_gensim, main): Generate 12-bit instead of 8-bit ppi table.
658
659 * interp.c: Replace 'Hitachi' with 'Renesas'.
660 (union saved_state_type): Add dbr, sgr, ldst.
661 (get_loop_bounds_ext): New function.
662 (init_dsp): Add bfd_mach_sh4al_dsp.
663 (sim_resume): Handle extended loop bounds.
664
665 2003-12-18 Michael Snyder <msnyder@redhat.com>
666
667 * gencode.c (expand_opcode): Simplify and reorganize.
668 Eliminate "shift" parameter. Eliminate "4 bits at a time"
669 assumption. Flatten switch statement to a single level.
670 Add "eeee" token for even-numbered registers.
671 (bton): Delete.
672 (fsca): Use "eeee" token.
673 (ppi_moves): Rename to "expand_ppi_movxy". Do the ddt
674 [movx/movy] expansion here, as well as the ppi expansion.
675 (gensim_caselist): Accept 'eeee' along with 'nnnn'.
676
677 2003-11-03 J"orn Rennecke <joern.rennecke@superh.com>
678
679 * interp.c (fsca_s, fsrra_s): New functions.
680 * gencode.c (tab): Add entries for fsca and fsrra.
681 (expand_opcode): Allow variable length n / m fields.
682
683 2003-10-15 J"orn Rennecke <joern.rennecke@superh.com>
684
685 * syscall.h (SYS_truncate, SYS_ftruncate): Define.
686 * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
687
688 2003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com>
689 * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and
690 correction for MAC.W handler
691 * sim/sh/interp.c ( macl ): New Function. Implementation of
692 MAC.L handler.
693
694 2003-08-07 Michael Snyder <msnyder@redhat.com>
695
696 * gencode.c (expand_ppi_code): Comment spelling fix.
697
698 2003-07-25 Michael Snyder <msnyder@redhat.com>
699
700 * gencode.c (pshl): Change < to <= (shift by 16 is allowed).
701 Cast argument of >> to unsigned to prevent sign extension.
702 (psha): Change < to <= (shift by 32 is allowed).
703
704 2003-07-24 Michael Snyder <msnyder@redhat.com>
705
706 * gencode.c: Fix typo in comment.
707
708 2003-07-23 Michael Snyder <msnyder@redhat.com>
709
710 * gencode.c: A few more fix-ups of refs and defs.
711 (frchg): Raise SIGILL if in double-precision mode.
712 (ldtlb): We don't simulate cache, so this is a no-op.
713 (movsxy_tab): Correct a few bit pattern errors.
714
715 2003-07-09 Michael Snyder <msnyder@redhat.com>
716
717 * gencode.c (prnd): Clear LSW of result to zeros.
718 * gencode.c (pmuls): Expression is mis-parenthesized.
719 * gencode.c (ppi_gensim): For a conditional ppi insn, if the
720 condition is false, we want to return (not break). A break
721 will take us to the end of the function where registers will
722 be updated, whereas the desired outcome is for nothing to change.
723
724 2003-07-03 Michael Snyder <msnyder@redhat.com>
725
726 * gencode.c (movs): Fix a couple of text transpositions.
727
728 2003-06-27 Michael Snyder <msnyder@redhat.com>
729
730 * gencode.c (op tab): Some fix-ups of refs and defs.
731 (ocbi, ocbp): Cache not simulated, but may cause memory fault.
732 (gensym_caselist): Add default case to switch statement.
733 (expand_ppi_code): Add default case to switch statement.
734 * gencode.c (op tab): Implement movca.l.
735 * gencode.c (op movsxy_tab): Fix an error in the bit pattern.
736 * gencode.c (gensim_caselist): The movy instructions use
737 registers R6 and R7 (not R4 and R5 like the movx insns).
738
739 2003-06-27 Michael Snyder <msnyder@redhat.com>
740
741 * gencode.c (op movsxy_tab): Fix up some copy/paste errors
742 in name: s/REG_x/REG_y/.
743
744 * gencode.c (op tab): Move misplaced semicolon.
745
746 2003-02-27 Andrew Cagney <cagney@redhat.com>
747
748 * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
749 to bfd.
750
751 Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com>
752
753 * interp.c (trap): Return int. Take extra parameter for address
754 of the trap instruction. Changed all callers.
755 Add case 33 for profiling.
756 * gencode.c (trapa): Handle trap 33 using the trap function.
757 Add read of vector for generic traps.
758
759 Wed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
760
761 * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
762 * interp.c: Include "gdb/sim-sh.h".
763 (sim_store_register, sim_fetch_register): Use constants defined there.
764
765 Tue Jun 18 16:53:11 2002 J"orn Rennecke <joern.rennecke@superh.com>
766
767 * interp.c (sim_resume): Fix setting of bus error for
768 instruction fetch.
769
770 2002-06-16 Andrew Cagney <ac131313@redhat.com>
771
772 * configure: Regenerated to track ../common/aclocal.m4 changes.
773
774 2002-06-08 Andrew Cagney <cagney@redhat.com>
775
776 * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
777
778 2001-01-30 Ben Elliston <bje@redhat.com>
779
780 * interp.c (sim_create_inferior): Record program arguments for
781 later inspection by the trap handler.
782 (count_argc): New function.
783 (prog_argv): Declare static.
784 (sim_write): Declare.
785 (trap): Implement argc, argnlen and argn system calls. Do not
786 abort on unknown system calls--simply return -1.
787 * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
788
789 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
790
791 * interp.c (trap): Implement time.
792
793 2000-10-24 Ben Elliston <bje@redhat.com>
794
795 * gencode.c (tab): Delimit strings with commas where applicable.
796
797 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
798
799 * configure: Regenerated to track ../common/aclocal.m4 changes.
800
801 Mon May 15 22:04:51 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
802
803 sh-dsp support, simulator speedup by using host byte order:
804
805 * Makefile.in (interp.o): Depends on ppi.c .
806 (ppi.c): New rule.
807 * gencode.c (printonmatch, think, genopc): Deleted.
808 (MAX_NR_STUFF): Now 42.
809 (tab): Add SH-DSP CPU instructions.
810 Amalgamate ldc / stc / lds / sts instructions with similar
811 bit patterns. Fix opcodes of stc Rm_BANK,@-<REG_N>.
812 Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
813 (movsxy_tab): New array.
814 For movs, change MMMM field to GGGG, and mmmm field to MMMM.
815 Added entries for movx, movy and parallel processing insns.
816 (ppi_tab): New array.
817 (qfunc): Stabilize sort.
818 (expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
819 Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
820 (dumptable): Now takes three arguments. Changed all callers.
821 Emit just one contigous jump table.
822 (filltable): Now takes an argument. Changed all callers.
823 Make index static.
824 (ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
825 (gensim_caselist): New function, broken out of gensim.
826 Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
827 Handle ref '9'.
828 (gensim): Handle 'N' in code field and '8' in refs field.
829 Call gensim_caselist - twice.
830 (ppi_index): New static variable.
831 (main): Unsupport default action.
832 Add dsp support for -x / -s option. Add -p option.
833 * interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
834 (saved_state_type): Rearrange to allow amalgamated ldc / stc /
835 lds / sts to work efficiently.
836 (target_dsp): New static variable.
837 (GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
838 (FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
839 (SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
840 (RS, RE, MOD, MOD_ME, DSP_R): Likewise.
841 (set_fpscr1): Likewise. Use target_dsp to check for dsp.
842 (MOD_MSi, SIG_BUS_FETCH): Deleted.
843 (CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
844 (SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
845 (SET_MOD): Reflect saved_state_type change. Set MOD_DELTA instead
846 of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
847 (set_sr): Reflect saved_state_type change. Fix SR_RB handling.
848 Use SET_MOD.
849 (MA, L, TL, TB): Now controlled by ACE_FAST.
850 (SEXT32): Just cast to int.
851 (SIGN32): Fixed to only shift by 31.
852 (CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
853 (ppi_insn): Declare.
854 (ppi.c): Include.
855 (init_dsp): Set target_dsp. When it changes, switch end of
856 sh_jump_table with sh_dsp_table.
857 (sim_resume) Don't declare sh_jump_table0. Use sh_jump_table instead.
858 Don't Declare PR if it's #defined.
859 Fix single-stepping (Was broken in Mar 6 16:59:10 patch).
860 (sim_store_register, sim_read_register): Translate accesses to
861 reflect saved_state_type change.
862
863 * interp.c (set_sr): Set sr.
864 (SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
865 (set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
866 (DSP_R): Fix definition.
867 (sim_resume): Remove outdated SET_SR use.
868
869 * interp.c (saved_state): New members for struct member asregs:
870 rs, re, insn_end, xram_start, yram_start.
871 (struct loop_bounds): New struct.
872 (SKIP_INSN): New macro.
873 (get_loop_bounds): New function.
874 (endianw): Renamed to global_endianw.
875 (maskw): negated bits.
876 (PC): Now insn_ptr.
877 (SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
878 (RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
879 (M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
880 (SIG_BUS_FETCH): Likewise
881 (raise_exception, riat_fast): New functions.
882 (raise_buserror, sim_stop): Use raise_exception.
883 (PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
884 (BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
885 Reverse sense of mask argument.
886 (FP_OP, set_dr): Use RAISE_EXCEPTION.
887 (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
888 Declare. Remove redundant masking.
889 (wwat_fast, rwat_fast): Add argument endianw. Changed callers.
890 (MA): Updated for change pc -> PC.
891 (Delay_Slot): Use RIAT.
892 (empty): Deleted.
893 (trap): Remove argument little_endian. Add argument endianw.
894 Changed all callers. Use raise_exception.
895 (macw): Add argument endainw. Changed all callers.
896 (init_dsp): New function, extended after broken out of init_pointers.
897 (sim_resume): Replace pc with insn_ptr. Replace little_endian with
898 endianw. Replace nia with nip. Reverse sense of maskb / maskw /
899 maskl. Implement logic for zero-overhead loops. Don't try to
900 interpret garbage when getting a SIGBUS at insn fetch.
901 (sim_open): Call init_dsp.
902 * gencode.c (tab): Use SET_NIP instead of nia = . Use PH2T / PT2H /
903 RAISE_EXCEPTION where appropriate.
904 Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.
905
906 * interp.c (sim_store_register, sim_fetch_register):
907 Do proper endianness switch.
908
909 * interp.c (saved_state_type): New members for struct member asregs:
910 xymem_select, xmem, ymem, xmem_offset, ymem_offset.
911 (special_address): Delete.
912 (BUSERROR): Now a two-argument predicate.
913 (PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
914 (wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
915 (process_wlat_addr, process_wwat_addr): New functions.
916 (process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
917 (process_rbat_addr): Likewise.
918 (wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
919 (rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
920 (rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
921 (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
922 (do_rdat, trap): Delete SLOW code.
923 (SEXT32, SIGN32): New macros.
924 (swap, swap16): Now integer in - integer out. Changed all callers.
925 (strswaplen, strnswap): Delete SLOW versions.
926 (init_pointers): Initialize dsp memory selection (preliminary).
927 (sim_store_register, sim_fetch_register): Use swap instead of
928 big / little endian read / write functions.
929
930 * interp.c (maskl): Deleted.
931 (endianw, endianb): New variables.
932 (special_address): Now inline.
933 (bp_holder): Put raising of buserror there, rename to:
934 (raise_buserror).
935 (BUSERROR): Now yields a value. Changed all users.
936 (wbat_big): Delete.
937 (wlat_fast, wwat_fast, wbat_fast): New functions.
938 (rlat_fast, rwat_fast, rbat_fast): Likewise.
939 (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
940 (do_rdat, do_wdat): Likewise. Take maskl argument instead of
941 little_endian one. Changed caller macros.
942 (swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
943 (strswaplen, strnswap): New functions.
944 (trap): Use them to fix up endian mismatches;
945 disable SYS_execve and SYS_execv; fix double address translation for
946 SYS_pipe and SYS_stat.
947 (sym_write, sym_read): Add endianness translation.
948 (sym_store_register, sym_fetch_register): Add maskl local variable.
949 (sim_open): Set endianw and endianb.
950
951 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
952
953 * configure: Regenerated to track ../common/aclocal.m4 changes.
954
955 Wed Aug 25 07:55:23 1999 Brendan Kehoe <brendan@cygnus.com>
956
957 * gencode.c (fcnvds <DR_N>,FPUL): Rewrite to use a local anonymous
958 union type, instead of casting to an int* then a float*.
959 (fcnvsd FPUL,<DR_N>): Likewise.
960 (flds <FREG_N>,FPUL): Likewise.
961 (fsts FPUL,<FREG_N>): Likewise.
962
963 1999-05-08 Felix Lee <flee@cygnus.com>
964
965 * configure: Regenerated to track ../common/aclocal.m4 changes.
966
967 1999-04-02 Keith Seitz <keiths@cygnus.com>
968
969 * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
970 frequency at which the poll_quit callback is called.
971 (sim_resume): Use POLL_QUIT_INTERVAL instead of a
972 hard-coded value.
973
974 Thu Sep 10 02:16:39 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
975
976 * interp.c (saved_state.asregs): Add new member pad_dummy.
977 (sim_store_register, sim_fetch_regsiter): Add 1 to rn for use
978 as index into saved_state.asints.
979
980 Mon Jun 29 19:35:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
981
982 * interp.c (sim_open): set endianness based on the ABFD if a -E
983 option is not present and we have an ABFD.
984
985 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
986
987 * configure: Regenerated to track ../common/aclocal.m4 changes.
988
989 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
990
991 * configure: Regenerated to track ../common/aclocal.m4 changes.
992 * config.in: Ditto.
993
994 Sun Apr 26 15:19:48 1998 Tom Tromey <tromey@cygnus.com>
995
996 * acconfig.h: New file.
997 * configure.in: Reverted change of Apr 24; use sinclude again.
998
999 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1000
1001 * configure: Regenerated to track ../common/aclocal.m4 changes.
1002 * config.in: Ditto.
1003
1004 Fri Apr 24 11:18:35 1998 Tom Tromey <tromey@cygnus.com>
1005
1006 * configure.in: Don't call sinclude.
1007
1008 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1009
1010 * configure: Regenerated to track ../common/aclocal.m4 changes.
1011
1012 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1013
1014 * configure: Regenerated to track ../common/aclocal.m4 changes.
1015
1016 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1017
1018 * configure: Regenerated to track ../common/aclocal.m4 changes.
1019
1020 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1021
1022 * configure: Regenerated to track ../common/aclocal.m4 changes.
1023
1024 Tue Feb 17 12:49:44 1998 Andrew Cagney <cagney@b1.cygnus.com>
1025
1026 * interp.c (sim_fetch_register, sim_store_register): Pass in
1027 length parameter. Return -1.
1028
1029 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1030
1031 * configure: Regenerated to track ../common/aclocal.m4 changes.
1032
1033 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1034
1035 * configure: Regenerated to track ../common/aclocal.m4 changes.
1036
1037 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1038
1039 * configure: Regenerated to track ../common/aclocal.m4 changes.
1040
1041 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1042
1043 * configure: Regenerated to track ../common/aclocal.m4 changes.
1044 * config.in: Ditto.
1045
1046 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1047
1048 * configure: Regenerated to track ../common/aclocal.m4 changes.
1049
1050 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1051
1052 * interp.c (sim_load): Pass lma_p and sim_write args to
1053 sim_load_file.
1054
1055 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1056
1057 * configure: Regenerated to track ../common/aclocal.m4 changes.
1058
1059 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1060
1061 * configure: Regenerated to track ../common/aclocal.m4 changes.
1062
1063 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1064
1065 * configure: Regenerated to track ../common/aclocal.m4 changes.
1066
1067 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1068
1069 * configure: Regenerated to track ../common/aclocal.m4 changes.
1070
1071 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1072
1073 * configure: Regenerated to track ../common/aclocal.m4 changes.
1074
1075 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1076
1077 * configure: Regenerated to track ../common/aclocal.m4 changes.
1078
1079 Tue Sep 9 20:52:21 1997 Felix Lee <flee@cygnus.com>
1080
1081 * interp.c (sim_resume): poll_quit() at least once per call;
1082 otherwise gdb can loop sim_resume() uninterruptably.
1083
1084 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1085
1086 * configure: Regenerated to track ../common/aclocal.m4 changes.
1087
1088 Tue Sep 2 13:15:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1089
1090 * gencode.c (tab): Order instructions according to SH3 document.
1091
1092 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1093
1094 * configure: Regenerated to track ../common/aclocal.m4 changes.
1095 * config.in: Ditto.
1096
1097 Tue Aug 26 10:41:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
1098
1099 * interp.c (sim_kill): Delete.
1100 (sim_create_inferior): Add ABFD argument.
1101 (sim_load): Move setting of PC from here.
1102 (sim_create_inferior): To here.
1103
1104 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1105
1106 * configure: Regenerated to track ../common/aclocal.m4 changes.
1107 * config.in: Ditto.
1108
1109 Mon Aug 25 16:17:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
1110
1111 * interp.c (sim_open): Add ABFD argument.
1112
1113 Mon Jun 23 15:49:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
1114
1115 * interp.c (get_dr): Avoid SIGFPE by moving integers instead of
1116 FP's around.
1117 (set_dr): Ditto.
1118
1119 Mon Jun 23 15:02:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
1120
1121 * interp.c (XD, SET_XD): Delete.
1122 (XF, SET_XF, XD_TO_XF): Define, move around registers in either
1123 FP bank.
1124
1125 * gencode.c (fmov): Update.
1126
1127 Sun Jun 22 19:33:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
1128
1129 * interp.c (set_fpscr1): From J"orn Rennecke
1130 <amylaar@cygnus.co.uk>, Fix typo. Ditto for comment.
1131
1132 Tue Aug 12 00:19:11 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1133
1134 * interp.c (special_address): New function.
1135 (BUSERROR): Call it. Added parameters bits_written and data.
1136 Changed all callers.
1137 * gencode.c (tab): Fixed ocbwb and pref.
1138
1139 Fri Jun 20 22:03:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1140
1141 * interp.c (do_wdat, do_wdat): Fix bug in register number calculation.
1142
1143 Thu Jun 19 00:28:08 1997 Andrew Cagney <cagney@b1.cygnus.com>
1144
1145 * interp.c (sim_create_inferior): Clear registers each time an
1146 inferior is started.
1147
1148 Mon Jun 16 14:01:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
1149
1150 * interp.c (*FP, FP_OP, FP_CMP, FP_UNARY): Provide a hook for
1151 when a host doesn't support IEEE FP.
1152 (*DP): Provide alternative definition that supports 64bit floating
1153 point.
1154 (target_little_endian): Combine little_endian and little_endian_p.
1155 (saved_state_type): Make fpscr and sr simple integers.
1156 (SET_FPSCR, GET_FPSCR): Use macros to update fpscr register.
1157 (set_fpscr1): New function. Handle swapping when PR / FR bits
1158 changed. Call via *_FPSCR macro.
1159 (SET_SR*, GET_SR*): Use macro's to access the SR bits - avoids
1160 endian problems.
1161
1162 * gencode.c (tab): Update.
1163
1164 Sun Jun 15 15:22:52 1997 Andrew Cagney <cagney@b1.cygnus.com>
1165
1166 * gencode.c (main): Perform basic checks on tab entries.
1167
1168 * Makefile.in (gencode): Always compile with -g.
1169
1170 Sat Jun 14 13:45:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
1171
1172 * gencode.c (gensim): Move ref checking code to before `stuff'.
1173 For branches with delay slots refs were not being checked.
1174
1175 * interp.c (sim_resume): Use nia to specify the next instruction
1176 address instead of overloading pc.
1177 (C): Delete definiton - refer to cycles directly.
1178 (SEXT12): New macro - sign extend a 12 bit quantity.
1179 (Delay_Slot): Rename from SL.
1180
1181 * gencode.c (tab): Update/simplify.
1182
1183 * gencode.c (gensim): Better formatting of output code.
1184 (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15.
1185 (tab): Sort alphabetically. Break `stuff' into multiple lines.
1186
1187 Fri Jun 13 22:10:13 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1188
1189 * gencode.c (braf, bsrf): Fix branch destination calculation to
1190 be in accordance with the documentation.
1191
1192 Fri Jun 13 15:33:53 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1193
1194 * interp.c (init_pointers): Fix little endian test.
1195
1196 Thu Jun 5 12:56:08 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1197
1198 * interp.c (init_pointers): SH4 hardware is always WORDS_BIT_ENDIAN.
1199 * gencode (fmov from/to memory): take endian_mismatch into account
1200 for 32 bit moves too.
1201
1202 Wed May 28 23:42:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1203
1204 * gencode.c (swap.b): Fix treatment of high word.
1205
1206 Wed May 28 23:42:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1207
1208 * sh/gencode.c,
1209 * interp.c: experimental SH4 support.
1210 DFmode moves are probaly broken for target little endian.
1211
1212 Tue May 20 10:23:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
1213
1214 * interp.c (sim_open): Add callback argument.
1215 (sim_set_callbacks): Delete SIM_DESC argument.
1216
1217 Wed Apr 30 11:38:08 1997 Doug Evans <dje@canuck.cygnus.com>
1218
1219 * Makefile.in (SIM_EXTRA_CLEAN): Define.
1220 (clean targets): Delete.
1221 (sh-clean): New target.
1222
1223 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1224
1225 * configure: Regenerated to track ../common/aclocal.m4 changes.
1226
1227 Wed Apr 23 17:55:22 1997 Doug Evans <dje@canuck.cygnus.com>
1228
1229 * tconfig.in: New file.
1230 * interp.c (sim_open): Handle missing arg to -E.
1231
1232 Tue Apr 22 08:55:35 1997 Stu Grossman (grossman@critters.cygnus.com)
1233
1234 * Makefile.in: Add clean targets.
1235
1236 Fri Apr 18 18:57:04 1997 Stu Grossman (grossman@critters.cygnus.com)
1237
1238 * interp.c: Include float.h and define SIGTRAP if _WIN32.
1239 WIN32 -> _WIN32.
1240 * (trap): Do do SYS_chown for _WIN32.
1241
1242 Fri Apr 18 13:33:09 1997 Doug Evans <dje@canuck.cygnus.com>
1243
1244 * interp.c (sim_resume): Fix argument to poll_quit.
1245
1246 Fri Apr 18 14:14:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
1247
1248 * interp.c (sim_stop): New function.
1249 (sim_resume): Use poll_quit for polling.
1250
1251 Thu Apr 17 03:32:04 1997 Doug Evans <dje@canuck.cygnus.com>
1252
1253 * Makefile.in (SIM_OBJS): Add sim-load.o.
1254 * interp.c (target_byte_order): Delete.
1255 (sim_kind, myname, little_endian_p): New static locals.
1256 (init_pointers): Use little_endian_p instead of target_byte_order.
1257 (sim_resume): Likewise.
1258 (sim_open): Set sim_kind, myname. Set little_endian_p from -E arg.
1259 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
1260 load file into simulator. Set start address from bfd.
1261 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1262
1263 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1264
1265 * configure: Regenerated to track ../common/aclocal.m4 changes.
1266 * config.in: Ditto.
1267
1268 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1269
1270 * interp.c (sim_open): New arg `kind'.
1271
1272 * configure: Regenerated to track ../common/aclocal.m4 changes.
1273
1274 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1275
1276 * configure: Regenerated to track ../common/aclocal.m4 changes.
1277
1278 Wed Mar 19 09:34:36 1997 Fred Fish <fnf@cygnus.com>
1279
1280 * interp.c (sim_do_command): Check for NULL command or empty
1281 string and handle it the same as a "help" command. Use callback
1282 to print error message for unrecognized commands. Replace
1283 hardcoded tab in literal string with a \t. Other minor code
1284 cleanup.
1285
1286 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1287
1288 * configure: Regenerated to track ../common/aclocal.m4 changes.
1289
1290 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1291
1292 * configure: Re-generate.
1293
1294 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1295
1296 * configure: Regenerate to track ../common/aclocal.m4 changes.
1297
1298 Thu Mar 13 13:00:00 1997 Doug Evans <dje@canuck.cygnus.com>
1299
1300 * interp.c (sim_open): New SIM_DESC result. Argument is now
1301 in argv form.
1302 (other sim_*): New SIM_DESC argument.
1303
1304 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
1305
1306 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1307 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1308 * configure.in: sinclude ../common/aclocal.m4.
1309 * configure: Regenerated.
1310
1311 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1312
1313 * configure configure.in Makefile.in: Update to new configure
1314 scheme which is more compatible with WinGDB builds.
1315 * configure.in: Improve comment on how to run autoconf.
1316 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1317 * Makefile.in: Use autoconf substitution to install common
1318 makefile fragment.
1319
1320 Wed Nov 20 02:04:32 1996 Doug Evans <dje@canuck.cygnus.com>
1321
1322 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
1323 (SIM_OBJS,SIM_EXTRA_LIBS): Define.
1324 * configure.in: Simplify using macros in ../common/aclocal.m4.
1325 Call AC_CHECK_HEADERS(unistd.h).
1326 * configure: Regenerated.
1327 * config.in: New file.
1328 * interp.c: #include "config.h". #include <unistd.h> if present.
1329 (trap): Fetch errno value with callback->get_errno.
1330
1331 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
1332
1333 * interp.c: Don't include windows polling code if inside simluator.
1334
1335 Fri Sep 20 14:57:50 1996 Stan Shebs <shebs@andros.cygnus.com>
1336
1337 * interp.c: Minor formatting improvements.
1338 (saved_state_type): Add bank registers.
1339 (bp_holder): New function, use to break on when debugging BUSERROR.
1340 (BUSERROR): Call it if bus error occurs.
1341
1342 Wed Jun 26 12:29:22 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1343
1344 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1345 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1346 (docdir): Removed.
1347 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1348 (AC_PROG_INSTALL): Added.
1349 * configure: Rebuilt.
1350
1351 Thu May 16 15:44:29 1996 Ian Lance Taylor <ian@cygnus.com>
1352
1353 * interp.c (saved_state_type): Add memstalls field.
1354 (MA) Define macro.
1355 (sim_resume): New local variable memstalls. Add it back in to
1356 saved_state at the end of the function.
1357 (sim_info): Report memstalls.
1358 * gencode.c (tab): Add MA() to the execution string of all
1359 instructions which access memory.
1360
1361 Wed Feb 21 12:16:41 1996 Ian Lance Taylor <ian@cygnus.com>
1362
1363 * configure: Regenerate with autoconf 2.7.
1364
1365 Tue Dec 5 16:38:55 1995 Stu Grossman (grossman@cygnus.com)
1366
1367 * gencode.c (mac.l): Don't abort GDB if executing mac.l
1368 instruction (which is unimplemented). Generate a SIGTRAP (in the
1369 simulated target) instead.
1370
1371 Mon Dec 4 12:22:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1372
1373 * gencode.c (tab): Added several sh3 opcodes.
1374 (think): Added printonmatch for A_SSR and A_SPC.
1375 * interp.c (SSR, SPC): Added definitions.
1376 (saved_state_type): Added ssr and spc registers.
1377
1378 Wed Nov 29 12:39:27 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1379
1380 * gencode.c (tab): In shad/shld definitions, negate R[m] before
1381 the and operation instead of after. For shad delete cast. For shld
1382 use UR instead of R and delete cast.
1383
1384 Fri Nov 17 12:48:55 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1385
1386 * gencode.c (tab): Add explicit NaN support for ftrc instruction.
1387
1388 Wed Nov 15 11:25:27 1995 Stu Grossman (grossman@cygnus.com)
1389
1390 * interp.c: Make target_byte_order be extern to prevent SGI cc from
1391 issuing warnings about the use of common symbols.
1392
1393 Tue Nov 14 15:19:43 1995 Stu Grossman (grossman@cygnus.com)
1394
1395 * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts
1396 actually uses pr+0.
1397
1398 Sat Oct 21 13:01:18 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1399
1400 * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate
1401 program exited.
1402 (sim_get_quit_code): Delete.
1403
1404 * gencode.c (gensim): Indicate SIGILL instead of calling abort for
1405 default case.
1406
1407 Mon Oct 16 18:24:03 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1408
1409 * interp.c (saved_state_type): Move FP registers to immediately
1410 after SR.
1411
1412 Tue Oct 10 11:12:15 1995 Fred Fish <fnf@cygnus.com>
1413
1414 * Makefile.in (BISON): Remove macro.
1415
1416 Fri Oct 6 12:08:18 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1417
1418 * interp.c (trap, case SYS_utime): Cast second arg of utime to
1419 void * to avoid compiler error.
1420
1421 * interp.c (callback): Remove last change. It is initialized by
1422 a sim_set_callbacks call.
1423
1424 Thu Oct 5 14:13:29 1995 steve chamberlain <sac@slash.cygnus.com>
1425
1426 * interp.c (callback): Initialize to default callback.
1427
1428 Thu Sep 28 15:26:59 1995 steve chamberlain <sac@slash.cygnus.com>
1429
1430 * run.c: Moved to ../common.
1431 * interp.c (trap): Use gdb's callback interface.
1432 * Makefile.in: Updated.
1433
1434 Wed Sep 20 13:35:13 1995 Ian Lance Taylor <ian@cygnus.com>
1435
1436 * Makefile.in (maintainer-clean): New synonym for realclean.
1437
1438 Wed Sep 20 09:51:50 1995 steve chamberlain <sac@slash.cygnus.com>
1439
1440 * run.c (sim_callback_write_stdout): New.
1441 * interp.c (trap): Call sim_callback_write_stdout when needed.
1442
1443 Mon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com>
1444
1445 * interp.c (trap): Remove useless code.
1446
1447 Fri Sep 15 19:30:05 1995 steve chamberlain <sac@slash.cygnus.com>
1448
1449 * syscall.h: Copy from newlib.
1450
1451 Thu Sep 14 19:32:59 1995 Stu Grossman (grossman@cygnus.com)
1452
1453 * gencode.c: Back up PC by 2 for breakpoints.
1454 * interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB,
1455 which expect pc to immediately follow regs[].
1456
1457 Fri Sep 8 14:18:13 1995 Ian Lance Taylor <ian@cygnus.com>
1458
1459 * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
1460 * configure: Rebuild.
1461 * Makefile.in (INSTALL): Revert to using install.sh.
1462 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1463 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1464 (CC_FOR_BUILD): Restore.
1465 (gencode): Build using $(CC_FOR_BUILD).
1466 (install): Don't install in $(tooldir).
1467
1468 Thu Sep 7 15:02:31 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1469
1470 (Try to) Update to new bfd autoconf scheme.
1471 * run.c: Don't include sysdep.h.
1472 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1473 (CC, CFLAGS, AR, RANLIB): Likewise.
1474 (HDEFINES, TDEFINES): Define.
1475 (CC_FOR_BUILD): Delete.
1476 (host_makefile_frag): Delete.
1477 (Makefile): Don't depend on frags.
1478 * configure.in (sysdep.h): Don't create symlink.
1479 (host_makefile_frag, frags): Deleted.
1480 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1481 * configure: Regenerated.
1482
1483 Thu Aug 31 12:39:07 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1484
1485 * interp.c: Include <math.h>.
1486
1487 Wed Aug 30 22:05:17 1995 Jeff Law (law@snake.cs.utah.edu)
1488
1489 * Makefile.in (run): Link in math library too.
1490 * gencode.c (gensim): abort if an unknown opcode is encountered.
1491 * interp.c (FPSCR, FPUL): Define.
1492 (struct save_state): Add fields for floating point registers,
1493 FPSCR and FPUL.
1494 (sim_resume): Add 'F' for accessing floating point registers
1495 in the save state structure.
1496 * gencode.c: Add sh3e opcodes.
1497 (gensym): Define a buffer for int<->fp conversions.
1498
1499 Tue Aug 22 14:16:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1500
1501 * interp.c (trap): Use trap vector 34 for host system interface.
1502 * gencode.c: Add 34 to conditional which determines which traps
1503 will be handled by simulator.
1504
1505 Fri Aug 11 17:59:15 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1506
1507 * run.c: Include <signal.h>. Define SIGQUIT if not defined.
1508 (main): New variables reason and sigrc. After simulator exits,
1509 check to see if it exited because of a signal, and if so, then
1510 use the signal number as the return value.
1511
1512 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1513
1514 * Update all FSF addresses except those in COPYING* files.
1515
1516 Tue Jul 18 23:33:10 1995 Fred Fish <fnf@fishbowl>
1517
1518 * interp.c (trap): Only use SYS_execv if defined. Might be
1519 implemented as execve(arg1,arg2,0), as with Unixware 2.0.
1520 (sim_resume): In sbit initializer, cast shifted arg to unsigned
1521 to avoid signed integer overflow.
1522
1523 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1524
1525 * Makefile.in (clean): Remove run, libsim.a.
1526 (distclean, mostlyclean, realclean): Remove Makefile and
1527 autoconf files.
1528
1529 * sh.mt: Removed.
1530
1531 * Makefile.in, configure.in: converted to autoconf.
1532 * configure: New file, generated with autconf 2.4.
1533
1534 Fri Jun 30 16:51:38 1995 Stan Shebs <shebs@andros.cygnus.com>
1535
1536 * interp.c (sim_open): If argument supplied, interpret as
1537 desired memory size.
1538 (parse_and_set_memory_size): New function.
1539 (sim_do_command): New function.
1540
1541 Thu Jun 29 10:02:28 1995 Fred Fish <fnf@deneb.cygnus.com>
1542
1543 * interp.c (SYS_wait): Define as SYS_wait4 if available and
1544 SYS_wait is not already defined (SunOS 4.1.3 for example).
1545 (SYS_utime): Define as SYS_utimes if available and
1546 SYS_utime is not already defined.
1547
1548 Thu Jun 22 17:25:57 1995 Steve Chamberlain <sac@slash.cygnus.com>
1549
1550 * interp.c: Don't include sys/times.h or sys/param.h
1551
1552 Wed Jun 21 15:03:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
1553
1554 * interp.c (SIGBUS, SIGTERM): Define if not.
1555 (sim_memory_size): default to 2^19 on PCs.
1556 (sim_resume): Poll for quits on win32.
1557
1558 Wed May 24 16:22:48 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1559
1560 * gencode.c (op_tab): Add SH3 support.
1561
1562 Wed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>
1563
1564 * gencode.c (tab): Add bsrf and braf.
1565
1566 Mon Apr 24 15:09:49 1995 Jason Molenda (crash@cygnus.com)
1567
1568 * configure.in: use ../../bfd/hosts/std-host.h, not
1569 ../bfd/hosts/std-host.h (which doesn't exist).
1570
1571 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1572
1573 * run.c: parse arguments with getopt().
1574
1575 Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
1576
1577 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1578 host unavailable.
1579
1580 Mon Jan 23 16:10:58 1995 Torbjorn Granlund <tege@rtl.cygnus.com>
1581
1582 * interp.c (macw): Sign extend MACH at bit 10 for non-saturating case.
1583
1584 Sun Jan 22 13:55:36 1995 Torbjorn Granlund <tege@rtl.cygnus.com>
1585
1586 * gencode.c (op_tab): Make MAC.W call macw, not abort.
1587 * interp.c (macw): New function.
1588 (S): New #define.
1589
1590 Sat Jan 21 15:52:30 1995 Torbjorn Granlund <tege@rtl.cygnus.com>
1591
1592 * gencode.c (op_tab): New code for ADDV and SUBV.
1593 Make MAC.L abort sicne it is not implemented.
1594
1595 * interp.c (dmul): Handle the signed case by adjusting after unsigned multiply.
1596 Get rid of __GNUC__ conditional.
1597
1598 aThu Jan 19 05:50:50 1995 Torbjorn Granlund <tege@rtl.cygnus.com>
1599
1600 * gencode.c (op_tab): Also replace NEGC, and try again with SUBC.
1601 Change ADDC for symmetry.
1602
1603 * gencode.c (op_tab): Replace code for ADDC and SUBC.
1604
1605 Mon Jan 9 15:43:53 1995 Stu Grossman (grossman@cygnus.com)
1606
1607 * interp.c: Remove def of INLINE. This comes from bfd.h. Also,
1608 declare IOMEM before using it.
1609
1610 Wed Dec 28 21:25:31 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1611
1612 * interp.c (BUSERROR): New macro.
1613 ([r|w][bwl]at[little|big]) New functions.
1614 (sim_resume): If GO32 check for interrupt every now
1615 and again. Decrement PC if SIGBUS seen.
1616 * run.c (main): Return result of simulated _exit.
1617
1618 Mon Dec 5 21:59:51 1994 Doug Evans <dje@canuck.cygnus.com>
1619
1620 * Makefile.in (gencode): Allow build in different directory.
1621
1622 Wed Nov 30 17:47:13 1994 Jim Wilson <wilson@chestnut.cygnus.com>
1623
1624 * Makefile.in (gencode): Change $< to gencode.c for portability.
1625
1626 Wed Nov 23 21:31:55 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1627
1628 * interp.c ([wr][bwl]at): New functions.
1629 (trap): Cope with both byte modes.
1630
1631 Thu Sep 8 17:35:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1632
1633 * gencode.c (tab): Simulate T bit after a negc insn right.
1634 * interp.c (RSBAT): Sign extend the arg.
1635 (ACE_FAST): New macro.
1636 (sim_resume): Remove obsolete test of sim_timeout.
1637
1638 Fri Aug 5 14:12:31 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1639
1640 * interp.c (IOMEM): New function, simulates very basic I/O area of
1641 the SH.
1642 (WBAT, RBAT) : Call I/O functions.
1643 * gencode.c (tab): Special case trapa #3.
1644
1645 Mon Jun 27 18:04:54 1994 Steve Chamberlain (sac@cirdan.cygnus.com)
1646
1647 * run.c (main): Specify the file type again.
1648
1649 Thu May 26 19:04:37 1994 Steve Chamberlain (sac@thepub.cygnus.com)
1650
1651 * interp.c (trap): Fix irix incompatibility.
1652 * run.c (main): open without specifying file type.
1653
1654 Wed May 18 14:18:53 1994 Doug Evans (dje@canuck.cygnus.com)
1655
1656 * interp.c (sim_*): Make result void where there isn't one.
1657 (sim_set_pc): Delete.
1658 (sim_info): Delete printf_fn arg, all callers changed.
1659 Call printf_filtered instead.
1660 (sim_close): New function.
1661 (sim_load): New function.
1662 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1663 * run.c: #include <varargs.h>, "remote-sim.h".
1664 (printf_filtered): New function.
1665
1666 Wed Apr 27 12:03:48 1994 Steve Chamberlain (sac@cygnus.com)
1667
1668 * gencode.c (table): Get direction of some opcodes right.
1669 (trapa, rte): Implement fully.
1670 * interp.c (trap): Make stat call more portable.
1671
1672 Fri Feb 11 21:59:38 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
1673
1674 * gencode.c (main, gendefines): New -d option prints table of defines.
1675 * interp.c (trap): Add a load of system calls.
1676 (sim_memory_size): Now default to 8Mbyte.
1677 (PARANOID): Keep vector of registers with undefined contents.
1678
1679 Mon Nov 15 14:37:18 1993 Steve Chamberlain (sac@jonny.cygnus.com)
1680
1681 * gencode.c: mova uses aligned addresses
1682 * interp.c (trap): Return results in r0.
1683
1684 Tue Oct 26 10:38:55 1993 Doug Evans (dje@canuck.cygnus.com)
1685
1686 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1687 * interp.c: #include "remote-sim.h".
1688 (sim_resume): int result, new arg `siggnal'.
1689 (sim_write): Use SIM_ADDR for type of arg `addr'.
1690 (sim_read): Use SIM_ADDR for type of arg `addr'.
1691 Use unsigned char * for `buffer'.
1692 (sim_store_register): int result.
1693 (sim_fetch_register): Ditto.
1694 (sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'.
1695 (sim_set_pc): int result, use SIM_ADDR for type of arg `x'.
1696 (sim_info): int result, new args `verbose', `printf_fn'.
1697 (sim_kill): int result.
1698 (sim_open): int result, new arg `name'.
1699 * run.c: #include <stdio.h>
1700 (main): Update call to sim_info.
1701
1702 Sat Oct 23 15:09:29 1993 Doug Evans (dje@canuck.cygnus.com)
1703
1704 * interp.c (sim_stop_signal): Result is now enum sim_stop.
1705
1706 Fri Oct 8 10:47:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1707
1708 * gencode.c (table): Becomes unsigned.
1709 * interp.c (trap): Get right breakpoint SIGnum. (sim_write,
1710 sim_read): Return number of bytes copied. (sim_store_register):
1711 Value passed by reference. (sim_kill, sim_open, sim_set_args): New functions.
1712
1713 Tue Sep 7 16:24:13 1993 Stan Shebs (shebs@rtl.cygnus.com)
1714
1715 * interp.c (sim_info): Fix small typo in printf string.
1716
1717 Thu Aug 5 11:37:48 1993 Stan Shebs (shebs@rtl.cygnus.com)
1718
1719 * interp.c (sim_resume): Set memory after pointers inited.
1720
1721 Mon Aug 2 14:13:22 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1722
1723 * interp.c (get_now): Use time system call.
1724 * Makefile.in: install correctly.
1725
1726 Tue Jul 6 10:30:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1727
1728 * run.c (main), interp.c (sim_set_timeout): Remove timeout
1729 functionality.
1730
1731 Thu Jun 24 13:29:57 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
1732
1733 * Makefile.in: don't run indent everytime; also add a space in the
1734 includes
1735
1736 Thu Jun 17 18:30:42 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1737
1738 * gencode.c: Fix some opcodes.
1739 * interp.c: Support for profiling and portability fixes.
1740 * run.c (main): Get profiling args.
1741
1742 Wed May 5 13:17:22 1993 Steve Chamberlain (sac@cygnus.com)
1743
1744 * gencode.c (tab): Lint for sgi compiler
1745 * interp.c: Lint for sgi compiler.
1746
1747 Mon May 3 15:25:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1748
1749 * run.c (main): Support for resizing simulated RAM.
1750 * Makefile.in: Support for broken makes.
1751 * interp.c, gencode.c: Lint.
1752
1753 Mon Apr 26 18:01:10 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1754
1755 * created
This page took 0.063268 seconds and 5 git commands to generate.