]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/h8300/ChangeLog
2004-06-14 Andrew Cagney <cagney@gnu.org>
[thirdparty/binutils-gdb.git] / sim / h8300 / ChangeLog
CommitLineData
d6fd015d
MS
12004-06-10 Michael Snyder <msnyder@redhat.com>
2 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
3 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
4
3d29fdb4
MS
52004-01-05 Michael Snyder <msnyder@redhat.com>
6
7 * compile.c (sim_load): Don't pass a type to bfd_openr.
8
f5d3df96
MS
92003-12-16 Michael Snyder <msnyder@redhat.com>
10
11 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
12 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
13
454d0511
DD
142003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
15
16 * compile.c (set_h8300h): Initialize globals to zero.
17
29b52f93
KH
182003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
19
20 * compile.c (h8300_normal_mode): New.
21 (SP): Handle normal mode.
22 (bitfrom): Use normal mode flag to return suitable value.
23 (lvalue): Use normal mode flag to return command line location.
24 (decode): Decode instruction correctly for normal mode.
25 (init_pointers): Initialise memory correctly for normal mode.
26 (sim_resume): Handle cases for normal mode using h8300_normal_mode
27 flag.
28 (sim_store_register): Handle 2 byte PC for normal mode.
29 (sim_fetch_register): Handle 2 byte PC for normal mode.
30 (set_h8300h): Set normal mode flag as per architechture.
31 (sim_load): Allocate 64K for normal mode instead of bigger memory.
32
f408565c
MS
332003-07-18 Michael Snyder <msnyder@redhat.com>
34
35 * compile.c (decode): Enhancements for mova.
36 Initialize cst, reg, and rdisp inside the loop, for each
37 new instruction. Defer correction of the disp2 values until
38 later, and then adjust them by the size of the first operand,
39 rather than the size of the instruction.
40 (sim_resume): For mova, adjust the size of the second operand
41 according to the type of the first operand (INDEXB vs. INDEXW).
42 In cases where there is only one operand, the other two must
43 both be composed on the fly.
44
e22fef83
MS
452003-07-22 Michael Snyder <msnyder@redhat.com>
46
47 * compile.c (sim_resume): Revert 6-24 change, it does not
48 work with gdb breakpoints.
49
0f42aa71
MS
502003-07-17 Michael Snyder <msnyder@redhat.com>
51
55acb21b
MS
52 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
53 (decode): IMM16 is always zero-extended.
0f42aa71 54
f0861129
MS
552003-06-24 Michael Snyder <msnyder@redhat.com>
56
57 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
58 * compile.c (sim_resume): Use the above to return stop signal.
59
9f70f8ec
MS
602003-06-18 Michael Snyder <msnyder@redhat.com>
61
62 * compile.c: Replace "Hitachi" with "Renesas".
63 (decode): Distinguish AV_H8S from AV_H8H.
64 (sim_resume): H8SX can use any register for TAS.
65 (decode): Add support for VECIND.
66 (sim_resume): Implement rte/l and rts/l.
67 (GETSR): New macro (actually old macro reincarnated).
68 (decode): Add handling for IMM2.
69 (sim_resume): Drop extra block around jmp, jsr, rts.
70 Add handling for trapa and rte.
71 For divxu.b, change 0xffff mask to 0xff.
72 (set_h8300h): Add bfd_mach_h8300sxn machine.
73
18ad32b5
MS
742003-06-18 Corinna Vinschen <vinschen@redhat.com>
75
76 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
77 and SBR, VBR.
78
173b1c98
MS
792003-06-05 Michael Snyder <msnyder@redhat.com>
80
81 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
82 (sim_store_register): Ditto.
83
e8c1a4e7
MS
842003-06-04 Michael Snyder <msnyder@redhat.com>
85
86 * compile.c (sim_info): Fix typo in output.
87
173b1c98 88 * compile.c (set_h8300h): Replace 'flag' arguments
27ebfdf4
MS
89 with a bfd_machine argument, and decode it inline.
90 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
91
dc5c3759
MS
922003-06-03 Michael Snyder <msnyder@redhat.com>
93
e8c1a4e7
MS
94 * compile.c: Add h8300sx insns and addressing modes.
95 * sim-main.h: Replaces h8300/inst.h.
96 * Makefile.in: Tweak to bring in some sim/common stuff.
dc5c3759 97
b7f97e9c
MS
982003-04-13 Michael Snyder <msnyder@redhat.com>
99
100 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
101
d1360fb0
V
1022003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
103
104 * compile.c (cmdline_location): Added function to
105 return the location of 8-bit (256 locations) where the
106 Command Line arguments would be stored.
107 (decode): Added a TRAP to 0xcc for Commandline
108 processing using pseudo opcode O_SYS_CMDLINE.
109 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
110 (sim_create_inferior): Setting a pointer to
111 Commandline Args array.
112 * inst.h: Added a new variable ptr_command_line for
113 storing pointer to Commandline array.
114
bf174226
V
1152003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
116
117 * compile.c (decode): Added code for some more magic traps.
118 * compile.c (sim_resume): Added support for File I/O system
119 calls through callback to host_system.
120 System calls provided support for :
121 open, read, write, lseek, close, stat, fstat
122 Only basic support for stat and fstat.
123
6b4a8935
AC
1242003-02-27 Andrew Cagney <cagney@redhat.com>
125
126 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
127
ec38ce99
KH
1282003-02-05 Kazu Hirata <kazu@cs.umass.edu>
129
130 * compile.c (init_pointers): Abort if wreg never gets initialized.
131 (sim_resume): Fix the handling of exts.w and extu.w.
132
ad4cda16
KH
1332003-01-31 Kazu Hirata <kazu@cs.umass.edu>
134
135 * compile.c (sim_resume): Fix the handling of bxor.
136
a4f27e3e
MS
1372003-01-16 Michael Snyder <msnyder@redhat.com>
138
139 * compile.c: Change K&R function definitions to ISO.
140 (fetch): Make static, and eliminate unused parameter 'n'.
141
d0fe2f7e
KH
1422002-12-26 Kazu Hirata <kazu@cs.umass.edu>
143
144 * compile.c: Fix formatting.
145 * inst.h: Likewise.
146
a64bfde3
AV
1472002-07-29 Andrey Volkov <avolkov@transas.com>
148
149 * compile.c: Include "gdb/sim-h8300.h"
150 * Makefile.in: Add dependences on "inst.h",
151 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
152
c8cca39f
AC
1532002-06-16 Andrew Cagney <ac131313@redhat.com>
154
155 * configure: Regenerated to track ../common/aclocal.m4 changes.
156
3c25f8c7
AC
1572002-06-08 Andrew Cagney <cagney@redhat.com>
158
159 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
160
d1335144
KH
1612002-05-19 Kazu Hirata <kazu@cs.umass.edu>
162
163 * compile.c: Fix formatting.
164
c3f4437e
KH
1652002-05-18 Kazu Hirata <kazu@cs.umass.edu>
166
167 * compile.c: Fix formatting.
168
6147b1f6
AV
1692002-05-17 Andrey Volkov (avolkov@transas.com)
170
171 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
172
fc974602
AV
1732002-05-17 Andrey Volkov (avolkov@transas.com)
174
175 * compile.c: Add support of EXR register
176 * inst.h: Ditto.
177
a8cdafbd
AV
1782002-05-17 Andrey Volkov (avolkov@transas.com)
179
180 * compile.c: Made h8300s as new target, not h8300h alias.
181 * inst.h: Ditto.
182
f6225c96
AV
1832002-05-17 Andrey Volkov (avolkov@transas.com)
184
185 * compile.c: Add additional CCR flags (I,UI,H,U)
186
3b02cf92
AV
1872002-05-17 Andrey Volkov (avolkov@transas.com)
188
189 * compile.c: Change literal regnumbers to REGNUMS.
190 Fix instruction and cycles counting
191
de9b1892
KH
1922001-12-20 Kazu Hirata <kazu@hxi.com>
193
194 * compile.c: Fix formatting.
195
2ea716f6
KH
1962001-12-20 Kazu Hirata <kazu@hxi.com>
197
198 * compile.c: Fix comment typos.
199
6d028502
KH
2002000-08-10 Kazu Hirata <kazu@hxi.com>
201
202 * compile.c (decode): Clean up the code.
203
0a17cd59
AC
2042000-06-15 Kazu Hirata <kazu@hxi.com>
205
206 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
207 correctly.
208
97ee9e5a
FCE
2092000-06-20 Frank Ch. Eigler <fche@redhat.com>
210
211 * compile.c: Don't include "wait.h".
212 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
213 instead of WIF* from host.
214
98ecb0a7
FCE
2152000-06-13 Frank Ch. Eigler <fche@redhat.com>
216
217 * compile.c, writecode.c: Correct typo.
218
0ef9643e
JL
2192000-06-13 Kazu Hirata <kazu@hxi.com>
220
221 * compile.c: Fix formatting.
222
eb2d80b4
AC
223Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
224
225 * configure: Regenerated to track ../common/aclocal.m4 changes.
226
d4f3574e
SS
227Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
228
229 * configure: Regenerated to track ../common/aclocal.m4 changes.
230
cd0fc7c3
SS
2311999-05-08 Felix Lee <flee@cygnus.com>
232
233 * configure: Regenerated to track ../common/aclocal.m4 changes.
234
7a292a7a
SS
2351999-04-02 Keith Seitz <keiths@cygnus.com>
236
237 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
238 frequency at which the poll_quit callback is used.
239 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
240
c906108c
SS
241Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
242
243 * configure: Regenerated to track ../common/aclocal.m4 changes.
244
245Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
246
247 * configure: Regenerated to track ../common/aclocal.m4 changes.
248 * config.in: Ditto.
249
250Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
251
252 * acconfig.h: New file.
253 * configure.in: Reverted change of Apr 24; use sinclude again.
254
255Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
256
257 * configure: Regenerated to track ../common/aclocal.m4 changes.
258 * config.in: Ditto.
259
260Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
261
262 * configure.in: Don't call sinclude.
263
264Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
265
266 * configure: Regenerated to track ../common/aclocal.m4 changes.
267
268Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
269
270 * configure: Regenerated to track ../common/aclocal.m4 changes.
271
272Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
273
274 * configure: Regenerated to track ../common/aclocal.m4 changes.
275
276Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
277
278 * configure: Regenerated to track ../common/aclocal.m4 changes.
279
280Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
281
282 * compile.c (sim_store_register, sim_fetch_register): Pass in
283 length parameter. Return -1.
284
285Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
286
287 * configure: Regenerated to track ../common/aclocal.m4 changes.
288
289Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
290
291 * configure: Regenerated to track ../common/aclocal.m4 changes.
292
293Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
294
295 * configure: Regenerated to track ../common/aclocal.m4 changes.
296
297Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
298
299 * configure: Regenerated to track ../common/aclocal.m4 changes.
300 * config.in: Ditto.
301
302Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
303
304 * configure: Regenerated to track ../common/aclocal.m4 changes.
305
306Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
307
308 * compile.c: #include stdio.h for definition of NULL on
309 some platforms.
310
311Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
312
313 * compile.c (sim_load): Pass lma_p and sim_write args to
314 sim_load_file.
315
316Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
317
318 * configure: Regenerated to track ../common/aclocal.m4 changes.
319
320Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
321
322 * configure: Regenerated to track ../common/aclocal.m4 changes.
323
324Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
325
326 * configure: Regenerated to track ../common/aclocal.m4 changes.
327
328Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
329
330 * configure: Regenerated to track ../common/aclocal.m4 changes.
331
332Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
333
334 * configure: Regenerated to track ../common/aclocal.m4 changes.
335
336Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
337
338 * Makefile.in (compile.o): Depend on config.h in local directory.
339
340Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
341
342 * configure: Regenerated to track ../common/aclocal.m4 changes.
343
344Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
345
346 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
347 with sim/common.
348 * configure.in: check for sys/param.h
349 * compile.c: #ifdef HAVE_SYS_PARAM_H.
350 #define SIGTRAP for wingdb.
351 (sim_resume): poll keyboard at least once per call.
352 (sim_resume): use host_callback instead of printf for syscall
353 output.
354
355Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
356
357 * configure: Regenerated to track ../common/aclocal.m4 changes.
358
359Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
360
361 * configure: Regenerated to track ../common/aclocal.m4 changes.
362 * config.in: Ditto.
363
364Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
365
366 * compile.c (sim_kill): Delete.
367 (sim_create_inferior): Add ABFD argument.
368 (sim_load): Move setting of PC from here.
369 (sim_create_inferior): To here.
370 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
371 the sim_load code should be moved to sim_open.
372
373Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
374
375 * configure: Regenerated to track ../common/aclocal.m4 changes.
376 * config.in: Ditto.
377
378Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
379
380 * compile.c (sim_open): Add ABFD argument.
381
382Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
383
384 * compile.c (sim_open): Add callback argument.
385 (sim_set_callbacks): Delete SIM_DESC argument.
386
387Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
388
389 * compile.c (sim_load): Call bfd_get_mach instead of examining
390 bfd fields directly.
391 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
392
393Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
394
395 * configure: Regenerated to track ../common/aclocal.m4 changes.
396
397Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
398
399 * compile.c (sim_resume): Use poll_quit callback.
400 (sim_stop): New function.
401
402Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
403
404 * Makefile.in (SIM_OBJS): Add sim-load.o.
405 * compile.c (sim_kind, myname): New static locals.
406 (sim_open): Set sim_kind, myname.
407 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
408 Call sim_load_file to load file into simulator. Set start address
409 from bfd.
410 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
411
412Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
413
414 * configure: Regenerated to track ../common/aclocal.m4 changes.
415 * config.in: Ditto.
416
417Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
418
419 * compile.c (sim_open): New arg `kind'.
420
421 * configure: Regenerated to track ../common/aclocal.m4 changes.
422
423Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
424
425 * configure: Regenerated to track ../common/aclocal.m4 changes.
426
427Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
428
429 * configure: Regenerated to track ../common/aclocal.m4 changes.
430
431Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
432
433 * configure: Re-generate.
434
435Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
436
437 * configure: Regenerate to track ../common/aclocal.m4 changes.
438
439Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
440
441 * compile.c (sim_open): New SIM_DESC result. Argument is now in
442 argv form.
443 (other sim_*): New SIM_DESC argument.
444
445Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
446
447 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
448 COMMON_{PRE,POST}_CONFIG_FRAG instead.
449 * configure.in: sinclude ../common/aclocal.m4.
450 * configure: Regenerated.
451
452Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
453
454 * configure configure.in Makefile.in: Update to new configure
455 scheme which is more compatible with WinGDB builds.
456 * configure.in: Improve comment on how to run autoconf.
457 * configure: Re-run autoconf to get new ../common/aclocal.m4.
458 * Makefile.in: Use autoconf substitution to install common
459 makefile fragment.
460
461Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
462
463 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
464 (SIM_OBJS): Define.
465 * configure.in: Simplify using macros in ../common/aclocal.m4.
466 * configure: Regenerated.
467 * inst.h (enum sim_state): Define.
468 (cpu_state_type): New member `state'. Set it whenever `exception'
469 is set.
470 * compile.c (sim_callback): New global.
471 (sim_set_simcache_size): Renamed from sim_csize.
472 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
473 'cus it can't work. Change main loop exit test to use cpu.state.
474 (sim_trace): New function.
475 (sim_stop_reason): Add right way to set results, but #if 0 out.
476 (sim_size): New function.
477 (sim_info): Redirect calls to printf_filtered through callback.
478 (sim_set_callbacks): Record callback.
479 * run.c: Deleted, using one in ../common now.
480 * tconfig.in: New file.
481
482Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
483
484 * Makefile.in (mostlyclean): Don't remove config.log here.
485
486Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
487
488 * compile.c (sim_resume): rts, sleep, bpt and nop have
489 no associated "size".
490
491Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
492
493 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
494
495Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
496
497 * run.c (main): Don't "load" sections which don't have
498 SEC_LOAD set.
499 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
500 of OSHIFTS.
501 (ONOT): Define.
502 (sim_resume, shift/rotate cases): Add support for shift/rotate
503 by two bits.
504 (OSHIFTS): Corresponding changes.
505
506Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
507
508 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
509
510Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
511
512 * compile.c (h8300smode): Declare.
513
514Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
515
516 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
517 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
518 (docdir): Removed.
519 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
520 (AC_PROG_INSTALL): Added.
521 * configure: Rebuilt.
522
523Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
524
525 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
526 * run.c (main): Treat the H8/S like the H8/300H for now.
527
528Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
529
530 * compile.c (SEXTCHAR): Clear upper bits when sign
531 bit is clear.
532
533Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
534
535 * compile.c (sim_resume): Correctly handle divu.
536
537Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
538
539 * compile.c (sim_resume): Never allow the PC to have an
540 odd value.
541
542Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
543
544 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
545 separate memory is allocate for the 8-bit area.
546 (struct cpu_state_type): Add new "eightbit' field.
547 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
548 area.
549 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
550 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
551 (init_pointers): Initialize space for the 8-bit area.
552 (sim_write): Handle writing into the 8-bit area.
553 (sim_read): Handle reading from the 8-bit area.
554 (sim_load): Reallocate space for the 8-bit area.
555
556 * compile.c (sim_load): Re-allocate memory for the simulator
557 here.
558
559Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
560
561 * compile.c (sim_resume): Fix and simplify overflow and carry
562 handling for 32bit ALU insns.
563
564Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
565
566 * compile.c (sim_resume): Fix overflow checks for ALU insns.
567
568Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
569
570 * compile.c (decode): Use "bit" to hold L_3 immediates instead
571 of holding them in "abs". Handle ABS8MEM memory references aka
572 8-bit area. Replace ABSMOV references with ABS8MEM.
573
574Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
575
576 * compile.c (fetch): Handle accesses to the exception/function
577 vectors.
578
579Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
580
581 * compile.c: #include "wait.h".
582 (sim_resume, sleep insn): Check program exit status in r0.
583 (sim_resume, shift insns): Fix setting of overflow flag for shal.
584 * run.c: #include <signal.h>.
585 (main): Abort if program got SIGILL.
586 Print error message if argument is invalid.
587 (usage): Improve text.
588
589Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
590
591 * configure: Regenerate with autoconf 2.7.
592
593Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
594
595 * inst.h (MPOWER,MSIZE): Deleted.
596 (H8300{,H}_MSIZE): Define.
597 * compile.c (memory_size): New static global.
598 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
599 (sim_write,sim_read): Use memory_size.
600
601Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
602
603 * compile.c (sim_set_callbacks): New.
604
605Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
606
607 * Makefile.in (BISON): Remove macro.
608
609Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
610
611 * Makefile.in (maintainer-clean): New synonym for realclean.
612
613Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
614
615 * Makefile.in (install): Don't install in $(tooldir).
616
617 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
618 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
619 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
620 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
621 creating config.h.
622 * configure: Rebuild.
623 * config.in: New file, created by autoheader.
624 * Makefile.in (AR): Define as @AR@.
625 (CC): New variable, defined as @CC@.
626 (CFLAGS): Define as @CFLAGS@.
627 (RANLIB): Define as @RANLIB@.
628 (HDEFINES, TDEFINES): New variables.
629 (@host_makefile_frag@): Remove.
630 (compile.o, run.o): Depend upon config.h.
631 (mostlyclean): Make the same as clean, not distclean.
632 (clean): Remove config.log.
633 (distclean): Remove config.h and stamp-h.
634 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
635 invoking config.status.
636 (config.h, stamp-h): New targets.
637 * compile.c: Include "config.h". Don't include <sys/times.h>.
638 Include <time.h> and <stdlib.h> if they exist. Don't include
639 "sysdep.h".
640 (get_now): Remove unused local b.
641 * run.c: Include "config.h". Include <stdlib.h> if it exists.
642 Don't include "sysdep.h".
643 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
644 <stdio.h>.
645
646Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
647
648 * Update all FSF addresses except those in COPYING* files.
649
650Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
651
652 * Makefile.in (clean): Remove run.
653 (distclean): Remove Makefile.
654
655 * h8300.mt: Removed.
656
657 * Makefile.in, configure.in: converted to autoconf.
658 * configure: New file, generated with autconf 2.4.
659
660Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
661
662 * compile.c (sim_do_command): New function.
663
664Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
665
666 * compile.c (get_now): Don't do if win32.
667 (sim_resume): Poll in win32 too.
668
669Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
670
671 * configure.in: Fix typo in last change.
672
673Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
674
675 * run.c: parse arguments with getopt().
676
677Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
678
679 * configure.in: Use ../../bfd/hosts/std-host.h if specific
680 host unavailable.
681
682Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
683
684 * compile.c (sim_resume): Initialize cpu.mask.
685
686Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
687
688 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
689
690Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
691
692 * compile.c: #include "bfd.h".
693 (sim_*): Set result type to void where there isn't one.
694 (sim_resume, default case): Set cpu.exception to SIGILL.
695 (sim_trace): Delete.
696 (sim_set_pc): Delete.
697 (sim_info): Delete printf_fn arg, all callers changed.
698 Call printf_filtered.
699 (set_h8300h): New arg `flag', all callers changed.
700 (sim_close): New function.
701 (sim_load): New function.
702 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
703 * run.c: #include <varargs.h>, "remote-sim.h".
704 (printf_filtered): New function.
705
706Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
707
708 * compile.c (decode): Fix typo (16 bit branches).
709 (*): Some white space clean up.
710
711Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
712
713 * compile.c (decode): Compile 16bit branches properly.
714
715Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
716
717 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
718 andc. Poll for interrupts.
719
720Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
721
722 * compile.c: #include "ansidecl.h" for remote-sim.h.
723
724Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
725
726 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
727 * compile.c: #include "remote-sim.h".
728 (sim_resume): New arg siggnal.
729 (sim_write): Use SIM_ADDR for type of arg addr.
730 Always return a value.
731 (sim_read): Ditto.
732 (sim_store_register): Result is type int.
733 (sim_fetch_register): Ditto.
734 (sim_stop_reason): Renamed from sim_stop_signal.
735 (sim_set_pc): Use SIM_ADDR for type of arg pc.
736 (sim_info): int result, new arg printf_fn.
737 (sim_kill): int result.
738 (sim_open): int result, new arg name.
739 * run.c (main): Use sim_set_pc to set pc.
740 Update call to sim_info.
741
742Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
743
744 * compile.c (sim_stop_signal): Result is now enum sim_stop.
745
746Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
747
748 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
749
750Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
751
752 * compile.c (sim_set_pc): Write to the pc direcly.
753 (sim_store_register): Now value is passed by reference. (sim_read,
754 sim_write): Return number of bytes copied.
755
756Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
757
758 * compile.c (mop): New function to do multiplies.
759
760Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
761
762 * compile.c (sim_resume): Add support for nop insn.
763
764Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
765
766 * compile.c: Reset HMODE back to zero (accidently set it to 1).
767
768 * run.c (main): If h8/300h binary detected, call set_h8300h.
769 * compile.c (sim_resume): Fix O_NEG insn.
770
771Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
772
773 * run.c (main): Add -h flag to enable h8/300h emulation.
774 * compile.c: Rename Hmode to HMODE (consistency with gdb).
775 (set_h8300h): New function.
776 (sim_resume): Add support for extu,exts insns.
777 (sim_resume): Fix logical right shifting.
778 (sim_resume, label alu32): Fix setting of carry flag.
779
780Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
781
782 * compile.c (sim_csize): Initialize cpu.cache.
783
784Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
785
786 * Makefile.in: Add -I../../bfd to pick up bfd.h.
787
788Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
789
790 * run.c (main): Fix parsing of args.
791
792 * compile.c (sim_resume): Fix shll insn.
793
794Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
795
796 * compile.c: New file, supports H8/300H.
797 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
798
799Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
800
801 * run.c (main): Add -v to print info.
802 * p3.c (sim_info): New function.
803
804Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
805
806 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
807
808Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
809
810 * Makefile.in: Don't use cb or indent
811 * p1.c, state.h, writecode.c: lint
812
813Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
814
815 * Makefile.in: Make SunOS halfdone VPATH work.
816 * p1.c: Lint picked up by HP native compiler.
817
818Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
819
820 * p1.c (sim_resume): when running on dos, any character typed to
821 the keyboard will cause a simulated exception.
822
823Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
824
825 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
826 running
827
828Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
829
830 * new
831