Add ABFD argument to sim_create_inferior. Document.
[external/binutils.git] / sim / erc32 / ChangeLog
1 Tue Aug 26 10:38:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
2
3         * float.c (__setfpucw): Compile on any i386 target.  Not just NT.
4
5         * interf.c (sim_kill): Delete.
6         (sim_create_inferior): Add ABFD argument.  Initialize PC from ABFD
7         argument.
8         (sim_load): Don't save start address.
9         (start_address): Delete variable.
10
11 Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
12
13         * configure: Regenerated to track ../common/aclocal.m4 changes.
14         * config.in: Ditto.
15
16 Mon Aug 25 16:19:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
17
18         * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
19
20 Mon Jun 30 11:45:25 1997  Doug Evans  <dje@canuck.cygnus.com>
21
22         * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
23
24 Wed May 28 09:46:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
25
26         * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
27         (sim_open): Add callback arg, save it.
28
29 Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
30
31         * configure: Regenerated to track ../common/aclocal.m4 changes.
32
33 Tue Apr 22 11:05:01 1997  Doug Evans  <dje@canuck.cygnus.com>
34
35         * interf.c (sim_open): Undo patch to add -E support.
36
37 Thu Apr 17 03:03:56 1997  Doug Evans  <dje@canuck.cygnus.com>
38
39         * interf.c (sim_open): Ignore -E arg.
40         (start_address): New static local.
41         (sim_load): Return SIM_RC.  New arg abfd.  Set start_address from bfd.
42         (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
43
44 Tue Apr 15 15:16:11 1997  Ian Lance Taylor  <ian@cygnus.com>
45
46         * Makefile.in (install-sis): Depend upon installdirs.  Use
47         $(program_transform_name) directly, rather than using
48         $(INSTALL_XFORM).
49
50 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
51
52         * configure: Regenerated to track ../common/aclocal.m4 changes.
53         * config.in: Ditto.
54
55 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
56
57         * interf.c (sim_open): New arg `kind'.
58
59         * configure: Regenerated to track ../common/aclocal.m4 changes.
60
61 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
62
63         * configure: Regenerated to track ../common/aclocal.m4 changes.
64
65 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
66
67         * configure: Re-generate.
68
69 Thu Mar 13 12:46:04 1997  Doug Evans  <dje@canuck.cygnus.com>
70
71         * interf.c (sim_open): New SIM_DESC result.  Argument is now in
72         argv form.
73         (other sim_*): New SIM_DESC argument.
74
75 Tue Feb  4 13:35:20 1997  Doug Evans  <dje@canuck.cygnus.com>
76
77         * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
78         COMMON_{PRE,POST}_CONFIG_FRAG instead.
79         * configure.in: sinclude ../common/aclocal.m4.
80         * configure: Regenerated.
81
82 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
83
84         * configure configure.in Makefile.in:  Update to new configure
85         scheme which is more compatible with WinGDB builds.
86         * configure.in:  Improve comment on how to run autoconf.
87         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
88         * Makefile.in:  Use autoconf substitution to install common
89         makefile fragment.
90
91 Wed Dec  4 18:25:04 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
92
93         * interf.c (run_sim): Stop the simulator and reset the stdio after
94         breakpoints.
95
96 Tue Dec  3 11:54:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
97
98         * configure.in: Look for libtermcap.a.
99         * Makefile.in: Only link in -ltermcap if it exists.
100         * erc32.c: Update to version 2.6a. Fix uart handling.
101         * exec.c: Update to version 2.6a. Add sparclite support.
102         * float.c: Update to version 2.6a. Convert comments to
103         preprocessor warnings. Add __setfpucw() for i385 hosts so floating
104         point exceptions work on win32.
105         * func.c: Update to version 2.6a. Fix uart handling, add support
106         for user error traps.
107         * help.c: Update to version 2.6a. Add help note on user error
108         traps.
109         * interf.c: Update to version 2.6a. Fix uart handling, and add
110         sparclite support.
111         * examples/gccx: Use sparclite cross compiler, not native gcc.
112         * examples/srt0.S: Use "mov" rather than "wr" for manipulating
113         the psr register.
114
115 Mon Nov 25 08:28:10 1996  Fred Fish  <fnf@cygnus.com>
116
117         * Makefile.in (run.o): Remove this rule, it hides the one in
118         ../common/Make-common.in that correctly references the source
119         in the sibling ../common directory.
120
121 Wed Nov 20 01:30:12 1996  Doug Evans  <dje@canuck.cygnus.com>
122
123         * Makefile.in: Delete stuff moved to ../common/Make-common.in.
124         (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
125         (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
126         * configure.in: Simplify using macros in ../common/aclocal.m4.
127         Call AC_CHECK_HEADERS(stdlib.h).
128         * configure: Regenerated.
129         * config.in: New file.
130         * func.c (sim_set_callbacks): Delete, moved to
131         * interf.c (sim_set_callbacks): here.
132         (sim_callback): New global.
133         Rewrite all calls to printf_filtered to go through callback.
134         (sim_size,sim_trace): New functions.
135         (sim_{insert,remove}_breakpoint): #if 0 out.
136         * sis.c: #include "config.h".  #include <stdlib.h> if present.
137         (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
138         * sis.h: #include "callback.h".
139         * run.c: Deleted, using one in ../common now.
140
141 Thu Oct  3 16:12:03 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
142
143         * Makefile.in (clean): Move config.log to distclean.
144
145 Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
146
147         * Makefile.in (clean): Also remove config.log.
148
149 Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
150
151         * Makefile.in (CC_FOR_BUILD): New variable.
152         (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
153         (RANLIB, CC): Likewise.
154         (end): Use $(CC_FOR_BUILD), not $(CC).
155         * configure.in: Set CC_FOR_BUILD.
156         * configure: Rebuild.
157
158 Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
159
160         * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
161         there either...).
162
163 Mon Aug 12 17:04:58 1996  Stu Grossman  (grossman@critters.cygnus.com)
164
165         * erc32.c:  Don't include sys/ioctl.h or sys/file.h.  They aren't
166         necessary.
167         * (port_init):  Don't even *try* to open pty's under _WIN32.
168         * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
169         * float.c:  Get rid of #warning.  Makes Microsoft C barf.
170         * interf.c (sim_open):  Cast fprintf to (fprintf_ftype) to fix
171         compiler warning.
172         * (sim_load sim_create_inferior sim_read):  Use prototypes only in
173         decls, not defs.
174         * Get rid of enum sim_stop.  It's defined in remote-sim.h.
175         * (sim_stop_reason):  Define SIGTRAP if _WIN32.
176         * sis.h:  Include ansidecl.h and remote-sim.h.
177
178 Wed Jul  3 16:05:23 1996  Stu Grossman  (grossman@critters.cygnus.com)
179
180         * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
181         sis.h:  Get rid of all uses of long long's.
182         * (close_port read_uart write_uart uarta_tx):  Don't seg fault
183         when can't open pty's.
184         * exec.c:  Add two new instructions: smul, and divscc.
185         * interf.c (flush_windows):  New routine to flush the register
186         windows out to the stack just before returning to GDB.  Makes
187         backtraces work much better.
188
189 Wed Jun 26 12:19:11 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
190
191         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
192         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
193         (docdir, oldincludedir): Removed.
194         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
195         (AC_PROG_INSTALL): Added.
196         * configure: Rebuilt.
197
198 Mon Jun 24 14:19:07 1996  Ian Lance Taylor  <ian@cygnus.com>
199
200         * configure.in: Call AC_PROG_CC before running configure.host.
201         * configure: Rebuild with autoconf 2.10.
202
203 Tue Jun  4 10:37:12 1996  Tom Tromey  <tromey@csk3.cygnus.com>
204
205         * Makefile.in (install): Don't check to see if tooldir exists.
206         Make $(tooldir) and $(tooldir)/bin.
207
208 Mon Jun  3 12:33:38 1996  Ian Lance Taylor  <ian@cygnus.com>
209
210         * Makefile.in (end.h): Use explicit ./ when running end.
211
212 Sun May 19 21:05:31 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
213
214         * func.c(bfd_load): Don't try to print the filename if the pfbd is
215         NULL.
216         * interf.c(sim_load): Pass the whole string, not just the first
217         byte.
218
219 Version 2.1 26-02-96
220 --------------------
221  
222 * Fixed bug in "go" command.
223  
224 version 2.0 05-02-96
225 --------------------
226
227 * Fixed bug in interrupt force register (erc32.c).
228
229 * Change file load function to use bfd_openr.
230
231 * SIS should now be endian independent.
232
233 version 1.8 24-11-95
234 --------------------
235
236 * Fixed FPU timing - some sequences of FPU instructions did not calculate
237   the resource dependencies right.
238
239 * Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
240   but no FPU trap is generated.
241
242 version 1.7.1 31-10-95
243 --------------------
244
245 * Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
246   the FPU stays in execute mode.
247
248 * Corrected JMPL and RETT timing (these instructions takes two cycles).
249
250
251 version 1.7 25-10-95
252 --------------------
253
254 * Interrupt during annuled instruction corrupted return address - fixed.
255
256
257 version 1.6.2 25-10-95
258 --------------------
259
260 * Added -DFAST_UART to Makefile
261  
262
263 version 1.6.1 24-10-95
264 --------------------
265  
266 * Fixed bug in STDFQ which caused bus error
267
268
269 version 1.6 02-10-95
270 --------------------
271  
272 * Modified srt0.s to include code that initiates registers in IU and FPU
273   and initializes the data segment. The simulator 'load' command does not
274   longer initialize the data segment!
275
276 * Corrected MEC timer operation; scalers now divide the frequency by 
277   (scaler_value + 1).
278
279 * MEC breakpoints are not checked during store operation
280
281
282 version 1.5 14-09-95
283 --------------------
284
285 * Fixed some bugs in the cycle counting for IU & FPU instructions.
286
287 * Fixed bug that allowed an annuled instruction to cause memory exception.
288
289 * The *ws parameter in mem.c should now contain the number of waitstates
290   required by the memory access (was total number of cycles).
291
292 * The supplied srt0.s now clears the BSS (thanks Joel).
293
294 version 1.4 22-08-95
295 --------------------
296
297 * Added a '-g' switch to enable/disable the GNU readline(), which cause
298 some problems on solaris 2.x machines.
299
300 * Enabled MEC watchpoint and breakpoint function to mem.c. Performance 
301 may suffer a bit ...
302
303 NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
304
305 version 1.3 26-07-95
306 --------------------
307
308 * Fixed bug in mulscc instruction (how could that ever have worked?)
309
310 * Fixed bug in UART B (flushed characters on UART A), thanks Paul.
311
312 version 1.2 13-07-95
313 --------------------
314
315 * Fixed bug in interrupt handling (wrong interrupt selected when more that
316 one interrupt pending)
317
318 * Fixed updating of condition codes during logical instructions (carry and
319 overflow were not reset)
320
321 * Fixed bug in WRTBR (tt field was wrongly over-written)
322
323 version 1.1 07-07-95
324 --------------------
325
326 * Fixed several bugs in the interrupt handler and callback routines.
327 (reported by Paul Warren, Alsys)