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