sim: m32c: add a basic testsuite
[deliverable/binutils-gdb.git] / sim / h8300 / ChangeLog
CommitLineData
5697b730
MF
12015-11-09 Mike Frysinger <vapier@gentoo.org>
2
3 * compile.c (littleendian): Delete.
4 (init_pointers): Delete littleendian usage.
5
8d0978fb
MF
62015-06-23 Mike Frysinger <vapier@gentoo.org>
7
8 * configure: Regenerate.
9
a3487082
MF
102015-06-12 Mike Frysinger <vapier@gentoo.org>
11
12 * configure: Regenerate.
13
306f4178
MF
142015-06-12 Mike Frysinger <vapier@gentoo.org>
15
16 * configure: Regenerate.
17
20bca71d
MF
182015-04-18 Mike Frysinger <vapier@gentoo.org>
19
20 * sim-main.h (SIM_CPU): Delete.
21
7e83aa92
MF
222015-04-18 Mike Frysinger <vapier@gentoo.org>
23
24 * sim-main.h (sim_cia): Delete.
25
034685f9
MF
262015-04-17 Mike Frysinger <vapier@gentoo.org>
27
28 * sim-main.h (CIA_GET, CIA_SET): Delete.
29
27b97b40
MF
302015-04-17 Mike Frysinger <vapier@gentoo.org>
31
32 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
33 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
34 CPU_PC_STORE for all cpus.
35 * sim-main.h (SIM_CPU): Define.
36
78e9aa70
MF
372015-04-15 Mike Frysinger <vapier@gentoo.org>
38
39 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
40 * sim-main.h (STATE_CPU): Delete.
41
f95f4ed2
MF
422015-04-15 Mike Frysinger <vapier@gentoo.org>
43
44 * compile.c: Include sim-options.h.
45 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
46 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
47 (STATE_CPU): Handle WITH_SMP.
48
bf12d44e
MF
492015-04-13 Mike Frysinger <vapier@gentoo.org>
50
51 * configure: Regenerate.
52
122bbfb5
MF
532015-04-06 Mike Frysinger <vapier@gentoo.org>
54
55 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
56
1a8faa2a
MF
572015-04-01 Mike Frysinger <vapier@gentoo.org>
58
59 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
60
aadc9410
MF
612015-03-31 Mike Frysinger <vapier@gentoo.org>
62
63 * config.in, configure: Regenerate.
64
523ba8f9
MF
652015-03-24 Mike Frysinger <vapier@gentoo.org>
66
67 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
68 * tconfig.h (SIM_HAVE_PROFILE): Delete.
69
ae7d0cac
MF
702015-03-16 Mike Frysinger <vapier@gentoo.org>
71
72 * config.in, configure: Regenerate.
73 * tconfig.in: Rename file ...
74 * tconfig.h: ... here.
75
465fb143
MF
762015-03-14 Mike Frysinger <vapier@gentoo.org>
77
78 * Makefile.in (SIM_RUN_OBJS): Delete.
79
5cddc23a
MF
802015-03-14 Mike Frysinger <vapier@gentoo.org>
81
82 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
83 * aclocal.m4, configure: Regenerate.
84
2d7bb758
JB
852014-12-03 Joel Brobecker <brobecker@adacore.com>
86
87 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
88 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
89 following renaming in callback.h.
90
2974be62
AM
912014-08-19 Alan Modra <amodra@gmail.com>
92
93 * configure: Regenerate.
94
faa743bb
RM
952014-08-15 Roland McGrath <mcgrathr@google.com>
96
97 * configure: Regenerate.
98 * config.in: Regenerate.
99
b2b255bd
MF
1002014-03-05 Mike Frysinger <vapier@gentoo.org>
101
102 * compile.c (sim_load): Add const to prog.
103
ef3e8cf7
MF
1042014-02-17 Mike Frysinger <vapier@gentoo.org>
105
106 PR gdb/16450
107 * compile.c (control_c_sim_desc): Delete.
108 (control_c): Likewise.
109 (sim_resume): Delete signal(SIGINT) handling.
110
bf3d9781
AM
1112013-09-23 Alan Modra <amodra@gmail.com>
112
113 * configure: Regenerate.
114
31e6ad7d
MF
1152013-06-03 Mike Frysinger <vapier@gentoo.org>
116
117 * aclocal.m4, configure: Regenerate.
118
5f3ef9d0
JB
1192012-06-15 Joel Brobecker <brobecker@adacore.com>
120
121 * config.in, configure: Regenerate.
122
a6ff997c
NC
1232012-05-18 Nick Clifton <nickc@redhat.com>
124
125 PR 14072
126 * compile.c: Include config.h before system header files.
127 * sim-main.h: Likewise.
128
2232061b
MF
1292012-03-24 Mike Frysinger <vapier@gentoo.org>
130
131 * aclocal.m4, config.in, configure: Regenerate.
132
db2e4d67
MF
1332011-12-03 Mike Frysinger <vapier@gentoo.org>
134
135 * aclocal.m4: New file.
136 * configure: Regenerate.
137
9c082ca8
MF
1382011-10-17 Mike Frysinger <vapier@gentoo.org>
139
140 * configure.ac: Change include to common/acinclude.m4.
141
6ffe910a
MF
1422011-10-17 Mike Frysinger <vapier@gentoo.org>
143
144 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
145 call. Replace common.m4 include with SIM_AC_COMMON.
146 * configure: Regenerate.
147
2419798b
MF
1482011-07-05 Mike Frysinger <vapier@gentoo.org>
149
150 * compile.c (sim_do_command): Delete.
151
dae477fe
AB
1522011-01-11 Andrew Burgess <aburgess@broadcom.com>
153
154 * compile.c (sim_store_register): Update return value to
155 match new API.
156
5558e7e6
MF
1572010-04-14 Mike Frysinger <vapier@gentoo.org>
158
159 * compile.c (sim_write): Add const to buffer arg.
160
3725885a
RW
1612010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
162
163 * configure: Regenerate.
164
3a6c31f9
YS
1652009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
166 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
167 Index registers not masked memory areas.
168 Only simply increment or decrement.
169 * compile.c(store_1): Ditto.
170
d6416cdc
RW
1712009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
172
81ecdfbb
RW
173 * config.in: Regenerate.
174 * configure: Likewise.
175
d6416cdc
RW
176 * configure: Regenerate.
177
c4212d37
JS
1782008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
179
180 * compile.c: Add const to remove warning.
181
b5bd9624
HPN
1822008-07-11 Hans-Peter Nilsson <hp@axis.com>
183
184 * configure: Regenerate to track ../common/common.m4 changes.
185 * config.in: Ditto.
186
6efef468 1872008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
188 Daniel Jacobowitz <dan@codesourcery.com>
189 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
190
191 * configure: Regenerate.
192
917c78f9
DJ
1932007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
194
195 * compile.c (sim_resume): Fix the last byte of ARGV for
196 SYS_CMDLINE.
197
edc5d9ec
HPN
1982006-12-21 Hans-Peter Nilsson <hp@axis.com>
199
200 * acconfig.h: Remove.
201 * config.in: Regenerate.
202
b86015ea
YS
2032006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
204
205 * compile.c (OBITOP): Bit address mask low three bit.
206 * compile.c (decode): Fix warning.
207
e85e3205
RE
2082006-06-13 Richard Earnshaw <rearnsha@arm.com>
209
210 * configure: Regenerated.
211
2f0122dc
DJ
2122006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
213
214 * configure: Regenerated.
215
20e95c23
DJ
2162006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
217
218 * configure: Regenerated.
219
2b193c4a
MK
2202005-03-23 Mark Kettenis <kettenis@gnu.org>
221
222 * configure: Regenerate.
223
35695fd6
AC
2242005-01-14 Andrew Cagney <cagney@gnu.org>
225
226 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
227 explicit call to AC_CONFIG_HEADER.
228 * configure: Regenerate.
229
f0569246
AC
2302005-01-12 Andrew Cagney <cagney@gnu.org>
231
232 * configure.ac: Update to use ../common/common.m4.
233 * configure: Re-generate.
234
38f48d72
AC
2352005-01-11 Andrew Cagney <cagney@localhost.localdomain>
236
237 * configure: Regenerated to track ../common/aclocal.m4 changes.
238
b7026657
AC
2392005-01-07 Andrew Cagney <cagney@gnu.org>
240
241 * configure.ac: Rename configure.in, require autoconf 2.59.
242 * configure: Re-generate.
243
379832de
HPN
2442004-12-08 Hans-Peter Nilsson <hp@axis.com>
245
246 * configure: Regenerate for ../common/aclocal.m4 update.
247
e4d3c499
AO
2482004-06-28 Alexandre Oliva <aoliva@redhat.com>
249
e073c474
AO
250 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
251 * compile.c (sim_resume): Make sure that dst.reg refers to the
252 right register byte in mova/sz.l @(dd,RnL),ERn.
253 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
254 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
255 mulxs, divs and divxs.
256
e4d3c499
AO
257 * compile.c (sim_load): Update sd->memory_size.
258
d6fd015d 2592004-06-10 Michael Snyder <msnyder@redhat.com>
3973a7d3 260
d6fd015d
MS
261 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
262 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
263
3d29fdb4
MS
2642004-01-05 Michael Snyder <msnyder@redhat.com>
265
266 * compile.c (sim_load): Don't pass a type to bfd_openr.
267
f5d3df96
MS
2682003-12-16 Michael Snyder <msnyder@redhat.com>
269
270 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
271 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
272
454d0511
DD
2732003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
274
72f4393d 275 * compile.c (set_h8300h): Initialize globals to zero.
454d0511 276
29b52f93
KH
2772003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
278
279 * compile.c (h8300_normal_mode): New.
280 (SP): Handle normal mode.
281 (bitfrom): Use normal mode flag to return suitable value.
282 (lvalue): Use normal mode flag to return command line location.
283 (decode): Decode instruction correctly for normal mode.
284 (init_pointers): Initialise memory correctly for normal mode.
285 (sim_resume): Handle cases for normal mode using h8300_normal_mode
286 flag.
287 (sim_store_register): Handle 2 byte PC for normal mode.
288 (sim_fetch_register): Handle 2 byte PC for normal mode.
289 (set_h8300h): Set normal mode flag as per architechture.
290 (sim_load): Allocate 64K for normal mode instead of bigger memory.
291
f408565c
MS
2922003-07-18 Michael Snyder <msnyder@redhat.com>
293
294 * compile.c (decode): Enhancements for mova.
295 Initialize cst, reg, and rdisp inside the loop, for each
296 new instruction. Defer correction of the disp2 values until
297 later, and then adjust them by the size of the first operand,
298 rather than the size of the instruction.
299 (sim_resume): For mova, adjust the size of the second operand
300 according to the type of the first operand (INDEXB vs. INDEXW).
301 In cases where there is only one operand, the other two must
302 both be composed on the fly.
303
e22fef83
MS
3042003-07-22 Michael Snyder <msnyder@redhat.com>
305
306 * compile.c (sim_resume): Revert 6-24 change, it does not
307 work with gdb breakpoints.
308
0f42aa71
MS
3092003-07-17 Michael Snyder <msnyder@redhat.com>
310
55acb21b
MS
311 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
312 (decode): IMM16 is always zero-extended.
0f42aa71 313
f0861129
MS
3142003-06-24 Michael Snyder <msnyder@redhat.com>
315
316 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
317 * compile.c (sim_resume): Use the above to return stop signal.
318
9f70f8ec
MS
3192003-06-18 Michael Snyder <msnyder@redhat.com>
320
321 * compile.c: Replace "Hitachi" with "Renesas".
322 (decode): Distinguish AV_H8S from AV_H8H.
323 (sim_resume): H8SX can use any register for TAS.
324 (decode): Add support for VECIND.
325 (sim_resume): Implement rte/l and rts/l.
326 (GETSR): New macro (actually old macro reincarnated).
327 (decode): Add handling for IMM2.
328 (sim_resume): Drop extra block around jmp, jsr, rts.
329 Add handling for trapa and rte.
330 For divxu.b, change 0xffff mask to 0xff.
331 (set_h8300h): Add bfd_mach_h8300sxn machine.
332
18ad32b5
MS
3332003-06-18 Corinna Vinschen <vinschen@redhat.com>
334
335 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
336 and SBR, VBR.
337
173b1c98
MS
3382003-06-05 Michael Snyder <msnyder@redhat.com>
339
340 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
341 (sim_store_register): Ditto.
342
e8c1a4e7
MS
3432003-06-04 Michael Snyder <msnyder@redhat.com>
344
345 * compile.c (sim_info): Fix typo in output.
346
173b1c98 347 * compile.c (set_h8300h): Replace 'flag' arguments
27ebfdf4
MS
348 with a bfd_machine argument, and decode it inline.
349 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
350
dc5c3759
MS
3512003-06-03 Michael Snyder <msnyder@redhat.com>
352
e8c1a4e7
MS
353 * compile.c: Add h8300sx insns and addressing modes.
354 * sim-main.h: Replaces h8300/inst.h.
355 * Makefile.in: Tweak to bring in some sim/common stuff.
dc5c3759 356
b7f97e9c
MS
3572003-04-13 Michael Snyder <msnyder@redhat.com>
358
359 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
360
d1360fb0
V
3612003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
362
72f4393d 363 * compile.c (cmdline_location): Added function to
d1360fb0
V
364 return the location of 8-bit (256 locations) where the
365 Command Line arguments would be stored.
72f4393d 366 (decode): Added a TRAP to 0xcc for Commandline
d1360fb0
V
367 processing using pseudo opcode O_SYS_CMDLINE.
368 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
72f4393d 369 (sim_create_inferior): Setting a pointer to
d1360fb0
V
370 Commandline Args array.
371 * inst.h: Added a new variable ptr_command_line for
372 storing pointer to Commandline array.
373
bf174226
V
3742003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
375
376 * compile.c (decode): Added code for some more magic traps.
377 * compile.c (sim_resume): Added support for File I/O system
378 calls through callback to host_system.
379 System calls provided support for :
380 open, read, write, lseek, close, stat, fstat
381 Only basic support for stat and fstat.
382
6b4a8935
AC
3832003-02-27 Andrew Cagney <cagney@redhat.com>
384
385 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
386
ec38ce99
KH
3872003-02-05 Kazu Hirata <kazu@cs.umass.edu>
388
389 * compile.c (init_pointers): Abort if wreg never gets initialized.
390 (sim_resume): Fix the handling of exts.w and extu.w.
391
ad4cda16
KH
3922003-01-31 Kazu Hirata <kazu@cs.umass.edu>
393
394 * compile.c (sim_resume): Fix the handling of bxor.
395
a4f27e3e
MS
3962003-01-16 Michael Snyder <msnyder@redhat.com>
397
398 * compile.c: Change K&R function definitions to ISO.
399 (fetch): Make static, and eliminate unused parameter 'n'.
400
d0fe2f7e
KH
4012002-12-26 Kazu Hirata <kazu@cs.umass.edu>
402
403 * compile.c: Fix formatting.
404 * inst.h: Likewise.
405
a64bfde3
AV
4062002-07-29 Andrey Volkov <avolkov@transas.com>
407
408 * compile.c: Include "gdb/sim-h8300.h"
409 * Makefile.in: Add dependences on "inst.h",
410 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
411
c8cca39f
AC
4122002-06-16 Andrew Cagney <ac131313@redhat.com>
413
414 * configure: Regenerated to track ../common/aclocal.m4 changes.
415
3c25f8c7
AC
4162002-06-08 Andrew Cagney <cagney@redhat.com>
417
418 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
419
d1335144
KH
4202002-05-19 Kazu Hirata <kazu@cs.umass.edu>
421
422 * compile.c: Fix formatting.
423
c3f4437e
KH
4242002-05-18 Kazu Hirata <kazu@cs.umass.edu>
425
426 * compile.c: Fix formatting.
427
6147b1f6
AV
4282002-05-17 Andrey Volkov (avolkov@transas.com)
429
430 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
72f4393d 431
fc974602
AV
4322002-05-17 Andrey Volkov (avolkov@transas.com)
433
434 * compile.c: Add support of EXR register
435 * inst.h: Ditto.
72f4393d 436
a8cdafbd
AV
4372002-05-17 Andrey Volkov (avolkov@transas.com)
438
439 * compile.c: Made h8300s as new target, not h8300h alias.
440 * inst.h: Ditto.
72f4393d 441
f6225c96
AV
4422002-05-17 Andrey Volkov (avolkov@transas.com)
443
72f4393d 444 * compile.c: Add additional CCR flags (I,UI,H,U)
f6225c96 445
3b02cf92
AV
4462002-05-17 Andrey Volkov (avolkov@transas.com)
447
72f4393d 448 * compile.c: Change literal regnumbers to REGNUMS.
3b02cf92
AV
449 Fix instruction and cycles counting
450
de9b1892
KH
4512001-12-20 Kazu Hirata <kazu@hxi.com>
452
453 * compile.c: Fix formatting.
454
2ea716f6
KH
4552001-12-20 Kazu Hirata <kazu@hxi.com>
456
457 * compile.c: Fix comment typos.
458
6d028502
KH
4592000-08-10 Kazu Hirata <kazu@hxi.com>
460
461 * compile.c (decode): Clean up the code.
462
0a17cd59
AC
4632000-06-15 Kazu Hirata <kazu@hxi.com>
464
465 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
466 correctly.
467
97ee9e5a
FCE
4682000-06-20 Frank Ch. Eigler <fche@redhat.com>
469
470 * compile.c: Don't include "wait.h".
471 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
472 instead of WIF* from host.
473
98ecb0a7
FCE
4742000-06-13 Frank Ch. Eigler <fche@redhat.com>
475
476 * compile.c, writecode.c: Correct typo.
477
0ef9643e
JL
4782000-06-13 Kazu Hirata <kazu@hxi.com>
479
480 * compile.c: Fix formatting.
481
eb2d80b4
AC
482Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
483
484 * configure: Regenerated to track ../common/aclocal.m4 changes.
485
d4f3574e
SS
486Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
487
488 * configure: Regenerated to track ../common/aclocal.m4 changes.
489
cd0fc7c3
SS
4901999-05-08 Felix Lee <flee@cygnus.com>
491
492 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 493
7a292a7a
SS
4941999-04-02 Keith Seitz <keiths@cygnus.com>
495
496 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
497 frequency at which the poll_quit callback is used.
498 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
499
c906108c
SS
500Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
501
72f4393d 502 * configure: Regenerated to track ../common/aclocal.m4 changes.
c906108c
SS
503
504Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
505
506 * configure: Regenerated to track ../common/aclocal.m4 changes.
507 * config.in: Ditto.
508
509Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
510
511 * acconfig.h: New file.
512 * configure.in: Reverted change of Apr 24; use sinclude again.
513
514Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
515
516 * configure: Regenerated to track ../common/aclocal.m4 changes.
517 * config.in: Ditto.
518
519Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
520
521 * configure.in: Don't call sinclude.
522
523Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
524
525 * configure: Regenerated to track ../common/aclocal.m4 changes.
526
527Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
528
529 * configure: Regenerated to track ../common/aclocal.m4 changes.
530
531Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
532
533 * configure: Regenerated to track ../common/aclocal.m4 changes.
534
535Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
536
537 * configure: Regenerated to track ../common/aclocal.m4 changes.
538
539Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
540
541 * compile.c (sim_store_register, sim_fetch_register): Pass in
542 length parameter. Return -1.
543
544Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
545
546 * configure: Regenerated to track ../common/aclocal.m4 changes.
547
548Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
549
550 * configure: Regenerated to track ../common/aclocal.m4 changes.
551
552Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
553
554 * configure: Regenerated to track ../common/aclocal.m4 changes.
555
556Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
557
558 * configure: Regenerated to track ../common/aclocal.m4 changes.
559 * config.in: Ditto.
560
561Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
562
563 * configure: Regenerated to track ../common/aclocal.m4 changes.
564
565Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
566
567 * compile.c: #include stdio.h for definition of NULL on
568 some platforms.
569
570Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
571
572 * compile.c (sim_load): Pass lma_p and sim_write args to
573 sim_load_file.
574
575Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
576
577 * configure: Regenerated to track ../common/aclocal.m4 changes.
578
579Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
580
581 * configure: Regenerated to track ../common/aclocal.m4 changes.
582
583Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
584
585 * configure: Regenerated to track ../common/aclocal.m4 changes.
586
587Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
588
589 * configure: Regenerated to track ../common/aclocal.m4 changes.
590
591Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
592
593 * configure: Regenerated to track ../common/aclocal.m4 changes.
594
595Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
596
597 * Makefile.in (compile.o): Depend on config.h in local directory.
598
599Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
600
601 * configure: Regenerated to track ../common/aclocal.m4 changes.
602
603Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
604
605 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
606 with sim/common.
607 * configure.in: check for sys/param.h
608 * compile.c: #ifdef HAVE_SYS_PARAM_H.
609 #define SIGTRAP for wingdb.
610 (sim_resume): poll keyboard at least once per call.
611 (sim_resume): use host_callback instead of printf for syscall
612 output.
613
614Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
615
616 * configure: Regenerated to track ../common/aclocal.m4 changes.
617
618Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
619
620 * configure: Regenerated to track ../common/aclocal.m4 changes.
621 * config.in: Ditto.
622
623Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
624
625 * compile.c (sim_kill): Delete.
626 (sim_create_inferior): Add ABFD argument.
627 (sim_load): Move setting of PC from here.
628 (sim_create_inferior): To here.
629 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
630 the sim_load code should be moved to sim_open.
631
632Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
633
634 * configure: Regenerated to track ../common/aclocal.m4 changes.
635 * config.in: Ditto.
636
637Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
638
639 * compile.c (sim_open): Add ABFD argument.
640
641Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
642
643 * compile.c (sim_open): Add callback argument.
644 (sim_set_callbacks): Delete SIM_DESC argument.
645
646Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
647
648 * compile.c (sim_load): Call bfd_get_mach instead of examining
649 bfd fields directly.
650 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
651
652Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
653
654 * configure: Regenerated to track ../common/aclocal.m4 changes.
655
656Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
657
658 * compile.c (sim_resume): Use poll_quit callback.
659 (sim_stop): New function.
660
661Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
662
663 * Makefile.in (SIM_OBJS): Add sim-load.o.
664 * compile.c (sim_kind, myname): New static locals.
665 (sim_open): Set sim_kind, myname.
666 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
667 Call sim_load_file to load file into simulator. Set start address
668 from bfd.
669 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
670
671Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
672
673 * configure: Regenerated to track ../common/aclocal.m4 changes.
674 * config.in: Ditto.
675
676Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
677
678 * compile.c (sim_open): New arg `kind'.
679
680 * configure: Regenerated to track ../common/aclocal.m4 changes.
681
682Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
683
684 * configure: Regenerated to track ../common/aclocal.m4 changes.
685
686Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
687
688 * configure: Regenerated to track ../common/aclocal.m4 changes.
689
690Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
691
692 * configure: Re-generate.
693
694Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
695
696 * configure: Regenerate to track ../common/aclocal.m4 changes.
697
698Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
699
700 * compile.c (sim_open): New SIM_DESC result. Argument is now in
701 argv form.
702 (other sim_*): New SIM_DESC argument.
703
704Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
705
706 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
707 COMMON_{PRE,POST}_CONFIG_FRAG instead.
708 * configure.in: sinclude ../common/aclocal.m4.
709 * configure: Regenerated.
710
711Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
712
713 * configure configure.in Makefile.in: Update to new configure
714 scheme which is more compatible with WinGDB builds.
715 * configure.in: Improve comment on how to run autoconf.
716 * configure: Re-run autoconf to get new ../common/aclocal.m4.
717 * Makefile.in: Use autoconf substitution to install common
718 makefile fragment.
719
720Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
721
722 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
723 (SIM_OBJS): Define.
724 * configure.in: Simplify using macros in ../common/aclocal.m4.
725 * configure: Regenerated.
726 * inst.h (enum sim_state): Define.
727 (cpu_state_type): New member `state'. Set it whenever `exception'
728 is set.
729 * compile.c (sim_callback): New global.
730 (sim_set_simcache_size): Renamed from sim_csize.
731 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
732 'cus it can't work. Change main loop exit test to use cpu.state.
733 (sim_trace): New function.
734 (sim_stop_reason): Add right way to set results, but #if 0 out.
735 (sim_size): New function.
736 (sim_info): Redirect calls to printf_filtered through callback.
737 (sim_set_callbacks): Record callback.
738 * run.c: Deleted, using one in ../common now.
739 * tconfig.in: New file.
740
741Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
742
743 * Makefile.in (mostlyclean): Don't remove config.log here.
744
745Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
746
747 * compile.c (sim_resume): rts, sleep, bpt and nop have
748 no associated "size".
749
750Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
751
752 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
753
754Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
755
756 * run.c (main): Don't "load" sections which don't have
757 SEC_LOAD set.
758 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
759 of OSHIFTS.
760 (ONOT): Define.
761 (sim_resume, shift/rotate cases): Add support for shift/rotate
762 by two bits.
763 (OSHIFTS): Corresponding changes.
764
765Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
766
767 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
768
769Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
770
771 * compile.c (h8300smode): Declare.
772
773Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
774
72f4393d
L
775 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
776 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
777 (docdir): Removed.
778 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
779 (AC_PROG_INSTALL): Added.
780 * configure: Rebuilt.
c906108c
SS
781
782Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
783
784 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
785 * run.c (main): Treat the H8/S like the H8/300H for now.
72f4393d 786
c906108c
SS
787Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
788
789 * compile.c (SEXTCHAR): Clear upper bits when sign
790 bit is clear.
791
792Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
793
794 * compile.c (sim_resume): Correctly handle divu.
795
796Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
797
798 * compile.c (sim_resume): Never allow the PC to have an
799 odd value.
800
801Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
802
803 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
804 separate memory is allocate for the 8-bit area.
805 (struct cpu_state_type): Add new "eightbit' field.
806 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
807 area.
808 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
809 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
810 (init_pointers): Initialize space for the 8-bit area.
811 (sim_write): Handle writing into the 8-bit area.
812 (sim_read): Handle reading from the 8-bit area.
813 (sim_load): Reallocate space for the 8-bit area.
814
815 * compile.c (sim_load): Re-allocate memory for the simulator
816 here.
817
818Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
819
820 * compile.c (sim_resume): Fix and simplify overflow and carry
821 handling for 32bit ALU insns.
822
823Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
824
825 * compile.c (sim_resume): Fix overflow checks for ALU insns.
826
827Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
828
829 * compile.c (decode): Use "bit" to hold L_3 immediates instead
830 of holding them in "abs". Handle ABS8MEM memory references aka
831 8-bit area. Replace ABSMOV references with ABS8MEM.
832
833Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
834
835 * compile.c (fetch): Handle accesses to the exception/function
836 vectors.
837
838Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
839
840 * compile.c: #include "wait.h".
841 (sim_resume, sleep insn): Check program exit status in r0.
842 (sim_resume, shift insns): Fix setting of overflow flag for shal.
843 * run.c: #include <signal.h>.
844 (main): Abort if program got SIGILL.
845 Print error message if argument is invalid.
846 (usage): Improve text.
847
848Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
849
850 * configure: Regenerate with autoconf 2.7.
851
852Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
853
854 * inst.h (MPOWER,MSIZE): Deleted.
855 (H8300{,H}_MSIZE): Define.
856 * compile.c (memory_size): New static global.
857 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
858 (sim_write,sim_read): Use memory_size.
859
860Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
861
862 * compile.c (sim_set_callbacks): New.
863
864Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
865
866 * Makefile.in (BISON): Remove macro.
867
868Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
869
870 * Makefile.in (maintainer-clean): New synonym for realclean.
871
872Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
873
874 * Makefile.in (install): Don't install in $(tooldir).
875
876 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
877 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
878 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
879 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
880 creating config.h.
881 * configure: Rebuild.
882 * config.in: New file, created by autoheader.
883 * Makefile.in (AR): Define as @AR@.
884 (CC): New variable, defined as @CC@.
885 (CFLAGS): Define as @CFLAGS@.
886 (RANLIB): Define as @RANLIB@.
887 (HDEFINES, TDEFINES): New variables.
888 (@host_makefile_frag@): Remove.
889 (compile.o, run.o): Depend upon config.h.
890 (mostlyclean): Make the same as clean, not distclean.
891 (clean): Remove config.log.
892 (distclean): Remove config.h and stamp-h.
893 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
894 invoking config.status.
895 (config.h, stamp-h): New targets.
896 * compile.c: Include "config.h". Don't include <sys/times.h>.
897 Include <time.h> and <stdlib.h> if they exist. Don't include
898 "sysdep.h".
899 (get_now): Remove unused local b.
900 * run.c: Include "config.h". Include <stdlib.h> if it exists.
901 Don't include "sysdep.h".
902 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
903 <stdio.h>.
904
905Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
906
907 * Update all FSF addresses except those in COPYING* files.
908
909Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
910
911 * Makefile.in (clean): Remove run.
912 (distclean): Remove Makefile.
913
914 * h8300.mt: Removed.
915
916 * Makefile.in, configure.in: converted to autoconf.
917 * configure: New file, generated with autconf 2.4.
918
919Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
920
921 * compile.c (sim_do_command): New function.
922
923Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
924
925 * compile.c (get_now): Don't do if win32.
926 (sim_resume): Poll in win32 too.
927
928Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
929
930 * configure.in: Fix typo in last change.
931
932Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
933
934 * run.c: parse arguments with getopt().
935
936Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
937
938 * configure.in: Use ../../bfd/hosts/std-host.h if specific
939 host unavailable.
940
941Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
942
943 * compile.c (sim_resume): Initialize cpu.mask.
944
945Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
946
947 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
948
949Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
950
951 * compile.c: #include "bfd.h".
952 (sim_*): Set result type to void where there isn't one.
953 (sim_resume, default case): Set cpu.exception to SIGILL.
954 (sim_trace): Delete.
955 (sim_set_pc): Delete.
956 (sim_info): Delete printf_fn arg, all callers changed.
957 Call printf_filtered.
958 (set_h8300h): New arg `flag', all callers changed.
959 (sim_close): New function.
960 (sim_load): New function.
961 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
962 * run.c: #include <varargs.h>, "remote-sim.h".
963 (printf_filtered): New function.
964
965Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
966
967 * compile.c (decode): Fix typo (16 bit branches).
968 (*): Some white space clean up.
969
970Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
971
972 * compile.c (decode): Compile 16bit branches properly.
973
974Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
975
976 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
977 andc. Poll for interrupts.
978
979Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
980
981 * compile.c: #include "ansidecl.h" for remote-sim.h.
982
983Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
984
985 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
986 * compile.c: #include "remote-sim.h".
987 (sim_resume): New arg siggnal.
988 (sim_write): Use SIM_ADDR for type of arg addr.
989 Always return a value.
990 (sim_read): Ditto.
991 (sim_store_register): Result is type int.
992 (sim_fetch_register): Ditto.
993 (sim_stop_reason): Renamed from sim_stop_signal.
994 (sim_set_pc): Use SIM_ADDR for type of arg pc.
995 (sim_info): int result, new arg printf_fn.
996 (sim_kill): int result.
997 (sim_open): int result, new arg name.
998 * run.c (main): Use sim_set_pc to set pc.
999 Update call to sim_info.
1000
1001Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1002
1003 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1004
1005Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1006
1007 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1008
1009Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1010
1011 * compile.c (sim_set_pc): Write to the pc direcly.
1012 (sim_store_register): Now value is passed by reference. (sim_read,
1013 sim_write): Return number of bytes copied.
1014
1015Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1016
1017 * compile.c (mop): New function to do multiplies.
1018
1019Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1020
1021 * compile.c (sim_resume): Add support for nop insn.
1022
1023Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1024
1025 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1026
1027 * run.c (main): If h8/300h binary detected, call set_h8300h.
1028 * compile.c (sim_resume): Fix O_NEG insn.
1029
1030Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1031
1032 * run.c (main): Add -h flag to enable h8/300h emulation.
1033 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1034 (set_h8300h): New function.
1035 (sim_resume): Add support for extu,exts insns.
1036 (sim_resume): Fix logical right shifting.
1037 (sim_resume, label alu32): Fix setting of carry flag.
72f4393d 1038
c906108c
SS
1039Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1040
1041 * compile.c (sim_csize): Initialize cpu.cache.
1042
1043Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1044
1045 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1046
1047Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1048
1049 * run.c (main): Fix parsing of args.
1050
1051 * compile.c (sim_resume): Fix shll insn.
1052
1053Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1054
1055 * compile.c: New file, supports H8/300H.
1056 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1057
1058Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1059
1060 * run.c (main): Add -v to print info.
1061 * p3.c (sim_info): New function.
1062
1063Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1064
1065 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1066
1067Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1068
1069 * Makefile.in: Don't use cb or indent
1070 * p1.c, state.h, writecode.c: lint
1071
1072Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1073
1074 * Makefile.in: Make SunOS halfdone VPATH work.
1075 * p1.c: Lint picked up by HP native compiler.
1076
1077Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1078
1079 * p1.c (sim_resume): when running on dos, any character typed to
1080 the keyboard will cause a simulated exception.
1081
1082Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1083
1084 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1085 running
1086
1087Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1088
72f4393d 1089 * new
c906108c 1090
This page took 0.717978 seconds and 4 git commands to generate.