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