]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/h8300/ChangeLog
sim: move -Werror disabling to Makefile
[thirdparty/binutils-gdb.git] / sim / h8300 / ChangeLog
CommitLineData
982c3a65
MF
12021-06-18 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
1fef66b0
MF
52021-06-18 Mike Frysinger <vapier@gentoo.org>
6
7 * compile.c: Include sim-signal.h.
8
f9a4d543
MF
92021-06-17 Mike Frysinger <vapier@gentoo.org>
10
11 * compile.c (sim_open): Set current_target_byte_order.
12 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
13 * aclocal.m4, configure: Regenerate.
14
ef5058ae
MF
152021-06-17 Mike Frysinger <vapier@gentoo.org>
16
17 * compile.c: Include sim/callback.h.
18
a8a3d907
MF
192021-06-16 Mike Frysinger <vapier@gentoo.org>
20
21 * configure: Regenerate.
22
52d37d2c
MF
232021-06-16 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26 * config.in: Removed.
27
bcaa61f7
MF
282021-06-15 Mike Frysinger <vapier@gentoo.org>
29
30 * config.in, configure: Regenerate.
31
ba307cdd
MF
322021-06-12 Mike Frysinger <vapier@gentoo.org>
33
34 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
35
dba333c1
MF
362021-06-12 Mike Frysinger <vapier@gentoo.org>
37
38 * aclocal.m4, config.in, configure: Regenerate.
39
b15c5d7a
MF
402021-06-12 Mike Frysinger <vapier@gentoo.org>
41
42 * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE.
43 * config.in, configure: Regenerate.
44
0ef4c3f8
YS
452021-05-28 Yoshinori Sato <ysato@users.sourceforge.jp>
46
47 * sim-main.h (h8_typecodes): Add operand type OP_REG_DEC, OP_REG_INC.
48 * compile.c (decode): Rewrite oprand type for specific case.
49 (fetch_1): Add handling OP_REG_DEC and OP_REG_INC.
50 (step_once): Fix operand fetch order.
51
f4fdd845
MF
522021-05-17 Mike Frysinger <vapier@gentoo.org>
53
54 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
55
2ad10cb2
MF
562021-05-17 Mike Frysinger <vapier@gentoo.org>
57
58 * compile.c (h8_get_state): Change sd to H8300_SIM_STATE.
59 (h8_set_state): Likewise.
60 (h8_get_stats): Likewise.
61 (h8_increment_stats): Likewise.
62 (init_pointers): Likewise.
63 (step_once): Likewise.
64 (sim_info): Likewise.
65 (sim_open): Likewise.
66 (sim_load): Likewise.
67 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
68 (struct sim_state): Delete.
69 (struct h8300_sim_state): New struct.
70 (H8300_SIM_STATE): Define.
71
6df01ab8
MF
722021-05-16 Mike Frysinger <vapier@gentoo.org>
73
74 * compile.c: Replace config.h include with defs.h.
75 * sim-main.h: Delete config.h include.
76
79633c12
MF
772021-05-16 Mike Frysinger <vapier@gentoo.org>
78
79 * config.in, configure: Regenerate.
80
bb608f81
MF
812021-05-08 Mike Frysinger <vapier@gentoo.org>
82
83 * compile.c (h8_set_macS): Disable with #if 0.
84 (step_once): Set trace & intMask to 0.
85 (set_h8300h): Mark static.
86 * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
87 * configure: Regenerate.
88
aa0fca16
MF
892021-05-04 Mike Frysinger <vapier@gentoo.org>
90
91 * configure: Regenerate.
92
fe348617
MF
932021-05-01 Mike Frysinger <vapier@gentoo.org>
94
95 * config.in, configure: Regenerate.
96
66d055c7
MF
972021-04-26 Mike Frysinger <vapier@gentoo.org>
98
99 * aclocal.m4, config.in, configure: Regenerate.
100
19f6a43c
TT
1012021-04-22 Tom Tromey <tom@tromey.com>
102
103 * configure, config.in: Rebuild.
104
efd82ac7
TT
1052021-04-22 Tom Tromey <tom@tromey.com>
106
107 * configure: Rebuild.
108
2662c237
MF
1092021-04-21 Mike Frysinger <vapier@gentoo.org>
110
111 * aclocal.m4: Regenerate.
112
1f195bc3
SM
1132021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
114
115 * configure: Regenerate.
116
2c2645d7
MF
1172021-04-18 Mike Frysinger <vapier@gentoo.org>
118
119 * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
120 * configure: Regenerate.
121
37e9f182
MF
1222021-04-18 Mike Frysinger <vapier@gentoo.org>
123
124 * configure: Regenerate.
125
d5a71b11
MF
1262021-04-12 Mike Frysinger <vapier@gentoo.org>
127
128 * compile.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
129
06a88b3b
TT
1302021-04-08 Tom Tromey <tom@tromey.com>
131
132 * compile.c (init_pointers): Fix sequence point warning.
133
81e6e8ae
TT
1342021-04-08 Tom Tromey <tom@tromey.com>
135
136 * compile.c (cmdline_location): Use new-style declaration.
137
c2783492
MF
1382021-04-02 Mike Frysinger <vapier@gentoo.org>
139
140 * aclocal.m4, configure: Regenerate.
141
ebe9564b
MF
1422021-02-28 Mike Frysinger <vapier@gentoo.org>
143
144 * configure: Regenerate.
145
760b3e8b
MF
1462021-02-21 Mike Frysinger <vapier@gentoo.org>
147
148 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
149 * aclocal.m4, configure: Regenerate.
150
136da8cd
MF
1512021-02-13 Mike Frysinger <vapier@gentoo.org>
152
153 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
154 * aclocal.m4, configure: Regenerate.
155
aa09469f
MF
1562021-02-06 Mike Frysinger <vapier@gentoo.org>
157
158 * configure: Regenerate.
159
54780889
MF
1602021-01-13 Mike Frysinger <vapier@gentoo.org>
161
162 * compile.c (memory_size): Move definition to top of file.
163 (h8_get_memory, h8_set_memory): Assert access is within memory_size.
164 (h8_get_eightbit_buf): Delete.
165 h8_set_eightbit_buf, h8_get_eightbit, h8_set_eightbit): Likewise.
166 (GET_MEMORY_L): Delete eightbit references.
167 (GET_MEMORY_W, GET_MEMORY_B, SET_MEMORY_L, SET_MEMORY_W,
168 SET_MEMORY_B, init_pointers, step_once, sim_load): Likewise.
169 (sim_write): Likewise. Return i instead of size.
170 (sim_read): Check addr is within memory_size.
171 * sim-main.h (struct h8300_cpu_state): Delete eightbit.
172
5c1008a4
MF
1732021-01-11 Mike Frysinger <vapier@gentoo.org>
174
175 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
176 * configure: Regenerate.
177
68ed2854
MF
1782021-01-11 Mike Frysinger <vapier@gentoo.org>
179
180 * config.in, configure: Regenerate.
181 * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H.
182
50df264d
MF
1832021-01-09 Mike Frysinger <vapier@gentoo.org>
184
185 * configure: Regenerate.
186
46f900c0
MF
1872021-01-08 Mike Frysinger <vapier@gentoo.org>
188
189 * configure: Regenerate.
190
bfc7d04a
MF
1912021-01-07 Mike Frysinger <vapier@gentoo.org>
192
193 * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
194 h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf,
195 h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile,
196 set_simcache_size): Delete.
197 (init_pointers): Delete calls to h8_get_cache_idx_buf,
198 h8_set_cache_idx_buf, and set_simcache_size.
199 (step_once): Replace call to h8_get_cache_idx with decode. Delete
200 case 0 handling and call to compile.
201 (sim_write): Delete call to h8_set_cache_idx.
202 (sim_info): Delete call to h8_get_compiles & sim_cache_size.
203 (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf.
204 * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx,
205 cache_top, and compiles.
206
dfb856ba
MF
2072021-01-04 Mike Frysinger <vapier@gentoo.org>
208
209 * configure: Regenerate.
210
5c887dd5
JB
2112017-09-06 John Baldwin <jhb@FreeBSD.org>
212
213 * configure: Regenerate.
214
ce39bd38
MF
2152016-01-10 Mike Frysinger <vapier@gentoo.org>
216
217 * config.in, configure: Regenerate.
218
35656e95
MF
2192016-01-10 Mike Frysinger <vapier@gentoo.org>
220
221 * configure: Regenerate.
222
16f7876d
MF
2232016-01-10 Mike Frysinger <vapier@gentoo.org>
224
225 * configure: Regenerate.
226
e19418e0
MF
2272016-01-10 Mike Frysinger <vapier@gentoo.org>
228
229 * configure: Regenerate.
230
22be3fbe
MF
2312016-01-10 Mike Frysinger <vapier@gentoo.org>
232
233 * configure: Regenerate.
234
0dc73ef7
MF
2352016-01-10 Mike Frysinger <vapier@gentoo.org>
236
237 * configure: Regenerate.
238
347fe5bb
MF
2392016-01-10 Mike Frysinger <vapier@gentoo.org>
240
241 * configure: Regenerate.
242
99d8e879
MF
2432016-01-10 Mike Frysinger <vapier@gentoo.org>
244
245 * configure: Regenerate.
246
936df756
MF
2472016-01-09 Mike Frysinger <vapier@gentoo.org>
248
249 * config.in, configure: Regenerate.
250
2e3d4f4d
MF
2512016-01-06 Mike Frysinger <vapier@gentoo.org>
252
253 * compile.c (sim_open): Mark argv const.
254 (sim_create_inferior): Mark argv and env const.
255
9bbf6f91
MF
2562016-01-04 Mike Frysinger <vapier@gentoo.org>
257
258 * configure: Regenerate.
259
77cf2ef5
MF
2602016-01-03 Mike Frysinger <vapier@gentoo.org>
261
262 * compile.c (sim_open): Update sim_parse_args comment.
263
0cb8d851
MF
2642016-01-03 Mike Frysinger <vapier@gentoo.org>
265
266 * config.in, configure: Regenerate.
267
1ac72f06
MF
2682016-01-02 Mike Frysinger <vapier@gentoo.org>
269
270 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
271 * configure: Regenerate.
272
cec99e6b
MF
2732015-12-30 Mike Frysinger <vapier@gentoo.org>
274
275 * compile.c (sim_state_initialize): Delete.
276 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
277 assignment.
278
2a2757ac
MF
2792015-12-30 Mike Frysinger <vapier@gentoo.org>
280
281 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
282 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
283 drop the printf if the default case. Change all the set func calls
284 to use cpu->regs[rn] instead.
285 (h8300_reg_store): Delete sd. Change init_pointers to
286 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
287 drop the printf if the default case. Change all the get func calls
288 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
289 4 instead of -1 at the end.
290
4ca9d09e
MF
2912015-12-30 Mike Frysinger <vapier@gentoo.org>
292
293 * compile.c (lvalue): Change sim_engine_set_run_state calls to
294 sim_engine_halt. Declare local cpu.
295 (fetch_1): Likewise.
296 (store_1): Likewise.
297 (sim_resume): Rename to ...
298 (step_once): ... this. Declare init1, poll_count, reason, and
299 sigrc variables. Delete step checking. Change
300 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
301 logic. Change while(1) loop to while(0).
302 (sim_engine_run): New function.
303 * Makefile.in (SIM_OBJS): Add sim-resume.o.
304
5658c257
MF
3052015-12-30 Mike Frysinger <vapier@gentoo.org>
306
307 * compile.c (sim_open): Delete current_alignment and
308 current_target_byte_order assignments.
309 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
310 SIM_AC_OPTION_ALIGNMENT.
311 * configure: Regenerate.
312
e1211e55
MF
3132015-12-30 Mike Frysinger <vapier@gentoo.org>
314
315 * wrapper.c (sim_store_register): Rename to ...
316 (h8300_reg_store): ... this. Declare sd.
317 (sim_fetch_register): Rename to ...
318 (h8300_reg_fetch): ... this. Declare sd.
319 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
320
c78dff22
MF
3212015-12-30 Mike Frysinger <vapier@gentoo.org>
322
323 * compile.c (lreg): Delete.
324 (init_pointers): Delete lreg assignments.
325
f2089a69
MF
3262015-12-30 Mike Frysinger <vapier@gentoo.org>
327
328 * inst.h: Delete file.
329 * Makefile.in (compile.o): Delete rule.
330
1b393626
MF
3312015-12-26 Mike Frysinger <vapier@gentoo.org>
332
333 * config.in, configure: Regenerate.
334
bd3fb5b8
MF
3352015-12-24 Mike Frysinger <vapier@gentoo.org>
336
337 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
338 (h8300_option_handler): New func from common/sim-options.c.
339 (h8300_options): New options from common/sim-options.c.
340 (sim_open): Call sim_add_option_table.
341 * tconfig.h: Delete file.
342
8abe6c66
MF
3432015-12-24 Mike Frysinger <vapier@gentoo.org>
344
345 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
346
c1fc4b4d
MF
3472015-11-21 Mike Frysinger <vapier@gentoo.org>
348
349 * compile.c (sim_callback, sim_kind, myname): Delete.
350 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
351 Change sim_callback->printf_filtered calls to sim_io_printf.
352 (sim_resume): Likewise. Declare sim_callback.
353 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
354 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
355
797eee42
MF
3562015-11-15 Mike Frysinger <vapier@gentoo.org>
357
358 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
359
8ae8f9c3
MF
3602015-11-15 Mike Frysinger <vapier@gentoo.org>
361
362 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
363 * compile.c (sim_stop, sim_stop_reason): Delete.
364
d2dfd242
MF
3652015-11-14 Mike Frysinger <vapier@gentoo.org>
366
367 * Makefile.in (SIM_OBJS): Delete sim-load.o.
368
6e4f085c
MF
3692015-11-14 Mike Frysinger <vapier@gentoo.org>
370
371 * compile.c (sim_close): Delete.
372
5697b730
MF
3732015-11-09 Mike Frysinger <vapier@gentoo.org>
374
375 * compile.c (littleendian): Delete.
376 (init_pointers): Delete littleendian usage.
377
8d0978fb
MF
3782015-06-23 Mike Frysinger <vapier@gentoo.org>
379
380 * configure: Regenerate.
381
a3487082
MF
3822015-06-12 Mike Frysinger <vapier@gentoo.org>
383
384 * configure: Regenerate.
385
306f4178
MF
3862015-06-12 Mike Frysinger <vapier@gentoo.org>
387
388 * configure: Regenerate.
389
20bca71d
MF
3902015-04-18 Mike Frysinger <vapier@gentoo.org>
391
392 * sim-main.h (SIM_CPU): Delete.
393
7e83aa92
MF
3942015-04-18 Mike Frysinger <vapier@gentoo.org>
395
396 * sim-main.h (sim_cia): Delete.
397
034685f9
MF
3982015-04-17 Mike Frysinger <vapier@gentoo.org>
399
400 * sim-main.h (CIA_GET, CIA_SET): Delete.
401
27b97b40
MF
4022015-04-17 Mike Frysinger <vapier@gentoo.org>
403
404 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
405 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
406 CPU_PC_STORE for all cpus.
407 * sim-main.h (SIM_CPU): Define.
408
78e9aa70
MF
4092015-04-15 Mike Frysinger <vapier@gentoo.org>
410
411 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
412 * sim-main.h (STATE_CPU): Delete.
413
f95f4ed2
MF
4142015-04-15 Mike Frysinger <vapier@gentoo.org>
415
416 * compile.c: Include sim-options.h.
417 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
418 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
419 (STATE_CPU): Handle WITH_SMP.
420
bf12d44e
MF
4212015-04-13 Mike Frysinger <vapier@gentoo.org>
422
423 * configure: Regenerate.
424
122bbfb5
MF
4252015-04-06 Mike Frysinger <vapier@gentoo.org>
426
427 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
428
1a8faa2a
MF
4292015-04-01 Mike Frysinger <vapier@gentoo.org>
430
431 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
432
aadc9410
MF
4332015-03-31 Mike Frysinger <vapier@gentoo.org>
434
435 * config.in, configure: Regenerate.
436
523ba8f9
MF
4372015-03-24 Mike Frysinger <vapier@gentoo.org>
438
439 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
440 * tconfig.h (SIM_HAVE_PROFILE): Delete.
441
ae7d0cac
MF
4422015-03-16 Mike Frysinger <vapier@gentoo.org>
443
444 * config.in, configure: Regenerate.
445 * tconfig.in: Rename file ...
446 * tconfig.h: ... here.
447
465fb143
MF
4482015-03-14 Mike Frysinger <vapier@gentoo.org>
449
450 * Makefile.in (SIM_RUN_OBJS): Delete.
451
5cddc23a
MF
4522015-03-14 Mike Frysinger <vapier@gentoo.org>
453
454 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
455 * aclocal.m4, configure: Regenerate.
456
2d7bb758
JB
4572014-12-03 Joel Brobecker <brobecker@adacore.com>
458
459 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
460 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
461 following renaming in callback.h.
462
2974be62
AM
4632014-08-19 Alan Modra <amodra@gmail.com>
464
465 * configure: Regenerate.
466
faa743bb
RM
4672014-08-15 Roland McGrath <mcgrathr@google.com>
468
469 * configure: Regenerate.
470 * config.in: Regenerate.
471
b2b255bd
MF
4722014-03-05 Mike Frysinger <vapier@gentoo.org>
473
474 * compile.c (sim_load): Add const to prog.
475
ef3e8cf7
MF
4762014-02-17 Mike Frysinger <vapier@gentoo.org>
477
478 PR gdb/16450
479 * compile.c (control_c_sim_desc): Delete.
480 (control_c): Likewise.
481 (sim_resume): Delete signal(SIGINT) handling.
482
bf3d9781
AM
4832013-09-23 Alan Modra <amodra@gmail.com>
484
485 * configure: Regenerate.
486
31e6ad7d
MF
4872013-06-03 Mike Frysinger <vapier@gentoo.org>
488
489 * aclocal.m4, configure: Regenerate.
490
5f3ef9d0
JB
4912012-06-15 Joel Brobecker <brobecker@adacore.com>
492
493 * config.in, configure: Regenerate.
494
a6ff997c
NC
4952012-05-18 Nick Clifton <nickc@redhat.com>
496
497 PR 14072
498 * compile.c: Include config.h before system header files.
499 * sim-main.h: Likewise.
500
2232061b
MF
5012012-03-24 Mike Frysinger <vapier@gentoo.org>
502
503 * aclocal.m4, config.in, configure: Regenerate.
504
db2e4d67
MF
5052011-12-03 Mike Frysinger <vapier@gentoo.org>
506
507 * aclocal.m4: New file.
508 * configure: Regenerate.
509
9c082ca8
MF
5102011-10-17 Mike Frysinger <vapier@gentoo.org>
511
512 * configure.ac: Change include to common/acinclude.m4.
513
6ffe910a
MF
5142011-10-17 Mike Frysinger <vapier@gentoo.org>
515
516 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
517 call. Replace common.m4 include with SIM_AC_COMMON.
518 * configure: Regenerate.
519
2419798b
MF
5202011-07-05 Mike Frysinger <vapier@gentoo.org>
521
522 * compile.c (sim_do_command): Delete.
523
dae477fe
AB
5242011-01-11 Andrew Burgess <aburgess@broadcom.com>
525
526 * compile.c (sim_store_register): Update return value to
527 match new API.
528
5558e7e6
MF
5292010-04-14 Mike Frysinger <vapier@gentoo.org>
530
531 * compile.c (sim_write): Add const to buffer arg.
532
3725885a
RW
5332010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
534
535 * configure: Regenerate.
536
3a6c31f9
YS
5372009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
538 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
539 Index registers not masked memory areas.
540 Only simply increment or decrement.
541 * compile.c(store_1): Ditto.
542
d6416cdc
RW
5432009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
544
81ecdfbb
RW
545 * config.in: Regenerate.
546 * configure: Likewise.
547
d6416cdc
RW
548 * configure: Regenerate.
549
c4212d37
JS
5502008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
551
552 * compile.c: Add const to remove warning.
553
b5bd9624
HPN
5542008-07-11 Hans-Peter Nilsson <hp@axis.com>
555
556 * configure: Regenerate to track ../common/common.m4 changes.
557 * config.in: Ditto.
558
6efef468 5592008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
560 Daniel Jacobowitz <dan@codesourcery.com>
561 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
562
563 * configure: Regenerate.
564
917c78f9
DJ
5652007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
566
567 * compile.c (sim_resume): Fix the last byte of ARGV for
568 SYS_CMDLINE.
569
edc5d9ec
HPN
5702006-12-21 Hans-Peter Nilsson <hp@axis.com>
571
572 * acconfig.h: Remove.
573 * config.in: Regenerate.
574
b86015ea
YS
5752006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
576
577 * compile.c (OBITOP): Bit address mask low three bit.
578 * compile.c (decode): Fix warning.
579
e85e3205
RE
5802006-06-13 Richard Earnshaw <rearnsha@arm.com>
581
582 * configure: Regenerated.
583
2f0122dc
DJ
5842006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
585
586 * configure: Regenerated.
587
20e95c23
DJ
5882006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
589
590 * configure: Regenerated.
591
2b193c4a
MK
5922005-03-23 Mark Kettenis <kettenis@gnu.org>
593
594 * configure: Regenerate.
595
35695fd6
AC
5962005-01-14 Andrew Cagney <cagney@gnu.org>
597
598 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
599 explicit call to AC_CONFIG_HEADER.
600 * configure: Regenerate.
601
f0569246
AC
6022005-01-12 Andrew Cagney <cagney@gnu.org>
603
604 * configure.ac: Update to use ../common/common.m4.
605 * configure: Re-generate.
606
38f48d72
AC
6072005-01-11 Andrew Cagney <cagney@localhost.localdomain>
608
609 * configure: Regenerated to track ../common/aclocal.m4 changes.
610
b7026657
AC
6112005-01-07 Andrew Cagney <cagney@gnu.org>
612
613 * configure.ac: Rename configure.in, require autoconf 2.59.
614 * configure: Re-generate.
615
379832de
HPN
6162004-12-08 Hans-Peter Nilsson <hp@axis.com>
617
618 * configure: Regenerate for ../common/aclocal.m4 update.
619
e4d3c499
AO
6202004-06-28 Alexandre Oliva <aoliva@redhat.com>
621
e073c474
AO
622 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
623 * compile.c (sim_resume): Make sure that dst.reg refers to the
624 right register byte in mova/sz.l @(dd,RnL),ERn.
625 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
626 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
627 mulxs, divs and divxs.
628
e4d3c499
AO
629 * compile.c (sim_load): Update sd->memory_size.
630
d6fd015d 6312004-06-10 Michael Snyder <msnyder@redhat.com>
3973a7d3 632
d6fd015d
MS
633 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
634 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
635
3d29fdb4
MS
6362004-01-05 Michael Snyder <msnyder@redhat.com>
637
638 * compile.c (sim_load): Don't pass a type to bfd_openr.
639
f5d3df96
MS
6402003-12-16 Michael Snyder <msnyder@redhat.com>
641
642 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
643 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
644
454d0511
DD
6452003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
646
72f4393d 647 * compile.c (set_h8300h): Initialize globals to zero.
454d0511 648
29b52f93
KH
6492003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
650
651 * compile.c (h8300_normal_mode): New.
652 (SP): Handle normal mode.
653 (bitfrom): Use normal mode flag to return suitable value.
654 (lvalue): Use normal mode flag to return command line location.
655 (decode): Decode instruction correctly for normal mode.
656 (init_pointers): Initialise memory correctly for normal mode.
657 (sim_resume): Handle cases for normal mode using h8300_normal_mode
658 flag.
659 (sim_store_register): Handle 2 byte PC for normal mode.
660 (sim_fetch_register): Handle 2 byte PC for normal mode.
661 (set_h8300h): Set normal mode flag as per architechture.
662 (sim_load): Allocate 64K for normal mode instead of bigger memory.
663
f408565c
MS
6642003-07-18 Michael Snyder <msnyder@redhat.com>
665
666 * compile.c (decode): Enhancements for mova.
667 Initialize cst, reg, and rdisp inside the loop, for each
668 new instruction. Defer correction of the disp2 values until
669 later, and then adjust them by the size of the first operand,
670 rather than the size of the instruction.
671 (sim_resume): For mova, adjust the size of the second operand
672 according to the type of the first operand (INDEXB vs. INDEXW).
673 In cases where there is only one operand, the other two must
674 both be composed on the fly.
675
e22fef83
MS
6762003-07-22 Michael Snyder <msnyder@redhat.com>
677
678 * compile.c (sim_resume): Revert 6-24 change, it does not
679 work with gdb breakpoints.
680
0f42aa71
MS
6812003-07-17 Michael Snyder <msnyder@redhat.com>
682
55acb21b
MS
683 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
684 (decode): IMM16 is always zero-extended.
0f42aa71 685
f0861129
MS
6862003-06-24 Michael Snyder <msnyder@redhat.com>
687
688 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
689 * compile.c (sim_resume): Use the above to return stop signal.
690
9f70f8ec
MS
6912003-06-18 Michael Snyder <msnyder@redhat.com>
692
693 * compile.c: Replace "Hitachi" with "Renesas".
694 (decode): Distinguish AV_H8S from AV_H8H.
695 (sim_resume): H8SX can use any register for TAS.
696 (decode): Add support for VECIND.
697 (sim_resume): Implement rte/l and rts/l.
698 (GETSR): New macro (actually old macro reincarnated).
699 (decode): Add handling for IMM2.
700 (sim_resume): Drop extra block around jmp, jsr, rts.
701 Add handling for trapa and rte.
702 For divxu.b, change 0xffff mask to 0xff.
703 (set_h8300h): Add bfd_mach_h8300sxn machine.
704
18ad32b5
MS
7052003-06-18 Corinna Vinschen <vinschen@redhat.com>
706
707 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
708 and SBR, VBR.
709
173b1c98
MS
7102003-06-05 Michael Snyder <msnyder@redhat.com>
711
712 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
713 (sim_store_register): Ditto.
714
e8c1a4e7
MS
7152003-06-04 Michael Snyder <msnyder@redhat.com>
716
717 * compile.c (sim_info): Fix typo in output.
718
173b1c98 719 * compile.c (set_h8300h): Replace 'flag' arguments
27ebfdf4
MS
720 with a bfd_machine argument, and decode it inline.
721 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
722
dc5c3759
MS
7232003-06-03 Michael Snyder <msnyder@redhat.com>
724
e8c1a4e7
MS
725 * compile.c: Add h8300sx insns and addressing modes.
726 * sim-main.h: Replaces h8300/inst.h.
727 * Makefile.in: Tweak to bring in some sim/common stuff.
dc5c3759 728
b7f97e9c
MS
7292003-04-13 Michael Snyder <msnyder@redhat.com>
730
731 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
732
d1360fb0
V
7332003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
734
72f4393d 735 * compile.c (cmdline_location): Added function to
d1360fb0
V
736 return the location of 8-bit (256 locations) where the
737 Command Line arguments would be stored.
72f4393d 738 (decode): Added a TRAP to 0xcc for Commandline
d1360fb0
V
739 processing using pseudo opcode O_SYS_CMDLINE.
740 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
72f4393d 741 (sim_create_inferior): Setting a pointer to
d1360fb0
V
742 Commandline Args array.
743 * inst.h: Added a new variable ptr_command_line for
744 storing pointer to Commandline array.
745
bf174226
V
7462003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
747
748 * compile.c (decode): Added code for some more magic traps.
749 * compile.c (sim_resume): Added support for File I/O system
750 calls through callback to host_system.
751 System calls provided support for :
752 open, read, write, lseek, close, stat, fstat
753 Only basic support for stat and fstat.
754
6b4a8935
AC
7552003-02-27 Andrew Cagney <cagney@redhat.com>
756
757 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
758
ec38ce99
KH
7592003-02-05 Kazu Hirata <kazu@cs.umass.edu>
760
761 * compile.c (init_pointers): Abort if wreg never gets initialized.
762 (sim_resume): Fix the handling of exts.w and extu.w.
763
ad4cda16
KH
7642003-01-31 Kazu Hirata <kazu@cs.umass.edu>
765
766 * compile.c (sim_resume): Fix the handling of bxor.
767
a4f27e3e
MS
7682003-01-16 Michael Snyder <msnyder@redhat.com>
769
770 * compile.c: Change K&R function definitions to ISO.
771 (fetch): Make static, and eliminate unused parameter 'n'.
772
d0fe2f7e
KH
7732002-12-26 Kazu Hirata <kazu@cs.umass.edu>
774
775 * compile.c: Fix formatting.
776 * inst.h: Likewise.
777
a64bfde3
AV
7782002-07-29 Andrey Volkov <avolkov@transas.com>
779
780 * compile.c: Include "gdb/sim-h8300.h"
781 * Makefile.in: Add dependences on "inst.h",
782 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
783
c8cca39f
AC
7842002-06-16 Andrew Cagney <ac131313@redhat.com>
785
786 * configure: Regenerated to track ../common/aclocal.m4 changes.
787
3c25f8c7
AC
7882002-06-08 Andrew Cagney <cagney@redhat.com>
789
790 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
791
d1335144
KH
7922002-05-19 Kazu Hirata <kazu@cs.umass.edu>
793
794 * compile.c: Fix formatting.
795
c3f4437e
KH
7962002-05-18 Kazu Hirata <kazu@cs.umass.edu>
797
798 * compile.c: Fix formatting.
799
6147b1f6
AV
8002002-05-17 Andrey Volkov (avolkov@transas.com)
801
802 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
72f4393d 803
fc974602
AV
8042002-05-17 Andrey Volkov (avolkov@transas.com)
805
806 * compile.c: Add support of EXR register
807 * inst.h: Ditto.
72f4393d 808
a8cdafbd
AV
8092002-05-17 Andrey Volkov (avolkov@transas.com)
810
811 * compile.c: Made h8300s as new target, not h8300h alias.
812 * inst.h: Ditto.
72f4393d 813
f6225c96
AV
8142002-05-17 Andrey Volkov (avolkov@transas.com)
815
72f4393d 816 * compile.c: Add additional CCR flags (I,UI,H,U)
f6225c96 817
3b02cf92
AV
8182002-05-17 Andrey Volkov (avolkov@transas.com)
819
72f4393d 820 * compile.c: Change literal regnumbers to REGNUMS.
3b02cf92
AV
821 Fix instruction and cycles counting
822
de9b1892
KH
8232001-12-20 Kazu Hirata <kazu@hxi.com>
824
825 * compile.c: Fix formatting.
826
2ea716f6
KH
8272001-12-20 Kazu Hirata <kazu@hxi.com>
828
829 * compile.c: Fix comment typos.
830
6d028502
KH
8312000-08-10 Kazu Hirata <kazu@hxi.com>
832
833 * compile.c (decode): Clean up the code.
834
0a17cd59
AC
8352000-06-15 Kazu Hirata <kazu@hxi.com>
836
837 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
838 correctly.
839
97ee9e5a
FCE
8402000-06-20 Frank Ch. Eigler <fche@redhat.com>
841
842 * compile.c: Don't include "wait.h".
843 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
844 instead of WIF* from host.
845
98ecb0a7
FCE
8462000-06-13 Frank Ch. Eigler <fche@redhat.com>
847
848 * compile.c, writecode.c: Correct typo.
849
0ef9643e
JL
8502000-06-13 Kazu Hirata <kazu@hxi.com>
851
852 * compile.c: Fix formatting.
853
eb2d80b4
AC
854Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
855
856 * configure: Regenerated to track ../common/aclocal.m4 changes.
857
d4f3574e
SS
858Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
859
860 * configure: Regenerated to track ../common/aclocal.m4 changes.
861
cd0fc7c3
SS
8621999-05-08 Felix Lee <flee@cygnus.com>
863
864 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 865
7a292a7a
SS
8661999-04-02 Keith Seitz <keiths@cygnus.com>
867
868 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
869 frequency at which the poll_quit callback is used.
870 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
871
c906108c
SS
872Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
873
72f4393d 874 * configure: Regenerated to track ../common/aclocal.m4 changes.
c906108c
SS
875
876Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
877
878 * configure: Regenerated to track ../common/aclocal.m4 changes.
879 * config.in: Ditto.
880
881Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
882
883 * acconfig.h: New file.
884 * configure.in: Reverted change of Apr 24; use sinclude again.
885
886Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
887
888 * configure: Regenerated to track ../common/aclocal.m4 changes.
889 * config.in: Ditto.
890
891Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
892
893 * configure.in: Don't call sinclude.
894
895Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
896
897 * configure: Regenerated to track ../common/aclocal.m4 changes.
898
899Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
900
901 * configure: Regenerated to track ../common/aclocal.m4 changes.
902
903Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
904
905 * configure: Regenerated to track ../common/aclocal.m4 changes.
906
907Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
908
909 * configure: Regenerated to track ../common/aclocal.m4 changes.
910
911Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
912
913 * compile.c (sim_store_register, sim_fetch_register): Pass in
914 length parameter. Return -1.
915
916Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
917
918 * configure: Regenerated to track ../common/aclocal.m4 changes.
919
920Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
921
922 * configure: Regenerated to track ../common/aclocal.m4 changes.
923
924Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
925
926 * configure: Regenerated to track ../common/aclocal.m4 changes.
927
928Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
929
930 * configure: Regenerated to track ../common/aclocal.m4 changes.
931 * config.in: Ditto.
932
933Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
934
935 * configure: Regenerated to track ../common/aclocal.m4 changes.
936
937Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
938
939 * compile.c: #include stdio.h for definition of NULL on
940 some platforms.
941
942Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
943
944 * compile.c (sim_load): Pass lma_p and sim_write args to
945 sim_load_file.
946
947Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
948
949 * configure: Regenerated to track ../common/aclocal.m4 changes.
950
951Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
952
953 * configure: Regenerated to track ../common/aclocal.m4 changes.
954
955Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
956
957 * configure: Regenerated to track ../common/aclocal.m4 changes.
958
959Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
960
961 * configure: Regenerated to track ../common/aclocal.m4 changes.
962
963Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
964
965 * configure: Regenerated to track ../common/aclocal.m4 changes.
966
967Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
968
969 * Makefile.in (compile.o): Depend on config.h in local directory.
970
971Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
972
973 * configure: Regenerated to track ../common/aclocal.m4 changes.
974
975Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
976
977 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
978 with sim/common.
979 * configure.in: check for sys/param.h
980 * compile.c: #ifdef HAVE_SYS_PARAM_H.
981 #define SIGTRAP for wingdb.
982 (sim_resume): poll keyboard at least once per call.
983 (sim_resume): use host_callback instead of printf for syscall
984 output.
985
986Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
987
988 * configure: Regenerated to track ../common/aclocal.m4 changes.
989
990Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
991
992 * configure: Regenerated to track ../common/aclocal.m4 changes.
993 * config.in: Ditto.
994
995Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
996
997 * compile.c (sim_kill): Delete.
998 (sim_create_inferior): Add ABFD argument.
999 (sim_load): Move setting of PC from here.
1000 (sim_create_inferior): To here.
1001 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
1002 the sim_load code should be moved to sim_open.
1003
1004Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1005
1006 * configure: Regenerated to track ../common/aclocal.m4 changes.
1007 * config.in: Ditto.
1008
1009Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
1010
1011 * compile.c (sim_open): Add ABFD argument.
1012
1013Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
1014
1015 * compile.c (sim_open): Add callback argument.
1016 (sim_set_callbacks): Delete SIM_DESC argument.
1017
1018Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
1019
1020 * compile.c (sim_load): Call bfd_get_mach instead of examining
1021 bfd fields directly.
1022 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
1023
1024Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1025
1026 * configure: Regenerated to track ../common/aclocal.m4 changes.
1027
1028Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
1029
1030 * compile.c (sim_resume): Use poll_quit callback.
1031 (sim_stop): New function.
1032
1033Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
1034
1035 * Makefile.in (SIM_OBJS): Add sim-load.o.
1036 * compile.c (sim_kind, myname): New static locals.
1037 (sim_open): Set sim_kind, myname.
1038 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
1039 Call sim_load_file to load file into simulator. Set start address
1040 from bfd.
1041 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1042
1043Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1044
1045 * configure: Regenerated to track ../common/aclocal.m4 changes.
1046 * config.in: Ditto.
1047
1048Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1049
1050 * compile.c (sim_open): New arg `kind'.
1051
1052 * configure: Regenerated to track ../common/aclocal.m4 changes.
1053
1054Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1055
1056 * configure: Regenerated to track ../common/aclocal.m4 changes.
1057
1058Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1059
1060 * configure: Regenerated to track ../common/aclocal.m4 changes.
1061
1062Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1063
1064 * configure: Re-generate.
1065
1066Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1067
1068 * configure: Regenerate to track ../common/aclocal.m4 changes.
1069
1070Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
1071
1072 * compile.c (sim_open): New SIM_DESC result. Argument is now in
1073 argv form.
1074 (other sim_*): New SIM_DESC argument.
1075
1076Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
1077
1078 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1079 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1080 * configure.in: sinclude ../common/aclocal.m4.
1081 * configure: Regenerated.
1082
1083Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1084
1085 * configure configure.in Makefile.in: Update to new configure
1086 scheme which is more compatible with WinGDB builds.
1087 * configure.in: Improve comment on how to run autoconf.
1088 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1089 * Makefile.in: Use autoconf substitution to install common
1090 makefile fragment.
1091
1092Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
1093
1094 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
1095 (SIM_OBJS): Define.
1096 * configure.in: Simplify using macros in ../common/aclocal.m4.
1097 * configure: Regenerated.
1098 * inst.h (enum sim_state): Define.
1099 (cpu_state_type): New member `state'. Set it whenever `exception'
1100 is set.
1101 * compile.c (sim_callback): New global.
1102 (sim_set_simcache_size): Renamed from sim_csize.
1103 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
1104 'cus it can't work. Change main loop exit test to use cpu.state.
1105 (sim_trace): New function.
1106 (sim_stop_reason): Add right way to set results, but #if 0 out.
1107 (sim_size): New function.
1108 (sim_info): Redirect calls to printf_filtered through callback.
1109 (sim_set_callbacks): Record callback.
1110 * run.c: Deleted, using one in ../common now.
1111 * tconfig.in: New file.
1112
1113Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1114
1115 * Makefile.in (mostlyclean): Don't remove config.log here.
1116
1117Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
1118
1119 * compile.c (sim_resume): rts, sleep, bpt and nop have
1120 no associated "size".
1121
1122Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
1123
1124 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
1125
1126Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
1127
1128 * run.c (main): Don't "load" sections which don't have
1129 SEC_LOAD set.
1130 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
1131 of OSHIFTS.
1132 (ONOT): Define.
1133 (sim_resume, shift/rotate cases): Add support for shift/rotate
1134 by two bits.
1135 (OSHIFTS): Corresponding changes.
1136
1137Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
1138
1139 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
1140
1141Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
1142
1143 * compile.c (h8300smode): Declare.
1144
1145Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1146
72f4393d
L
1147 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1148 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1149 (docdir): Removed.
1150 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1151 (AC_PROG_INSTALL): Added.
1152 * configure: Rebuilt.
c906108c
SS
1153
1154Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1155
1156 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
1157 * run.c (main): Treat the H8/S like the H8/300H for now.
72f4393d 1158
c906108c
SS
1159Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
1160
1161 * compile.c (SEXTCHAR): Clear upper bits when sign
1162 bit is clear.
1163
1164Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
1165
1166 * compile.c (sim_resume): Correctly handle divu.
1167
1168Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
1169
1170 * compile.c (sim_resume): Never allow the PC to have an
1171 odd value.
1172
1173Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
1174
1175 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
1176 separate memory is allocate for the 8-bit area.
1177 (struct cpu_state_type): Add new "eightbit' field.
1178 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
1179 area.
1180 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
1181 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
1182 (init_pointers): Initialize space for the 8-bit area.
1183 (sim_write): Handle writing into the 8-bit area.
1184 (sim_read): Handle reading from the 8-bit area.
1185 (sim_load): Reallocate space for the 8-bit area.
1186
1187 * compile.c (sim_load): Re-allocate memory for the simulator
1188 here.
1189
1190Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
1191
1192 * compile.c (sim_resume): Fix and simplify overflow and carry
1193 handling for 32bit ALU insns.
1194
1195Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
1196
1197 * compile.c (sim_resume): Fix overflow checks for ALU insns.
1198
1199Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
1200
1201 * compile.c (decode): Use "bit" to hold L_3 immediates instead
1202 of holding them in "abs". Handle ABS8MEM memory references aka
1203 8-bit area. Replace ABSMOV references with ABS8MEM.
1204
1205Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
1206
1207 * compile.c (fetch): Handle accesses to the exception/function
1208 vectors.
1209
1210Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
1211
1212 * compile.c: #include "wait.h".
1213 (sim_resume, sleep insn): Check program exit status in r0.
1214 (sim_resume, shift insns): Fix setting of overflow flag for shal.
1215 * run.c: #include <signal.h>.
1216 (main): Abort if program got SIGILL.
1217 Print error message if argument is invalid.
1218 (usage): Improve text.
1219
1220Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
1221
1222 * configure: Regenerate with autoconf 2.7.
1223
1224Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
1225
1226 * inst.h (MPOWER,MSIZE): Deleted.
1227 (H8300{,H}_MSIZE): Define.
1228 * compile.c (memory_size): New static global.
1229 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
1230 (sim_write,sim_read): Use memory_size.
1231
1232Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
1233
1234 * compile.c (sim_set_callbacks): New.
1235
1236Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
1237
1238 * Makefile.in (BISON): Remove macro.
1239
1240Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
1241
1242 * Makefile.in (maintainer-clean): New synonym for realclean.
1243
1244Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
1245
1246 * Makefile.in (install): Don't install in $(tooldir).
1247
1248 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
1249 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
1250 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
1251 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
1252 creating config.h.
1253 * configure: Rebuild.
1254 * config.in: New file, created by autoheader.
1255 * Makefile.in (AR): Define as @AR@.
1256 (CC): New variable, defined as @CC@.
1257 (CFLAGS): Define as @CFLAGS@.
1258 (RANLIB): Define as @RANLIB@.
1259 (HDEFINES, TDEFINES): New variables.
1260 (@host_makefile_frag@): Remove.
1261 (compile.o, run.o): Depend upon config.h.
1262 (mostlyclean): Make the same as clean, not distclean.
1263 (clean): Remove config.log.
1264 (distclean): Remove config.h and stamp-h.
1265 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1266 invoking config.status.
1267 (config.h, stamp-h): New targets.
1268 * compile.c: Include "config.h". Don't include <sys/times.h>.
1269 Include <time.h> and <stdlib.h> if they exist. Don't include
1270 "sysdep.h".
1271 (get_now): Remove unused local b.
1272 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1273 Don't include "sysdep.h".
1274 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1275 <stdio.h>.
1276
1277Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1278
1279 * Update all FSF addresses except those in COPYING* files.
1280
1281Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1282
1283 * Makefile.in (clean): Remove run.
1284 (distclean): Remove Makefile.
1285
1286 * h8300.mt: Removed.
1287
1288 * Makefile.in, configure.in: converted to autoconf.
1289 * configure: New file, generated with autconf 2.4.
1290
1291Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1292
1293 * compile.c (sim_do_command): New function.
1294
1295Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1296
1297 * compile.c (get_now): Don't do if win32.
1298 (sim_resume): Poll in win32 too.
1299
1300Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1301
1302 * configure.in: Fix typo in last change.
1303
1304Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1305
1306 * run.c: parse arguments with getopt().
1307
1308Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1309
1310 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1311 host unavailable.
1312
1313Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1314
1315 * compile.c (sim_resume): Initialize cpu.mask.
1316
1317Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1318
1319 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1320
1321Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1322
1323 * compile.c: #include "bfd.h".
1324 (sim_*): Set result type to void where there isn't one.
1325 (sim_resume, default case): Set cpu.exception to SIGILL.
1326 (sim_trace): Delete.
1327 (sim_set_pc): Delete.
1328 (sim_info): Delete printf_fn arg, all callers changed.
1329 Call printf_filtered.
1330 (set_h8300h): New arg `flag', all callers changed.
1331 (sim_close): New function.
1332 (sim_load): New function.
1333 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1334 * run.c: #include <varargs.h>, "remote-sim.h".
1335 (printf_filtered): New function.
1336
1337Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1338
1339 * compile.c (decode): Fix typo (16 bit branches).
1340 (*): Some white space clean up.
1341
1342Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1343
1344 * compile.c (decode): Compile 16bit branches properly.
1345
1346Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1347
1348 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1349 andc. Poll for interrupts.
1350
1351Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1352
1353 * compile.c: #include "ansidecl.h" for remote-sim.h.
1354
1355Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1356
1357 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1358 * compile.c: #include "remote-sim.h".
1359 (sim_resume): New arg siggnal.
1360 (sim_write): Use SIM_ADDR for type of arg addr.
1361 Always return a value.
1362 (sim_read): Ditto.
1363 (sim_store_register): Result is type int.
1364 (sim_fetch_register): Ditto.
1365 (sim_stop_reason): Renamed from sim_stop_signal.
1366 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1367 (sim_info): int result, new arg printf_fn.
1368 (sim_kill): int result.
1369 (sim_open): int result, new arg name.
1370 * run.c (main): Use sim_set_pc to set pc.
1371 Update call to sim_info.
1372
1373Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1374
1375 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1376
1377Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1378
1379 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1380
1381Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1382
1383 * compile.c (sim_set_pc): Write to the pc direcly.
1384 (sim_store_register): Now value is passed by reference. (sim_read,
1385 sim_write): Return number of bytes copied.
1386
1387Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1388
1389 * compile.c (mop): New function to do multiplies.
1390
1391Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1392
1393 * compile.c (sim_resume): Add support for nop insn.
1394
1395Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1396
1397 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1398
1399 * run.c (main): If h8/300h binary detected, call set_h8300h.
1400 * compile.c (sim_resume): Fix O_NEG insn.
1401
1402Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1403
1404 * run.c (main): Add -h flag to enable h8/300h emulation.
1405 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1406 (set_h8300h): New function.
1407 (sim_resume): Add support for extu,exts insns.
1408 (sim_resume): Fix logical right shifting.
1409 (sim_resume, label alu32): Fix setting of carry flag.
72f4393d 1410
c906108c
SS
1411Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1412
1413 * compile.c (sim_csize): Initialize cpu.cache.
1414
1415Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1416
1417 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1418
1419Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1420
1421 * run.c (main): Fix parsing of args.
1422
1423 * compile.c (sim_resume): Fix shll insn.
1424
1425Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1426
1427 * compile.c: New file, supports H8/300H.
1428 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1429
1430Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1431
1432 * run.c (main): Add -v to print info.
1433 * p3.c (sim_info): New function.
1434
1435Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1436
1437 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1438
1439Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1440
1441 * Makefile.in: Don't use cb or indent
1442 * p1.c, state.h, writecode.c: lint
1443
1444Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1445
1446 * Makefile.in: Make SunOS halfdone VPATH work.
1447 * p1.c: Lint picked up by HP native compiler.
1448
1449Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1450
1451 * p1.c (sim_resume): when running on dos, any character typed to
1452 the keyboard will cause a simulated exception.
1453
1454Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1455
1456 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1457 running
1458
1459Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1460
72f4393d 1461 * new