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