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