f5732462821c148658de9a04f6e76f72661054e2
[platform/upstream/binutils.git] / sim / h8300 / ChangeLog
1 Fri Apr  5 17:20:59 1996  Jeffrey A Law  (law@cygnus.com)
2
3         * compile.c (decode): Use "bit" to hold L_3 immediates instead
4         of holding them in "abs".  Handle ABS8MEM memory references aka
5         8-bit area.  Replace ABSMOV references with ABS8MEM.
6
7 Wed Mar 13 17:43:56 1996  Jeffrey A Law  (law@cygnus.com)
8
9         * compile.c (fetch): Handle accesses to the exception/function
10         vectors.
11
12 Mon Mar 11 09:53:25 1996  Doug Evans  <dje@charmed.cygnus.com>
13
14         * compile.c: #include "wait.h".
15         (sim_resume, sleep insn): Check program exit status in r0.
16         (sim_resume, shift insns): Fix setting of overflow flag for shal.
17         * run.c: #include <signal.h>.
18         (main): Abort if program got SIGILL.
19         Print error message if argument is invalid.
20         (usage): Improve text.
21
22 Wed Feb 21 12:15:00 1996  Ian Lance Taylor  <ian@cygnus.com>
23
24         * configure: Regenerate with autoconf 2.7.
25
26 Thu Jan  4 11:52:53 1996  Doug Evans  <dje@canuck.cygnus.com>
27
28         * inst.h (MPOWER,MSIZE): Deleted.
29         (H8300{,H}_MSIZE): Define.
30         * compile.c (memory_size): New static global.
31         (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
32         (sim_write,sim_read): Use memory_size.
33
34 Fri Oct 13 15:03:19 1995  steve chamberlain  <sac@slash.cygnus.com>
35
36         * compile.c (sim_set_callbacks): New.
37
38 Tue Oct 10 11:11:26 1995  Fred Fish  <fnf@cygnus.com>
39
40         * Makefile.in (BISON): Remove macro.
41
42 Wed Sep 20 13:35:02 1995  Ian Lance Taylor  <ian@cygnus.com>
43
44         * Makefile.in (maintainer-clean): New synonym for realclean.
45
46 Fri Sep  8 12:18:53 1995  Ian Lance Taylor  <ian@cygnus.com>
47
48         * Makefile.in (install): Don't install in $(tooldir).
49
50         * configure.in: Call AC_CONFIG_HEADER.  Don't try to use
51         bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
52         AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES and AR.
53         Call AC_CHECK_HEADERS for stdlib.h and time.h.  Touch stamp.h if
54         creating config.h.
55         * configure: Rebuild.
56         * config.in: New file, created by autoheader.
57         * Makefile.in (AR): Define as @AR@.
58         (CC): New variable, defined as @CC@.
59         (CFLAGS): Define as @CFLAGS@.
60         (RANLIB): Define as @RANLIB@.
61         (HDEFINES, TDEFINES): New variables.
62         (@host_makefile_frag@): Remove.
63         (compile.o, run.o): Depend upon config.h.
64         (mostlyclean): Make the same as clean, not distclean.
65         (clean): Remove config.log.
66         (distclean): Remove config.h and stamp-h.
67         (Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
68         invoking config.status.
69         (config.h, stamp-h): New targets.
70         * compile.c: Include "config.h".  Don't include <sys/times.h>.
71         Include <time.h> and <stdlib.h> if they exist.  Don't include
72         "sysdep.h".
73         (get_now): Remove unused local b.
74         * run.c: Include "config.h".  Include <stdlib.h> if it exists.
75         Don't include "sysdep.h".
76         * writecode.c: Don't include "bfd.h" or "sysdep.h".  Include
77         <stdio.h>.
78
79 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
80
81         * Update all FSF addresses except those in COPYING* files.
82
83 Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
84
85         * Makefile.in (clean): Remove run.
86         (distclean): Remove Makefile.
87
88         * h8300.mt: Removed.
89
90         * Makefile.in, configure.in: converted to autoconf.
91         * configure: New file, generated with autconf 2.4.
92
93 Fri Jun 30 16:50:24 1995  Stan Shebs  <shebs@andros.cygnus.com>
94
95         * compile.c (sim_do_command): New function.
96
97 Tue Jun 20 16:18:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
98
99         * compile.c (get_now): Don't do if win32.
100         (sim_resume): Poll in win32 too.
101
102 Wed May 24 16:31:38 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
103
104         * configure.in: Fix typo in last change.
105
106 Mon Mar 27 10:32:34 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
107
108         * run.c: parse arguments with getopt().
109
110 Tue Feb 28 17:30:08 1995  Ian Lance Taylor  <ian@cygnus.com>
111
112         * configure.in: Use ../../bfd/hosts/std-host.h if specific
113         host unavailable.
114
115 Sun Jan 22 12:35:43 1995  Steve Chamberlain  <sac@splat>
116
117         * compile.c (sim_resume): Initialize cpu.mask.
118
119 Thu Sep  8 16:53:00 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
120
121         * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
122
123 Wed May 18 13:47:58 1994  Doug Evans  (dje@canuck.cygnus.com)
124
125         * compile.c: #include "bfd.h".
126         (sim_*): Set result type to void where there isn't one.
127         (sim_resume, default case): Set cpu.exception to SIGILL.
128         (sim_trace): Delete.
129         (sim_set_pc): Delete.
130         (sim_info): Delete printf_fn arg, all callers changed.
131         Call printf_filtered.
132         (set_h8300h): New arg `flag', all callers changed.
133         (sim_close): New function.
134         (sim_load): New function.
135         (sim_create_inferior): Renamed from sim_set_args, all callers changed.
136         * run.c: #include <varargs.h>, "remote-sim.h".
137         (printf_filtered): New function.
138
139 Fri May 13 18:32:27 1994  Doug Evans  (dje@canuck.cygnus.com)
140
141         * compile.c (decode): Fix typo (16 bit branches).
142         (*): Some white space clean up.
143
144 Fri May  6 13:44:01 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
145
146         * compile.c (decode): Compile 16bit branches properly.
147
148 Sat Dec 11 16:32:36 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
149
150         * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
151         andc.  Poll for interrupts.
152
153 Thu Oct 28 19:29:34 1993  Doug Evans  (dje@canuck.cygnus.com)
154
155         * compile.c: #include "ansidecl.h" for remote-sim.h.
156
157 Tue Oct 26 09:43:36 1993  Doug Evans  (dje@canuck.cygnus.com)
158
159         * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
160         * compile.c: #include "remote-sim.h".
161         (sim_resume): New arg siggnal.
162         (sim_write): Use SIM_ADDR for type of arg addr.
163         Always return a value.
164         (sim_read): Ditto.
165         (sim_store_register): Result is type int.
166         (sim_fetch_register): Ditto.
167         (sim_stop_reason): Renamed from sim_stop_signal.
168         (sim_set_pc): Use SIM_ADDR for type of arg pc.
169         (sim_info): int result, new arg printf_fn.
170         (sim_kill): int result.
171         (sim_open): int result, new arg name.
172         * run.c (main): Use sim_set_pc to set pc.
173         Update call to sim_info.
174
175 Sat Oct 23 15:01:18 1993  Doug Evans  (dje@canuck.cygnus.com)
176
177         * compile.c (sim_stop_signal): Result is now enum sim_stop.
178
179 Fri Oct 15 23:49:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
180
181         * compile.c (sim_kill, sim_open, sim_set_args): New functions.
182
183 Thu Oct  7 16:24:10 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
184
185         * compile.c (sim_set_pc): Write to the pc direcly.
186         (sim_store_register): Now value is passed by reference. (sim_read,
187         sim_write): Return number of bytes copied.
188
189 Tue Aug 17 07:16:15 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
190
191         * compile.c (mop): New function to do multiplies.
192
193 Fri Jul 16 13:53:53 1993  Doug Evans  (dje@canuck.cygnus.com)
194
195         * compile.c (sim_resume): Add support for nop insn.
196
197 Thu Jul 15 09:59:01 1993  Doug Evans  (dje@canuck.cygnus.com)
198
199         * compile.c: Reset HMODE back to zero (accidently set it to 1).
200
201         * run.c (main): If h8/300h binary detected, call set_h8300h.
202         * compile.c (sim_resume): Fix O_NEG insn.
203
204 Fri Jul  9 14:36:48 1993  Doug Evans  (dje@canuck.cygnus.com)
205
206         * run.c (main): Add -h flag to enable h8/300h emulation.
207         * compile.c: Rename Hmode to HMODE (consistency with gdb).
208         (set_h8300h): New function.
209         (sim_resume): Add support for extu,exts insns.
210         (sim_resume): Fix logical right shifting.
211         (sim_resume, label alu32): Fix setting of carry flag.
212         
213 Sun Jul  4 00:35:41 1993  Doug Evans  (dje@canuck.cygnus.com)
214
215         * compile.c (sim_csize): Initialize cpu.cache.
216
217 Fri Jul  2 17:42:59 1993  Doug Evans  (dje@canuck.cygnus.com)
218
219         * Makefile.in: Add -I../../bfd to pick up bfd.h.
220
221 Thu Jun 24 13:40:12 1993  Doug Evans  (dje@canuck.cygnus.com)
222
223         * run.c (main): Fix parsing of args.
224
225         * compile.c (sim_resume): Fix shll insn.
226
227 Tue Jun  8 14:16:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
228
229         * compile.c: New file, supports H8/300H.
230         * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
231
232 Tue Jun  1 11:14:59 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
233
234         * run.c (main): Add -v to print info.
235         * p3.c (sim_info):  New function.
236
237 Mon Mar 15 15:48:31 1993  Ian Lance Taylor  (ian@cygnus.com)
238
239         * h8300.mt (DO_INSTALL): Renamed from INSTALL.
240
241 Wed Mar  3 15:06:53 1993  Steve Chamberlain  (sac@poseidon.cygnus.com)
242
243         * Makefile.in: Don't use cb or indent
244         * p1.c, state.h, writecode.c: lint
245
246 Mon Feb  1 16:44:58 1993  John Gilmore  (gnu@cygnus.com)
247
248         * Makefile.in:  Make SunOS halfdone VPATH work.
249         * p1.c:  Lint picked up by HP native compiler.
250
251 Mon Jan  4 12:32:35 1993  Steve Chamberlain  (sac@wahini.cygnus.com)
252
253         * p1.c (sim_resume): when running on dos, any character typed to
254         the keyboard will cause a simulated exception.
255
256 Sun Jan  3 14:15:07 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
257
258         * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
259         running
260
261 Tue Dec 22 13:56:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
262
263         * new 
264