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