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