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