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