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