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