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