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