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