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