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