]>
Commit | Line | Data |
---|---|---|
b9366cf3 DM |
1 | 2014-03-14 David McQuillan <[email protected]> |
2 | ||
3 | PR sim/8388 | |
4 | * armemu.c (WriteR15Load): New function. Determines if the state | |
5 | can be changed upon a write to R15. | |
6 | (LoadMult): Use WriteR15Load. | |
7 | * armemu.h (WRITEDESTB): Use WriteR15Load. | |
8 | ||
60d847df MF |
9 | 2014-03-10 Mike Frysinger <[email protected]> |
10 | ||
11 | * wrapper.c (sim_do_command): Add const to cmd. | |
12 | ||
b2b255bd MF |
13 | 2014-03-05 Mike Frysinger <[email protected]> |
14 | ||
15 | * wrapper.c (sim_load): Add const to prog. | |
16 | ||
bf3d9781 AM |
17 | 2013-09-23 Alan Modra <[email protected]> |
18 | ||
19 | * configure: Regenerate. | |
20 | ||
31e6ad7d MF |
21 | 2013-06-03 Mike Frysinger <[email protected]> |
22 | ||
23 | * aclocal.m4, configure: Regenerate. | |
24 | ||
590919de MF |
25 | 2013-05-07 Jayant Sonar <[email protected]> |
26 | Kaushik Phatak <[email protected]> | |
27 | ||
28 | * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT. | |
29 | ||
19a3671c JB |
30 | 2012-12-19 Joel Brobecker <[email protected]> |
31 | ||
32 | * COPYING: Update to GPL version 3. | |
33 | ||
f253d86d NC |
34 | 2012-09-03 Nick Clifton <[email protected]> |
35 | ||
36 | PR sim/14540 | |
37 | * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction | |
38 | is denied. | |
39 | ||
9256caa6 KB |
40 | 2012-08-01 Kevin Buettner <[email protected]> |
41 | ||
42 | * wrapper.c (libiberty.h): Include. | |
43 | (sim_store_register, sim_fetch_register): On success, return | |
44 | length, instead of -1. | |
45 | ||
5f3ef9d0 JB |
46 | 2012-06-15 Joel Brobecker <[email protected]> |
47 | ||
48 | * config.in, configure: Regenerate. | |
49 | ||
b0f05691 NC |
50 | 2012-06-13 Nick Clifton <[email protected]> |
51 | ||
52 | * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt | |
53 | binaries (for now). | |
54 | ||
a493e3e2 PA |
55 | 2012-05-24 Pedro Alves <[email protected]> |
56 | ||
57 | PR gdb/7205 | |
58 | ||
59 | Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. | |
60 | ||
a6ff997c NC |
61 | 2012-05-18 Nick Clifton <[email protected]> |
62 | ||
63 | PR 14072 | |
64 | * wrapper.c: Include config.h before system header files. | |
65 | ||
2232061b MF |
66 | 2012-03-24 Mike Frysinger <[email protected]> |
67 | ||
68 | * aclocal.m4, config.in, configure: Regenerate. | |
69 | ||
db2e4d67 MF |
70 | 2011-12-03 Mike Frysinger <[email protected]> |
71 | ||
72 | * aclocal.m4: New file. | |
73 | * configure: Regenerate. | |
74 | ||
9c082ca8 MF |
75 | 2011-10-17 Mike Frysinger <[email protected]> |
76 | ||
77 | * configure.ac: Change include to common/acinclude.m4. | |
78 | ||
6ffe910a MF |
79 | 2011-10-17 Mike Frysinger <[email protected]> |
80 | ||
81 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
82 | call. Replace common.m4 include with SIM_AC_COMMON. | |
83 | * configure: Regenerate. | |
84 | ||
161fc452 NC |
85 | 2011-07-01 Nick Clifton <[email protected]> |
86 | ||
87 | PR sim/12737 | |
88 | * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a | |
89 | signed compare. | |
90 | (WMAC): Extend computed result before adding to result register. | |
91 | (WRSA): Sign extend 32-bit values before shifting. | |
92 | ||
af9f7da7 MF |
93 | 2011-04-16 Mike Frysinger <[email protected]> |
94 | ||
95 | * wrapper.c (sim_complete_command): New stub function. | |
96 | ||
363a6e9f OS |
97 | 2010-05-26 Ozkan Sezer <[email protected]> |
98 | ||
99 | * communicate.c (MYread_char): Check error return from accept() call | |
100 | by its equality to -1 not by it being negative. | |
101 | (MYread_charwait): Likewise. | |
102 | * main.c (main): Likewise for both socket() and accept() calls. | |
103 | ||
5558e7e6 MF |
104 | 2010-04-14 Mike Frysinger <[email protected]> |
105 | ||
106 | * wrapper.c (sim_write): Add const to buffer arg. | |
107 | ||
3725885a RW |
108 | 2010-01-09 Ralf Wildenhues <[email protected]> |
109 | ||
110 | * configure: Regenerate. | |
111 | ||
d6416cdc RW |
112 | 2009-08-22 Ralf Wildenhues <[email protected]> |
113 | ||
81ecdfbb RW |
114 | * config.in: Regenerate. |
115 | * configure: Likewise. | |
116 | ||
d6416cdc RW |
117 | * configure: Regenerate. |
118 | ||
a85c0b49 JS |
119 | 2008-11-24 Joel Sherrill <[email protected]> |
120 | ||
121 | * arminit.c, iwmmxt.c: Include <string.h> to | |
122 | eliminate warning. | |
b5bd9624 HPN |
123 | 2008-07-11 Hans-Peter Nilsson <[email protected]> |
124 | ||
125 | * configure: Regenerate to track ../common/common.m4 changes. | |
126 | * config.in: Ditto. | |
127 | ||
6efef468 JM |
128 | 2008-06-06 Vladimir Prus <[email protected]> |
129 | Daniel Jacobowitz <[email protected]> | |
130 | Joseph Myers <[email protected]> | |
131 | ||
132 | * configure: Regenerate. | |
133 | * wrapper.c (sim_target_display_usage): Add help parameter. | |
134 | ||
e1c9b6f1 MM |
135 | 2007-02-27 Mark Mitchell <[email protected]> |
136 | ||
137 | * armos.c (SWIflen): Do not treate file descriptor zero as | |
138 | special. | |
139 | ||
1306df90 NC |
140 | 2007-02-15 Nick Clifton <[email protected]> |
141 | ||
142 | * armemu.c (handle_v6_insn): Fix typo in sign extension test of | |
143 | the sext and sxtah instructions. | |
144 | ||
8944021f DJ |
145 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
146 | ||
147 | Reported by [email protected]: | |
148 | * wrapper.c (sim_target_parse_arg_array): Do not return void value. | |
149 | ||
edc5d9ec HPN |
150 | 2006-12-21 Hans-Peter Nilsson <[email protected]> |
151 | ||
152 | * acconfig.h: Remove. | |
153 | * config.in: Regenerate. | |
154 | ||
e85e3205 RE |
155 | 2006-06-13 Richard Earnshaw <[email protected]> |
156 | ||
157 | * configure: Regenerated. | |
158 | ||
2f0122dc DJ |
159 | 2006-06-05 Daniel Jacobowitz <[email protected]> |
160 | ||
161 | * configure: Regenerated. | |
162 | ||
20e95c23 DJ |
163 | 2006-05-31 Daniel Jacobowitz <[email protected]> |
164 | ||
165 | * configure: Regenerated. | |
166 | ||
4b1d9c58 PB |
167 | 2006-03-07 Paul Brook <[email protected]> |
168 | ||
169 | * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY. | |
170 | ||
eeea4660 DJ |
171 | 2006-02-01 Shaun Jackman <[email protected]> |
172 | ||
173 | * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system | |
174 | call meminfo. Return ENOSYS for unhandled RedBoot syscalls. | |
175 | ||
aba6488e MM |
176 | 2005-11-23 Mark Mitchell <[email protected]> |
177 | ||
178 | * wrapper.c (gdb/signals.h): Include it. | |
179 | (SIGTRAP): Don't define. | |
180 | (SIGBUS): Likewise. | |
181 | (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*. | |
182 | ||
2be701a3 DJ |
183 | 2005-11-16 Shaun Jackman <[email protected]> |
184 | ||
eeea4660 | 185 | * armos.c: Include limits.h |
2be701a3 DJ |
186 | (unlink): Remove this macro. It is unused in this file and |
187 | conflicts with sim_callback->unlink. | |
188 | (PATH_MAX): Define as 1024 if not already defined. | |
189 | (ReadFileName): New function. | |
190 | (SWIopen): Fix a potential buffer overflow. | |
191 | (SWIremove): New function. | |
192 | (SWIrename): Ditto. | |
193 | (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY, | |
194 | SWI_Remove, and SWI_Rename, as well as the RDI calls | |
195 | AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and | |
196 | AngelSWI_Reason_Rename. | |
197 | ||
c4793bac PB |
198 | 2005-09-19 Paul Brook <[email protected]> |
199 | ||
200 | * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when | |
201 | available. | |
202 | * armemu.c: Use them. | |
203 | * armvirt.c (ARMul_MemoryInit): Use correct type for size. | |
204 | * configure.ac: Check for stdint.h. | |
205 | * config.in: Regenerate. | |
206 | * configure: Regenerate. | |
207 | ||
546aee7a NC |
208 | 2005-05-24 Nick Clifton <[email protected]> |
209 | ||
210 | * thumbemu.c (handle_v6_thumb_insn): New function. | |
211 | (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined | |
212 | instruction binary is encountered. | |
213 | ||
380d9419 NC |
214 | 2005-05-12 Nick Clifton <[email protected]> |
215 | ||
216 | * Update the address and phone number of the FSF organization in | |
217 | the GPL notices in the following files: | |
218 | COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c, | |
219 | armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h, | |
220 | armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c, | |
221 | communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h, | |
222 | gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c, | |
223 | maverick.c, parent.c, thumbemu.c, wrapper.c | |
224 | ||
8207e0f2 NC |
225 | 2005-04-20 Nick Clifton <[email protected]> |
226 | ||
227 | * armemu.c (handle_v6_insn): New function - emulate a few of the | |
228 | v6 instructions - the ones now generated by GCC. | |
229 | (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is | |
230 | found. | |
231 | * armdefs.h (struct ARMul_State): Add new field: is_v6. | |
232 | (ARM_v6_Prop): Define. | |
233 | * arminit.c (ARMul_NewState): Initialise the v6 flag. | |
234 | (ARMul_SelectProcessor): Determine if the v6 flag should be | |
235 | set. | |
236 | * wrapper.c (sim_create_inferior): For unknown architectures, | |
237 | default to allowing the v6 instructions. | |
238 | ||
16d55f14 NC |
239 | 2005-04-18 Nick Clifton <[email protected]> |
240 | ||
241 | * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment | |
242 | operator to the RHS. | |
243 | (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to | |
244 | indicate an unsigned long long constant. | |
245 | ||
2b193c4a MK |
246 | 2005-03-23 Mark Kettenis <[email protected]> |
247 | ||
248 | * configure: Regenerate. | |
249 | ||
35695fd6 AC |
250 | 2005-01-14 Andrew Cagney <[email protected]> |
251 | ||
252 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
253 | explicit call to AC_CONFIG_HEADER. | |
254 | * configure: Regenerate. | |
255 | ||
f0569246 AC |
256 | 2005-01-12 Andrew Cagney <[email protected]> |
257 | ||
258 | * configure.ac: Update to use ../common/common.m4. | |
259 | * configure: Re-generate. | |
260 | ||
38f48d72 AC |
261 | 2005-01-11 Andrew Cagney <[email protected]> |
262 | ||
263 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
264 | ||
b7026657 AC |
265 | 2005-01-07 Andrew Cagney <[email protected]> |
266 | ||
267 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
268 | * configure: Re-generate. | |
269 | ||
379832de HPN |
270 | 2004-12-08 Hans-Peter Nilsson <[email protected]> |
271 | ||
272 | * configure: Regenerate for ../common/aclocal.m4 update. | |
273 | ||
0aaa4a81 AC |
274 | 2004-06-28 Andrew Cagney <[email protected]> |
275 | ||
276 | * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook. | |
277 | ||
a4c9740c MM |
278 | 2003-12-29 Mark Mitchell <[email protected]> |
279 | ||
280 | * armos.c (fcntl.h): Do not include it. | |
281 | (O_RDONLY): Do not define. | |
282 | (O_WRONLY): Likewise. | |
283 | (O_RDWR): Likewise. | |
284 | (targ-vals.h): Include it. | |
285 | (translate_open_mode): Use TARGET_O_* instead of O_*. | |
286 | (SWIopen): Likewise. | |
287 | * Makefile.in (armos.o): Depend on targ-vals.h. | |
288 | ||
c88931b0 NC |
289 | 2003-04-13 Nick Clifton <[email protected]> |
290 | ||
291 | * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale | |
292 | mode. | |
293 | (PutWord): Likewise. | |
294 | ||
3a3d6f65 NC |
295 | 2003-03-30 Nick Clifton <[email protected]> |
296 | ||
297 | * configure.in (CON_FLAGS): Remove. | |
298 | (COPRO): Unconditionally include iwmmxt.o. | |
299 | * configure: Regenerate. | |
300 | * Makefile.in (CON_FLAGS): Remove. | |
301 | * armcopro.c: Remove use of __IWMMXT__ flag. | |
302 | * wrapper.c: Likewise. | |
303 | * armemu.c: Likewise. | |
304 | Add explanatory comment for suppressed code. | |
305 | ||
306 | 2003-03-27 Nick Clifton <[email protected]> | |
307 | ||
308 | * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors. | |
309 | ||
0f026fd0 NC |
310 | 2003-03-27 Nick Clifton <[email protected]> |
311 | ||
312 | * configure.in: (CON_FLAGS): Define and intialise. | |
313 | (COPRO): Add iwmmxt.o if configuring for XScale. | |
314 | * configure: Regenerate. | |
315 | * Makefile.in (iwmmxt.o): Add rule to build. | |
316 | (COM_FLAGS): Define. | |
317 | (ALL_FLAGS): Add CON_FLAGS. | |
318 | * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors. | |
319 | * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field. | |
320 | (ARM_iWMMXt_Prop): Define. | |
321 | * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and | |
322 | pass to coprocessor. | |
323 | * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'. | |
324 | (ARMul_Abort): Catch branches through uninitialised vectors. | |
325 | * armos.c (softevtorcode): Update comment. | |
326 | (ARMul_OsInit): Use ARMUndefinedInstrV. | |
0f026fd0 NC |
327 | * wrapper.c (sim_create_inferior): Handle iWMMXt processor type. |
328 | (sim_store_register): Handle iWMMXt registers. | |
329 | (sim_fetch_register): Handle iWMMXt registers. | |
330 | * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator | |
331 | functions. | |
332 | * iwmmxt.c: New file: iWMMXt emulator. | |
333 | ||
dd97b6fd | 334 | 2003-03-20 Nick Clifton <[email protected]> |
f603c8fe NC |
335 | |
336 | * Contribute support for Cirrus Maverick ARM co-processor, | |
337 | written by Aldy Hernandez <[email protected]> and | |
338 | Andrew Cagney <[email protected]>: | |
339 | ||
340 | * maverick.c: New file: Support for Maverick floating point | |
341 | co-processor. | |
342 | * Makefile.in: Add maverick.o target. | |
343 | * configure.in (COPRO): Add maverick.o. | |
344 | * configure: Regenerate. | |
345 | * armcopro.c (ARMul_CoProInit): Only initialise co-processors | |
346 | available on target processor. Add code to initialse Maverick | |
347 | co-processor support code. | |
348 | * armdefs.h (ARMul_state): Add is_ep9312 field. | |
349 | (ARM_ep9312_Prop): Define. | |
350 | * armemu.h: Add prototypes for Maverick co-processor | |
351 | functions. | |
352 | * arminit.c (ARMul_SelectProcessor): Initialise the | |
353 | co-processor support once the chip has been selected. | |
354 | * wrapper.c: Add support for Maverick co-processor. | |
355 | (init): Do not call ARMul_CoProInit. Delays this until the | |
356 | chip has been selected. | |
357 | ||
0d9fd8f1 NC |
358 | 2003-03-02 Nick Clifton <[email protected]> |
359 | ||
360 | * armos.c (SWIWrite0): Catch big-endian bug when printing | |
361 | characters. | |
362 | ||
6b4a8935 AC |
363 | 2003-02-27 Andrew Cagney <[email protected]> |
364 | ||
365 | * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd. | |
366 | ||
45fdcabe BE |
367 | 2003-01-10 Ben Elliston <[email protected]> |
368 | ||
369 | * README.Cygnus: Rename from this .. | |
370 | * README: .. to this. | |
371 | ||
058f270d AC |
372 | 2002-09-27 Andrew Cagney <[email protected]> |
373 | ||
374 | * wrapper.c (sim_open): Add support for -m<mem-size>. | |
375 | (mem_size): Reduce to 2MB. | |
376 | Fix PR gdb/433. | |
377 | ||
c7a7b500 NC |
378 | 2002-08-15 Nick Clifton <[email protected]> |
379 | ||
380 | * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they | |
381 | can be caused by an interrupted system call being resumed by GDB. | |
382 | ||
630ace25 NC |
383 | 2002-07-05 Nick Clifton <[email protected]> |
384 | ||
385 | * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH | |
386 | and MIAxy instructions. | |
387 | ||
7b77dec6 NC |
388 | 2002-06-21 Nick Clifton <[email protected]> |
389 | ||
390 | * armos.h (ADP_Stopped_RunTimeError): Set correct value. | |
391 | ||
c8cca39f AC |
392 | 2002-06-16 Andrew Cagney <[email protected]> |
393 | ||
394 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
395 | ||
26216b98 AC |
396 | 2002-06-12 Andrew Cagney <[email protected]> |
397 | ||
398 | * Makefile.in: Update copyright. | |
399 | (wrapper.o): Specify dependencies. | |
400 | * wrapper.c: Include "gdb/sim-arm.h". | |
401 | (sim_store_register, sim_fetch_register): Rewrite using `enum | |
402 | arm_sim_regs' and a switch. | |
403 | ||
3c25f8c7 AC |
404 | 2002-06-09 Andrew Cagney <[email protected]> |
405 | ||
406 | * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
407 | * armos.c: Include "gdb/callback.h". | |
408 | ||
5aa682b2 NC |
409 | 2002-05-29 Nick Clifton <[email protected]> |
410 | ||
411 | * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers | |
412 | if a Data Abort is detected. | |
413 | ||
7378e198 NC |
414 | 2002-05-27 Nick Clifton <[email protected]> |
415 | ||
10b57fcb NC |
416 | * armvirt.c (GetWord): Only perform access checks if 'check' |
417 | is set. | |
418 | (PutWord): Likewise. | |
419 | * wrapper.c (sim_create_inferior): Report unknown machine | |
420 | numbers. | |
7378e198 NC |
421 | * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc + |
422 | 2, it has already been advanced. | |
423 | ||
2984e114 NC |
424 | 2002-05-23 Nick Clifton <[email protected]> |
425 | ||
426 | * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1) | |
427 | instruction do not add in the second bit of the base address - | |
428 | this has already been accounted for. | |
429 | ||
8b2440b7 NC |
430 | 2002-05-21 Nick Clifton <[email protected]> |
431 | ||
432 | * armcopro.c (check_cp13_access): Allow access to register 1 when | |
433 | CRm is 1. | |
434 | (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to. | |
435 | ||
de4112fa NC |
436 | 2002-05-17 Nick Clifton <[email protected]> |
437 | ||
7f53bce4 | 438 | * Makefile.in (SIM_TARGET_SWITCHES): Define. |
de4112fa NC |
439 | * armos.c (swi_mask): Define. Initialise to supporting all |
440 | SWI emulations. | |
441 | (ARMul_OSInit): For XScale targets, only support the ANGEL | |
442 | SWI interface. (This is at the request if Intel). | |
443 | (ARMul_OSHandleSWI): Examine swi_mask to see if a particular | |
444 | SWI call should be emulated. | |
445 | Do not fall through from AngelSWI_Reason_WriteC. | |
446 | Propagate exit code from RedBoot Exit SWI. | |
447 | * rdi-dgb.h (swi_mask): Prototype. | |
448 | (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define. | |
449 | * wrapper.c (sim_target_parse_command_line): New function. | |
450 | Look for and handle --swi-support switch. | |
451 | (sim_target_parse_arg_array): New function. Process an argv | |
452 | array for parsing by sim_target_parse_command_line. | |
453 | (sim_target_display_usage): New function. Describe syntax of | |
454 | --swi-suppoort switch. | |
455 | (sim_open): Add call to sim_target_parse_arg_array). | |
456 | ||
d8512e6a NC |
457 | 2002-05-09 Nick Clifton <[email protected]> |
458 | ||
459 | * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM | |
460 | mode and some of its system calls. | |
461 | ||
ae60d3dd AG |
462 | 2002-03-17 Anthony Green <[email protected]> |
463 | ||
464 | * wrapper.c (mem_size): Increase the default target memory to 8MB. | |
465 | ||
b3ba81f8 KS |
466 | 2002-02-21 Keith Seitz <[email protected]> |
467 | ||
468 | * armos.c (SWIWrite0): Use generic host_callback mechanism | |
469 | for supported OS functions "open", "close", "write", etc. | |
470 | (SWIopen): Likewise. | |
471 | (SWIread): Likewise. | |
472 | (SWIwrite): Likewise. | |
473 | (SWIflen): Likewise. | |
474 | (ARMul_OSHandleSWI): Likewise. | |
475 | ||
c17aa318 NC |
476 | 2002-02-05 Nick Clifton <[email protected]> |
477 | ||
478 | * wrapper.c (sim_create_inferior): Modify previous patch so that | |
479 | it is only triggered for COFF format executables. | |
480 | ||
25180f8a NC |
481 | 2002-02-04 Nick Clifton <[email protected]> |
482 | ||
c17aa318 NC |
483 | * wrapper.c (sin_create_inferior): If a v5 architecture is |
484 | detected, assume it might be an XScale binary, since there is no | |
485 | way to distinguish between the two in the COFF file format. | |
25180f8a | 486 | |
57165fb4 NC |
487 | 2002-01-10 Nick Clifton <[email protected]> |
488 | ||
489 | * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13]. | |
490 | * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13] | |
491 | and CPRead[14]. | |
492 | Fix formatting. Improve layout. | |
493 | * armemu.h: Fix formatting. Improve layout. | |
494 | ||
272fcdcd NC |
495 | 2002-01-09 Nick Clifton <[email protected]> |
496 | ||
497 | * wrapper.c (sim_fetch_register): If fetching more than 4 bytes | |
498 | return zeroes in the other words. | |
86c735a5 | 499 | General formatting tidy ups. |
272fcdcd | 500 | |
6746a76a BH |
501 | 2001-11-16 Ben Harris <[email protected]> |
502 | ||
503 | * Makefile.in (armemu32.o): Replace $< with autoconf recommended | |
504 | $(srcdir)/.... | |
505 | (armemu26.o): Ditto. | |
506 | ||
ff44f8e3 NC |
507 | 2001-10-18 Nick Clifton <[email protected]> |
508 | ||
509 | * armemu.h (CP_ACCESS_ALLOWED): New macro. | |
510 | Fix formatting. | |
511 | * armcopro.c (read_cp14_reg): Make static. | |
512 | (write_cp14_reg): Make static. | |
513 | (check_cp13_access): Use CP_ACCESS_ALLOWED macro. | |
514 | Fix formatting. | |
515 | * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED. | |
516 | (ARMul_STC): Check CP_ACCESS_ALLOWED. | |
517 | (ARMul_MCR): Check CP_ACCESS_ALLOWED. | |
518 | (ARMul_MRC): Check CP_ACCESS_ALLOWED. | |
519 | (ARMul_CDP): Check CP_ACCESS_ALLOWED. | |
520 | Fix formatting. | |
521 | * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not | |
522 | equal to 15. | |
523 | (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15. | |
524 | Fix formatting. | |
525 | ||
fb7a8ef0 NC |
526 | 2001-05-11 Nick Clifton <[email protected]> |
527 | ||
528 | * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD | |
529 | instructions with post indexed addressing modes. | |
530 | ||
dac07255 NC |
531 | 2001-05-08 Jens-Christian Lache <[email protected]> |
532 | ||
533 | * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to | |
534 | determine rocesor mode. | |
535 | ||
c3ae2f98 MG |
536 | 2001-04-18 matthew green <[email protected]> |
537 | ||
538 | * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes. | |
539 | (read_cp15_reg): Make non-static. | |
540 | (XScale_cp15_LDC): Update for write_cp15_reg() change. | |
541 | (XScale_cp15_MCR): Likewise. | |
542 | (XScale_cp15_write_reg): Likewise. | |
543 | (XScale_check_memacc): New function. Check for breakpoints being | |
544 | activated by memory accesses. Does not support the Branch Target | |
545 | Buffer. | |
546 | (XScale_set_fsr_far): New function. Set FSR and FAR for XScale. | |
547 | (XScale_debug_moe): New function. Set the debug Method Of Entry, | |
548 | if configured. | |
549 | (write_cp14_reg): Reset count counter if requested. | |
550 | * armdefs.h (struct ARMul_State): New members `LastTime' and | |
551 | `CP14R0_CCD' used for the timer/counters. | |
552 | (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS, | |
553 | ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD, | |
554 | ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2, | |
555 | ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2, | |
556 | ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT, | |
557 | ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X, | |
558 | ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT, | |
559 | ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New | |
560 | defines for XScale registers. | |
561 | (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype. | |
562 | (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition. | |
563 | (ARMul_Emulate32): Handle the clock counter and hardware instruction | |
564 | breakpoints. Call XScale_set_fsr_far() for software breakpoints and | |
565 | software interrupts. | |
566 | (LoadMult): Call XScale_set_fsr_far() for data aborts. | |
567 | (LoadSMult): Likewise. | |
568 | (StoreMult): Likewise. | |
569 | (StoreSMult): Likewise. | |
570 | * armemu.h (write_cp15_reg): Update prototype. | |
571 | * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime. | |
572 | (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13 | |
573 | register 0. | |
574 | * armvirt.c (GetWord): Call XScale_check_memacc(). | |
575 | (PutWord): Likewise. | |
576 | ||
3cf84db9 NC |
577 | 2001-03-20 Nick Clifton <[email protected]> |
578 | ||
579 | * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking | |
580 | when loading unaligned thumb instructions. | |
581 | ||
4f3c3dbb NC |
582 | 2001-03-06 Nick Clifton <[email protected]> |
583 | ||
584 | * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2. | |
585 | Compute destination address of BLX(1) instruction by | |
586 | taking bit 1 from PC and not from bit 0 of the offset. | |
587 | ||
917bca4f NC |
588 | 2001-02-27 Nick Clifton <[email protected]> |
589 | ||
590 | * armvirt.c (GetWord): Add new parameter - check - to enable or | |
591 | disable the alignment checking. | |
592 | (PutWord): Add new parameter - check - to enable or disable the | |
593 | alignment checking. | |
594 | (ARMul_ReLoadInstr): Pass extra parameter to GetWord. | |
595 | (ARMul_ReadWord): Pass extra parameter to GetWord. | |
596 | (ARMul_WriteWord): Pass extra parameter to PutWord. | |
597 | (ARMul_StoreHalfWord): Pass extra parameter to PutWord. | |
598 | (ARMul_WriteByte): Pass extra parameter to GetWord. | |
599 | (ARMul_SwapWord): Pass extra parameter to PutWord. | |
600 | (ARMul_SafeReadByte): New Function: Read a byte but do not abort. | |
601 | (ARMul_SafeWriteByte): New Function: Write a byte but do not abort. | |
602 | ||
603 | * armdefs.h: Add prototypes for ARMul_SafeReadByte and | |
604 | ARMul_SafeWriteByte. | |
605 | ||
606 | * wrapper.c (sim_write): Use ARMul_SafeWriteByte. | |
607 | (sim_read): Use ARMul_SafeReadByte. | |
608 | ||
609 | * armos.c (in_SWI_handler): Remove. | |
610 | (SWIWrite0): Use ARMul_SafeReadByte. | |
611 | (WriteCommandLineTo): Use ARMul_SafeWriteByte. | |
612 | (SWIopen): Use ARMul_SafeReadByte. | |
613 | (SWIread): Use ARMul_SafeWriteByte. | |
614 | (SWIwrite): Use ARMul_SafeReadByte. | |
615 | (ARMul_OSHandleSWI): Remove use of is_SWI_handler. | |
616 | (ARMul_OSException): Remove use of is_SWI_handler. | |
617 | ||
2ef048fc NC |
618 | 2001-02-16 Nick Clifton <[email protected]> |
619 | ||
620 | * armemu.c: Remove Prefetch abort for breakpoints. Instead set | |
621 | the state to RESUME. | |
622 | ||
5f7d0a33 NC |
623 | 2001-02-14 Nick Clifton <[email protected]> |
624 | ||
44e23e57 NC |
625 | * armemu.c: Add code to preserve processor mode when a prefetch |
626 | abort is signalled after processing a breakpoint. | |
627 | ||
5f7d0a33 NC |
628 | * wrapper.c (sim_create_inferior): Reset processor into ARM mode |
629 | for any machine type except the early ARMs. | |
630 | ||
1e5d4e46 NC |
631 | 2001-02-13 Nick Clifton <[email protected]> |
632 | ||
633 | * armos.c (in_SWI_handler): New static variable. | |
634 | (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI. | |
635 | (ARMul_OSException): Ignore exceptions generated whilst emulating | |
636 | a SWI. | |
637 | ||
179ae6ea NC |
638 | 2001-02-12 Nick Clifton <[email protected]> |
639 | ||
640 | * armemu.h (NEGBRANCH): Fix defintion. | |
641 | ||
dda308f5 NC |
642 | 2001-02-01 Nick Clifton <[email protected]> |
643 | ||
644 | * armemu.c (LoadSMult): Update base address register after | |
645 | restoring register bank. | |
646 | (StoreMult): Update base address register after restoring register | |
647 | bank. | |
648 | ||
88694af3 NC |
649 | 2001-01-31 Nick Clifton <[email protected]> |
650 | ||
651 | * armvirt.c (PutWord): Detect installation of SWI vector. | |
652 | (SWI_vector_installed): Define. | |
653 | * armos.c (ARMul_OsInit): Reset SWI_vector_installed. | |
654 | * armos.h (SWI_vector_installed): Declare. | |
655 | * wrapper.c (SWI_vector_installed): Remove definition. | |
656 | (sim_write): Remove check of SWI vector installation | |
657 | ||
ac1c9d3a NC |
658 | 2000-12-18 Nick Clifton <[email protected]> |
659 | ||
660 | * armemu.c (ARMul_Emulate26): Fix test for StoreDouble | |
661 | instruction. | |
662 | ||
9a6b6a66 NC |
663 | 2000-12-10 Nick Clifton <[email protected]> |
664 | ||
665 | * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI. | |
666 | ||
760a7bbe NC |
667 | 2000-12-07 Nick Clifton <[email protected]> |
668 | ||
669 | * armemu.c (ARMul_Emulate26): Detect double word load and | |
670 | store instructions and call emulation routines. | |
671 | (Handle_Load_Double): Emulate a double word load instruction. | |
672 | (Handle_Store_Double): Emulate a double word store | |
673 | instruction. | |
674 | ||
7f53bc35 NC |
675 | 2000-12-03 Nick Clifton <[email protected]> |
676 | ||
677 | * armos.c: Fix formatting. | |
678 | (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale | |
679 | mode. | |
680 | ||
f1129fb8 NC |
681 | 2000-11-29 Nick Clifton <[email protected]> |
682 | ||
683 | * armdefs.h (State): Add 'v5e' and 'xscale' fields. | |
684 | (ARM_v5e_Prop): Define. | |
685 | (ARM_XScale_Prop): Define. | |
686 | ||
687 | * wrapper.c (sim_create_inferior): Select processor based on | |
688 | machine number. | |
689 | (SWI_vector_installed): New boolean. Set to true if the SWI | |
690 | vector address is written to by the executable. | |
691 | ||
692 | * arminit.c (ARMul_NewState): Switch default to 32 bit mode. | |
693 | (ARMul_SelectProcessor): Initialise v5e and xscale signals. | |
694 | (ARMul_Abort): Fix calculation of LR address. | |
695 | ||
696 | * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed | |
697 | and a SWI is not handled by the simulator, pass the SWI off to the | |
698 | vector, otherwise issue a warning message and continue. | |
699 | ||
700 | * armsupp.c (ARMul_CPSRAltered): Set S bit aswell. | |
701 | ||
702 | * thumbemu.c: Add v5 instruction simulation. | |
703 | * armemu.c: Add v5, XScale and El Segundo instruction simulation. | |
704 | ||
705 | * armcopro.c: Add XScale co-processor emulation. | |
706 | * armemu.h: Add exported XScale co-processor functions. | |
707 | ||
3943c96b NC |
708 | 2000-09-15 Nick Clifton <[email protected]> |
709 | ||
710 | * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM | |
711 | property. Delete unnecessary processor names. | |
712 | (ARM_Strong_Prop): Delete. | |
713 | (STRONGARM): Delete. | |
714 | (ARM_v4_Prop): Add. | |
715 | (ARM_v5_Prop): Add | |
716 | (State): Delete is_StrongARM boolean. Add is_v4 and is_v5 | |
717 | booleans. | |
718 | ||
719 | * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean. | |
720 | (BUSUSEDINCPCN): Use is_v4 boolean. | |
721 | ||
722 | * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields. | |
723 | (ARMul_SelectProcessor): Change second parameter from 'processor' | |
724 | to 'properties'. Set is_v4 and is_v5 booleans in State. | |
725 | ||
726 | * armrdi.c: Remove use of ARM processor names. Replace with ARM | |
727 | processor properties. | |
728 | ||
729 | * wrapper.c (sim_create_inferior): Choose properties passed to | |
730 | ARMul_SelectProcessor based on machine number. | |
731 | ||
4bc1de7b NC |
732 | 2000-08-14 Nick Clifton <[email protected]> |
733 | ||
734 | * armemu.c (LHPOSTDOWN): Compute write back value before | |
735 | performing load in case the offset register is overwritten. | |
736 | (LHPOSTUP): Ditto. | |
737 | ||
0a4321b9 FN |
738 | 2000-07-14 Fernando Nasser <[email protected]> |
739 | ||
740 | * wrapper.c (sim_create_inferior): Fix typo in the previous patch. | |
741 | ||
64a10675 FN |
742 | 2000-07-14 Fernando Nasser <[email protected]> |
743 | ||
744 | * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a | |
745 | new inferior. | |
746 | ||
b0eae074 AO |
747 | 2000-07-04 Alexandre Oliva <[email protected]> |
748 | ||
ae3c7619 AO |
749 | * armvirt.c (ABORTS): Do not define. |
750 | ||
1e6b544a AO |
751 | * armdefs.h (struct ARMul_State): Add is_StrongARM. |
752 | (ARM_Strong_Prop, STRONGARM): Define. | |
753 | * arminit.c (ARMul_NewState): Reset is_StrongARM. | |
754 | (ARMul_SelectProcessor): Set is_StrongARM. | |
755 | * wrapper.c (sim_create_inferior): Use bfd machine type to | |
756 | determine processor type to emulate. | |
757 | * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC | |
758 | when emulating StrongARM. | |
759 | ||
66210567 AO |
760 | * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn. |
761 | ||
e063aa3b AO |
762 | * armemu.h (INSN_SIZE): New macro. |
763 | (SET_ABORT): Save CPSR in SPSR and set LR. | |
764 | * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE. | |
765 | (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode. | |
766 | * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE. | |
767 | ||
13b6dd6f AO |
768 | * armemu.c (LoadSMult): Use WriteR15() to discard the least |
769 | significant bits of PC. | |
770 | ||
892c6b9d AO |
771 | * armemu.h (WRITEDESTB): New macro. |
772 | * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to | |
773 | modify PC. Moved the existing logic... | |
774 | (WriteR15Branch): ... here. New function. | |
775 | (WriteR15, WriteSR15): Drop the two least significant bits. | |
776 | (LoadSMult): Use WriteR15Branch() to modify PC. | |
777 | (LoadMult): Use WRITEDESTB() instead of WRITEDEST(). | |
778 | ||
cf52c765 AO |
779 | * armemu.h (GETSPSR): Call ARMul_GetSPSR(). |
780 | * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're | |
781 | extracted from state->Cpsr, but preserve the unused bits. | |
782 | (ARMul_GetCPSR): Get bits preserved in state->Cpsr. | |
783 | (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to | |
784 | get the full CPSR word. | |
785 | ||
4ef2594f AO |
786 | * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New. |
787 | (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros. | |
788 | (SETPSR, SET_INTMODE, SETCC): Removed. | |
789 | * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit | |
790 | mask. Use SETPSR_* to modify PSR. | |
791 | (ARMul_SetCPSR): Load all bits from value. | |
792 | * armemu.c (ARMul_Emulate, msr): Do not test bit mask. | |
793 | ||
e62263b8 AO |
794 | * armemu.c (ARMul_Emulate): Compute writeback value before |
795 | loading, since the offset register may be the destination | |
796 | register. | |
797 | ||
b0eae074 AO |
798 | * armdefs.h (SYSTEMBANK): Define as USERBANK. |
799 | * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases. | |
800 | ||
ee9a7772 AO |
801 | 2000-06-22 Alexandre Oliva <[email protected]> |
802 | ||
f9c22bc3 AO |
803 | * armemu.c (Multiply64): Fix computation of flag N. |
804 | ||
ee9a7772 AO |
805 | * armemu.c (MultiplyAdd64): Fix computation of flag N. |
806 | ||
fe47e8df AO |
807 | 2000-06-20 Alexandre Oliva <[email protected]> |
808 | ||
809 | * armemu.h (NEGBRANCH): Do not overwrite the two most significant | |
810 | bits of the offset. | |
811 | ||
c1a72ffd NC |
812 | 2000-05-25 Nick Clifton <[email protected]> |
813 | ||
814 | * armcopro.c (MMUMCR): Only indicate mode change if a singal has | |
815 | really changed. | |
816 | (MMUWrite): Only indicate mode change if a singal has really | |
817 | changed. | |
818 | ||
819 | * armdefs.h (SYSTEMMODE): Define. | |
820 | (BANK_CAN_ACEESS_SPSR): Define. | |
821 | ||
822 | * armemu.c (ARM_Emulate26): If the mode has changed allow the PC | |
823 | to advance before stopping the emulation. | |
824 | ||
825 | * arminit.c (ARMul_Reset): Ensure Mode field of State is set | |
826 | correctly. | |
827 | ||
828 | * armos.c (ARMul_OSInit): Create a initial stack pointer for | |
829 | System mode. | |
830 | ||
831 | * armsupp.c (ModeToBank): Remove unused first parameter. | |
832 | Add support for System Mode. | |
833 | (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro. | |
834 | (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro. | |
835 | (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro. | |
836 | (ARMulSwitchMode): Add support for System Mode. | |
837 | ||
838 | Wed May 24 14:40:34 2000 Andrew Cagney <[email protected]> | |
eb2d80b4 AC |
839 | |
840 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
841 | ||
3463c3fb NC |
842 | 2000-05-23 Nick Clifton <[email protected]> |
843 | ||
844 | * wrapper.c (sim_store_register): Special handling for CPSR | |
845 | register. | |
846 | ||
5d0d395e FCE |
847 | 2000-03-11 Philip Blundell <[email protected]> |
848 | ||
849 | * armemu.c (LoadSMult, LoadMult): Correct handling of aborts. | |
850 | Patch from Allan Skillman <[email protected]>. | |
851 | ||
6c9e0292 FCE |
852 | Wed Mar 22 15:24:21 2000 glen mccready <[email protected]> |
853 | ||
854 | * wrapper.c (sim_open,sim_close): Copy into myname, free myname. | |
855 | ||
6d358e86 NC |
856 | 2000-02-08 Nick Clifton <[email protected]> |
857 | ||
858 | * wrapper.c: Fix compile time warning messages. | |
859 | * armcopro.c: Fix compile time warning messages. | |
860 | * armdefs.h: Fix compile time warning messages. | |
861 | * armemu.c: Fix compile time warning messages. | |
862 | * armemu.h: Fix compile time warning messages. | |
863 | * armos.c: Fix compile time warning messages. | |
864 | * armsupp.c: Fix compile time warning messages. | |
865 | * armvirt.c: Fix compile time warning messages. | |
d0187574 | 866 | * bag.c: Fix compile time warning messages. |
6d358e86 | 867 | |
dfcd3bfb JM |
868 | 2000-02-02 Bernd Schmidt <[email protected]> |
869 | ||
870 | * *.[ch]: Use indent to make readable. | |
871 | ||
c2d11a7d JM |
872 | 1999-11-22 Nick Clifton <[email protected]> |
873 | ||
874 | * armos.c (SWIread): Generate an error message if a huge read is | |
875 | performed. | |
876 | (SWIwrite): Generate an error message if a huge write is | |
877 | performed. | |
878 | ||
5c44784c JM |
879 | 1999-10-27 Nick Clifton <[email protected]> |
880 | ||
881 | * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb | |
882 | breakpoint. | |
883 | ||
2df3850c JM |
884 | 1999-10-08 Ulrich Drepper <[email protected]> |
885 | ||
886 | * armos.c (SWIopen): Always pass third parameter with 0666 since | |
887 | otherwise uninitialized memory gets access if the O_CREAT bit is | |
888 | set and so we possibly cannot access the file afterwards. | |
889 | ||
2acceee2 JM |
890 | 1999-09-29 Doug Evans <[email protected]> |
891 | ||
892 | * armos.c (SWIWrite0): Send output to stdout instead of stderr. | |
893 | (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto. | |
894 | ||
d4f3574e SS |
895 | Thu Sep 2 18:15:53 1999 Andrew Cagney <[email protected]> |
896 | ||
897 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
898 | ||
cd0fc7c3 SS |
899 | 1999-05-08 Felix Lee <[email protected]> |
900 | ||
901 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
902 | ||
7a292a7a SS |
903 | 1999-04-06 Keith Seitz <[email protected]> |
904 | ||
905 | * wrapper.c (stop_simulator): New global. | |
906 | (sim_stop): Set sim state to STOP and set | |
907 | stop_simulator. | |
908 | (sim_resume): Reset stop_simulator. | |
909 | (sim_stop_reason): If stop_simulator is set, tell gdb | |
910 | that the we took SIGINT. | |
911 | * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if | |
912 | stop_simulator is set. | |
913 | ||
914 | 1999-04-02 Keith Seitz <[email protected]> | |
915 | ||
916 | * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook | |
917 | whenever the counter expires. | |
918 | * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK. | |
919 | ||
920 | 1999-03-24 Nick Clifton <[email protected]> | |
921 | ||
922 | * armemu.c (ARMul_Emulate26): Handle new breakpoint value. | |
923 | * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value. | |
924 | ||
c906108c SS |
925 | Mon Sep 14 09:00:05 1998 Nick Clifton <[email protected]> |
926 | ||
927 | * wrapper.c (sim_open): Set endianness according to BFD or command | |
928 | line switch. | |
929 | ||
930 | * tconfig.in: Define SIM_HAVE_BIENDIAN. | |
931 | ||
932 | Thu Aug 27 11:00:05 1998 Nick Clifton <[email protected]> | |
933 | ||
934 | * armemu.c (Multiply64): Test for Rm (rather than Rs) not being | |
935 | the same as either RdHi or RdLo. | |
936 | ||
937 | Thu Jul 2 10:24:35 1998 Nick Clifton <[email protected]> | |
938 | ||
939 | * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException): | |
940 | Set Reg[0] based on reason for for the exception. | |
941 | ||
942 | Thu Jun 4 15:22:03 1998 Jason Molenda ([email protected]) | |
943 | ||
944 | * armos.c (SWIwrite0): New function. | |
945 | (WriteCommandLineTo): New function. | |
946 | (SWIopen): New function. | |
947 | (SWIread): New function. | |
948 | (SWIwrite): New function. | |
949 | (SWIflen): New function. | |
950 | (ARMul_OSHandleSWI): Call new functions instead of handling | |
951 | these here. | |
952 | (ARMul_OSHandleSWI): Handle Angel SWIs correctly. | |
953 | (*): Reformat spacing to be a bit more GNUly. | |
954 | Most code taken from a patch by Anthony Thompson | |
955 | ([email protected]) | |
956 | ||
957 | Tue Jun 2 15:22:22 1998 Nick Clifton <[email protected]> | |
958 | ||
959 | * armos.h: Add Angel SWI and its reason codes. | |
960 | * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now). | |
961 | ||
962 | Mon Jun 1 17:14:19 1998 Anthony Thompson ([email protected]) | |
963 | ||
964 | * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case | |
965 | of ":tt" to catch stdin in addition to stdout. | |
966 | (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure | |
967 | or success of lseek(). | |
968 | ||
969 | Wed May 20 17:36:25 1998 Nick Clifton <[email protected]> | |
970 | ||
971 | * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts | |
972 | to open stdout. | |
973 | ||
974 | Wed Apr 29 15:29:55 1998 Jeff Johnston <[email protected]> | |
975 | ||
976 | * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock, | |
977 | SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only | |
978 | seek from offset 0 and not to use R2 for whence since it is | |
979 | not passed as part of the SWI call. | |
980 | ||
981 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <[email protected]> | |
982 | ||
983 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
984 | ||
985 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
986 | ||
987 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
988 | * config.in: Ditto. | |
989 | ||
990 | Sun Apr 26 15:20:26 1998 Tom Tromey <[email protected]> | |
991 | ||
992 | * acconfig.h: New file. | |
993 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
994 | ||
995 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
996 | ||
997 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
998 | * config.in: Ditto. | |
999 | ||
1000 | Fri Apr 24 11:20:19 1998 Tom Tromey <[email protected]> | |
1001 | ||
1002 | * configure.in: Don't call sinclude. | |
1003 | ||
1004 | Sat Apr 4 20:36:25 1998 Andrew Cagney <[email protected]> | |
1005 | ||
1006 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1007 | ||
1008 | Fri Mar 27 16:15:52 1998 Andrew Cagney <[email protected]> | |
1009 | ||
1010 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1011 | ||
1012 | Wed Mar 25 12:35:29 1998 Andrew Cagney <[email protected]> | |
1013 | ||
1014 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1015 | ||
1016 | Wed Mar 18 12:38:12 1998 Andrew Cagney <[email protected]> | |
1017 | ||
1018 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1019 | ||
1020 | Tue Mar 10 09:26:38 1998 Nick Clifton <[email protected]> | |
1021 | ||
1022 | * armopts.h: Remove definition of LITTLEND - it is not used. | |
1023 | ||
1024 | Tue Feb 17 12:35:54 1998 Andrew Cagney <[email protected]> | |
1025 | ||
1026 | * wrapper.c (sim_store_register, sim_fetch_register): Pass in | |
1027 | length parameter. Return -1. | |
1028 | ||
1029 | Sun Feb 1 16:47:51 1998 Andrew Cagney <[email protected]> | |
1030 | ||
1031 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1032 | ||
1033 | Sat Jan 31 18:15:41 1998 Andrew Cagney <[email protected]> | |
1034 | ||
1035 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1036 | ||
1037 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> | |
1038 | ||
1039 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1040 | ||
1041 | Mon Dec 15 23:17:11 1997 Andrew Cagney <[email protected]> | |
1042 | ||
1043 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1044 | * config.in: Ditto. | |
1045 | ||
1046 | Tue Dec 9 11:30:48 1997 Nick Clifton <[email protected]> | |
1047 | ||
1048 | * Makefile.in: Updated with changes from branch. | |
1049 | * armdefs.h: ditto | |
1050 | * armemu.c: ditto these changes | |
1051 | * armemu.h: ditto add support for | |
1052 | * armos.c: ditto the Thumb instruction | |
1053 | * armsupp.c: ditto set and the new v4 | |
1054 | * armvirt.c: ditto architecture. | |
1055 | * wrapper.c: ditto | |
1056 | * thumbemu.c: New file from branch. | |
1057 | ||
1058 | ||
1059 | Thu Dec 4 09:21:05 1997 Doug Evans <[email protected]> | |
1060 | ||
1061 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1062 | ||
1063 | Thu Oct 30 13:54:06 1997 Nick Clifton <[email protected]> | |
1064 | ||
1065 | * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch | |
1066 | from Tony Thompson at ARM: [email protected] | |
1067 | ||
1068 | * wrapper.c (sim_create_inferior): Add code to create an execution | |
1069 | environment. Patch from Tony Thompson at ARM: [email protected] | |
1070 | ||
1071 | Wed Oct 22 14:43:00 1997 Andrew Cagney <[email protected]> | |
1072 | ||
1073 | * wrapper.c (sim_load): Pass lma_p and sim_write args to | |
1074 | sim_load_file. | |
1075 | ||
1076 | Fri Oct 3 09:28:00 1997 Andrew Cagney <[email protected]> | |
1077 | ||
1078 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1079 | ||
1080 | Wed Sep 24 17:38:57 1997 Andrew Cagney <[email protected]> | |
1081 | ||
1082 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1083 | ||
1084 | Tue Sep 23 11:04:38 1997 Andrew Cagney <[email protected]> | |
1085 | ||
1086 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1087 | ||
1088 | Mon Sep 22 11:46:20 1997 Andrew Cagney <[email protected]> | |
1089 | ||
1090 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1091 | ||
1092 | Fri Sep 19 17:45:25 1997 Andrew Cagney <[email protected]> | |
1093 | ||
1094 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1095 | ||
1096 | Mon Sep 15 17:36:15 1997 Andrew Cagney <[email protected]> | |
1097 | ||
1098 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1099 | ||
1100 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
1101 | ||
1102 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1103 | ||
1104 | Wed Aug 27 18:13:22 1997 Andrew Cagney <[email protected]> | |
1105 | ||
1106 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1107 | * config.in: Ditto. | |
1108 | ||
1109 | Tue Aug 26 10:37:27 1997 Andrew Cagney <[email protected]> | |
1110 | ||
1111 | * wrapper.c (sim_kill): Delete. | |
1112 | (sim_create_inferior): Add ABFD argument. | |
1113 | (sim_load): Move setting of PC from here. | |
1114 | (sim_create_inferior): To here. | |
1115 | ||
1116 | Mon Aug 25 17:50:22 1997 Andrew Cagney <[email protected]> | |
1117 | ||
1118 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1119 | * config.in: Ditto. | |
1120 | ||
1121 | Mon Aug 25 15:35:45 1997 Andrew Cagney <[email protected]> | |
1122 | ||
1123 | * wrapper.c (sim_open): Add ABFD argument. | |
1124 | ||
1125 | Tue May 20 10:13:26 1997 Andrew Cagney <[email protected]> | |
1126 | ||
1127 | * wrapper.c (sim_open): Add callback argument. | |
1128 | (sim_set_callbacks): Drop SIM_DESC argument. | |
1129 | ||
1130 | Thu Apr 24 00:39:51 1997 Doug Evans <[email protected]> | |
1131 | ||
1132 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1133 | ||
1134 | Fri Apr 18 13:32:23 1997 Andrew Cagney <[email protected]> | |
1135 | ||
1136 | * wrapper.c (sim_stop): Stub sim_stop function. | |
1137 | ||
1138 | Thu Apr 17 18:33:01 1997 Fred Fish <[email protected]> | |
1139 | ||
1140 | * arminit.c (ARMul_NewState): Preinitialize the state to | |
1141 | all zero/NULL. | |
1142 | ||
1143 | Thu Apr 17 02:39:02 1997 Doug Evans <[email protected]> | |
1144 | ||
1145 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
1146 | * wrapper.c (sim_kind,myname): New static locals. | |
1147 | (sim_open): Set sim_kind, myname. | |
1148 | (sim_load): Call sim_load_file to do work. Set start address from bfd. | |
1149 | (sim_create_inferior): Return SIM_RC. Delete start_address arg. | |
1150 | ||
1151 | Thu Apr 17 11:48:25 1997 Andrew Cagney <[email protected]> | |
1152 | ||
1153 | * wrapper.c (sim_trace): Update so that it matches prototype. | |
1154 | ||
1155 | Mon Apr 7 15:45:02 1997 Andrew Cagney <[email protected]> | |
1156 | ||
1157 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1158 | * config.in: Ditto. | |
1159 | ||
1160 | Mon Apr 7 12:01:17 1997 Andrew Cagney <[email protected]> | |
1161 | ||
1162 | * Makefile.in (armemu32.o): Replace $< with autoconf recommended | |
1163 | $(srcdir)/.... | |
1164 | (armemu26.o): Ditto. | |
1165 | ||
1166 | Wed Apr 2 15:06:28 1997 Doug Evans <[email protected]> | |
1167 | ||
1168 | * wrapper.c (sim_open): New arg `kind'. | |
1169 | ||
1170 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1171 | ||
1172 | Wed Apr 2 14:50:44 1997 Ian Lance Taylor <[email protected]> | |
1173 | ||
1174 | * COPYING: Update FSF address. | |
1175 | ||
1176 | Wed Apr 2 14:34:19 1997 Andrew Cagney <[email protected]> | |
1177 | ||
1178 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1179 | ||
1180 | Wed Mar 19 01:14:00 1997 Andrew Cagney <[email protected]> | |
1181 | ||
1182 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1183 | ||
1184 | Mon Mar 17 15:10:07 1997 Andrew Cagney <[email protected]> | |
1185 | ||
1186 | * configure: Re-generate. | |
1187 | ||
1188 | Fri Mar 14 10:34:11 1997 Michael Meissner <[email protected]> | |
1189 | ||
1190 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
1191 | ||
1192 | Thu Mar 13 12:38:56 1997 Doug Evans <[email protected]> | |
1193 | ||
1194 | * wrapper.c (sim_open): Has result now. | |
1195 | (sim_*): New SIM_DESC argument. | |
1196 | ||
1197 | Tue Feb 4 13:22:21 1997 Doug Evans <[email protected]> | |
1198 | ||
1199 | * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use | |
1200 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
1201 | * configure.in: sinclude ../common/aclocal.m4. | |
1202 | * configure: Regenerated. | |
1203 | ||
1204 | Thu Jan 23 11:46:23 1997 Stu Grossman ([email protected]) | |
1205 | ||
1206 | * configure configure.in Makefile.in: Update to new configure | |
1207 | scheme which is more compatible with WinGDB builds. | |
1208 | * configure.in: Improve comment on how to run autoconf. | |
1209 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
1210 | * Makefile.in: Use autoconf substitution to install common | |
1211 | makefile fragment. | |
1212 | ||
1213 | Wed Nov 20 01:05:10 1996 Doug Evans <[email protected]> | |
1214 | ||
1215 | * run.c: Deleted, use one in ../common now. | |
1216 | * Makefile.in: Delete everything that's been moved to | |
1217 | ../common/Make-common.in. | |
1218 | (SIM_OBJS): Define. | |
1219 | * configure.in: Simplify using macros in ../common/aclocal.m4. | |
1220 | * configure: Regenerated. | |
1221 | * config.in: New file. | |
1222 | * armos.c: #include config.h. | |
1223 | * wrapper.c (mem_size): Value is in bytes now. | |
1224 | (sim_callback): New global. | |
1225 | (arm_sim_set_profile{,_size}): Delete. | |
1226 | (arm_sim_set_mem_size): Rename to sim_size. | |
1227 | (sim_do_command): Call printf_filtered via callback. | |
1228 | (sim_set_callbacks): Record callback. | |
1229 | ||
1230 | Thu Oct 3 16:10:27 1996 Jason Molenda ([email protected]) | |
1231 | ||
1232 | * Makefile.in (mostlyclean): Remove config.log. | |
1233 | ||
1234 | Wed Jun 26 12:17:24 1996 Jason Molenda ([email protected]) | |
1235 | ||
1236 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, | |
1237 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
1238 | (docdir): Removed. | |
1239 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
1240 | (AC_PROG_INSTALL): Added. | |
1241 | * configure: Rebuilt. | |
1242 | ||
1243 | Wed Feb 21 12:14:31 1996 Ian Lance Taylor <[email protected]> | |
1244 | ||
1245 | * configure: Regenerate with autoconf 2.7. | |
1246 | ||
1247 | Fri Dec 15 16:27:30 1995 Ian Lance Taylor <[email protected]> | |
1248 | ||
1249 | * run.c (main): Use new bfd_big_endian macro. | |
1250 | ||
1251 | Mon Nov 20 17:40:38 1995 Doug Evans <[email protected]> | |
1252 | ||
1253 | * run.c: Include "getopt.h". | |
1254 | (verbose): Delete. | |
1255 | (usage): Make static. | |
1256 | (main): Call arm_sim_set_verbosity. | |
1257 | Only load sections marked SEC_LOAD. | |
1258 | * wrapper.c (mem_size, verbosity): New static global. | |
1259 | (arm_sim_set_mem_size): Renamed from sim_size. Callers updated. | |
1260 | (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated. | |
1261 | ||
1262 | Fri Nov 17 19:35:11 1995 Doug Evans <[email protected]> | |
1263 | ||
1264 | * armdefs.h (ARMul_State): New member `verbose'. | |
1265 | * armrdi.c (ARMul_ConsolePrint): Add missing va_end. | |
1266 | * run.c (verbose): Make global. | |
1267 | * wrapper.c (init): Set state->verbose. | |
1268 | (ARMul_ConsolePrint): Don't print anything if !verbose. | |
1269 | ||
1270 | Fri Oct 13 15:30:30 1995 Doug Evans <[email protected]> | |
1271 | ||
1272 | * armos.c: #include dbg_rdi.h. | |
1273 | (ARMul_OSHandleSWI): Handle SWI_Breakpoint. | |
1274 | * armos.h (SWI_Breakpoint): Define. | |
1275 | * wrapper.c: #include armemu.h, dbg_rdi.h. | |
1276 | (rc): Delete. | |
1277 | (sim_resume): Use state->EndCondition to record stop state. | |
1278 | Call FLUSHPIPE before returning. | |
1279 | (sim_stop_reason): Determine reason from state->EndCondition. | |
1280 | ||
1281 | Fri Oct 13 15:04:05 1995 steve chamberlain <[email protected]> | |
1282 | ||
1283 | * wrapper.c (sim_set_callbacks): New. | |
1284 | ||
1285 | Thu Sep 28 19:45:56 1995 Doug Evans <[email protected]> | |
1286 | ||
1287 | * armos.c (ARMul_OSHandleSWI): Result of read/write calls is | |
1288 | number of bytes not read/written (or -1). | |
1289 | ||
1290 | Wed Sep 20 13:35:54 1995 Ian Lance Taylor <[email protected]> | |
1291 | ||
1292 | * Makefile.in (maintainer-clean): New synonym for realclean. | |
1293 | ||
1294 | Fri Sep 8 14:27:20 1995 Ian Lance Taylor <[email protected]> | |
1295 | ||
1296 | * configure.in: Remove AC_PROG_INSTALL. | |
1297 | * configure: Rebuild. | |
1298 | * Makefile.in (INSTALL): Revert to using install.sh. | |
1299 | (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). | |
1300 | (INSTALL_XFORM, INSTALL_XFORM1): Restore. | |
1301 | (mostlyclean): Make the same as clean, not distclean. | |
1302 | (clean): Remove config.log. | |
1303 | (install): Don't install in $(tooldir). | |
1304 | ||
1305 | Thu Sep 7 12:00:17 1995 Doug Evans <[email protected]> | |
1306 | ||
1307 | (Try to) Update to new bfd autoconf scheme. | |
1308 | * run.c: Don't include sysdep.h. | |
1309 | * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value. | |
1310 | (CC, CFLAGS, AR, RANLIB): Likewise. | |
1311 | (HDEFINES, TDEFINES): Define. | |
1312 | (CC_FOR_BUILD): Delete. | |
1313 | (host_makefile_frag): Delete. | |
1314 | (Makefile): Don't depend on frags. | |
1315 | * configure.in (sysdep.h): Don't create symlink. | |
1316 | (host_makefile_frag, frags): Deleted. | |
1317 | (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values. | |
1318 | * configure: Regenerated. | |
1319 | ||
1320 | Thu Aug 3 10:45:37 1995 Fred Fish <[email protected]> | |
1321 | ||
1322 | * Update all FSF addresses except those in COPYING* files. | |
1323 | ||
1324 | Wed Jul 5 16:15:54 1995 J.T. Conklin <[email protected]> | |
1325 | ||
1326 | * Makefile.in (clean): Remove run, libsim.a. | |
1327 | ||
1328 | * Makefile.in, configure.in: converted to autoconf. | |
1329 | * configure: New file, generated with autconf 2.4. | |
1330 | ||
1331 | * arm.mt: Removed. | |
1332 | ||
1333 | Fri Jun 30 16:49:47 1995 Stan Shebs <[email protected]> | |
1334 | ||
1335 | * wrapper.c (sim_do_command): New function. | |
1336 | ||
1337 | Tue Jun 13 10:57:32 1995 Steve Chamberlain <[email protected]> | |
1338 | ||
1339 | * armos.c (ARMul_OSHandleSWI): New version to work with | |
1340 | newlib simply. | |
1341 | ||
1342 | Thu Jun 8 14:37:14 1995 Steve Chamberlain <[email protected]> | |
1343 | ||
1344 | * run.c (main): Grab return value from right register. | |
1345 | ||
1346 | Wed May 24 14:37:31 1995 Steve Chamberlain <[email protected]> | |
1347 | ||
1348 | * New. | |
1349 | ||
1350 |