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