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