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