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