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