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