Allow simulator to work with Angel SWIs.
[external/binutils.git] / sim / arm / ChangeLog
1 Tue Jun  2 15:22:22 1998  Nick Clifton  <nickc@cygnus.com>
2
3         * armos.h: Add Angel SWI and its reason codes.
4         * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
5
6 Mon Jun  1 17:14:19 1998  Anthony Thompson (athompso@cambridge.arm.com)
7
8         * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
9         of ":tt" to catch stdin in addition to stdout.
10         (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
11         or success of lseek().
12
13 Wed May 20 17:36:25 1998  Nick Clifton  <nickc@cygnus.com>
14
15         * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
16         to open stdout.
17
18 Wed Apr 29 15:29:55 1998  Jeff Johnston  <jjohnstn@cygnus.com>
19
20         * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
21         SWI_Flen, and SWI_Time.  Also fixed SWI_Seek code to only
22         seek from offset 0 and not to use R2 for whence since it is
23         not passed as part of the SWI call.
24
25 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
26
27         * configure: Regenerated to track ../common/aclocal.m4 changes.
28
29 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
30
31         * configure: Regenerated to track ../common/aclocal.m4 changes.
32         * config.in: Ditto.
33
34 Sun Apr 26 15:20:26 1998  Tom Tromey  <tromey@cygnus.com>
35
36         * acconfig.h: New file.
37         * configure.in: Reverted change of Apr 24; use sinclude again.
38
39 Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
40
41         * configure: Regenerated to track ../common/aclocal.m4 changes.
42         * config.in: Ditto.
43
44 Fri Apr 24 11:20:19 1998  Tom Tromey  <tromey@cygnus.com>
45
46         * configure.in: Don't call sinclude.
47
48 Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
49
50         * configure: Regenerated to track ../common/aclocal.m4 changes.
51
52 Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
53
54         * configure: Regenerated to track ../common/aclocal.m4 changes.
55
56 Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
57
58         * configure: Regenerated to track ../common/aclocal.m4 changes.
59
60 Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
61
62         * configure: Regenerated to track ../common/aclocal.m4 changes.
63
64 Tue Mar 10 09:26:38 1998  Nick Clifton  <nickc@cygnus.com>
65
66         * armopts.h: Remove definition of LITTLEND - it is not used.
67
68 Tue Feb 17 12:35:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
69
70         * wrapper.c (sim_store_register, sim_fetch_register): Pass in
71         length parameter. Return -1.
72
73 Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
74
75         * configure: Regenerated to track ../common/aclocal.m4 changes.
76
77 Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
78
79         * configure: Regenerated to track ../common/aclocal.m4 changes.
80
81 Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
82
83         * configure: Regenerated to track ../common/aclocal.m4 changes.
84
85 Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
86
87         * configure: Regenerated to track ../common/aclocal.m4 changes.
88         * config.in: Ditto.
89
90 Tue Dec  9 11:30:48 1997  Nick Clifton  <nickc@cygnus.com>
91
92         * Makefile.in: Updated with changes from branch.
93         * armdefs.h:   ditto
94         * armemu.c:    ditto   these changes
95         * armemu.h:    ditto   add support for
96         * armos.c:     ditto   the Thumb instruction
97         * armsupp.c:   ditto   set and the new v4
98         * armvirt.c:   ditto   architecture.
99         * wrapper.c:   ditto
100         * thumbemu.c:  New file from branch.
101
102
103 Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
104
105         * configure: Regenerated to track ../common/aclocal.m4 changes.
106
107 Thu Oct 30 13:54:06 1997  Nick Clifton  <nickc@cygnus.com>
108
109         * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI.  Patch
110         from Tony Thompson at ARM: athompso@arm.com 
111
112         * wrapper.c (sim_create_inferior): Add code to create an execution
113         environment.  Patch from Tony Thompson at ARM: athompso@arm.com
114
115 Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
116
117         * wrapper.c (sim_load): Pass lma_p and sim_write args to
118         sim_load_file.
119
120 Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
121
122         * configure: Regenerated to track ../common/aclocal.m4 changes.
123
124 Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
125
126         * configure: Regenerated to track ../common/aclocal.m4 changes.
127
128 Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
129
130         * configure: Regenerated to track ../common/aclocal.m4 changes.
131
132 Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
133
134         * configure: Regenerated to track ../common/aclocal.m4 changes.
135
136 Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
137
138         * configure: Regenerated to track ../common/aclocal.m4 changes.
139
140 Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
141
142         * configure: Regenerated to track ../common/aclocal.m4 changes.
143
144 Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
145
146         * configure: Regenerated to track ../common/aclocal.m4 changes.
147
148 Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
149
150         * configure: Regenerated to track ../common/aclocal.m4 changes.
151         * config.in: Ditto.
152
153 Tue Aug 26 10:37:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
154
155         * wrapper.c (sim_kill): Delete.
156         (sim_create_inferior): Add ABFD argument.
157         (sim_load): Move setting of PC from here.
158         (sim_create_inferior): To here.
159
160 Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
161
162         * configure: Regenerated to track ../common/aclocal.m4 changes.
163         * config.in: Ditto.
164
165 Mon Aug 25 15:35:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
166
167         * wrapper.c (sim_open): Add ABFD argument.
168
169 Tue May 20 10:13:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
170
171         * wrapper.c (sim_open): Add callback argument.
172         (sim_set_callbacks): Drop SIM_DESC argument.
173
174 Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
175
176         * configure: Regenerated to track ../common/aclocal.m4 changes.
177
178 Fri Apr 18 13:32:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
179
180         * wrapper.c (sim_stop): Stub sim_stop function.
181
182 Thu Apr 17 18:33:01 1997  Fred Fish  <fnf@cygnus.com>
183
184         * arminit.c (ARMul_NewState): Preinitialize the state to
185         all zero/NULL.
186
187 Thu Apr 17 02:39:02 1997  Doug Evans  <dje@canuck.cygnus.com>
188
189         * Makefile.in (SIM_OBJS): Add sim-load.o.
190         * wrapper.c (sim_kind,myname): New static locals.
191         (sim_open): Set sim_kind, myname.
192         (sim_load): Call sim_load_file to do work.  Set start address from bfd.
193         (sim_create_inferior): Return SIM_RC.  Delete start_address arg.
194
195 Thu Apr 17 11:48:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
196
197         * wrapper.c (sim_trace): Update so that it matches prototype.
198
199 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
200
201         * configure: Regenerated to track ../common/aclocal.m4 changes.
202         * config.in: Ditto.
203
204 Mon Apr  7 12:01:17 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
205
206         * Makefile.in (armemu32.o): Replace $< with autoconf recommended
207         $(srcdir)/....
208         (armemu26.o): Ditto.
209
210 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
211
212         * wrapper.c (sim_open): New arg `kind'.
213
214         * configure: Regenerated to track ../common/aclocal.m4 changes.
215
216 Wed Apr  2 14:50:44 1997  Ian Lance Taylor  <ian@cygnus.com>
217
218         * COPYING: Update FSF address.
219
220 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
221
222         * configure: Regenerated to track ../common/aclocal.m4 changes.
223
224 Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
225
226         * configure: Regenerated to track ../common/aclocal.m4 changes.
227
228 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
229
230         * configure: Re-generate.
231
232 Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
233
234         * configure: Regenerate to track ../common/aclocal.m4 changes.
235
236 Thu Mar 13 12:38:56 1997  Doug Evans  <dje@canuck.cygnus.com>
237
238         * wrapper.c (sim_open): Has result now.
239         (sim_*): New SIM_DESC argument.
240
241 Tue Feb  4 13:22:21 1997  Doug Evans  <dje@canuck.cygnus.com>
242
243         * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
244         COMMON_{PRE,POST}_CONFIG_FRAG instead.
245         * configure.in: sinclude ../common/aclocal.m4.
246         * configure: Regenerated.
247
248 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
249
250         * configure configure.in Makefile.in:  Update to new configure
251         scheme which is more compatible with WinGDB builds.
252         * configure.in:  Improve comment on how to run autoconf.
253         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
254         * Makefile.in:  Use autoconf substitution to install common
255         makefile fragment.
256
257 Wed Nov 20 01:05:10 1996  Doug Evans  <dje@canuck.cygnus.com>
258
259         * run.c: Deleted, use one in ../common now.
260         * Makefile.in: Delete everything that's been moved to
261         ../common/Make-common.in.
262         (SIM_OBJS): Define.
263         * configure.in: Simplify using macros in ../common/aclocal.m4.
264         * configure: Regenerated.
265         * config.in: New file.
266         * armos.c: #include config.h.
267         * wrapper.c (mem_size): Value is in bytes now.
268         (sim_callback): New global.
269         (arm_sim_set_profile{,_size}): Delete.
270         (arm_sim_set_mem_size): Rename to sim_size.
271         (sim_do_command): Call printf_filtered via callback.
272         (sim_set_callbacks): Record callback.
273
274 Thu Oct  3 16:10:27 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
275
276         * Makefile.in (mostlyclean): Remove config.log.
277
278 Wed Jun 26 12:17:24 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
279
280         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
281         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
282         (docdir): Removed.
283         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
284         (AC_PROG_INSTALL): Added.
285         * configure: Rebuilt.
286
287 Wed Feb 21 12:14:31 1996  Ian Lance Taylor  <ian@cygnus.com>
288
289         * configure: Regenerate with autoconf 2.7.
290
291 Fri Dec 15 16:27:30 1995  Ian Lance Taylor  <ian@cygnus.com>
292
293         * run.c (main): Use new bfd_big_endian macro.
294
295 Mon Nov 20 17:40:38 1995  Doug Evans  <dje@canuck.cygnus.com>
296
297         * run.c: Include "getopt.h".
298         (verbose): Delete.
299         (usage): Make static.
300         (main): Call arm_sim_set_verbosity.
301         Only load sections marked SEC_LOAD.
302         * wrapper.c (mem_size, verbosity): New static global.
303         (arm_sim_set_mem_size): Renamed from sim_size.  Callers updated.
304         (arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.
305         
306 Fri Nov 17 19:35:11 1995  Doug Evans  <dje@canuck.cygnus.com>
307
308         * armdefs.h (ARMul_State): New member `verbose'.
309         * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
310         * run.c (verbose): Make global.
311         * wrapper.c (init): Set state->verbose.
312         (ARMul_ConsolePrint): Don't print anything if !verbose.
313
314 Fri Oct 13 15:30:30 1995  Doug Evans  <dje@canuck.cygnus.com>
315
316         * armos.c: #include dbg_rdi.h.
317         (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
318         * armos.h (SWI_Breakpoint): Define.
319         * wrapper.c: #include armemu.h, dbg_rdi.h.
320         (rc): Delete.
321         (sim_resume): Use state->EndCondition to record stop state.
322         Call FLUSHPIPE before returning.
323         (sim_stop_reason): Determine reason from state->EndCondition.
324
325 Fri Oct 13 15:04:05 1995  steve chamberlain  <sac@slash.cygnus.com>
326
327         * wrapper.c (sim_set_callbacks): New.
328
329 Thu Sep 28 19:45:56 1995  Doug Evans  <dje@deneb.cygnus.com>
330
331         * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
332         number of bytes not read/written (or -1).
333
334 Wed Sep 20 13:35:54 1995  Ian Lance Taylor  <ian@cygnus.com>
335
336         * Makefile.in (maintainer-clean): New synonym for realclean.
337
338 Fri Sep  8 14:27:20 1995  Ian Lance Taylor  <ian@cygnus.com>
339
340         * configure.in: Remove AC_PROG_INSTALL.
341         * configure: Rebuild.
342         * Makefile.in (INSTALL): Revert to using install.sh.
343         (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
344         (INSTALL_XFORM, INSTALL_XFORM1): Restore.
345         (mostlyclean): Make the same as clean, not distclean.
346         (clean): Remove config.log.
347         (install): Don't install in $(tooldir).
348
349 Thu Sep  7 12:00:17 1995  Doug Evans  <dje@canuck.cygnus.com>
350
351         (Try to) Update to new bfd autoconf scheme.
352         * run.c: Don't include sysdep.h.
353         * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
354         (CC, CFLAGS, AR, RANLIB): Likewise.
355         (HDEFINES, TDEFINES): Define.
356         (CC_FOR_BUILD): Delete.
357         (host_makefile_frag): Delete.
358         (Makefile): Don't depend on frags.
359         * configure.in (sysdep.h): Don't create symlink.
360         (host_makefile_frag, frags): Deleted.
361         (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
362         * configure: Regenerated.
363
364 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
365
366         * Update all FSF addresses except those in COPYING* files.
367
368 Wed Jul  5 16:15:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
369
370         * Makefile.in (clean): Remove run, libsim.a.
371
372         * Makefile.in, configure.in: converted to autoconf.
373         * configure: New file, generated with autconf 2.4.
374
375         * arm.mt: Removed.
376
377 Fri Jun 30 16:49:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
378
379         * wrapper.c (sim_do_command): New function.
380
381 Tue Jun 13 10:57:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
382
383         * armos.c (ARMul_OSHandleSWI): New version to work with
384         newlib simply.
385
386 Thu Jun  8 14:37:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>
387
388         * run.c (main): Grab return value from right register.
389
390 Wed May 24 14:37:31 1995  Steve Chamberlain  <sac@slash.cygnus.com>
391
392         * New.
393
394