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