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