* compile.c (init_pointers): Abort if wreg never gets initialized.
[external/binutils.git] / sim / h8300 / ChangeLog
1 2003-02-05  Kazu Hirata  <kazu@cs.umass.edu>
2
3         * compile.c (init_pointers): Abort if wreg never gets initialized.
4         (sim_resume): Fix the handling of exts.w and extu.w.
5
6 2003-01-31  Kazu Hirata  <kazu@cs.umass.edu>
7
8         * compile.c (sim_resume): Fix the handling of bxor.
9
10 2003-01-16  Michael Snyder  <msnyder@redhat.com>
11
12         * compile.c: Change K&R function definitions to ISO.
13         (fetch): Make static, and eliminate unused parameter 'n'.
14
15 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
16
17         * compile.c: Fix formatting.
18         * inst.h: Likewise.
19
20 2002-07-29  Andrey Volkov  <avolkov@transas.com>
21
22         * compile.c: Include "gdb/sim-h8300.h"
23         * Makefile.in: Add dependences on "inst.h",
24         "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
25
26 2002-06-16  Andrew Cagney  <ac131313@redhat.com>
27
28         * configure: Regenerated to track ../common/aclocal.m4 changes.
29
30 2002-06-08  Andrew Cagney  <cagney@redhat.com>
31
32         * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
33
34 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
35
36         * compile.c: Fix formatting.
37
38 2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
39
40         * compile.c: Fix formatting.
41
42 2002-05-17  Andrey Volkov  (avolkov@transas.com)
43
44         * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
45         
46 2002-05-17  Andrey Volkov  (avolkov@transas.com)
47
48         * compile.c: Add support of EXR register
49         * inst.h: Ditto.
50         
51 2002-05-17  Andrey Volkov  (avolkov@transas.com)
52
53         * compile.c: Made h8300s as new target, not h8300h alias.
54         * inst.h: Ditto.
55                 
56 2002-05-17  Andrey Volkov  (avolkov@transas.com)
57
58         * compile.c: Add additional CCR flags (I,UI,H,U) 
59
60 2002-05-17  Andrey Volkov  (avolkov@transas.com)
61
62         * compile.c: Change literal regnumbers to REGNUMS. 
63         Fix instruction and cycles counting
64
65 2001-12-20  Kazu Hirata  <kazu@hxi.com>
66
67         * compile.c: Fix formatting.
68
69 2001-12-20  Kazu Hirata  <kazu@hxi.com>
70
71         * compile.c: Fix comment typos.
72
73 2000-08-10  Kazu Hirata  <kazu@hxi.com>
74
75         * compile.c (decode): Clean up the code.
76
77 2000-06-15  Kazu Hirata  <kazu@hxi.com>
78
79         * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
80         correctly.
81
82 2000-06-20  Frank Ch. Eigler  <fche@redhat.com>
83
84         * compile.c: Don't include "wait.h".
85         (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
86         instead of WIF* from host.
87
88 2000-06-13  Frank Ch. Eigler  <fche@redhat.com>
89
90         * compile.c, writecode.c: Correct typo.
91
92 2000-06-13  Kazu Hirata  <kazu@hxi.com>
93
94         * compile.c: Fix formatting.
95
96 Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
97
98         * configure: Regenerated to track ../common/aclocal.m4 changes.
99
100 Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
101
102         * configure: Regenerated to track ../common/aclocal.m4 changes.
103
104 1999-05-08  Felix Lee  <flee@cygnus.com>
105
106         * configure: Regenerated to track ../common/aclocal.m4 changes.
107         
108 1999-04-02  Keith Seitz  <keiths@cygnus.com>
109
110         * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
111         frequency at which the poll_quit callback is used.
112         (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
113
114 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
115
116         * configure: Regenerated to track ../common/aclocal.m4 changes.
117
118 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
119
120         * configure: Regenerated to track ../common/aclocal.m4 changes.
121         * config.in: Ditto.
122
123 Sun Apr 26 15:20:14 1998  Tom Tromey  <tromey@cygnus.com>
124
125         * acconfig.h: New file.
126         * configure.in: Reverted change of Apr 24; use sinclude again.
127
128 Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
129
130         * configure: Regenerated to track ../common/aclocal.m4 changes.
131         * config.in: Ditto.
132
133 Fri Apr 24 11:19:46 1998  Tom Tromey  <tromey@cygnus.com>
134
135         * configure.in: Don't call sinclude.
136
137 Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
138
139         * configure: Regenerated to track ../common/aclocal.m4 changes.
140
141 Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
142
143         * configure: Regenerated to track ../common/aclocal.m4 changes.
144
145 Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
146
147         * configure: Regenerated to track ../common/aclocal.m4 changes.
148
149 Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
150
151         * configure: Regenerated to track ../common/aclocal.m4 changes.
152
153 Tue Feb 17 12:42:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
154
155         * compile.c (sim_store_register, sim_fetch_register): Pass in
156         length parameter.  Return -1.
157
158 Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
159
160         * configure: Regenerated to track ../common/aclocal.m4 changes.
161
162 Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
163
164         * configure: Regenerated to track ../common/aclocal.m4 changes.
165
166 Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
167
168         * configure: Regenerated to track ../common/aclocal.m4 changes.
169
170 Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
171
172         * configure: Regenerated to track ../common/aclocal.m4 changes.
173         * config.in: Ditto.
174
175 Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
176
177         * configure: Regenerated to track ../common/aclocal.m4 changes.
178
179 Tue Nov 11 16:52:07 1997  Angela Marie Thomas (angela@cygnus.com)
180
181         * compile.c: #include stdio.h for definition of NULL on
182         some platforms.
183
184 Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
185
186         * compile.c (sim_load): Pass lma_p and sim_write args to
187         sim_load_file.
188
189 Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
190
191         * configure: Regenerated to track ../common/aclocal.m4 changes.
192
193 Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
194
195         * configure: Regenerated to track ../common/aclocal.m4 changes.
196
197 Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
198
199         * configure: Regenerated to track ../common/aclocal.m4 changes.
200
201 Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
202
203         * configure: Regenerated to track ../common/aclocal.m4 changes.
204
205 Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
206
207         * configure: Regenerated to track ../common/aclocal.m4 changes.
208
209 Wed Sep 17 12:00:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
210
211         * Makefile.in (compile.o): Depend on config.h in local directory.
212
213 Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
214
215         * configure: Regenerated to track ../common/aclocal.m4 changes.
216
217 Tue Sep  9 22:17:26 1997  Felix Lee  <flee@cygnus.com>
218
219         * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
220         with sim/common.
221         * configure.in: check for sys/param.h
222         * compile.c: #ifdef HAVE_SYS_PARAM_H.
223         #define SIGTRAP for wingdb.
224         (sim_resume): poll keyboard at least once per call.
225         (sim_resume): use host_callback instead of printf for syscall
226         output.
227
228 Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
229
230         * configure: Regenerated to track ../common/aclocal.m4 changes.
231
232 Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
233
234         * configure: Regenerated to track ../common/aclocal.m4 changes.
235         * config.in: Ditto.
236
237 Tue Aug 26 10:38:43 1997  Andrew Cagney  <cagney@b1.cygnus.com>
238
239         * compile.c (sim_kill): Delete.
240         (sim_create_inferior): Add ABFD argument.
241         (sim_load): Move setting of PC from here.
242         (sim_create_inferior): To here.
243         (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
244         the sim_load code should be moved to sim_open.
245
246 Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
247
248         * configure: Regenerated to track ../common/aclocal.m4 changes.
249         * config.in: Ditto.
250
251 Mon Aug 25 15:47:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
252
253         * compile.c (sim_open): Add ABFD argument.
254
255 Tue May 20 10:16:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
256
257         * compile.c (sim_open): Add callback argument.
258         (sim_set_callbacks): Delete SIM_DESC argument.
259
260 Wed Apr 30 10:22:29 1997  Doug Evans  <dje@canuck.cygnus.com>
261
262         * compile.c (sim_load): Call bfd_get_mach instead of examining
263         bfd fields directly.
264         * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
265
266 Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
267
268         * configure: Regenerated to track ../common/aclocal.m4 changes.
269
270 Fri Apr 18 14:30:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
271
272         * compile.c (sim_resume): Use poll_quit callback.
273         (sim_stop): New function.
274
275 Thu Apr 17 03:06:39 1997  Doug Evans  <dje@canuck.cygnus.com>
276
277         * Makefile.in (SIM_OBJS): Add sim-load.o.
278         * compile.c (sim_kind, myname): New static locals.
279         (sim_open): Set sim_kind, myname.
280         (sim_load): Return SIM_RC.  New arg abfd.  Update test for h8300h.
281         Call sim_load_file to load file into simulator.  Set start address
282         from bfd.
283         (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
284
285 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
286
287         * configure: Regenerated to track ../common/aclocal.m4 changes.
288         * config.in: Ditto.
289
290 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
291
292         * compile.c (sim_open): New arg `kind'.
293
294         * configure: Regenerated to track ../common/aclocal.m4 changes.
295
296 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
297
298         * configure: Regenerated to track ../common/aclocal.m4 changes.
299
300 Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
301
302         * configure: Regenerated to track ../common/aclocal.m4 changes.
303
304 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
305
306         * configure: Re-generate.
307
308 Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
309
310         * configure: Regenerate to track ../common/aclocal.m4 changes.
311
312 Thu Mar 13 12:48:05 1997  Doug Evans  <dje@canuck.cygnus.com>
313
314         * compile.c (sim_open): New SIM_DESC result.  Argument is now in
315         argv form.
316         (other sim_*): New SIM_DESC argument.
317
318 Tue Feb  4 13:36:29 1997  Doug Evans  <dje@canuck.cygnus.com>
319
320         * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
321         COMMON_{PRE,POST}_CONFIG_FRAG instead.
322         * configure.in: sinclude ../common/aclocal.m4.
323         * configure: Regenerated.
324
325 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
326
327         * configure configure.in Makefile.in:  Update to new configure
328         scheme which is more compatible with WinGDB builds.
329         * configure.in:  Improve comment on how to run autoconf.
330         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
331         * Makefile.in:  Use autoconf substitution to install common
332         makefile fragment.
333
334 Wed Nov 20 01:39:12 1996  Doug Evans  <dje@canuck.cygnus.com>
335
336         * Makefile.in: Delete stuff moved to ../common/Make-common.in.
337         (SIM_OBJS): Define.
338         * configure.in: Simplify using macros in ../common/aclocal.m4.
339         * configure: Regenerated.
340         * inst.h (enum sim_state): Define.
341         (cpu_state_type): New member `state'.  Set it whenever `exception'
342         is set.
343         * compile.c (sim_callback): New global.
344         (sim_set_simcache_size): Renamed from sim_csize.
345         (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
346         'cus it can't work.  Change main loop exit test to use cpu.state.
347         (sim_trace): New function.
348         (sim_stop_reason): Add right way to set results, but #if 0 out.
349         (sim_size): New function.
350         (sim_info): Redirect calls to printf_filtered through callback.
351         (sim_set_callbacks): Record callback.
352         * run.c: Deleted, using one in ../common now.
353         * tconfig.in: New file.
354
355 Thu Oct  3 16:13:18 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
356
357         * Makefile.in (mostlyclean): Don't remove config.log here.
358
359 Fri Aug  9 22:59:11 1996  Jeffrey A Law  (law@cygnus.com)
360
361         * compile.c (sim_resume): rts, sleep, bpt and nop have
362         no associated "size".
363
364 Tue Jul  9 22:15:39 1996  Jeffrey A Law  (law@cygnus.com)
365
366         * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
367
368 Tue Jul  2 23:08:45 1996  Jeffrey A Law  (law@cygnus.com)
369
370         * run.c (main): Don't "load" sections which don't have
371         SEC_LOAD set.
372         * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
373         of OSHIFTS.
374         (ONOT): Define.
375         (sim_resume, shift/rotate cases): Add support for shift/rotate
376         by two bits.
377         (OSHIFTS): Corresponding changes.
378
379 Tue Jul  2 01:37:27 1996  Jeffrey A Law  (law@cygnus.com)
380
381         * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
382
383 Wed Jun 26 08:58:53 1996  Jeffrey A Law  (law@cygnus.com)
384
385         * compile.c (h8300smode): Declare.
386
387 Wed Jun 26 12:20:56 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
388
389         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
390         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
391         (docdir): Removed.
392         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
393         (AC_PROG_INSTALL): Added.
394         * configure: Rebuilt.
395
396 Tue Jun 18 16:31:10 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
397
398         * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
399         * run.c (main): Treat the H8/S like the H8/300H for now.
400         
401 Fri May 24 10:35:25 1996  Jeffrey A Law  (law@cygnus.com)
402
403         * compile.c (SEXTCHAR): Clear upper bits when sign
404         bit is clear.
405
406 Wed May 22 22:23:37 1996  Jeffrey A Law  (law@cygnus.com)
407
408         * compile.c (sim_resume): Correctly handle divu.
409
410 Tue May  7 02:13:05 1996  Jeffrey A Law  (law@cygnus.com)
411
412         * compile.c (sim_resume): Never allow the PC to have an
413         odd value.
414
415 Fri Apr 12 16:50:37 1996  Jeffrey A Law  (law@cygnus.com)
416
417         * inst.h: Expand on comments regarding H8300H_MSIZE.  Note
418         separate memory is allocate for the 8-bit area.
419         (struct cpu_state_type): Add new "eightbit' field.
420         * compile.c (GET_MEMORY_L): Handle access into the 8-bit
421         area.
422         (GET_MEMORY_W, GET_MEMORY_B): Likewise.
423         (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
424         (init_pointers): Initialize space for the 8-bit area.
425         (sim_write): Handle writing into the 8-bit area.
426         (sim_read): Handle reading from the 8-bit area.
427         (sim_load): Reallocate space for the 8-bit area.
428
429         * compile.c (sim_load): Re-allocate memory for the simulator
430         here.
431
432 Fri Apr 12 09:39:56 1996  Jeffrey A Law  (law@cygnus.com)
433
434         * compile.c (sim_resume): Fix and simplify overflow and carry
435         handling for 32bit ALU insns.
436
437 Mon Apr  8 23:58:49 1996  Jeffrey A Law  (law@cygnus.com)
438
439         * compile.c (sim_resume): Fix overflow checks for ALU insns.
440
441 Fri Apr  5 17:20:59 1996  Jeffrey A Law  (law@cygnus.com)
442
443         * compile.c (decode): Use "bit" to hold L_3 immediates instead
444         of holding them in "abs".  Handle ABS8MEM memory references aka
445         8-bit area.  Replace ABSMOV references with ABS8MEM.
446
447 Wed Mar 13 17:43:56 1996  Jeffrey A Law  (law@cygnus.com)
448
449         * compile.c (fetch): Handle accesses to the exception/function
450         vectors.
451
452 Mon Mar 11 09:53:25 1996  Doug Evans  <dje@charmed.cygnus.com>
453
454         * compile.c: #include "wait.h".
455         (sim_resume, sleep insn): Check program exit status in r0.
456         (sim_resume, shift insns): Fix setting of overflow flag for shal.
457         * run.c: #include <signal.h>.
458         (main): Abort if program got SIGILL.
459         Print error message if argument is invalid.
460         (usage): Improve text.
461
462 Wed Feb 21 12:15:00 1996  Ian Lance Taylor  <ian@cygnus.com>
463
464         * configure: Regenerate with autoconf 2.7.
465
466 Thu Jan  4 11:52:53 1996  Doug Evans  <dje@canuck.cygnus.com>
467
468         * inst.h (MPOWER,MSIZE): Deleted.
469         (H8300{,H}_MSIZE): Define.
470         * compile.c (memory_size): New static global.
471         (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
472         (sim_write,sim_read): Use memory_size.
473
474 Fri Oct 13 15:03:19 1995  steve chamberlain  <sac@slash.cygnus.com>
475
476         * compile.c (sim_set_callbacks): New.
477
478 Tue Oct 10 11:11:26 1995  Fred Fish  <fnf@cygnus.com>
479
480         * Makefile.in (BISON): Remove macro.
481
482 Wed Sep 20 13:35:02 1995  Ian Lance Taylor  <ian@cygnus.com>
483
484         * Makefile.in (maintainer-clean): New synonym for realclean.
485
486 Fri Sep  8 12:18:53 1995  Ian Lance Taylor  <ian@cygnus.com>
487
488         * Makefile.in (install): Don't install in $(tooldir).
489
490         * configure.in: Call AC_CONFIG_HEADER.  Don't try to use
491         bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
492         AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES and AR.
493         Call AC_CHECK_HEADERS for stdlib.h and time.h.  Touch stamp.h if
494         creating config.h.
495         * configure: Rebuild.
496         * config.in: New file, created by autoheader.
497         * Makefile.in (AR): Define as @AR@.
498         (CC): New variable, defined as @CC@.
499         (CFLAGS): Define as @CFLAGS@.
500         (RANLIB): Define as @RANLIB@.
501         (HDEFINES, TDEFINES): New variables.
502         (@host_makefile_frag@): Remove.
503         (compile.o, run.o): Depend upon config.h.
504         (mostlyclean): Make the same as clean, not distclean.
505         (clean): Remove config.log.
506         (distclean): Remove config.h and stamp-h.
507         (Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
508         invoking config.status.
509         (config.h, stamp-h): New targets.
510         * compile.c: Include "config.h".  Don't include <sys/times.h>.
511         Include <time.h> and <stdlib.h> if they exist.  Don't include
512         "sysdep.h".
513         (get_now): Remove unused local b.
514         * run.c: Include "config.h".  Include <stdlib.h> if it exists.
515         Don't include "sysdep.h".
516         * writecode.c: Don't include "bfd.h" or "sysdep.h".  Include
517         <stdio.h>.
518
519 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
520
521         * Update all FSF addresses except those in COPYING* files.
522
523 Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
524
525         * Makefile.in (clean): Remove run.
526         (distclean): Remove Makefile.
527
528         * h8300.mt: Removed.
529
530         * Makefile.in, configure.in: converted to autoconf.
531         * configure: New file, generated with autconf 2.4.
532
533 Fri Jun 30 16:50:24 1995  Stan Shebs  <shebs@andros.cygnus.com>
534
535         * compile.c (sim_do_command): New function.
536
537 Tue Jun 20 16:18:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
538
539         * compile.c (get_now): Don't do if win32.
540         (sim_resume): Poll in win32 too.
541
542 Wed May 24 16:31:38 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
543
544         * configure.in: Fix typo in last change.
545
546 Mon Mar 27 10:32:34 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
547
548         * run.c: parse arguments with getopt().
549
550 Tue Feb 28 17:30:08 1995  Ian Lance Taylor  <ian@cygnus.com>
551
552         * configure.in: Use ../../bfd/hosts/std-host.h if specific
553         host unavailable.
554
555 Sun Jan 22 12:35:43 1995  Steve Chamberlain  <sac@splat>
556
557         * compile.c (sim_resume): Initialize cpu.mask.
558
559 Thu Sep  8 16:53:00 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
560
561         * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
562
563 Wed May 18 13:47:58 1994  Doug Evans  (dje@canuck.cygnus.com)
564
565         * compile.c: #include "bfd.h".
566         (sim_*): Set result type to void where there isn't one.
567         (sim_resume, default case): Set cpu.exception to SIGILL.
568         (sim_trace): Delete.
569         (sim_set_pc): Delete.
570         (sim_info): Delete printf_fn arg, all callers changed.
571         Call printf_filtered.
572         (set_h8300h): New arg `flag', all callers changed.
573         (sim_close): New function.
574         (sim_load): New function.
575         (sim_create_inferior): Renamed from sim_set_args, all callers changed.
576         * run.c: #include <varargs.h>, "remote-sim.h".
577         (printf_filtered): New function.
578
579 Fri May 13 18:32:27 1994  Doug Evans  (dje@canuck.cygnus.com)
580
581         * compile.c (decode): Fix typo (16 bit branches).
582         (*): Some white space clean up.
583
584 Fri May  6 13:44:01 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
585
586         * compile.c (decode): Compile 16bit branches properly.
587
588 Sat Dec 11 16:32:36 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
589
590         * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
591         andc.  Poll for interrupts.
592
593 Thu Oct 28 19:29:34 1993  Doug Evans  (dje@canuck.cygnus.com)
594
595         * compile.c: #include "ansidecl.h" for remote-sim.h.
596
597 Tue Oct 26 09:43:36 1993  Doug Evans  (dje@canuck.cygnus.com)
598
599         * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
600         * compile.c: #include "remote-sim.h".
601         (sim_resume): New arg siggnal.
602         (sim_write): Use SIM_ADDR for type of arg addr.
603         Always return a value.
604         (sim_read): Ditto.
605         (sim_store_register): Result is type int.
606         (sim_fetch_register): Ditto.
607         (sim_stop_reason): Renamed from sim_stop_signal.
608         (sim_set_pc): Use SIM_ADDR for type of arg pc.
609         (sim_info): int result, new arg printf_fn.
610         (sim_kill): int result.
611         (sim_open): int result, new arg name.
612         * run.c (main): Use sim_set_pc to set pc.
613         Update call to sim_info.
614
615 Sat Oct 23 15:01:18 1993  Doug Evans  (dje@canuck.cygnus.com)
616
617         * compile.c (sim_stop_signal): Result is now enum sim_stop.
618
619 Fri Oct 15 23:49:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
620
621         * compile.c (sim_kill, sim_open, sim_set_args): New functions.
622
623 Thu Oct  7 16:24:10 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
624
625         * compile.c (sim_set_pc): Write to the pc direcly.
626         (sim_store_register): Now value is passed by reference. (sim_read,
627         sim_write): Return number of bytes copied.
628
629 Tue Aug 17 07:16:15 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
630
631         * compile.c (mop): New function to do multiplies.
632
633 Fri Jul 16 13:53:53 1993  Doug Evans  (dje@canuck.cygnus.com)
634
635         * compile.c (sim_resume): Add support for nop insn.
636
637 Thu Jul 15 09:59:01 1993  Doug Evans  (dje@canuck.cygnus.com)
638
639         * compile.c: Reset HMODE back to zero (accidently set it to 1).
640
641         * run.c (main): If h8/300h binary detected, call set_h8300h.
642         * compile.c (sim_resume): Fix O_NEG insn.
643
644 Fri Jul  9 14:36:48 1993  Doug Evans  (dje@canuck.cygnus.com)
645
646         * run.c (main): Add -h flag to enable h8/300h emulation.
647         * compile.c: Rename Hmode to HMODE (consistency with gdb).
648         (set_h8300h): New function.
649         (sim_resume): Add support for extu,exts insns.
650         (sim_resume): Fix logical right shifting.
651         (sim_resume, label alu32): Fix setting of carry flag.
652         
653 Sun Jul  4 00:35:41 1993  Doug Evans  (dje@canuck.cygnus.com)
654
655         * compile.c (sim_csize): Initialize cpu.cache.
656
657 Fri Jul  2 17:42:59 1993  Doug Evans  (dje@canuck.cygnus.com)
658
659         * Makefile.in: Add -I../../bfd to pick up bfd.h.
660
661 Thu Jun 24 13:40:12 1993  Doug Evans  (dje@canuck.cygnus.com)
662
663         * run.c (main): Fix parsing of args.
664
665         * compile.c (sim_resume): Fix shll insn.
666
667 Tue Jun  8 14:16:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
668
669         * compile.c: New file, supports H8/300H.
670         * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
671
672 Tue Jun  1 11:14:59 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
673
674         * run.c (main): Add -v to print info.
675         * p3.c (sim_info):  New function.
676
677 Mon Mar 15 15:48:31 1993  Ian Lance Taylor  (ian@cygnus.com)
678
679         * h8300.mt (DO_INSTALL): Renamed from INSTALL.
680
681 Wed Mar  3 15:06:53 1993  Steve Chamberlain  (sac@poseidon.cygnus.com)
682
683         * Makefile.in: Don't use cb or indent
684         * p1.c, state.h, writecode.c: lint
685
686 Mon Feb  1 16:44:58 1993  John Gilmore  (gnu@cygnus.com)
687
688         * Makefile.in:  Make SunOS halfdone VPATH work.
689         * p1.c:  Lint picked up by HP native compiler.
690
691 Mon Jan  4 12:32:35 1993  Steve Chamberlain  (sac@wahini.cygnus.com)
692
693         * p1.c (sim_resume): when running on dos, any character typed to
694         the keyboard will cause a simulated exception.
695
696 Sun Jan  3 14:15:07 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
697
698         * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
699         running
700
701 Tue Dec 22 13:56:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
702
703         * new 
704