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