Do not use old-style definitions in sim
[deliverable/binutils-gdb.git] / sim / h8300 / ChangeLog
1 2021-04-08 Tom Tromey <tom@tromey.com>
2
3 * compile.c (cmdline_location): Use new-style declaration.
4
5 2021-04-02 Mike Frysinger <vapier@gentoo.org>
6
7 * aclocal.m4, configure: Regenerate.
8
9 2021-02-28 Mike Frysinger <vapier@gentoo.org>
10
11 * configure: Regenerate.
12
13 2021-02-21 Mike Frysinger <vapier@gentoo.org>
14
15 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
16 * aclocal.m4, configure: Regenerate.
17
18 2021-02-13 Mike Frysinger <vapier@gentoo.org>
19
20 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
21 * aclocal.m4, configure: Regenerate.
22
23 2021-02-06 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26
27 2021-01-13 Mike Frysinger <vapier@gentoo.org>
28
29 * compile.c (memory_size): Move definition to top of file.
30 (h8_get_memory, h8_set_memory): Assert access is within memory_size.
31 (h8_get_eightbit_buf): Delete.
32 h8_set_eightbit_buf, h8_get_eightbit, h8_set_eightbit): Likewise.
33 (GET_MEMORY_L): Delete eightbit references.
34 (GET_MEMORY_W, GET_MEMORY_B, SET_MEMORY_L, SET_MEMORY_W,
35 SET_MEMORY_B, init_pointers, step_once, sim_load): Likewise.
36 (sim_write): Likewise. Return i instead of size.
37 (sim_read): Check addr is within memory_size.
38 * sim-main.h (struct h8300_cpu_state): Delete eightbit.
39
40 2021-01-11 Mike Frysinger <vapier@gentoo.org>
41
42 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
43 * configure: Regenerate.
44
45 2021-01-11 Mike Frysinger <vapier@gentoo.org>
46
47 * config.in, configure: Regenerate.
48 * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H.
49
50 2021-01-09 Mike Frysinger <vapier@gentoo.org>
51
52 * configure: Regenerate.
53
54 2021-01-08 Mike Frysinger <vapier@gentoo.org>
55
56 * configure: Regenerate.
57
58 2021-01-07 Mike Frysinger <vapier@gentoo.org>
59
60 * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
61 h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf,
62 h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile,
63 set_simcache_size): Delete.
64 (init_pointers): Delete calls to h8_get_cache_idx_buf,
65 h8_set_cache_idx_buf, and set_simcache_size.
66 (step_once): Replace call to h8_get_cache_idx with decode. Delete
67 case 0 handling and call to compile.
68 (sim_write): Delete call to h8_set_cache_idx.
69 (sim_info): Delete call to h8_get_compiles & sim_cache_size.
70 (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf.
71 * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx,
72 cache_top, and compiles.
73
74 2021-01-04 Mike Frysinger <vapier@gentoo.org>
75
76 * configure: Regenerate.
77
78 2017-09-06 John Baldwin <jhb@FreeBSD.org>
79
80 * configure: Regenerate.
81
82 2016-01-10 Mike Frysinger <vapier@gentoo.org>
83
84 * config.in, configure: Regenerate.
85
86 2016-01-10 Mike Frysinger <vapier@gentoo.org>
87
88 * configure: Regenerate.
89
90 2016-01-10 Mike Frysinger <vapier@gentoo.org>
91
92 * configure: Regenerate.
93
94 2016-01-10 Mike Frysinger <vapier@gentoo.org>
95
96 * configure: Regenerate.
97
98 2016-01-10 Mike Frysinger <vapier@gentoo.org>
99
100 * configure: Regenerate.
101
102 2016-01-10 Mike Frysinger <vapier@gentoo.org>
103
104 * configure: Regenerate.
105
106 2016-01-10 Mike Frysinger <vapier@gentoo.org>
107
108 * configure: Regenerate.
109
110 2016-01-10 Mike Frysinger <vapier@gentoo.org>
111
112 * configure: Regenerate.
113
114 2016-01-09 Mike Frysinger <vapier@gentoo.org>
115
116 * config.in, configure: Regenerate.
117
118 2016-01-06 Mike Frysinger <vapier@gentoo.org>
119
120 * compile.c (sim_open): Mark argv const.
121 (sim_create_inferior): Mark argv and env const.
122
123 2016-01-04 Mike Frysinger <vapier@gentoo.org>
124
125 * configure: Regenerate.
126
127 2016-01-03 Mike Frysinger <vapier@gentoo.org>
128
129 * compile.c (sim_open): Update sim_parse_args comment.
130
131 2016-01-03 Mike Frysinger <vapier@gentoo.org>
132
133 * config.in, configure: Regenerate.
134
135 2016-01-02 Mike Frysinger <vapier@gentoo.org>
136
137 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
138 * configure: Regenerate.
139
140 2015-12-30 Mike Frysinger <vapier@gentoo.org>
141
142 * compile.c (sim_state_initialize): Delete.
143 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
144 assignment.
145
146 2015-12-30 Mike Frysinger <vapier@gentoo.org>
147
148 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
149 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
150 drop the printf if the default case. Change all the set func calls
151 to use cpu->regs[rn] instead.
152 (h8300_reg_store): Delete sd. Change init_pointers to
153 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
154 drop the printf if the default case. Change all the get func calls
155 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
156 4 instead of -1 at the end.
157
158 2015-12-30 Mike Frysinger <vapier@gentoo.org>
159
160 * compile.c (lvalue): Change sim_engine_set_run_state calls to
161 sim_engine_halt. Declare local cpu.
162 (fetch_1): Likewise.
163 (store_1): Likewise.
164 (sim_resume): Rename to ...
165 (step_once): ... this. Declare init1, poll_count, reason, and
166 sigrc variables. Delete step checking. Change
167 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
168 logic. Change while(1) loop to while(0).
169 (sim_engine_run): New function.
170 * Makefile.in (SIM_OBJS): Add sim-resume.o.
171
172 2015-12-30 Mike Frysinger <vapier@gentoo.org>
173
174 * compile.c (sim_open): Delete current_alignment and
175 current_target_byte_order assignments.
176 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
177 SIM_AC_OPTION_ALIGNMENT.
178 * configure: Regenerate.
179
180 2015-12-30 Mike Frysinger <vapier@gentoo.org>
181
182 * wrapper.c (sim_store_register): Rename to ...
183 (h8300_reg_store): ... this. Declare sd.
184 (sim_fetch_register): Rename to ...
185 (h8300_reg_fetch): ... this. Declare sd.
186 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
187
188 2015-12-30 Mike Frysinger <vapier@gentoo.org>
189
190 * compile.c (lreg): Delete.
191 (init_pointers): Delete lreg assignments.
192
193 2015-12-30 Mike Frysinger <vapier@gentoo.org>
194
195 * inst.h: Delete file.
196 * Makefile.in (compile.o): Delete rule.
197
198 2015-12-26 Mike Frysinger <vapier@gentoo.org>
199
200 * config.in, configure: Regenerate.
201
202 2015-12-24 Mike Frysinger <vapier@gentoo.org>
203
204 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
205 (h8300_option_handler): New func from common/sim-options.c.
206 (h8300_options): New options from common/sim-options.c.
207 (sim_open): Call sim_add_option_table.
208 * tconfig.h: Delete file.
209
210 2015-12-24 Mike Frysinger <vapier@gentoo.org>
211
212 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
213
214 2015-11-21 Mike Frysinger <vapier@gentoo.org>
215
216 * compile.c (sim_callback, sim_kind, myname): Delete.
217 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
218 Change sim_callback->printf_filtered calls to sim_io_printf.
219 (sim_resume): Likewise. Declare sim_callback.
220 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
221 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
222
223 2015-11-15 Mike Frysinger <vapier@gentoo.org>
224
225 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
226
227 2015-11-15 Mike Frysinger <vapier@gentoo.org>
228
229 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
230 * compile.c (sim_stop, sim_stop_reason): Delete.
231
232 2015-11-14 Mike Frysinger <vapier@gentoo.org>
233
234 * Makefile.in (SIM_OBJS): Delete sim-load.o.
235
236 2015-11-14 Mike Frysinger <vapier@gentoo.org>
237
238 * compile.c (sim_close): Delete.
239
240 2015-11-09 Mike Frysinger <vapier@gentoo.org>
241
242 * compile.c (littleendian): Delete.
243 (init_pointers): Delete littleendian usage.
244
245 2015-06-23 Mike Frysinger <vapier@gentoo.org>
246
247 * configure: Regenerate.
248
249 2015-06-12 Mike Frysinger <vapier@gentoo.org>
250
251 * configure: Regenerate.
252
253 2015-06-12 Mike Frysinger <vapier@gentoo.org>
254
255 * configure: Regenerate.
256
257 2015-04-18 Mike Frysinger <vapier@gentoo.org>
258
259 * sim-main.h (SIM_CPU): Delete.
260
261 2015-04-18 Mike Frysinger <vapier@gentoo.org>
262
263 * sim-main.h (sim_cia): Delete.
264
265 2015-04-17 Mike Frysinger <vapier@gentoo.org>
266
267 * sim-main.h (CIA_GET, CIA_SET): Delete.
268
269 2015-04-17 Mike Frysinger <vapier@gentoo.org>
270
271 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
272 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
273 CPU_PC_STORE for all cpus.
274 * sim-main.h (SIM_CPU): Define.
275
276 2015-04-15 Mike Frysinger <vapier@gentoo.org>
277
278 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
279 * sim-main.h (STATE_CPU): Delete.
280
281 2015-04-15 Mike Frysinger <vapier@gentoo.org>
282
283 * compile.c: Include sim-options.h.
284 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
285 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
286 (STATE_CPU): Handle WITH_SMP.
287
288 2015-04-13 Mike Frysinger <vapier@gentoo.org>
289
290 * configure: Regenerate.
291
292 2015-04-06 Mike Frysinger <vapier@gentoo.org>
293
294 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
295
296 2015-04-01 Mike Frysinger <vapier@gentoo.org>
297
298 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
299
300 2015-03-31 Mike Frysinger <vapier@gentoo.org>
301
302 * config.in, configure: Regenerate.
303
304 2015-03-24 Mike Frysinger <vapier@gentoo.org>
305
306 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
307 * tconfig.h (SIM_HAVE_PROFILE): Delete.
308
309 2015-03-16 Mike Frysinger <vapier@gentoo.org>
310
311 * config.in, configure: Regenerate.
312 * tconfig.in: Rename file ...
313 * tconfig.h: ... here.
314
315 2015-03-14 Mike Frysinger <vapier@gentoo.org>
316
317 * Makefile.in (SIM_RUN_OBJS): Delete.
318
319 2015-03-14 Mike Frysinger <vapier@gentoo.org>
320
321 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
322 * aclocal.m4, configure: Regenerate.
323
324 2014-12-03 Joel Brobecker <brobecker@adacore.com>
325
326 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
327 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
328 following renaming in callback.h.
329
330 2014-08-19 Alan Modra <amodra@gmail.com>
331
332 * configure: Regenerate.
333
334 2014-08-15 Roland McGrath <mcgrathr@google.com>
335
336 * configure: Regenerate.
337 * config.in: Regenerate.
338
339 2014-03-05 Mike Frysinger <vapier@gentoo.org>
340
341 * compile.c (sim_load): Add const to prog.
342
343 2014-02-17 Mike Frysinger <vapier@gentoo.org>
344
345 PR gdb/16450
346 * compile.c (control_c_sim_desc): Delete.
347 (control_c): Likewise.
348 (sim_resume): Delete signal(SIGINT) handling.
349
350 2013-09-23 Alan Modra <amodra@gmail.com>
351
352 * configure: Regenerate.
353
354 2013-06-03 Mike Frysinger <vapier@gentoo.org>
355
356 * aclocal.m4, configure: Regenerate.
357
358 2012-06-15 Joel Brobecker <brobecker@adacore.com>
359
360 * config.in, configure: Regenerate.
361
362 2012-05-18 Nick Clifton <nickc@redhat.com>
363
364 PR 14072
365 * compile.c: Include config.h before system header files.
366 * sim-main.h: Likewise.
367
368 2012-03-24 Mike Frysinger <vapier@gentoo.org>
369
370 * aclocal.m4, config.in, configure: Regenerate.
371
372 2011-12-03 Mike Frysinger <vapier@gentoo.org>
373
374 * aclocal.m4: New file.
375 * configure: Regenerate.
376
377 2011-10-17 Mike Frysinger <vapier@gentoo.org>
378
379 * configure.ac: Change include to common/acinclude.m4.
380
381 2011-10-17 Mike Frysinger <vapier@gentoo.org>
382
383 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
384 call. Replace common.m4 include with SIM_AC_COMMON.
385 * configure: Regenerate.
386
387 2011-07-05 Mike Frysinger <vapier@gentoo.org>
388
389 * compile.c (sim_do_command): Delete.
390
391 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
392
393 * compile.c (sim_store_register): Update return value to
394 match new API.
395
396 2010-04-14 Mike Frysinger <vapier@gentoo.org>
397
398 * compile.c (sim_write): Add const to buffer arg.
399
400 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
401
402 * configure: Regenerate.
403
404 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
405 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
406 Index registers not masked memory areas.
407 Only simply increment or decrement.
408 * compile.c(store_1): Ditto.
409
410 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411
412 * config.in: Regenerate.
413 * configure: Likewise.
414
415 * configure: Regenerate.
416
417 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
418
419 * compile.c: Add const to remove warning.
420
421 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
422
423 * configure: Regenerate to track ../common/common.m4 changes.
424 * config.in: Ditto.
425
426 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
427 Daniel Jacobowitz <dan@codesourcery.com>
428 Joseph Myers <joseph@codesourcery.com>
429
430 * configure: Regenerate.
431
432 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
433
434 * compile.c (sim_resume): Fix the last byte of ARGV for
435 SYS_CMDLINE.
436
437 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
438
439 * acconfig.h: Remove.
440 * config.in: Regenerate.
441
442 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
443
444 * compile.c (OBITOP): Bit address mask low three bit.
445 * compile.c (decode): Fix warning.
446
447 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
448
449 * configure: Regenerated.
450
451 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
452
453 * configure: Regenerated.
454
455 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
456
457 * configure: Regenerated.
458
459 2005-03-23 Mark Kettenis <kettenis@gnu.org>
460
461 * configure: Regenerate.
462
463 2005-01-14 Andrew Cagney <cagney@gnu.org>
464
465 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
466 explicit call to AC_CONFIG_HEADER.
467 * configure: Regenerate.
468
469 2005-01-12 Andrew Cagney <cagney@gnu.org>
470
471 * configure.ac: Update to use ../common/common.m4.
472 * configure: Re-generate.
473
474 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
475
476 * configure: Regenerated to track ../common/aclocal.m4 changes.
477
478 2005-01-07 Andrew Cagney <cagney@gnu.org>
479
480 * configure.ac: Rename configure.in, require autoconf 2.59.
481 * configure: Re-generate.
482
483 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
484
485 * configure: Regenerate for ../common/aclocal.m4 update.
486
487 2004-06-28 Alexandre Oliva <aoliva@redhat.com>
488
489 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
490 * compile.c (sim_resume): Make sure that dst.reg refers to the
491 right register byte in mova/sz.l @(dd,RnL),ERn.
492 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
493 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
494 mulxs, divs and divxs.
495
496 * compile.c (sim_load): Update sd->memory_size.
497
498 2004-06-10 Michael Snyder <msnyder@redhat.com>
499
500 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
501 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
502
503 2004-01-05 Michael Snyder <msnyder@redhat.com>
504
505 * compile.c (sim_load): Don't pass a type to bfd_openr.
506
507 2003-12-16 Michael Snyder <msnyder@redhat.com>
508
509 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
510 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
511
512 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
513
514 * compile.c (set_h8300h): Initialize globals to zero.
515
516 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
517
518 * compile.c (h8300_normal_mode): New.
519 (SP): Handle normal mode.
520 (bitfrom): Use normal mode flag to return suitable value.
521 (lvalue): Use normal mode flag to return command line location.
522 (decode): Decode instruction correctly for normal mode.
523 (init_pointers): Initialise memory correctly for normal mode.
524 (sim_resume): Handle cases for normal mode using h8300_normal_mode
525 flag.
526 (sim_store_register): Handle 2 byte PC for normal mode.
527 (sim_fetch_register): Handle 2 byte PC for normal mode.
528 (set_h8300h): Set normal mode flag as per architechture.
529 (sim_load): Allocate 64K for normal mode instead of bigger memory.
530
531 2003-07-18 Michael Snyder <msnyder@redhat.com>
532
533 * compile.c (decode): Enhancements for mova.
534 Initialize cst, reg, and rdisp inside the loop, for each
535 new instruction. Defer correction of the disp2 values until
536 later, and then adjust them by the size of the first operand,
537 rather than the size of the instruction.
538 (sim_resume): For mova, adjust the size of the second operand
539 according to the type of the first operand (INDEXB vs. INDEXW).
540 In cases where there is only one operand, the other two must
541 both be composed on the fly.
542
543 2003-07-22 Michael Snyder <msnyder@redhat.com>
544
545 * compile.c (sim_resume): Revert 6-24 change, it does not
546 work with gdb breakpoints.
547
548 2003-07-17 Michael Snyder <msnyder@redhat.com>
549
550 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
551 (decode): IMM16 is always zero-extended.
552
553 2003-06-24 Michael Snyder <msnyder@redhat.com>
554
555 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
556 * compile.c (sim_resume): Use the above to return stop signal.
557
558 2003-06-18 Michael Snyder <msnyder@redhat.com>
559
560 * compile.c: Replace "Hitachi" with "Renesas".
561 (decode): Distinguish AV_H8S from AV_H8H.
562 (sim_resume): H8SX can use any register for TAS.
563 (decode): Add support for VECIND.
564 (sim_resume): Implement rte/l and rts/l.
565 (GETSR): New macro (actually old macro reincarnated).
566 (decode): Add handling for IMM2.
567 (sim_resume): Drop extra block around jmp, jsr, rts.
568 Add handling for trapa and rte.
569 For divxu.b, change 0xffff mask to 0xff.
570 (set_h8300h): Add bfd_mach_h8300sxn machine.
571
572 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
573
574 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
575 and SBR, VBR.
576
577 2003-06-05 Michael Snyder <msnyder@redhat.com>
578
579 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
580 (sim_store_register): Ditto.
581
582 2003-06-04 Michael Snyder <msnyder@redhat.com>
583
584 * compile.c (sim_info): Fix typo in output.
585
586 * compile.c (set_h8300h): Replace 'flag' arguments
587 with a bfd_machine argument, and decode it inline.
588 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
589
590 2003-06-03 Michael Snyder <msnyder@redhat.com>
591
592 * compile.c: Add h8300sx insns and addressing modes.
593 * sim-main.h: Replaces h8300/inst.h.
594 * Makefile.in: Tweak to bring in some sim/common stuff.
595
596 2003-04-13 Michael Snyder <msnyder@redhat.com>
597
598 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
599
600 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
601
602 * compile.c (cmdline_location): Added function to
603 return the location of 8-bit (256 locations) where the
604 Command Line arguments would be stored.
605 (decode): Added a TRAP to 0xcc for Commandline
606 processing using pseudo opcode O_SYS_CMDLINE.
607 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
608 (sim_create_inferior): Setting a pointer to
609 Commandline Args array.
610 * inst.h: Added a new variable ptr_command_line for
611 storing pointer to Commandline array.
612
613 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
614
615 * compile.c (decode): Added code for some more magic traps.
616 * compile.c (sim_resume): Added support for File I/O system
617 calls through callback to host_system.
618 System calls provided support for :
619 open, read, write, lseek, close, stat, fstat
620 Only basic support for stat and fstat.
621
622 2003-02-27 Andrew Cagney <cagney@redhat.com>
623
624 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
625
626 2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
627
628 * compile.c (init_pointers): Abort if wreg never gets initialized.
629 (sim_resume): Fix the handling of exts.w and extu.w.
630
631 2003-01-31 Kazu Hirata <kazu@cs.umass.edu>
632
633 * compile.c (sim_resume): Fix the handling of bxor.
634
635 2003-01-16 Michael Snyder <msnyder@redhat.com>
636
637 * compile.c: Change K&R function definitions to ISO.
638 (fetch): Make static, and eliminate unused parameter 'n'.
639
640 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
641
642 * compile.c: Fix formatting.
643 * inst.h: Likewise.
644
645 2002-07-29 Andrey Volkov <avolkov@transas.com>
646
647 * compile.c: Include "gdb/sim-h8300.h"
648 * Makefile.in: Add dependences on "inst.h",
649 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
650
651 2002-06-16 Andrew Cagney <ac131313@redhat.com>
652
653 * configure: Regenerated to track ../common/aclocal.m4 changes.
654
655 2002-06-08 Andrew Cagney <cagney@redhat.com>
656
657 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
658
659 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
660
661 * compile.c: Fix formatting.
662
663 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
664
665 * compile.c: Fix formatting.
666
667 2002-05-17 Andrey Volkov (avolkov@transas.com)
668
669 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
670
671 2002-05-17 Andrey Volkov (avolkov@transas.com)
672
673 * compile.c: Add support of EXR register
674 * inst.h: Ditto.
675
676 2002-05-17 Andrey Volkov (avolkov@transas.com)
677
678 * compile.c: Made h8300s as new target, not h8300h alias.
679 * inst.h: Ditto.
680
681 2002-05-17 Andrey Volkov (avolkov@transas.com)
682
683 * compile.c: Add additional CCR flags (I,UI,H,U)
684
685 2002-05-17 Andrey Volkov (avolkov@transas.com)
686
687 * compile.c: Change literal regnumbers to REGNUMS.
688 Fix instruction and cycles counting
689
690 2001-12-20 Kazu Hirata <kazu@hxi.com>
691
692 * compile.c: Fix formatting.
693
694 2001-12-20 Kazu Hirata <kazu@hxi.com>
695
696 * compile.c: Fix comment typos.
697
698 2000-08-10 Kazu Hirata <kazu@hxi.com>
699
700 * compile.c (decode): Clean up the code.
701
702 2000-06-15 Kazu Hirata <kazu@hxi.com>
703
704 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
705 correctly.
706
707 2000-06-20 Frank Ch. Eigler <fche@redhat.com>
708
709 * compile.c: Don't include "wait.h".
710 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
711 instead of WIF* from host.
712
713 2000-06-13 Frank Ch. Eigler <fche@redhat.com>
714
715 * compile.c, writecode.c: Correct typo.
716
717 2000-06-13 Kazu Hirata <kazu@hxi.com>
718
719 * compile.c: Fix formatting.
720
721 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
722
723 * configure: Regenerated to track ../common/aclocal.m4 changes.
724
725 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
726
727 * configure: Regenerated to track ../common/aclocal.m4 changes.
728
729 1999-05-08 Felix Lee <flee@cygnus.com>
730
731 * configure: Regenerated to track ../common/aclocal.m4 changes.
732
733 1999-04-02 Keith Seitz <keiths@cygnus.com>
734
735 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
736 frequency at which the poll_quit callback is used.
737 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
738
739 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
740
741 * configure: Regenerated to track ../common/aclocal.m4 changes.
742
743 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
744
745 * configure: Regenerated to track ../common/aclocal.m4 changes.
746 * config.in: Ditto.
747
748 Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
749
750 * acconfig.h: New file.
751 * configure.in: Reverted change of Apr 24; use sinclude again.
752
753 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
754
755 * configure: Regenerated to track ../common/aclocal.m4 changes.
756 * config.in: Ditto.
757
758 Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
759
760 * configure.in: Don't call sinclude.
761
762 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
763
764 * configure: Regenerated to track ../common/aclocal.m4 changes.
765
766 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
767
768 * configure: Regenerated to track ../common/aclocal.m4 changes.
769
770 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
771
772 * configure: Regenerated to track ../common/aclocal.m4 changes.
773
774 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
775
776 * configure: Regenerated to track ../common/aclocal.m4 changes.
777
778 Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
779
780 * compile.c (sim_store_register, sim_fetch_register): Pass in
781 length parameter. Return -1.
782
783 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
784
785 * configure: Regenerated to track ../common/aclocal.m4 changes.
786
787 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
788
789 * configure: Regenerated to track ../common/aclocal.m4 changes.
790
791 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
792
793 * configure: Regenerated to track ../common/aclocal.m4 changes.
794
795 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
796
797 * configure: Regenerated to track ../common/aclocal.m4 changes.
798 * config.in: Ditto.
799
800 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
801
802 * configure: Regenerated to track ../common/aclocal.m4 changes.
803
804 Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
805
806 * compile.c: #include stdio.h for definition of NULL on
807 some platforms.
808
809 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
810
811 * compile.c (sim_load): Pass lma_p and sim_write args to
812 sim_load_file.
813
814 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
815
816 * configure: Regenerated to track ../common/aclocal.m4 changes.
817
818 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
819
820 * configure: Regenerated to track ../common/aclocal.m4 changes.
821
822 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
823
824 * configure: Regenerated to track ../common/aclocal.m4 changes.
825
826 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
827
828 * configure: Regenerated to track ../common/aclocal.m4 changes.
829
830 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
831
832 * configure: Regenerated to track ../common/aclocal.m4 changes.
833
834 Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
835
836 * Makefile.in (compile.o): Depend on config.h in local directory.
837
838 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
839
840 * configure: Regenerated to track ../common/aclocal.m4 changes.
841
842 Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
843
844 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
845 with sim/common.
846 * configure.in: check for sys/param.h
847 * compile.c: #ifdef HAVE_SYS_PARAM_H.
848 #define SIGTRAP for wingdb.
849 (sim_resume): poll keyboard at least once per call.
850 (sim_resume): use host_callback instead of printf for syscall
851 output.
852
853 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
854
855 * configure: Regenerated to track ../common/aclocal.m4 changes.
856
857 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
858
859 * configure: Regenerated to track ../common/aclocal.m4 changes.
860 * config.in: Ditto.
861
862 Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
863
864 * compile.c (sim_kill): Delete.
865 (sim_create_inferior): Add ABFD argument.
866 (sim_load): Move setting of PC from here.
867 (sim_create_inferior): To here.
868 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
869 the sim_load code should be moved to sim_open.
870
871 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
872
873 * configure: Regenerated to track ../common/aclocal.m4 changes.
874 * config.in: Ditto.
875
876 Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
877
878 * compile.c (sim_open): Add ABFD argument.
879
880 Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
881
882 * compile.c (sim_open): Add callback argument.
883 (sim_set_callbacks): Delete SIM_DESC argument.
884
885 Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
886
887 * compile.c (sim_load): Call bfd_get_mach instead of examining
888 bfd fields directly.
889 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
890
891 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
892
893 * configure: Regenerated to track ../common/aclocal.m4 changes.
894
895 Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
896
897 * compile.c (sim_resume): Use poll_quit callback.
898 (sim_stop): New function.
899
900 Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
901
902 * Makefile.in (SIM_OBJS): Add sim-load.o.
903 * compile.c (sim_kind, myname): New static locals.
904 (sim_open): Set sim_kind, myname.
905 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
906 Call sim_load_file to load file into simulator. Set start address
907 from bfd.
908 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
909
910 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
911
912 * configure: Regenerated to track ../common/aclocal.m4 changes.
913 * config.in: Ditto.
914
915 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
916
917 * compile.c (sim_open): New arg `kind'.
918
919 * configure: Regenerated to track ../common/aclocal.m4 changes.
920
921 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
922
923 * configure: Regenerated to track ../common/aclocal.m4 changes.
924
925 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
926
927 * configure: Regenerated to track ../common/aclocal.m4 changes.
928
929 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
930
931 * configure: Re-generate.
932
933 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
934
935 * configure: Regenerate to track ../common/aclocal.m4 changes.
936
937 Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
938
939 * compile.c (sim_open): New SIM_DESC result. Argument is now in
940 argv form.
941 (other sim_*): New SIM_DESC argument.
942
943 Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
944
945 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
946 COMMON_{PRE,POST}_CONFIG_FRAG instead.
947 * configure.in: sinclude ../common/aclocal.m4.
948 * configure: Regenerated.
949
950 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
951
952 * configure configure.in Makefile.in: Update to new configure
953 scheme which is more compatible with WinGDB builds.
954 * configure.in: Improve comment on how to run autoconf.
955 * configure: Re-run autoconf to get new ../common/aclocal.m4.
956 * Makefile.in: Use autoconf substitution to install common
957 makefile fragment.
958
959 Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
960
961 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
962 (SIM_OBJS): Define.
963 * configure.in: Simplify using macros in ../common/aclocal.m4.
964 * configure: Regenerated.
965 * inst.h (enum sim_state): Define.
966 (cpu_state_type): New member `state'. Set it whenever `exception'
967 is set.
968 * compile.c (sim_callback): New global.
969 (sim_set_simcache_size): Renamed from sim_csize.
970 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
971 'cus it can't work. Change main loop exit test to use cpu.state.
972 (sim_trace): New function.
973 (sim_stop_reason): Add right way to set results, but #if 0 out.
974 (sim_size): New function.
975 (sim_info): Redirect calls to printf_filtered through callback.
976 (sim_set_callbacks): Record callback.
977 * run.c: Deleted, using one in ../common now.
978 * tconfig.in: New file.
979
980 Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
981
982 * Makefile.in (mostlyclean): Don't remove config.log here.
983
984 Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
985
986 * compile.c (sim_resume): rts, sleep, bpt and nop have
987 no associated "size".
988
989 Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
990
991 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
992
993 Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
994
995 * run.c (main): Don't "load" sections which don't have
996 SEC_LOAD set.
997 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
998 of OSHIFTS.
999 (ONOT): Define.
1000 (sim_resume, shift/rotate cases): Add support for shift/rotate
1001 by two bits.
1002 (OSHIFTS): Corresponding changes.
1003
1004 Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
1005
1006 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
1007
1008 Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
1009
1010 * compile.c (h8300smode): Declare.
1011
1012 Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1013
1014 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1015 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1016 (docdir): Removed.
1017 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1018 (AC_PROG_INSTALL): Added.
1019 * configure: Rebuilt.
1020
1021 Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1022
1023 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
1024 * run.c (main): Treat the H8/S like the H8/300H for now.
1025
1026 Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
1027
1028 * compile.c (SEXTCHAR): Clear upper bits when sign
1029 bit is clear.
1030
1031 Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
1032
1033 * compile.c (sim_resume): Correctly handle divu.
1034
1035 Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
1036
1037 * compile.c (sim_resume): Never allow the PC to have an
1038 odd value.
1039
1040 Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
1041
1042 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
1043 separate memory is allocate for the 8-bit area.
1044 (struct cpu_state_type): Add new "eightbit' field.
1045 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
1046 area.
1047 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
1048 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
1049 (init_pointers): Initialize space for the 8-bit area.
1050 (sim_write): Handle writing into the 8-bit area.
1051 (sim_read): Handle reading from the 8-bit area.
1052 (sim_load): Reallocate space for the 8-bit area.
1053
1054 * compile.c (sim_load): Re-allocate memory for the simulator
1055 here.
1056
1057 Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
1058
1059 * compile.c (sim_resume): Fix and simplify overflow and carry
1060 handling for 32bit ALU insns.
1061
1062 Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
1063
1064 * compile.c (sim_resume): Fix overflow checks for ALU insns.
1065
1066 Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
1067
1068 * compile.c (decode): Use "bit" to hold L_3 immediates instead
1069 of holding them in "abs". Handle ABS8MEM memory references aka
1070 8-bit area. Replace ABSMOV references with ABS8MEM.
1071
1072 Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
1073
1074 * compile.c (fetch): Handle accesses to the exception/function
1075 vectors.
1076
1077 Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
1078
1079 * compile.c: #include "wait.h".
1080 (sim_resume, sleep insn): Check program exit status in r0.
1081 (sim_resume, shift insns): Fix setting of overflow flag for shal.
1082 * run.c: #include <signal.h>.
1083 (main): Abort if program got SIGILL.
1084 Print error message if argument is invalid.
1085 (usage): Improve text.
1086
1087 Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
1088
1089 * configure: Regenerate with autoconf 2.7.
1090
1091 Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
1092
1093 * inst.h (MPOWER,MSIZE): Deleted.
1094 (H8300{,H}_MSIZE): Define.
1095 * compile.c (memory_size): New static global.
1096 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
1097 (sim_write,sim_read): Use memory_size.
1098
1099 Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
1100
1101 * compile.c (sim_set_callbacks): New.
1102
1103 Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
1104
1105 * Makefile.in (BISON): Remove macro.
1106
1107 Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
1108
1109 * Makefile.in (maintainer-clean): New synonym for realclean.
1110
1111 Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
1112
1113 * Makefile.in (install): Don't install in $(tooldir).
1114
1115 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
1116 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
1117 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
1118 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
1119 creating config.h.
1120 * configure: Rebuild.
1121 * config.in: New file, created by autoheader.
1122 * Makefile.in (AR): Define as @AR@.
1123 (CC): New variable, defined as @CC@.
1124 (CFLAGS): Define as @CFLAGS@.
1125 (RANLIB): Define as @RANLIB@.
1126 (HDEFINES, TDEFINES): New variables.
1127 (@host_makefile_frag@): Remove.
1128 (compile.o, run.o): Depend upon config.h.
1129 (mostlyclean): Make the same as clean, not distclean.
1130 (clean): Remove config.log.
1131 (distclean): Remove config.h and stamp-h.
1132 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1133 invoking config.status.
1134 (config.h, stamp-h): New targets.
1135 * compile.c: Include "config.h". Don't include <sys/times.h>.
1136 Include <time.h> and <stdlib.h> if they exist. Don't include
1137 "sysdep.h".
1138 (get_now): Remove unused local b.
1139 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1140 Don't include "sysdep.h".
1141 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1142 <stdio.h>.
1143
1144 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1145
1146 * Update all FSF addresses except those in COPYING* files.
1147
1148 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1149
1150 * Makefile.in (clean): Remove run.
1151 (distclean): Remove Makefile.
1152
1153 * h8300.mt: Removed.
1154
1155 * Makefile.in, configure.in: converted to autoconf.
1156 * configure: New file, generated with autconf 2.4.
1157
1158 Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1159
1160 * compile.c (sim_do_command): New function.
1161
1162 Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1163
1164 * compile.c (get_now): Don't do if win32.
1165 (sim_resume): Poll in win32 too.
1166
1167 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1168
1169 * configure.in: Fix typo in last change.
1170
1171 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1172
1173 * run.c: parse arguments with getopt().
1174
1175 Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1176
1177 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1178 host unavailable.
1179
1180 Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1181
1182 * compile.c (sim_resume): Initialize cpu.mask.
1183
1184 Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1185
1186 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1187
1188 Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1189
1190 * compile.c: #include "bfd.h".
1191 (sim_*): Set result type to void where there isn't one.
1192 (sim_resume, default case): Set cpu.exception to SIGILL.
1193 (sim_trace): Delete.
1194 (sim_set_pc): Delete.
1195 (sim_info): Delete printf_fn arg, all callers changed.
1196 Call printf_filtered.
1197 (set_h8300h): New arg `flag', all callers changed.
1198 (sim_close): New function.
1199 (sim_load): New function.
1200 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1201 * run.c: #include <varargs.h>, "remote-sim.h".
1202 (printf_filtered): New function.
1203
1204 Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1205
1206 * compile.c (decode): Fix typo (16 bit branches).
1207 (*): Some white space clean up.
1208
1209 Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1210
1211 * compile.c (decode): Compile 16bit branches properly.
1212
1213 Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1214
1215 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1216 andc. Poll for interrupts.
1217
1218 Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1219
1220 * compile.c: #include "ansidecl.h" for remote-sim.h.
1221
1222 Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1223
1224 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1225 * compile.c: #include "remote-sim.h".
1226 (sim_resume): New arg siggnal.
1227 (sim_write): Use SIM_ADDR for type of arg addr.
1228 Always return a value.
1229 (sim_read): Ditto.
1230 (sim_store_register): Result is type int.
1231 (sim_fetch_register): Ditto.
1232 (sim_stop_reason): Renamed from sim_stop_signal.
1233 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1234 (sim_info): int result, new arg printf_fn.
1235 (sim_kill): int result.
1236 (sim_open): int result, new arg name.
1237 * run.c (main): Use sim_set_pc to set pc.
1238 Update call to sim_info.
1239
1240 Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1241
1242 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1243
1244 Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1245
1246 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1247
1248 Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1249
1250 * compile.c (sim_set_pc): Write to the pc direcly.
1251 (sim_store_register): Now value is passed by reference. (sim_read,
1252 sim_write): Return number of bytes copied.
1253
1254 Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1255
1256 * compile.c (mop): New function to do multiplies.
1257
1258 Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1259
1260 * compile.c (sim_resume): Add support for nop insn.
1261
1262 Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1263
1264 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1265
1266 * run.c (main): If h8/300h binary detected, call set_h8300h.
1267 * compile.c (sim_resume): Fix O_NEG insn.
1268
1269 Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1270
1271 * run.c (main): Add -h flag to enable h8/300h emulation.
1272 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1273 (set_h8300h): New function.
1274 (sim_resume): Add support for extu,exts insns.
1275 (sim_resume): Fix logical right shifting.
1276 (sim_resume, label alu32): Fix setting of carry flag.
1277
1278 Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1279
1280 * compile.c (sim_csize): Initialize cpu.cache.
1281
1282 Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1283
1284 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1285
1286 Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1287
1288 * run.c (main): Fix parsing of args.
1289
1290 * compile.c (sim_resume): Fix shll insn.
1291
1292 Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1293
1294 * compile.c: New file, supports H8/300H.
1295 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1296
1297 Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1298
1299 * run.c (main): Add -v to print info.
1300 * p3.c (sim_info): New function.
1301
1302 Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1303
1304 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1305
1306 Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1307
1308 * Makefile.in: Don't use cb or indent
1309 * p1.c, state.h, writecode.c: lint
1310
1311 Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1312
1313 * Makefile.in: Make SunOS halfdone VPATH work.
1314 * p1.c: Lint picked up by HP native compiler.
1315
1316 Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1317
1318 * p1.c (sim_resume): when running on dos, any character typed to
1319 the keyboard will cause a simulated exception.
1320
1321 Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1322
1323 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1324 running
1325
1326 Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1327
1328 * new
This page took 0.056559 seconds and 4 git commands to generate.