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