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