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