]>
Commit | Line | Data |
---|---|---|
0cb8d851 MF |
1 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. | |
4 | * configure: Regenerate. | |
5 | * interp.c (host_little_endian): Change CURRENT_HOST_BYTE_ORDER | |
6 | to HOST_BYTE_ORDER. | |
7 | ||
1ac72f06 MF |
8 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
9 | ||
10 | * configure: Regenerate. | |
11 | * interp.c (target_little_endian): Change LITTLE_ENDIAN to | |
12 | BFD_ENDIAN_LITTLE. | |
13 | (host_little_endian): Likewise. | |
14 | ||
e1211e55 MF |
15 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
16 | ||
17 | * wrapper.c (sim_store_register): Rename to ... | |
18 | (sh_reg_store): ... this. | |
19 | (sim_fetch_register): Rename to ... | |
20 | (sh_reg_fetch): ... this. | |
21 | (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. | |
22 | ||
5e744ef8 MF |
23 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
24 | ||
25 | * Makefile.in (SIM_OBJS): Delete sim-hload.o. | |
26 | ||
1b393626 MF |
27 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
28 | ||
29 | * config.in, configure: Regenerate. | |
30 | ||
6cc98856 MF |
31 | 2015-11-21 Mike Frysinger <vapier@gentoo.org> |
32 | ||
33 | * gencode.c (tab): Pass sd into trap calls. | |
34 | * interp.c (prog_argv, callback): Delete. | |
35 | (parse_and_set_memory_size): Add SIM_DESC arg. | |
36 | (trap): Declare callback and prog_argv. | |
37 | (sim_resume): Declare callback. | |
38 | (sim_info): Change callback->printf_filtered calls to sim_io_printf. | |
39 | (sim_open): Delete callback assignment. Pass sd to | |
40 | parse_and_set_memory_size. | |
41 | (parse_and_set_memory_size): Change callback->printf_filtered call | |
42 | to sim_io_printf. | |
43 | (sim_create_inferior): Delete prog_argv assignment. | |
44 | (sim_do_command): Change callback->printf_filtered calls to | |
45 | sim_io_printf. Pass sd to parse_and_set_memory_size. | |
46 | ||
797eee42 MF |
47 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
48 | ||
49 | * Makefile.in (SIM_OBJS): Delete sim-stop.o. | |
50 | ||
6e4f085c MF |
51 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
52 | ||
53 | * interp.c (sim_close): Delete. | |
54 | ||
8d0978fb MF |
55 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
56 | ||
57 | * configure: Regenerate. | |
58 | ||
a3487082 MF |
59 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
60 | ||
61 | * configure: Regenerate. | |
62 | ||
306f4178 MF |
63 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
64 | ||
65 | * configure: Regenerate. | |
66 | ||
20bca71d MF |
67 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
68 | ||
69 | * sim-main.h (SIM_CPU): Delete. | |
70 | ||
7e83aa92 MF |
71 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
72 | ||
73 | * sim-main.h (sim_cia): Delete. | |
74 | ||
034685f9 MF |
75 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
76 | ||
77 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
78 | ||
27b97b40 MF |
79 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
80 | ||
81 | * interp.c (sh_pc_get, sh_pc_set): New functions. | |
82 | (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. | |
83 | ||
78e9aa70 MF |
84 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
85 | ||
86 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
87 | * sim-main.h (STATE_CPU): Delete. | |
88 | ||
bf12d44e MF |
89 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
90 | ||
91 | * configure: Regenerate. | |
92 | ||
122bbfb5 MF |
93 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
94 | ||
95 | * Makefile.in (SIM_OBJS): Delete sim-engine.o. | |
96 | ||
aadc9410 MF |
97 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
98 | ||
99 | * config.in, configure: Regenerate. | |
100 | ||
62454d3d MF |
101 | 2015-03-28 Mike Frysinger <vapier@gentoo.org> |
102 | ||
103 | * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete. | |
104 | (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS). | |
105 | * interp.c: Delete run-sim.h include. Include sim-main.h, sim-base.h, | |
106 | and sim-options.h. | |
107 | (SEXT, SEXT32): Undefine. | |
108 | (sim_write): Delete prototype. | |
109 | (regstacktype, saved_state_type): Move to sim-main.h. | |
110 | (target_little_endian): Replace with CURRENT_TARGET_BYTE_ORDER. | |
111 | (host_little_endian): Replace with CURRENT_HOST_BYTE_ORDER. | |
112 | (sim_kind, myname, tracing, sim_stop, sim_trace, sim_set_profile, | |
113 | sim_set_profile_size, sim_load, sim_set_callbacks, | |
114 | sim_complete_command): Delete. | |
115 | (sim_size): Mark static. | |
116 | (init_pointers): Delete host_little_endian setup. | |
117 | (sim_resume): Delete tracing check. | |
118 | (free_state): New cleanup function. | |
119 | (sim_open): Rewrite to use new common logic. | |
120 | (sim_create_inferior): Call init_dsp. | |
121 | * sim-main.h: New file. | |
122 | * tconfig.h: Delete file. | |
123 | ||
5fa71a1b MF |
124 | 2015-03-28 Mike Frysinger <vapier@gentoo.org> |
125 | ||
126 | * gencode.c (ppi_gensim): Convert old style prototype with ppi_insn. | |
127 | * interp.c: Include ctype.h and run-sim.h. | |
128 | [HAVE_TIME_H]: Include time.h | |
129 | [HAVE_SYS_TIME_H]: Include sys/time.h | |
130 | [!_WIN32]: Include utime.h and sys/wait.h. | |
131 | (set_fpscr1, raise_exception, raise_buserror, get_dr, set_dr, set_sr, | |
132 | do_rdat, do_wdat, process_wlat_addr, process_wwat_addr, | |
133 | process_wbat_addr, process_rlat_addr, process_rwat_addr, | |
134 | process_rbat_addr, IOMEM, get_now, now_persec, swapout, swapout16, | |
135 | ptr, strswaplen, strnswap, dmul, macw, macl, get_loop_bounds_ext, | |
136 | get_loop_bounds, sim_size, init_dsp, init_pointers, dump_profile, | |
137 | gotcall, sim_stop, sim_write, sim_read, sim_store_register, | |
138 | sim_fetch_register, sim_trace, sim_stop_reason, sim_info, | |
139 | sim_set_profile, sim_set_profile_size, sim_open, | |
140 | parse_and_set_memory_size, sim_close, sim_load, sim_create_inferior, | |
141 | sim_do_command, sim_set_callbacks): Convert old style prototype. | |
142 | (fail): Delete unused function. | |
143 | (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast): | |
144 | Delete unused prototypes. | |
145 | (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast, | |
146 | swap, swap16): | |
147 | Convert old style prototype and move INLINE before the type. | |
148 | (trap): Convert old style prototype. Add casts to wait and sim_write | |
149 | calls. | |
150 | (div1): Convert old style prototype. Change return to void. | |
151 | (do_long_move_insn, do_blog_insn, fsca_s, fsrra_s, mcalloc): Mark | |
152 | static. | |
153 | (sim_resume): Convert old style prototype. Align printf format and | |
154 | args. | |
155 | ||
02131c7f MF |
156 | 2015-03-28 Mike Frysinger <vapier@gentoo.org> |
157 | ||
158 | * gencode.c (ppi_gensim): Add missing */. Change case 4 to case 5. | |
159 | ||
ed4d32c2 MF |
160 | 2015-03-28 Mike Frysinger <vapier@gentoo.org> |
161 | ||
162 | * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS), | |
163 | and $(WARN_CFLAGS). | |
164 | * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h. | |
165 | (struct op): Mark members const. | |
166 | (tab): Mark static. | |
167 | (nibble_type_list): Mark const. | |
168 | (arg_type_list): Mark const. | |
169 | (make_enum_list): Delete unused func. | |
170 | (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old | |
171 | style prototype and mark args const. | |
172 | (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy, | |
173 | gensim, ppi_filltable): Convert old style prototype. | |
174 | (gensim_caselist): Convert old style prototype. Mark local | |
175 | variables s and r const. | |
176 | (gendefines): Convert old style prototype. Mark s const. Move | |
177 | tolower call into printf statement. | |
178 | (ppi_gensim): Convert old style prototype. Mark local variable | |
179 | s const. | |
180 | (main): Convert old style prototype. Change printf %d to %zu. | |
181 | ||
6d89786c MF |
182 | 2015-03-28 Mike Frysinger <vapier@gentoo.org> |
183 | ||
184 | * config.in, configure: Regenerate. | |
185 | * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT, | |
186 | SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, | |
187 | SIM_AC_OPTION_INLINE, SIM_AC_OPTION_WARNINGS. | |
188 | ||
ae7d0cac MF |
189 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
190 | ||
191 | * config.in, configure: Regenerate. | |
192 | * tconfig.in: Rename file ... | |
193 | * tconfig.h: ... here. | |
194 | ||
465fb143 MF |
195 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
196 | ||
197 | * Makefile.in (SIM_EXTRA_CFLAGS): Set to | |
198 | -DSIM_USE_DEPRECATED_RUN_FRONTEND. | |
199 | (SIM_RUN_OBJS): Set to run.o. | |
200 | ||
5cddc23a MF |
201 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
202 | ||
203 | * configure.ac (AC_CHECK_HEADERS): Delete. | |
204 | * aclocal.m4, configure: Regenerate. | |
205 | ||
57df9adf OE |
206 | 2014-10-14 Oleg Endo <olegendo@gcc.gnu.org> (tiny patch) |
207 | ||
208 | * gencode.c (fabs, fneg): Implement as integer operation | |
209 | instead of using the FP_UNARY macro. | |
210 | ||
2974be62 AM |
211 | 2014-08-19 Alan Modra <amodra@gmail.com> |
212 | ||
213 | * configure: Regenerate. | |
214 | ||
faa743bb RM |
215 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
216 | ||
217 | * configure: Regenerate. | |
218 | * config.in: Regenerate. | |
219 | ||
60d847df MF |
220 | 2014-03-10 Mike Frysinger <vapier@gentoo.org> |
221 | ||
222 | * interp.c (parse_and_set_memory_size): Add const to str. | |
223 | (sim_do_command): Add const to cmd and sms_cmd. | |
224 | ||
b2b255bd MF |
225 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
226 | ||
227 | * interp.c (sim_load): Add const to prog. | |
228 | ||
ef3e8cf7 MF |
229 | 2014-02-17 Mike Frysinger <vapier@gentoo.org> |
230 | ||
231 | PR gdb/16450 | |
232 | * interp.c (control_c): Delete. | |
233 | (sim_resume): Delete signal(SIGINT) handling. | |
234 | ||
bf3d9781 AM |
235 | 2013-09-23 Alan Modra <amodra@gmail.com> |
236 | ||
237 | * configure: Regenerate. | |
238 | ||
31e6ad7d MF |
239 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
240 | ||
241 | * aclocal.m4, configure: Regenerate. | |
242 | ||
5f3ef9d0 JB |
243 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
244 | ||
245 | * config.in, configure: Regenerate. | |
246 | ||
2232061b MF |
247 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
248 | ||
249 | * aclocal.m4, config.in, configure: Regenerate. | |
250 | ||
f95586a4 KB |
251 | 2012-02-16 Kevin Buettner <kevinb@redhat.com> |
252 | ||
253 | * interp.c (MA): Adjust cast to avoid warning on 64-bit hosts. | |
254 | ||
255 | * interp.c (sim_store_register, sim_fetch_register): Return | |
256 | length, not -1. | |
257 | ||
db2e4d67 MF |
258 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
259 | ||
260 | * aclocal.m4: New file. | |
261 | * configure: Regenerate. | |
262 | ||
9c082ca8 MF |
263 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
264 | ||
265 | * configure.ac: Change include to common/acinclude.m4. | |
266 | ||
6ffe910a MF |
267 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
268 | ||
269 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
270 | call. Replace common.m4 include with SIM_AC_COMMON. | |
271 | * configure: Regenerate. | |
272 | ||
af9f7da7 MF |
273 | 2011-04-16 Mike Frysinger <vapier@gentoo.org> |
274 | ||
275 | * interp.c (sim_complete_command): New stub function. | |
276 | ||
5558e7e6 MF |
277 | 2010-04-14 Mike Frysinger <vapier@gentoo.org> |
278 | ||
279 | * interp.c (sim_write): Add const to buffer arg. | |
280 | ||
22e041e2 MM |
281 | 2010-01-12 Masaki Muranaka <monaka@monami-software.com> |
282 | ||
283 | * interp.c: Don't include sysdep.h. | |
284 | Include stdio.h and errno.h. | |
285 | Include string.h strings.h stdlib.h sys/stat.h if present. | |
286 | ||
3725885a RW |
287 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
288 | ||
289 | * configure: Regenerate. | |
290 | ||
d6416cdc RW |
291 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
292 | ||
81ecdfbb RW |
293 | * config.in: Regenerate. |
294 | * configure: Likewise. | |
295 | ||
d6416cdc RW |
296 | * configure: Regenerate. |
297 | ||
b5bd9624 HPN |
298 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
299 | ||
300 | * configure: Regenerate to track ../common/common.m4 changes. | |
301 | * config.in: Ditto. | |
302 | ||
6efef468 | 303 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
72f4393d L |
304 | Daniel Jacobowitz <dan@codesourcery.com> |
305 | Joseph Myers <joseph@codesourcery.com> | |
6efef468 JM |
306 | |
307 | * configure: Regenerate. | |
308 | ||
f3876f69 AS |
309 | 2008-02-04 Antony King <antony.king@st.com> |
310 | ||
311 | * interp.c (macl): Fix non-portable implementation. | |
312 | ||
4d439271 DP |
313 | 2007-10-08 Andrew Stubbs <andrew.stubbs@st.com> |
314 | ||
315 | * gencode.c (tab): Add RAISE_EXCEPTION_IF_IN_DELAY_SLOT to the | |
316 | definition of PC relative 'mov.l'/'mov.w' and also 'mova'. | |
317 | ||
6a1754a3 DJ |
318 | 2007-03-02 Andrew Stubbs <andrew.stubbs@st.com> |
319 | ||
320 | * gencode.c (tab): Correct pre-decrement instructions when m == n. | |
321 | ||
edc5d9ec HPN |
322 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
323 | ||
324 | * acconfig.h: Remove. | |
325 | * config.in: Regenerate. | |
326 | ||
e85e3205 RE |
327 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
328 | ||
329 | * configure: Regenerated. | |
330 | ||
2f0122dc DJ |
331 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
332 | ||
333 | * configure: Regenerated. | |
334 | ||
20e95c23 DJ |
335 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
336 | ||
337 | * configure: Regenerated. | |
338 | ||
72a37d8d AS |
339 | 2005-11-10 Andrew Stubbs <andrew.stubbs@st.com> |
340 | ||
341 | * interp.c (sim_memory_size): Use same amount of memory on Windows as | |
342 | elsewhere. | |
343 | ||
6a8492b5 JR |
344 | 2005-09-19 J"orn Rennecke <joern.rennecke@st.com> |
345 | ||
346 | * interp.c (<sys/mman.h>): Include. | |
347 | (mcalloc): New function / macro. | |
348 | (mfree): New macro. | |
349 | (sim_size): Use mcalloc and mfree. | |
350 | ||
63bee803 JR |
351 | 2005-08-02 J"orn Rennecke <joern.rennecke@st.com> |
352 | ||
353 | * interp.c (strswaplen): Add one for '\0' delimiter. | |
354 | ||
195b8a57 DJ |
355 | 2005-06-16 Daniel Jacobowitz <dan@codesourcery.com> |
356 | ||
357 | * gencode.c (tab): Avoid lvalue casts. Suggested by | |
358 | Ralf Corsepius <ralf.corsepius@rtems.org>. | |
359 | ||
53f541af JL |
360 | 2005-04-12 Jonathan Larmour <jifl@eCosCentric.com> |
361 | ||
362 | * gencode.c (tab): Avoid inserting code before variables all declared. | |
363 | ||
2b193c4a MK |
364 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
365 | ||
366 | * configure: Regenerate. | |
367 | ||
35695fd6 AC |
368 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
369 | ||
370 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
371 | explicit call to AC_CONFIG_HEADER. | |
372 | * configure: Regenerate. | |
373 | ||
f0569246 AC |
374 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
375 | ||
376 | * configure.ac: Update to use ../common/common.m4. | |
377 | * configure: Re-generate. | |
378 | ||
38f48d72 AC |
379 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
380 | ||
381 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
382 | ||
b7026657 AC |
383 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
384 | ||
385 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
386 | * configure: Re-generate. | |
387 | ||
379832de HPN |
388 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
389 | ||
390 | * configure: Regenerate for ../common/aclocal.m4 update. | |
391 | ||
ae0a84af CV |
392 | 2004-09-08 DJ Delorie <dj@redhat.com> |
393 | ||
394 | Commited by Corinna Vinschen <vinschen@redhat.com> | |
395 | * gencode.c (movua.l): Compensate for endianness. | |
396 | ||
397 | 2004-09-08 Corinna Vinschen <vinschen@redhat.com> | |
398 | ||
399 | * interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro. | |
400 | (in_delay_slot): New flag variable. | |
401 | (Delay_Slot): Set in_delay_slot. | |
402 | (sim_resume): Reset in_delay_slot after leaving code switch. | |
403 | * gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all | |
404 | instructions not allowed in delay slots. | |
405 | ||
406 | 2004-09-08 Michael Snyder <msnyder@redhat.com> | |
407 | ||
408 | Commited by Corinna Vinschen <vinschen@redhat.com> | |
409 | Introduce SH2a support. | |
410 | * interp.c: Change type of jump table to short. Add various macros. | |
411 | (sim_load): Save the bfd machine code. | |
412 | (sim_create_inferior): Ditto. | |
413 | (union saved_state_type): Add tbr, ibnr and ibcr registers. | |
414 | Move bfd_mach to end of struct. Add regstack pointer. | |
415 | (init_dsp): Don't swap contents of sh_dsp_table any more. Instead | |
416 | use it directly in its own switch statement. Allocate space for 512 | |
417 | register banks. | |
418 | (do_long_move_insn): New function. | |
419 | (do_blog_insn): Ditto. | |
420 | (trap): Use trap #13 and trap #14 to set ibnr and ibcr. | |
421 | * gencode.c: Move movx/movy insns into separate switch statement. | |
422 | (op tab): Add sh2a insns. Reject instructions that are disabled | |
423 | on that chip. | |
424 | (gensim_caselist): Generate default case here instead of in caller. | |
425 | (gensim): Generate two separate switch statements. Call | |
426 | gensim_caselist once for each (for movsxy_tab and for tab). | |
427 | Add tokens for r15 and multiple regs. | |
428 | (conflict_warn, warn_conflicts): Add for debugging. | |
429 | ||
a134f341 JR |
430 | 2004-08-18 J"orn Rennecke <joern.rennecke@superh.com> |
431 | ||
432 | * gencode.c (tab): For shad snd shld, fix result for | |
433 | (op1 < 0 && shift_amount == 0). | |
434 | ||
915213a4 MS |
435 | 2004-02-02 Michael Snyder <msnyder@redhat.com> |
436 | ||
437 | * gencode.c (movua.l): Set thislock to 0, not n. | |
438 | ||
3e511797 MS |
439 | 2004-02-12 Michael Snyder <msnyder@redhat.com> |
440 | ||
441 | * gencode.c (table): Change from char to short. | |
442 | (dumptable): Change generated table from char to short. | |
443 | * interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short. | |
444 | (init_dsp): Compute size of sh_dsp_table. | |
445 | (sim_resume): Change jump_table from char to short. | |
446 | ||
4ae0cff4 MS |
447 | 2004-01-27 Michael Snyder <msnyder@redhat.com> |
448 | ||
0145ab2e MS |
449 | * gencode.c: (op tab): Some refs and defs fixes. |
450 | "fsrra" -> "fsrra <FREG_N>". | |
451 | "sleep": replace array ref with array addr. | |
72f4393d | 452 | "trapa": ditto. |
0145ab2e | 453 | Comment and whitespace clean-ups. |
4ae0cff4 | 454 | |
86bc60eb MS |
455 | 2004-01-07 Michael Snyder <msnyder@redhat.com> |
456 | ||
87acb4a7 MS |
457 | * gencode.c: Whitespace cleanup. |
458 | * interp.c: Ditto. | |
459 | ||
86bc60eb MS |
460 | * gencode.c: Replace 'Hitachi' with 'Renesas'. |
461 | (op tab): Add new instructions for sh4a, DBR, SBR. | |
462 | (expand_opcode): Add handling for new movxy combinations. | |
463 | (gensym_caselist): Ditto. | |
72f4393d | 464 | (expand_ppi_movxy): Remove movx/movy expansions, |
86bc60eb MS |
465 | now handled in expand_opcode. |
466 | (gensym): Add some helpful macros. | |
467 | (expand_ppi_code): Flatten loop for simplicity, tweak for 12-bit | |
468 | instead of 8-bit table (some insns are ambiguous to 8 bits). | |
469 | (ppi_gensim, main): Generate 12-bit instead of 8-bit ppi table. | |
470 | ||
471 | * interp.c: Replace 'Hitachi' with 'Renesas'. | |
472 | (union saved_state_type): Add dbr, sgr, ldst. | |
473 | (get_loop_bounds_ext): New function. | |
474 | (init_dsp): Add bfd_mach_sh4al_dsp. | |
72f4393d | 475 | (sim_resume): Handle extended loop bounds. |
86bc60eb | 476 | |
673fc5d0 MS |
477 | 2003-12-18 Michael Snyder <msnyder@redhat.com> |
478 | ||
479 | * gencode.c (expand_opcode): Simplify and reorganize. | |
480 | Eliminate "shift" parameter. Eliminate "4 bits at a time" | |
481 | assumption. Flatten switch statement to a single level. | |
482 | Add "eeee" token for even-numbered registers. | |
483 | (bton): Delete. | |
484 | (fsca): Use "eeee" token. | |
485 | (ppi_moves): Rename to "expand_ppi_movxy". Do the ddt | |
486 | [movx/movy] expansion here, as well as the ppi expansion. | |
487 | (gensim_caselist): Accept 'eeee' along with 'nnnn'. | |
488 | ||
794cd17b JR |
489 | 2003-11-03 J"orn Rennecke <joern.rennecke@superh.com> |
490 | ||
491 | * interp.c (fsca_s, fsrra_s): New functions. | |
492 | * gencode.c (tab): Add entries for fsca and fsrra. | |
493 | (expand_opcode): Allow variable length n / m fields. | |
494 | ||
8822d001 JR |
495 | 2003-10-15 J"orn Rennecke <joern.rennecke@superh.com> |
496 | ||
497 | * syscall.h (SYS_truncate, SYS_ftruncate): Define. | |
498 | * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate. | |
499 | ||
72f4393d L |
500 | 2003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com> |
501 | * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and | |
d1789ace | 502 | correction for MAC.W handler |
72f4393d | 503 | * sim/sh/interp.c ( macl ): New Function. Implementation of |
d1789ace MS |
504 | MAC.L handler. |
505 | ||
240f98d3 MS |
506 | 2003-08-07 Michael Snyder <msnyder@redhat.com> |
507 | ||
508 | * gencode.c (expand_ppi_code): Comment spelling fix. | |
509 | ||
437b0e60 MS |
510 | 2003-07-25 Michael Snyder <msnyder@redhat.com> |
511 | ||
512 | * gencode.c (pshl): Change < to <= (shift by 16 is allowed). | |
513 | Cast argument of >> to unsigned to prevent sign extension. | |
72f4393d | 514 | (psha): Change < to <= (shift by 32 is allowed). |
437b0e60 | 515 | |
32fcda6a MS |
516 | 2003-07-24 Michael Snyder <msnyder@redhat.com> |
517 | ||
518 | * gencode.c: Fix typo in comment. | |
519 | ||
e343a93a MS |
520 | 2003-07-23 Michael Snyder <msnyder@redhat.com> |
521 | ||
522 | * gencode.c: A few more fix-ups of refs and defs. | |
523 | (frchg): Raise SIGILL if in double-precision mode. | |
524 | (ldtlb): We don't simulate cache, so this is a no-op. | |
525 | (movsxy_tab): Correct a few bit pattern errors. | |
526 | ||
c13a4caa MS |
527 | 2003-07-09 Michael Snyder <msnyder@redhat.com> |
528 | ||
1b606171 | 529 | * gencode.c (prnd): Clear LSW of result to zeros. |
fcfae95c | 530 | * gencode.c (pmuls): Expression is mis-parenthesized. |
c13a4caa MS |
531 | * gencode.c (ppi_gensim): For a conditional ppi insn, if the |
532 | condition is false, we want to return (not break). A break | |
533 | will take us to the end of the function where registers will | |
534 | be updated, whereas the desired outcome is for nothing to change. | |
535 | ||
e53a5a69 MS |
536 | 2003-07-03 Michael Snyder <msnyder@redhat.com> |
537 | ||
538 | * gencode.c (movs): Fix a couple of text transpositions. | |
539 | ||
15dee5d5 MS |
540 | 2003-06-27 Michael Snyder <msnyder@redhat.com> |
541 | ||
b939d772 MS |
542 | * gencode.c (op tab): Some fix-ups of refs and defs. |
543 | (ocbi, ocbp): Cache not simulated, but may cause memory fault. | |
544 | (gensym_caselist): Add default case to switch statement. | |
545 | (expand_ppi_code): Add default case to switch statement. | |
d2f18ae4 | 546 | * gencode.c (op tab): Implement movca.l. |
9e1d0fc1 | 547 | * gencode.c (op movsxy_tab): Fix an error in the bit pattern. |
15dee5d5 MS |
548 | * gencode.c (gensim_caselist): The movy instructions use |
549 | registers R6 and R7 (not R4 and R5 like the movx insns). | |
550 | ||
8dc30ef7 MS |
551 | 2003-06-27 Michael Snyder <msnyder@redhat.com> |
552 | ||
0b282859 MS |
553 | * gencode.c (op movsxy_tab): Fix up some copy/paste errors |
554 | in name: s/REG_x/REG_y/. | |
555 | ||
8dc30ef7 MS |
556 | * gencode.c (op tab): Move misplaced semicolon. |
557 | ||
6b4a8935 AC |
558 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
559 | ||
560 | * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd | |
561 | to bfd. | |
562 | ||
fd8f4948 JR |
563 | Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com> |
564 | ||
565 | * interp.c (trap): Return int. Take extra parameter for address | |
566 | of the trap instruction. Changed all callers. | |
567 | Add case 33 for profiling. | |
568 | * gencode.c (trapa): Handle trap 33 using the trap function. | |
569 | Add read of vector for generic traps. | |
570 | ||
2f14585c JR |
571 | Wed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
572 | ||
573 | * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h. | |
574 | * interp.c: Include "gdb/sim-sh.h". | |
575 | (sim_store_register, sim_fetch_register): Use constants defined there. | |
576 | ||
dc9feb5c JR |
577 | Tue Jun 18 16:53:11 2002 J"orn Rennecke <joern.rennecke@superh.com> |
578 | ||
579 | * interp.c (sim_resume): Fix setting of bus error for | |
580 | instruction fetch. | |
581 | ||
c8cca39f AC |
582 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
583 | ||
584 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
585 | ||
3c25f8c7 AC |
586 | 2002-06-08 Andrew Cagney <cagney@redhat.com> |
587 | ||
588 | * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
589 | ||
de0492b6 AO |
590 | 2001-01-30 Ben Elliston <bje@redhat.com> |
591 | ||
592 | * interp.c (sim_create_inferior): Record program arguments for | |
593 | later inspection by the trap handler. | |
594 | (count_argc): New function. | |
595 | (prog_argv): Declare static. | |
596 | (sim_write): Declare. | |
597 | (trap): Implement argc, argnlen and argn system calls. Do not | |
598 | abort on unknown system calls--simply return -1. | |
599 | * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define. | |
600 | ||
55406459 AO |
601 | 2001-01-24 Alexandre Oliva <aoliva@redhat.com> |
602 | ||
603 | * interp.c (trap): Implement time. | |
604 | ||
8f1e3ff5 BE |
605 | 2000-10-24 Ben Elliston <bje@redhat.com> |
606 | ||
607 | * gencode.c (tab): Delimit strings with commas where applicable. | |
608 | ||
eb2d80b4 AC |
609 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
610 | ||
611 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
612 | ||
63978407 JR |
613 | Mon May 15 22:04:51 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
614 | ||
615 | sh-dsp support, simulator speedup by using host byte order: | |
616 | ||
617 | * Makefile.in (interp.o): Depends on ppi.c . | |
618 | (ppi.c): New rule. | |
619 | * gencode.c (printonmatch, think, genopc): Deleted. | |
620 | (MAX_NR_STUFF): Now 42. | |
621 | (tab): Add SH-DSP CPU instructions. | |
622 | Amalgamate ldc / stc / lds / sts instructions with similar | |
623 | bit patterns. Fix opcodes of stc Rm_BANK,@-<REG_N>. | |
624 | Fix semantics of lds.l @<REG_N>+,MACH (no sign extend). | |
625 | (movsxy_tab): New array. | |
626 | For movs, change MMMM field to GGGG, and mmmm field to MMMM. | |
627 | Added entries for movx, movy and parallel processing insns. | |
628 | (ppi_tab): New array. | |
629 | (qfunc): Stabilize sort. | |
630 | (expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy. | |
631 | Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'. | |
632 | (dumptable): Now takes three arguments. Changed all callers. | |
633 | Emit just one contigous jump table. | |
634 | (filltable): Now takes an argument. Changed all callers. | |
635 | Make index static. | |
636 | (ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions. | |
637 | (gensim_caselist): New function, broken out of gensim. | |
638 | Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'. | |
639 | Handle ref '9'. | |
640 | (gensim): Handle 'N' in code field and '8' in refs field. | |
641 | Call gensim_caselist - twice. | |
642 | (ppi_index): New static variable. | |
643 | (main): Unsupport default action. | |
644 | Add dsp support for -x / -s option. Add -p option. | |
645 | * interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare. | |
646 | (saved_state_type): Rearrange to allow amalgamated ldc / stc / | |
647 | lds / sts to work efficiently. | |
648 | (target_dsp): New static variable. | |
649 | (GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change. | |
650 | (FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise. | |
651 | (SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise. | |
652 | (RS, RE, MOD, MOD_ME, DSP_R): Likewise. | |
653 | (set_fpscr1): Likewise. Use target_dsp to check for dsp. | |
654 | (MOD_MSi, SIG_BUS_FETCH): Deleted. | |
655 | (CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros. | |
656 | (SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise. | |
657 | (SET_MOD): Reflect saved_state_type change. Set MOD_DELTA instead | |
658 | of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME. | |
659 | (set_sr): Reflect saved_state_type change. Fix SR_RB handling. | |
660 | Use SET_MOD. | |
661 | (MA, L, TL, TB): Now controlled by ACE_FAST. | |
662 | (SEXT32): Just cast to int. | |
663 | (SIGN32): Fixed to only shift by 31. | |
664 | (CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0. | |
665 | (ppi_insn): Declare. | |
666 | (ppi.c): Include. | |
667 | (init_dsp): Set target_dsp. When it changes, switch end of | |
668 | sh_jump_table with sh_dsp_table. | |
669 | (sim_resume) Don't declare sh_jump_table0. Use sh_jump_table instead. | |
670 | Don't Declare PR if it's #defined. | |
671 | Fix single-stepping (Was broken in Mar 6 16:59:10 patch). | |
672 | (sim_store_register, sim_read_register): Translate accesses to | |
673 | reflect saved_state_type change. | |
674 | ||
675 | * interp.c (set_sr): Set sr. | |
676 | (SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros. | |
677 | (set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp. | |
678 | (DSP_R): Fix definition. | |
679 | (sim_resume): Remove outdated SET_SR use. | |
680 | ||
681 | * interp.c (saved_state): New members for struct member asregs: | |
682 | rs, re, insn_end, xram_start, yram_start. | |
683 | (struct loop_bounds): New struct. | |
684 | (SKIP_INSN): New macro. | |
685 | (get_loop_bounds): New function. | |
686 | (endianw): Renamed to global_endianw. | |
687 | (maskw): negated bits. | |
688 | (PC): Now insn_ptr. | |
689 | (SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros. | |
690 | (RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise. | |
691 | (M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise. | |
692 | (SIG_BUS_FETCH): Likewise | |
693 | (raise_exception, riat_fast): New functions. | |
694 | (raise_buserror, sim_stop): Use raise_exception. | |
695 | (PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start. | |
696 | (BUSERROR, WRITE_BUSERROR, READ_BUSERROR): | |
697 | Reverse sense of mask argument. | |
698 | (FP_OP, set_dr): Use RAISE_EXCEPTION. | |
699 | (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast): | |
700 | Declare. Remove redundant masking. | |
701 | (wwat_fast, rwat_fast): Add argument endianw. Changed callers. | |
702 | (MA): Updated for change pc -> PC. | |
703 | (Delay_Slot): Use RIAT. | |
704 | (empty): Deleted. | |
705 | (trap): Remove argument little_endian. Add argument endianw. | |
706 | Changed all callers. Use raise_exception. | |
707 | (macw): Add argument endainw. Changed all callers. | |
708 | (init_dsp): New function, extended after broken out of init_pointers. | |
709 | (sim_resume): Replace pc with insn_ptr. Replace little_endian with | |
710 | endianw. Replace nia with nip. Reverse sense of maskb / maskw / | |
711 | maskl. Implement logic for zero-overhead loops. Don't try to | |
712 | interpret garbage when getting a SIGBUS at insn fetch. | |
713 | (sim_open): Call init_dsp. | |
714 | * gencode.c (tab): Use SET_NIP instead of nia = . Use PH2T / PT2H / | |
715 | RAISE_EXCEPTION where appropriate. | |
716 | Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr. | |
717 | ||
718 | * interp.c (sim_store_register, sim_fetch_register): | |
719 | Do proper endianness switch. | |
720 | ||
721 | * interp.c (saved_state_type): New members for struct member asregs: | |
722 | xymem_select, xmem, ymem, xmem_offset, ymem_offset. | |
723 | (special_address): Delete. | |
724 | (BUSERROR): Now a two-argument predicate. | |
725 | (PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros. | |
726 | (wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete. | |
727 | (process_wlat_addr, process_wwat_addr): New functions. | |
728 | (process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise. | |
729 | (process_rbat_addr): Likewise. | |
730 | (wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR. | |
731 | (rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete. | |
732 | (rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR. | |
733 | (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions. | |
734 | (do_rdat, trap): Delete SLOW code. | |
735 | (SEXT32, SIGN32): New macros. | |
736 | (swap, swap16): Now integer in - integer out. Changed all callers. | |
737 | (strswaplen, strnswap): Delete SLOW versions. | |
738 | (init_pointers): Initialize dsp memory selection (preliminary). | |
739 | (sim_store_register, sim_fetch_register): Use swap instead of | |
740 | big / little endian read / write functions. | |
741 | ||
742 | * interp.c (maskl): Deleted. | |
743 | (endianw, endianb): New variables. | |
744 | (special_address): Now inline. | |
745 | (bp_holder): Put raising of buserror there, rename to: | |
746 | (raise_buserror). | |
747 | (BUSERROR): Now yields a value. Changed all users. | |
748 | (wbat_big): Delete. | |
749 | (wlat_fast, wwat_fast, wbat_fast): New functions. | |
750 | (rlat_fast, rwat_fast, rbat_fast): Likewise. | |
751 | (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions. | |
752 | (do_rdat, do_wdat): Likewise. Take maskl argument instead of | |
753 | little_endian one. Changed caller macros. | |
754 | (swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly. | |
755 | (strswaplen, strnswap): New functions. | |
756 | (trap): Use them to fix up endian mismatches; | |
757 | disable SYS_execve and SYS_execv; fix double address translation for | |
758 | SYS_pipe and SYS_stat. | |
759 | (sym_write, sym_read): Add endianness translation. | |
760 | (sym_store_register, sym_fetch_register): Add maskl local variable. | |
761 | (sim_open): Set endianw and endianb. | |
762 | ||
d4f3574e SS |
763 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> |
764 | ||
765 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
766 | ||
104c1213 JM |
767 | Wed Aug 25 07:55:23 1999 Brendan Kehoe <brendan@cygnus.com> |
768 | ||
769 | * gencode.c (fcnvds <DR_N>,FPUL): Rewrite to use a local anonymous | |
770 | union type, instead of casting to an int* then a float*. | |
771 | (fcnvsd FPUL,<DR_N>): Likewise. | |
772 | (flds <FREG_N>,FPUL): Likewise. | |
773 | (fsts FPUL,<FREG_N>): Likewise. | |
774 | ||
cd0fc7c3 SS |
775 | 1999-05-08 Felix Lee <flee@cygnus.com> |
776 | ||
777 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
72f4393d | 778 | |
7a292a7a SS |
779 | 1999-04-02 Keith Seitz <keiths@cygnus.com> |
780 | ||
781 | * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the | |
782 | frequency at which the poll_quit callback is called. | |
783 | (sim_resume): Use POLL_QUIT_INTERVAL instead of a | |
784 | hard-coded value. | |
785 | ||
c906108c SS |
786 | Thu Sep 10 02:16:39 1997 J"orn Rennecke <amylaar@cygnus.co.uk> |
787 | ||
788 | * interp.c (saved_state.asregs): Add new member pad_dummy. | |
789 | (sim_store_register, sim_fetch_regsiter): Add 1 to rn for use | |
790 | as index into saved_state.asints. | |
791 | ||
792 | Mon Jun 29 19:35:24 1998 Jason Molenda (crash@bugshack.cygnus.com) | |
793 | ||
794 | * interp.c (sim_open): set endianness based on the ABFD if a -E | |
795 | option is not present and we have an ABFD. | |
796 | ||
797 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> | |
798 | ||
72f4393d | 799 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
c906108c SS |
800 | |
801 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
802 | ||
803 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
804 | * config.in: Ditto. | |
805 | ||
806 | Sun Apr 26 15:19:48 1998 Tom Tromey <tromey@cygnus.com> | |
807 | ||
808 | * acconfig.h: New file. | |
809 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
810 | ||
811 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
812 | ||
813 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
814 | * config.in: Ditto. | |
815 | ||
816 | Fri Apr 24 11:18:35 1998 Tom Tromey <tromey@cygnus.com> | |
817 | ||
818 | * configure.in: Don't call sinclude. | |
819 | ||
820 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
821 | ||
822 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
823 | ||
824 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
825 | ||
826 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
827 | ||
828 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
829 | ||
830 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
831 | ||
832 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
833 | ||
834 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
835 | ||
836 | Tue Feb 17 12:49:44 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
837 | ||
838 | * interp.c (sim_fetch_register, sim_store_register): Pass in | |
839 | length parameter. Return -1. | |
840 | ||
841 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
842 | ||
843 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
844 | ||
845 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
846 | ||
847 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
848 | ||
849 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> | |
850 | ||
851 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
852 | ||
853 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
854 | ||
855 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
856 | * config.in: Ditto. | |
857 | ||
858 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> | |
859 | ||
860 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
861 | ||
862 | Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
863 | ||
864 | * interp.c (sim_load): Pass lma_p and sim_write args to | |
865 | sim_load_file. | |
866 | ||
867 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
868 | ||
869 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
870 | ||
871 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
872 | ||
873 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
874 | ||
875 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
876 | ||
877 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
878 | ||
879 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
880 | ||
881 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
882 | ||
883 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
884 | ||
885 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
886 | ||
887 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
888 | ||
889 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
890 | ||
891 | Tue Sep 9 20:52:21 1997 Felix Lee <flee@cygnus.com> | |
892 | ||
893 | * interp.c (sim_resume): poll_quit() at least once per call; | |
894 | otherwise gdb can loop sim_resume() uninterruptably. | |
895 | ||
896 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
897 | ||
898 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
899 | ||
900 | Tue Sep 2 13:15:27 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
901 | ||
902 | * gencode.c (tab): Order instructions according to SH3 document. | |
903 | ||
904 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
905 | ||
906 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
907 | * config.in: Ditto. | |
908 | ||
909 | Tue Aug 26 10:41:55 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
910 | ||
911 | * interp.c (sim_kill): Delete. | |
912 | (sim_create_inferior): Add ABFD argument. | |
913 | (sim_load): Move setting of PC from here. | |
914 | (sim_create_inferior): To here. | |
915 | ||
916 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
917 | ||
918 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
919 | * config.in: Ditto. | |
920 | ||
921 | Mon Aug 25 16:17:51 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
922 | ||
923 | * interp.c (sim_open): Add ABFD argument. | |
924 | ||
925 | Mon Jun 23 15:49:14 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
926 | ||
927 | * interp.c (get_dr): Avoid SIGFPE by moving integers instead of | |
928 | FP's around. | |
929 | (set_dr): Ditto. | |
72f4393d | 930 | |
7a292a7a SS |
931 | Mon Jun 23 15:02:40 1997 Andrew Cagney <cagney@b1.cygnus.com> |
932 | ||
933 | * interp.c (XD, SET_XD): Delete. | |
934 | (XF, SET_XF, XD_TO_XF): Define, move around registers in either | |
935 | FP bank. | |
72f4393d | 936 | |
7a292a7a SS |
937 | * gencode.c (fmov): Update. |
938 | ||
c906108c SS |
939 | Sun Jun 22 19:33:33 1997 Andrew Cagney <cagney@b1.cygnus.com> |
940 | ||
941 | * interp.c (set_fpscr1): From J"orn Rennecke | |
942 | <amylaar@cygnus.co.uk>, Fix typo. Ditto for comment. | |
72f4393d | 943 | |
7a292a7a SS |
944 | Tue Aug 12 00:19:11 1997 J"orn Rennecke <amylaar@cygnus.co.uk> |
945 | ||
946 | * interp.c (special_address): New function. | |
947 | (BUSERROR): Call it. Added parameters bits_written and data. | |
948 | Changed all callers. | |
949 | * gencode.c (tab): Fixed ocbwb and pref. | |
950 | ||
951 | Fri Jun 20 22:03:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk> | |
952 | ||
953 | * interp.c (do_wdat, do_wdat): Fix bug in register number calculation. | |
954 | ||
c906108c SS |
955 | Thu Jun 19 00:28:08 1997 Andrew Cagney <cagney@b1.cygnus.com> |
956 | ||
957 | * interp.c (sim_create_inferior): Clear registers each time an | |
958 | inferior is started. | |
959 | ||
7a292a7a SS |
960 | Mon Jun 16 14:01:55 1997 Andrew Cagney <cagney@b1.cygnus.com> |
961 | ||
962 | * interp.c (*FP, FP_OP, FP_CMP, FP_UNARY): Provide a hook for | |
963 | when a host doesn't support IEEE FP. | |
964 | (*DP): Provide alternative definition that supports 64bit floating | |
965 | point. | |
966 | (target_little_endian): Combine little_endian and little_endian_p. | |
967 | (saved_state_type): Make fpscr and sr simple integers. | |
968 | (SET_FPSCR, GET_FPSCR): Use macros to update fpscr register. | |
969 | (set_fpscr1): New function. Handle swapping when PR / FR bits | |
970 | changed. Call via *_FPSCR macro. | |
971 | (SET_SR*, GET_SR*): Use macro's to access the SR bits - avoids | |
972 | endian problems. | |
973 | ||
974 | * gencode.c (tab): Update. | |
72f4393d | 975 | |
c906108c SS |
976 | Sun Jun 15 15:22:52 1997 Andrew Cagney <cagney@b1.cygnus.com> |
977 | ||
978 | * gencode.c (main): Perform basic checks on tab entries. | |
979 | ||
980 | * Makefile.in (gencode): Always compile with -g. | |
981 | ||
982 | Sat Jun 14 13:45:09 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
983 | ||
984 | * gencode.c (gensim): Move ref checking code to before `stuff'. | |
985 | For branches with delay slots refs were not being checked. | |
986 | ||
987 | * interp.c (sim_resume): Use nia to specify the next instruction | |
988 | address instead of overloading pc. | |
989 | (C): Delete definiton - refer to cycles directly. | |
990 | (SEXT12): New macro - sign extend a 12 bit quantity. | |
991 | (Delay_Slot): Rename from SL. | |
992 | ||
993 | * gencode.c (tab): Update/simplify. | |
72f4393d | 994 | |
c906108c SS |
995 | * gencode.c (gensim): Better formatting of output code. |
996 | (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15. | |
997 | (tab): Sort alphabetically. Break `stuff' into multiple lines. | |
998 | ||
999 | Fri Jun 13 22:10:13 1997 J"orn Rennecke <amylaar@cygnus.co.uk> | |
1000 | ||
1001 | * gencode.c (braf, bsrf): Fix branch destination calculation to | |
1002 | be in accordance with the documentation. | |
1003 | ||
1004 | Fri Jun 13 15:33:53 1997 J"orn Rennecke <amylaar@cygnus.co.uk> | |
1005 | ||
1006 | * interp.c (init_pointers): Fix little endian test. | |
1007 | ||
7a292a7a SS |
1008 | Thu Jun 5 12:56:08 1997 J"orn Rennecke <amylaar@cygnus.co.uk> |
1009 | ||
1010 | * interp.c (init_pointers): SH4 hardware is always WORDS_BIT_ENDIAN. | |
1011 | * gencode (fmov from/to memory): take endian_mismatch into account | |
1012 | for 32 bit moves too. | |
1013 | ||
c906108c SS |
1014 | Wed May 28 23:42:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk> |
1015 | ||
72f4393d | 1016 | * gencode.c (swap.b): Fix treatment of high word. |
c906108c | 1017 | |
7a292a7a SS |
1018 | Wed May 28 23:42:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk> |
1019 | ||
72f4393d L |
1020 | * sh/gencode.c, |
1021 | * interp.c: experimental SH4 support. | |
1022 | DFmode moves are probaly broken for target little endian. | |
7a292a7a | 1023 | |
c906108c SS |
1024 | Tue May 20 10:23:28 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1025 | ||
1026 | * interp.c (sim_open): Add callback argument. | |
1027 | (sim_set_callbacks): Delete SIM_DESC argument. | |
1028 | ||
1029 | Wed Apr 30 11:38:08 1997 Doug Evans <dje@canuck.cygnus.com> | |
1030 | ||
1031 | * Makefile.in (SIM_EXTRA_CLEAN): Define. | |
1032 | (clean targets): Delete. | |
1033 | (sh-clean): New target. | |
1034 | ||
1035 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
1036 | ||
1037 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1038 | ||
1039 | Wed Apr 23 17:55:22 1997 Doug Evans <dje@canuck.cygnus.com> | |
1040 | ||
1041 | * tconfig.in: New file. | |
1042 | * interp.c (sim_open): Handle missing arg to -E. | |
1043 | ||
1044 | Tue Apr 22 08:55:35 1997 Stu Grossman (grossman@critters.cygnus.com) | |
1045 | ||
1046 | * Makefile.in: Add clean targets. | |
1047 | ||
1048 | Fri Apr 18 18:57:04 1997 Stu Grossman (grossman@critters.cygnus.com) | |
1049 | ||
1050 | * interp.c: Include float.h and define SIGTRAP if _WIN32. | |
1051 | WIN32 -> _WIN32. | |
1052 | * (trap): Do do SYS_chown for _WIN32. | |
1053 | ||
1054 | Fri Apr 18 13:33:09 1997 Doug Evans <dje@canuck.cygnus.com> | |
1055 | ||
1056 | * interp.c (sim_resume): Fix argument to poll_quit. | |
1057 | ||
1058 | Fri Apr 18 14:14:49 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1059 | ||
1060 | * interp.c (sim_stop): New function. | |
1061 | (sim_resume): Use poll_quit for polling. | |
1062 | ||
1063 | Thu Apr 17 03:32:04 1997 Doug Evans <dje@canuck.cygnus.com> | |
1064 | ||
1065 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
1066 | * interp.c (target_byte_order): Delete. | |
1067 | (sim_kind, myname, little_endian_p): New static locals. | |
1068 | (init_pointers): Use little_endian_p instead of target_byte_order. | |
1069 | (sim_resume): Likewise. | |
1070 | (sim_open): Set sim_kind, myname. Set little_endian_p from -E arg. | |
1071 | (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to | |
1072 | load file into simulator. Set start address from bfd. | |
1073 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
1074 | ||
1075 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1076 | ||
1077 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1078 | * config.in: Ditto. | |
1079 | ||
1080 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> | |
1081 | ||
1082 | * interp.c (sim_open): New arg `kind'. | |
1083 | ||
1084 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1085 | ||
1086 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1087 | ||
1088 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1089 | ||
1090 | Wed Mar 19 09:34:36 1997 Fred Fish <fnf@cygnus.com> | |
1091 | ||
1092 | * interp.c (sim_do_command): Check for NULL command or empty | |
1093 | string and handle it the same as a "help" command. Use callback | |
1094 | to print error message for unrecognized commands. Replace | |
1095 | hardcoded tab in literal string with a \t. Other minor code | |
1096 | cleanup. | |
1097 | ||
1098 | Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1099 | ||
1100 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1101 | ||
1102 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1103 | ||
1104 | * configure: Re-generate. | |
1105 | ||
1106 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> | |
1107 | ||
1108 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
1109 | ||
1110 | Thu Mar 13 13:00:00 1997 Doug Evans <dje@canuck.cygnus.com> | |
1111 | ||
1112 | * interp.c (sim_open): New SIM_DESC result. Argument is now | |
1113 | in argv form. | |
1114 | (other sim_*): New SIM_DESC argument. | |
1115 | ||
1116 | Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> | |
1117 | ||
1118 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
1119 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
1120 | * configure.in: sinclude ../common/aclocal.m4. | |
1121 | * configure: Regenerated. | |
1122 | ||
1123 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) | |
1124 | ||
1125 | * configure configure.in Makefile.in: Update to new configure | |
1126 | scheme which is more compatible with WinGDB builds. | |
1127 | * configure.in: Improve comment on how to run autoconf. | |
1128 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
1129 | * Makefile.in: Use autoconf substitution to install common | |
1130 | makefile fragment. | |
1131 | ||
1132 | Wed Nov 20 02:04:32 1996 Doug Evans <dje@canuck.cygnus.com> | |
1133 | ||
1134 | * Makefile.in: Delete stuff moved to ../common/Make-common.in. | |
1135 | (SIM_OBJS,SIM_EXTRA_LIBS): Define. | |
1136 | * configure.in: Simplify using macros in ../common/aclocal.m4. | |
1137 | Call AC_CHECK_HEADERS(unistd.h). | |
1138 | * configure: Regenerated. | |
1139 | * config.in: New file. | |
1140 | * interp.c: #include "config.h". #include <unistd.h> if present. | |
1141 | (trap): Fetch errno value with callback->get_errno. | |
1142 | ||
72f4393d | 1143 | Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com> |
c906108c SS |
1144 | |
1145 | * interp.c: Don't include windows polling code if inside simluator. | |
1146 | ||
1147 | Fri Sep 20 14:57:50 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1148 | ||
1149 | * interp.c: Minor formatting improvements. | |
1150 | (saved_state_type): Add bank registers. | |
1151 | (bp_holder): New function, use to break on when debugging BUSERROR. | |
1152 | (BUSERROR): Call it if bus error occurs. | |
1153 | ||
1154 | Wed Jun 26 12:29:22 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1155 | ||
72f4393d L |
1156 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, |
1157 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
1158 | (docdir): Removed. | |
1159 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
1160 | (AC_PROG_INSTALL): Added. | |
1161 | * configure: Rebuilt. | |
c906108c SS |
1162 | |
1163 | Thu May 16 15:44:29 1996 Ian Lance Taylor <ian@cygnus.com> | |
1164 | ||
1165 | * interp.c (saved_state_type): Add memstalls field. | |
1166 | (MA) Define macro. | |
1167 | (sim_resume): New local variable memstalls. Add it back in to | |
1168 | saved_state at the end of the function. | |
1169 | (sim_info): Report memstalls. | |
1170 | * gencode.c (tab): Add MA() to the execution string of all | |
1171 | instructions which access memory. | |
1172 | ||
1173 | Wed Feb 21 12:16:41 1996 Ian Lance Taylor <ian@cygnus.com> | |
1174 | ||
1175 | * configure: Regenerate with autoconf 2.7. | |
1176 | ||
1177 | Tue Dec 5 16:38:55 1995 Stu Grossman (grossman@cygnus.com) | |
1178 | ||
1179 | * gencode.c (mac.l): Don't abort GDB if executing mac.l | |
1180 | instruction (which is unimplemented). Generate a SIGTRAP (in the | |
1181 | simulated target) instead. | |
1182 | ||
1183 | Mon Dec 4 12:22:24 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1184 | ||
1185 | * gencode.c (tab): Added several sh3 opcodes. | |
1186 | (think): Added printonmatch for A_SSR and A_SPC. | |
1187 | * interp.c (SSR, SPC): Added definitions. | |
1188 | (saved_state_type): Added ssr and spc registers. | |
1189 | ||
1190 | Wed Nov 29 12:39:27 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1191 | ||
1192 | * gencode.c (tab): In shad/shld definitions, negate R[m] before | |
1193 | the and operation instead of after. For shad delete cast. For shld | |
1194 | use UR instead of R and delete cast. | |
1195 | ||
1196 | Fri Nov 17 12:48:55 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1197 | ||
1198 | * gencode.c (tab): Add explicit NaN support for ftrc instruction. | |
1199 | ||
1200 | Wed Nov 15 11:25:27 1995 Stu Grossman (grossman@cygnus.com) | |
1201 | ||
1202 | * interp.c: Make target_byte_order be extern to prevent SGI cc from | |
1203 | issuing warnings about the use of common symbols. | |
1204 | ||
1205 | Tue Nov 14 15:19:43 1995 Stu Grossman (grossman@cygnus.com) | |
1206 | ||
1207 | * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts | |
1208 | actually uses pr+0. | |
1209 | ||
1210 | Sat Oct 21 13:01:18 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1211 | ||
1212 | * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate | |
1213 | program exited. | |
1214 | (sim_get_quit_code): Delete. | |
72f4393d | 1215 | |
c906108c SS |
1216 | * gencode.c (gensim): Indicate SIGILL instead of calling abort for |
1217 | default case. | |
1218 | ||
1219 | Mon Oct 16 18:24:03 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1220 | ||
1221 | * interp.c (saved_state_type): Move FP registers to immediately | |
1222 | after SR. | |
1223 | ||
1224 | Tue Oct 10 11:12:15 1995 Fred Fish <fnf@cygnus.com> | |
1225 | ||
1226 | * Makefile.in (BISON): Remove macro. | |
1227 | ||
1228 | Fri Oct 6 12:08:18 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1229 | ||
1230 | * interp.c (trap, case SYS_utime): Cast second arg of utime to | |
1231 | void * to avoid compiler error. | |
72f4393d | 1232 | |
c906108c SS |
1233 | * interp.c (callback): Remove last change. It is initialized by |
1234 | a sim_set_callbacks call. | |
72f4393d | 1235 | |
c906108c SS |
1236 | Thu Oct 5 14:13:29 1995 steve chamberlain <sac@slash.cygnus.com> |
1237 | ||
1238 | * interp.c (callback): Initialize to default callback. | |
1239 | ||
1240 | Thu Sep 28 15:26:59 1995 steve chamberlain <sac@slash.cygnus.com> | |
1241 | ||
1242 | * run.c: Moved to ../common. | |
1243 | * interp.c (trap): Use gdb's callback interface. | |
1244 | * Makefile.in: Updated. | |
1245 | ||
1246 | Wed Sep 20 13:35:13 1995 Ian Lance Taylor <ian@cygnus.com> | |
1247 | ||
1248 | * Makefile.in (maintainer-clean): New synonym for realclean. | |
1249 | ||
1250 | Wed Sep 20 09:51:50 1995 steve chamberlain <sac@slash.cygnus.com> | |
1251 | ||
1252 | * run.c (sim_callback_write_stdout): New. | |
1253 | * interp.c (trap): Call sim_callback_write_stdout when needed. | |
1254 | ||
1255 | Mon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com> | |
1256 | ||
1257 | * interp.c (trap): Remove useless code. | |
1258 | ||
1259 | Fri Sep 15 19:30:05 1995 steve chamberlain <sac@slash.cygnus.com> | |
1260 | ||
1261 | * syscall.h: Copy from newlib. | |
1262 | ||
1263 | Thu Sep 14 19:32:59 1995 Stu Grossman (grossman@cygnus.com) | |
1264 | ||
1265 | * gencode.c: Back up PC by 2 for breakpoints. | |
1266 | * interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB, | |
fcb38129 | 1267 | which expect pc to immediately follow regs[]. |
c906108c SS |
1268 | |
1269 | Fri Sep 8 14:18:13 1995 Ian Lance Taylor <ian@cygnus.com> | |
1270 | ||
1271 | * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL. | |
1272 | * configure: Rebuild. | |
1273 | * Makefile.in (INSTALL): Revert to using install.sh. | |
1274 | (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). | |
1275 | (INSTALL_XFORM, INSTALL_XFORM1): Restore. | |
1276 | (CC_FOR_BUILD): Restore. | |
1277 | (gencode): Build using $(CC_FOR_BUILD). | |
1278 | (install): Don't install in $(tooldir). | |
1279 | ||
1280 | Thu Sep 7 15:02:31 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1281 | ||
1282 | (Try to) Update to new bfd autoconf scheme. | |
1283 | * run.c: Don't include sysdep.h. | |
1284 | * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value. | |
1285 | (CC, CFLAGS, AR, RANLIB): Likewise. | |
1286 | (HDEFINES, TDEFINES): Define. | |
1287 | (CC_FOR_BUILD): Delete. | |
1288 | (host_makefile_frag): Delete. | |
1289 | (Makefile): Don't depend on frags. | |
1290 | * configure.in (sysdep.h): Don't create symlink. | |
1291 | (host_makefile_frag, frags): Deleted. | |
1292 | (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values. | |
1293 | * configure: Regenerated. | |
1294 | ||
1295 | Thu Aug 31 12:39:07 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1296 | ||
1297 | * interp.c: Include <math.h>. | |
1298 | ||
1299 | Wed Aug 30 22:05:17 1995 Jeff Law (law@snake.cs.utah.edu) | |
1300 | ||
1301 | * Makefile.in (run): Link in math library too. | |
1302 | * gencode.c (gensim): abort if an unknown opcode is encountered. | |
1303 | * interp.c (FPSCR, FPUL): Define. | |
1304 | (struct save_state): Add fields for floating point registers, | |
1305 | FPSCR and FPUL. | |
1306 | (sim_resume): Add 'F' for accessing floating point registers | |
1307 | in the save state structure. | |
1308 | * gencode.c: Add sh3e opcodes. | |
1309 | (gensym): Define a buffer for int<->fp conversions. | |
1310 | ||
1311 | Tue Aug 22 14:16:46 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1312 | ||
1313 | * interp.c (trap): Use trap vector 34 for host system interface. | |
1314 | * gencode.c: Add 34 to conditional which determines which traps | |
1315 | will be handled by simulator. | |
1316 | ||
1317 | Fri Aug 11 17:59:15 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1318 | ||
1319 | * run.c: Include <signal.h>. Define SIGQUIT if not defined. | |
1320 | (main): New variables reason and sigrc. After simulator exits, | |
1321 | check to see if it exited because of a signal, and if so, then | |
1322 | use the signal number as the return value. | |
1323 | ||
1324 | Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com> | |
1325 | ||
1326 | * Update all FSF addresses except those in COPYING* files. | |
1327 | ||
1328 | Tue Jul 18 23:33:10 1995 Fred Fish <fnf@fishbowl> | |
1329 | ||
1330 | * interp.c (trap): Only use SYS_execv if defined. Might be | |
1331 | implemented as execve(arg1,arg2,0), as with Unixware 2.0. | |
1332 | (sim_resume): In sbit initializer, cast shifted arg to unsigned | |
1333 | to avoid signed integer overflow. | |
1334 | ||
1335 | Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1336 | ||
1337 | * Makefile.in (clean): Remove run, libsim.a. | |
72f4393d | 1338 | (distclean, mostlyclean, realclean): Remove Makefile and |
c906108c SS |
1339 | autoconf files. |
1340 | ||
1341 | * sh.mt: Removed. | |
1342 | ||
1343 | * Makefile.in, configure.in: converted to autoconf. | |
1344 | * configure: New file, generated with autconf 2.4. | |
1345 | ||
1346 | Fri Jun 30 16:51:38 1995 Stan Shebs <shebs@andros.cygnus.com> | |
1347 | ||
1348 | * interp.c (sim_open): If argument supplied, interpret as | |
1349 | desired memory size. | |
1350 | (parse_and_set_memory_size): New function. | |
1351 | (sim_do_command): New function. | |
1352 | ||
1353 | Thu Jun 29 10:02:28 1995 Fred Fish <fnf@deneb.cygnus.com> | |
1354 | ||
1355 | * interp.c (SYS_wait): Define as SYS_wait4 if available and | |
1356 | SYS_wait is not already defined (SunOS 4.1.3 for example). | |
1357 | (SYS_utime): Define as SYS_utimes if available and | |
1358 | SYS_utime is not already defined. | |
1359 | ||
1360 | Thu Jun 22 17:25:57 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
1361 | ||
1362 | * interp.c: Don't include sys/times.h or sys/param.h | |
1363 | ||
1364 | Wed Jun 21 15:03:49 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
1365 | ||
1366 | * interp.c (SIGBUS, SIGTERM): Define if not. | |
1367 | (sim_memory_size): default to 2^19 on PCs. | |
1368 | (sim_resume): Poll for quits on win32. | |
1369 | ||
1370 | Wed May 24 16:22:48 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1371 | ||
1372 | * gencode.c (op_tab): Add SH3 support. | |
1373 | ||
1374 | Wed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
1375 | ||
1376 | * gencode.c (tab): Add bsrf and braf. | |
1377 | ||
1378 | Mon Apr 24 15:09:49 1995 Jason Molenda (crash@cygnus.com) | |
1379 | ||
72f4393d | 1380 | * configure.in: use ../../bfd/hosts/std-host.h, not |
c906108c SS |
1381 | ../bfd/hosts/std-host.h (which doesn't exist). |
1382 | ||
1383 | Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1384 | ||
1385 | * run.c: parse arguments with getopt(). | |
1386 | ||
1387 | Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com> | |
1388 | ||
1389 | * configure.in: Use ../../bfd/hosts/std-host.h if specific | |
1390 | host unavailable. | |
1391 | ||
1392 | Mon Jan 23 16:10:58 1995 Torbjorn Granlund <tege@rtl.cygnus.com> | |
1393 | ||
1394 | * interp.c (macw): Sign extend MACH at bit 10 for non-saturating case. | |
1395 | ||
1396 | Sun Jan 22 13:55:36 1995 Torbjorn Granlund <tege@rtl.cygnus.com> | |
1397 | ||
1398 | * gencode.c (op_tab): Make MAC.W call macw, not abort. | |
1399 | * interp.c (macw): New function. | |
1400 | (S): New #define. | |
1401 | ||
1402 | Sat Jan 21 15:52:30 1995 Torbjorn Granlund <tege@rtl.cygnus.com> | |
1403 | ||
1404 | * gencode.c (op_tab): New code for ADDV and SUBV. | |
1405 | Make MAC.L abort sicne it is not implemented. | |
1406 | ||
1407 | * interp.c (dmul): Handle the signed case by adjusting after unsigned multiply. | |
1408 | Get rid of __GNUC__ conditional. | |
1409 | ||
1410 | aThu Jan 19 05:50:50 1995 Torbjorn Granlund <tege@rtl.cygnus.com> | |
1411 | ||
1412 | * gencode.c (op_tab): Also replace NEGC, and try again with SUBC. | |
1413 | Change ADDC for symmetry. | |
1414 | ||
1415 | * gencode.c (op_tab): Replace code for ADDC and SUBC. | |
1416 | ||
1417 | Mon Jan 9 15:43:53 1995 Stu Grossman (grossman@cygnus.com) | |
1418 | ||
1419 | * interp.c: Remove def of INLINE. This comes from bfd.h. Also, | |
1420 | declare IOMEM before using it. | |
1421 | ||
1422 | Wed Dec 28 21:25:31 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
1423 | ||
1424 | * interp.c (BUSERROR): New macro. | |
1425 | ([r|w][bwl]at[little|big]) New functions. | |
1426 | (sim_resume): If GO32 check for interrupt every now | |
1427 | and again. Decrement PC if SIGBUS seen. | |
1428 | * run.c (main): Return result of simulated _exit. | |
1429 | ||
1430 | Mon Dec 5 21:59:51 1994 Doug Evans <dje@canuck.cygnus.com> | |
1431 | ||
1432 | * Makefile.in (gencode): Allow build in different directory. | |
1433 | ||
1434 | Wed Nov 30 17:47:13 1994 Jim Wilson <wilson@chestnut.cygnus.com> | |
1435 | ||
1436 | * Makefile.in (gencode): Change $< to gencode.c for portability. | |
1437 | ||
1438 | Wed Nov 23 21:31:55 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
1439 | ||
1440 | * interp.c ([wr][bwl]at): New functions. | |
1441 | (trap): Cope with both byte modes. | |
1442 | ||
1443 | Thu Sep 8 17:35:07 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
1444 | ||
1445 | * gencode.c (tab): Simulate T bit after a negc insn right. | |
1446 | * interp.c (RSBAT): Sign extend the arg. | |
1447 | (ACE_FAST): New macro. | |
1448 | (sim_resume): Remove obsolete test of sim_timeout. | |
72f4393d | 1449 | |
c906108c SS |
1450 | Fri Aug 5 14:12:31 1994 Steve Chamberlain (sac@jonny.cygnus.com) |
1451 | ||
1452 | * interp.c (IOMEM): New function, simulates very basic I/O area of | |
1453 | the SH. | |
1454 | (WBAT, RBAT) : Call I/O functions. | |
1455 | * gencode.c (tab): Special case trapa #3. | |
1456 | ||
1457 | Mon Jun 27 18:04:54 1994 Steve Chamberlain (sac@cirdan.cygnus.com) | |
1458 | ||
1459 | * run.c (main): Specify the file type again. | |
1460 | ||
1461 | Thu May 26 19:04:37 1994 Steve Chamberlain (sac@thepub.cygnus.com) | |
1462 | ||
1463 | * interp.c (trap): Fix irix incompatibility. | |
1464 | * run.c (main): open without specifying file type. | |
1465 | ||
1466 | Wed May 18 14:18:53 1994 Doug Evans (dje@canuck.cygnus.com) | |
1467 | ||
1468 | * interp.c (sim_*): Make result void where there isn't one. | |
1469 | (sim_set_pc): Delete. | |
1470 | (sim_info): Delete printf_fn arg, all callers changed. | |
1471 | Call printf_filtered instead. | |
1472 | (sim_close): New function. | |
1473 | (sim_load): New function. | |
1474 | (sim_create_inferior): Renamed from sim_set_args, all callers changed. | |
1475 | * run.c: #include <varargs.h>, "remote-sim.h". | |
1476 | (printf_filtered): New function. | |
1477 | ||
1478 | Wed Apr 27 12:03:48 1994 Steve Chamberlain (sac@cygnus.com) | |
1479 | ||
1480 | * gencode.c (table): Get direction of some opcodes right. | |
72f4393d | 1481 | (trapa, rte): Implement fully. |
c906108c SS |
1482 | * interp.c (trap): Make stat call more portable. |
1483 | ||
1484 | Fri Feb 11 21:59:38 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) | |
1485 | ||
1486 | * gencode.c (main, gendefines): New -d option prints table of defines. | |
72f4393d | 1487 | * interp.c (trap): Add a load of system calls. |
c906108c | 1488 | (sim_memory_size): Now default to 8Mbyte. |
72f4393d | 1489 | (PARANOID): Keep vector of registers with undefined contents. |
c906108c SS |
1490 | |
1491 | Mon Nov 15 14:37:18 1993 Steve Chamberlain (sac@jonny.cygnus.com) | |
1492 | ||
1493 | * gencode.c: mova uses aligned addresses | |
1494 | * interp.c (trap): Return results in r0. | |
1495 | ||
1496 | Tue Oct 26 10:38:55 1993 Doug Evans (dje@canuck.cygnus.com) | |
1497 | ||
1498 | * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb | |
1499 | * interp.c: #include "remote-sim.h". | |
1500 | (sim_resume): int result, new arg `siggnal'. | |
1501 | (sim_write): Use SIM_ADDR for type of arg `addr'. | |
1502 | (sim_read): Use SIM_ADDR for type of arg `addr'. | |
1503 | Use unsigned char * for `buffer'. | |
1504 | (sim_store_register): int result. | |
1505 | (sim_fetch_register): Ditto. | |
1506 | (sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'. | |
1507 | (sim_set_pc): int result, use SIM_ADDR for type of arg `x'. | |
1508 | (sim_info): int result, new args `verbose', `printf_fn'. | |
1509 | (sim_kill): int result. | |
1510 | (sim_open): int result, new arg `name'. | |
1511 | * run.c: #include <stdio.h> | |
1512 | (main): Update call to sim_info. | |
1513 | ||
1514 | Sat Oct 23 15:09:29 1993 Doug Evans (dje@canuck.cygnus.com) | |
1515 | ||
1516 | * interp.c (sim_stop_signal): Result is now enum sim_stop. | |
1517 | ||
1518 | Fri Oct 8 10:47:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1519 | ||
1520 | * gencode.c (table): Becomes unsigned. | |
1521 | * interp.c (trap): Get right breakpoint SIGnum. (sim_write, | |
1522 | sim_read): Return number of bytes copied. (sim_store_register): | |
1523 | Value passed by reference. (sim_kill, sim_open, sim_set_args): New functions. | |
1524 | ||
1525 | Tue Sep 7 16:24:13 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
1526 | ||
1527 | * interp.c (sim_info): Fix small typo in printf string. | |
1528 | ||
1529 | Thu Aug 5 11:37:48 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
1530 | ||
1531 | * interp.c (sim_resume): Set memory after pointers inited. | |
1532 | ||
1533 | Mon Aug 2 14:13:22 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1534 | ||
1535 | * interp.c (get_now): Use time system call. | |
1536 | * Makefile.in: install correctly. | |
1537 | ||
1538 | Tue Jul 6 10:30:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1539 | ||
1540 | * run.c (main), interp.c (sim_set_timeout): Remove timeout | |
1541 | functionality. | |
1542 | ||
1543 | Thu Jun 24 13:29:57 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) | |
1544 | ||
1545 | * Makefile.in: don't run indent everytime; also add a space in the | |
72f4393d | 1546 | includes |
c906108c SS |
1547 | |
1548 | Thu Jun 17 18:30:42 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1549 | ||
1550 | * gencode.c: Fix some opcodes. | |
1551 | * interp.c: Support for profiling and portability fixes. | |
1552 | * run.c (main): Get profiling args. | |
1553 | ||
1554 | Wed May 5 13:17:22 1993 Steve Chamberlain (sac@cygnus.com) | |
1555 | ||
1556 | * gencode.c (tab): Lint for sgi compiler | |
1557 | * interp.c: Lint for sgi compiler. | |
1558 | ||
1559 | Mon May 3 15:25:33 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
1560 | ||
72f4393d | 1561 | * run.c (main): Support for resizing simulated RAM. |
c906108c SS |
1562 | * Makefile.in: Support for broken makes. |
1563 | * interp.c, gencode.c: Lint. | |
1564 | ||
1565 | Mon Apr 26 18:01:10 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
1566 | ||
1567 | * created | |
1568 |