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