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