]>
Commit | Line | Data |
---|---|---|
b5689863 MF |
1 | 2021-06-19 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * aclocal.m4: Regenerate. | |
4 | * configure: Regenerate. | |
5 | ||
07490bf8 MF |
6 | 2021-06-19 Mike Frysinger <vapier@gentoo.org> |
7 | ||
8 | * configure: Regenerate. | |
9 | ||
47ce766a MF |
10 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
11 | ||
12 | * aclocal.m4, configure: Regenerate. | |
13 | ||
982c3a65 MF |
14 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
15 | ||
16 | * configure: Regenerate. | |
17 | ||
1fef66b0 MF |
18 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
19 | ||
20 | * interp.c: Include sim-signal.h. | |
21 | * simops.c: Likewise. | |
22 | ||
f9a4d543 MF |
23 | 2021-06-17 Mike Frysinger <vapier@gentoo.org> |
24 | ||
25 | * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. | |
26 | * aclocal.m4, configure: Regenerate. | |
27 | ||
a8a3d907 MF |
28 | 2021-06-16 Mike Frysinger <vapier@gentoo.org> |
29 | ||
30 | * configure: Regenerate. | |
31 | ||
52d37d2c MF |
32 | 2021-06-16 Mike Frysinger <vapier@gentoo.org> |
33 | ||
34 | * configure: Regenerate. | |
35 | * config.in: Removed. | |
36 | ||
bcaa61f7 MF |
37 | 2021-06-15 Mike Frysinger <vapier@gentoo.org> |
38 | ||
39 | * config.in, configure: Regenerate. | |
40 | ||
ba307cdd MF |
41 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
42 | ||
43 | * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. | |
44 | * interp.c (sim_open): | |
45 | ||
dba333c1 MF |
46 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
47 | ||
48 | * aclocal.m4, config.in, configure: Regenerate. | |
49 | ||
b15c5d7a MF |
50 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
51 | ||
52 | * config.in, configure: Regenerate. | |
53 | ||
39549cae JB |
54 | 2021-05-22 John Baldwin <jhb@FreeBSD.org> |
55 | ||
56 | * interp.c (sim_create_inferior): Use offsetof in static | |
57 | assertion. | |
58 | ||
f4fdd845 MF |
59 | 2021-05-17 Mike Frysinger <vapier@gentoo.org> |
60 | ||
61 | * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. | |
62 | ||
383861bd MF |
63 | 2021-05-17 Mike Frysinger <vapier@gentoo.org> |
64 | ||
65 | * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. | |
66 | (struct sim_state): Delete. | |
67 | ||
6df01ab8 MF |
68 | 2021-05-16 Mike Frysinger <vapier@gentoo.org> |
69 | ||
70 | * d10v_sim.h, gencode.c: Delete config.h include. | |
71 | * endian.c: Include defs.h. | |
72 | * interp.c, simops.c: Replace config.h include with defs.h. | |
73 | ||
79633c12 MF |
74 | 2021-05-16 Mike Frysinger <vapier@gentoo.org> |
75 | ||
76 | * config.in, configure: Regenerate. | |
77 | ||
df68e12b MF |
78 | 2021-05-14 Mike Frysinger <vapier@gentoo.org> |
79 | ||
80 | * Makefile.in: Update path. | |
81 | * d10v_sim.h: Update include path. | |
82 | * interp.c: Likewise. | |
83 | ||
aa0fca16 MF |
84 | 2021-05-04 Mike Frysinger <vapier@gentoo.org> |
85 | ||
86 | * configure: Regenerate. | |
87 | ||
5ee0bc23 MF |
88 | 2021-05-04 Mike Frysinger <vapier@gentoo.org> |
89 | ||
90 | * d10v_sim.h (decode_pc): Delete. | |
91 | * interp.c (sim_create_inferior): Use BFD_VMA_FMT. | |
92 | ||
fe348617 MF |
93 | 2021-05-01 Mike Frysinger <vapier@gentoo.org> |
94 | ||
95 | * config.in, configure: Regenerate. | |
96 | ||
66d055c7 MF |
97 | 2021-04-26 Mike Frysinger <vapier@gentoo.org> |
98 | ||
99 | * aclocal.m4, config.in, configure: Regenerate. | |
100 | ||
19f6a43c TT |
101 | 2021-04-22 Tom Tromey <tom@tromey.com> |
102 | ||
103 | * configure, config.in: Rebuild. | |
104 | ||
e7d8f1da TT |
105 | 2021-04-22 Tom Tromey <tom@tromey.com> |
106 | ||
107 | * Makefile.in (SIM_EXTRA_DEPS): New variable. | |
108 | (simops.o): Remove. | |
109 | ||
efd82ac7 TT |
110 | 2021-04-22 Tom Tromey <tom@tromey.com> |
111 | ||
112 | * configure: Rebuild. | |
113 | ||
2662c237 MF |
114 | 2021-04-21 Mike Frysinger <vapier@gentoo.org> |
115 | ||
116 | * aclocal.m4: Regenerate. | |
117 | ||
1f195bc3 SM |
118 | 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> |
119 | ||
120 | * configure: Regenerate. | |
121 | ||
37e9f182 MF |
122 | 2021-04-18 Mike Frysinger <vapier@gentoo.org> |
123 | ||
124 | * configure: Regenerate. | |
125 | ||
d3b0ab8b MF |
126 | 2021-04-18 Mike Frysinger <vapier@gentoo.org> |
127 | ||
128 | * interp.c (xfer_mem): Use PRIxTA for printf format. | |
129 | (sim_write): Cast buffer to (void *). | |
130 | (sim_open): Add const to p. | |
131 | * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call. | |
132 | * configure: Regenerate. | |
133 | ||
d5a71b11 MF |
134 | 2021-04-12 Mike Frysinger <vapier@gentoo.org> |
135 | ||
136 | * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. | |
137 | ||
c2783492 MF |
138 | 2021-04-02 Mike Frysinger <vapier@gentoo.org> |
139 | ||
140 | * aclocal.m4, configure: Regenerate. | |
141 | ||
c6c7769d MF |
142 | 2021-03-13 Mike Frysinger <vapier@gentoo.org> |
143 | ||
144 | * Makefile.in (gencode.o, d10v-opc.o): Call COMPILE_FOR_BUILD. | |
145 | (gencode): Call LINK_FOR_BUILD. | |
146 | ||
8c9b6e76 MF |
147 | 2021-03-08 Mike Frysinger <vapier@gentoo.org> |
148 | ||
149 | * Makefile.in (gencode): Delete $(BUILD_LIB). | |
150 | ||
ebe9564b MF |
151 | 2021-02-28 Mike Frysinger <vapier@gentoo.org> |
152 | ||
153 | * configure: Regenerate. | |
154 | ||
760b3e8b MF |
155 | 2021-02-21 Mike Frysinger <vapier@gentoo.org> |
156 | ||
157 | * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. | |
158 | * aclocal.m4, configure: Regenerate. | |
159 | ||
136da8cd MF |
160 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
161 | ||
162 | * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. | |
163 | * aclocal.m4, configure: Regenerate. | |
164 | ||
aa09469f MF |
165 | 2021-02-06 Mike Frysinger <vapier@gentoo.org> |
166 | ||
167 | * configure: Regenerate. | |
168 | ||
68ed2854 MF |
169 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> |
170 | ||
171 | * config.in, configure: Regenerate. | |
172 | * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, | |
173 | HAVE_STDLIB_H, and strings.h include. | |
174 | ||
7eb99e5e MF |
175 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
176 | ||
177 | * d10v_sim.h (State): Change to an extern. | |
178 | * interp.c (State): Define. | |
179 | ||
50df264d MF |
180 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
181 | ||
182 | * configure: Regenerate. | |
183 | ||
bf470982 MF |
184 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
185 | ||
186 | * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". | |
187 | * configure: Regenerate. | |
188 | ||
46f900c0 MF |
189 | 2021-01-08 Mike Frysinger <vapier@gentoo.org> |
190 | ||
191 | * configure: Regenerate. | |
192 | ||
dfb856ba MF |
193 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
194 | ||
195 | * configure: Regenerate. | |
196 | ||
5c887dd5 JB |
197 | 2017-09-06 John Baldwin <jhb@FreeBSD.org> |
198 | ||
199 | * configure: Regenerate. | |
200 | ||
ce39bd38 MF |
201 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
202 | ||
203 | * config.in, configure: Regenerate. | |
204 | ||
e19418e0 MF |
205 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
206 | ||
207 | * configure: Regenerate. | |
208 | ||
16f7876d MF |
209 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
210 | ||
211 | * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call. | |
212 | * configure: Regenerate. | |
213 | ||
99d8e879 MF |
214 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
215 | ||
216 | * configure: Regenerate. | |
217 | ||
35656e95 MF |
218 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
219 | ||
220 | * configure: Regenerate. | |
221 | ||
347fe5bb MF |
222 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
223 | ||
224 | * configure.ac (SIM_AC_OPTION_INLINE): Delete call. | |
225 | * configure: Regenerate. | |
226 | ||
22be3fbe MF |
227 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
228 | ||
229 | * configure: Regenerate. | |
230 | ||
0dc73ef7 MF |
231 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
232 | ||
233 | * configure: Regenerate. | |
234 | ||
936df756 MF |
235 | 2016-01-09 Mike Frysinger <vapier@gentoo.org> |
236 | ||
237 | * config.in, configure: Regenerate. | |
238 | ||
2e3d4f4d MF |
239 | 2016-01-06 Mike Frysinger <vapier@gentoo.org> |
240 | ||
241 | * interp.c (sim_open): Mark argv const. | |
242 | (sim_create_inferior): Mark argv and env const. | |
243 | ||
13adda68 MF |
244 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
245 | ||
246 | * endian.c (get_word): Delete all arch/big endian logic. | |
247 | (get_longword, write_word, write_longword): Likewise. | |
248 | ||
77cf2ef5 MF |
249 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
250 | ||
251 | * interp.c (sim_open): Update sim_parse_args comment. | |
252 | ||
0cb8d851 MF |
253 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
254 | ||
255 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. | |
256 | * configure: Regenerate. | |
257 | ||
1ac72f06 MF |
258 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
259 | ||
260 | * configure: Regenerate. | |
261 | ||
e1211e55 MF |
262 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
263 | ||
264 | * wrapper.c (d10v_reg_store, d10v_reg_fetch): Define. | |
265 | (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. | |
266 | (sim_store_register): Rename to ... | |
267 | (d10v_reg_store): ... this. Rename cpu to sd. | |
268 | (sim_fetch_register): Rename to ... | |
269 | (d10v_reg_fetch): ... this. Rename cpu to sd. | |
270 | ||
5e744ef8 MF |
271 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
272 | ||
273 | * Makefile.in (SIM_OBJS): Delete sim-hload.o. | |
274 | ||
1b393626 MF |
275 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
276 | ||
277 | * config.in, configure: Regenerate. | |
278 | ||
797eee42 MF |
279 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
280 | ||
281 | * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. | |
282 | ||
7ea08e8c MF |
283 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
284 | ||
285 | * interp.c (sim_open): Delete sim_create_inferior call. | |
286 | ||
e9b0081f MF |
287 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
288 | ||
289 | * d10v_sim.h (d10v_callback): Delete. | |
290 | * interp.c (d10v_callback): Delete. | |
291 | (do_long, do_2_short, do_parallel, set_dmap_register, | |
292 | set_imap_register, xfer_mem, dmem_addr, imem_addr, sim_info, | |
293 | sim_create_inferior): Replace d10v_callback->printf_filtered | |
294 | with sim_io_printf. | |
295 | (sim_open): Delete d10v_callback assignment. | |
296 | * simops.c (move_to_cr, trace_input_func, do_trace_output_flush, | |
297 | do_trace_output_finish, trace_output_40, trace_output_32, | |
298 | trace_output_16, trace_output_void, trace_output_flag, OP_5F20, | |
299 | OP_5201, OP_27000000, OP_3220, OP_3400, OP_3000, OP_6C1F, OP_6C01, | |
300 | OP_6E1F, OP_6E01): Replace d10v_callback->printf_filtered with | |
301 | sim_io_printf and d10v_callback->flush_stdout with | |
302 | sim_io_flush_stdout. | |
303 | (OP_5F00): Likewise. Rename d10v_callback to cb. | |
304 | ||
aadc1740 MF |
305 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
306 | ||
307 | * Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and | |
308 | sim-stop.o. | |
309 | * d10v_sim.h (struct d10v_memory): Delete fault member. | |
310 | (struct _state): Delete exception member. | |
311 | * interp.c (lookup_hash): Call sim_engine_halt instead of setting | |
312 | State.exception. | |
313 | (do_2_short, do_parallel): Delete State.exception checks. | |
314 | (sim_size): Mark static. | |
315 | (map_memory): Call sim_engine_halt instead of returning fault. | |
316 | Call xcalloc instead of calloc and checking the return. | |
317 | (dmem_addr): Call sim_engine_halt when phys_size is 0. | |
318 | (imem_addr): Likewise. | |
319 | (stop_simulator, sim_stop, sim_stop_reason): Delete. | |
320 | (sim_resume): Rename to ... | |
321 | (step_once): ... this. Delete State.exception code and move | |
322 | siggnal checking to sim_engine_run. | |
323 | (sim_engine_run): New function. | |
324 | * simops.c (EXCEPTION): Define. | |
325 | (move_to_cr): Call EXCEPTION instead of setting State.exception. | |
326 | (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000, | |
327 | OP_6601, OP_6201, OP_6200, OP_33010000, OP_5201, OP_27000000, | |
328 | OP_2F000000, OP_3220, OP_3200, OP_3400, OP_3000, OP_34000000, | |
329 | OP_6800, OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, | |
330 | OP_6A00, OP_6E1F, OP_6A01, OP_6E01, OP_37010000, OP_5FE0): Likewise. | |
331 | (OP_5F20): Call sim_engine_halt instead of setting State.exception. | |
332 | (OP_5F00): Call sim_engine_halt and EXCEPTION instead of setting | |
333 | State.exception. | |
334 | ||
67954606 MF |
335 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
336 | ||
337 | * d10v_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args. | |
338 | (SET_CREG, SET_HW_CREG, SET_PSW_BIT): Pass sd and cpu to move_to_cr. | |
339 | (dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args. | |
340 | (RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr. | |
341 | * endian.c: Change d10v_sim.h include to sim-main.h. | |
342 | * gencode.c: Likewise. Add SIM_DESC and SIM_CPU args to all OPs. | |
343 | * interp.c (lookup_hash, do_long, do_2_short, do_parallel, | |
344 | map_memory, set_dmap_register, dmap_register, set_imap_register, | |
345 | imap_register, sim_d10v_translate_dmap_addr, xfer_mem, | |
346 | sim_d10v_translate_imap_addr, sim_d10v_translate_addr): Add | |
347 | SIM_DESC and SIM_CPU args and adjust all callers. | |
348 | (trace_sd): Delete. | |
349 | (sim_open): Do not assign trace_sd. | |
350 | (sim_resume, sim_create_inferior, sim_fetch_register, | |
351 | sim_store_register): Set up cpu from the first one in sd. | |
352 | * simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args. | |
353 | (trace_input_func, trace_input, do_trace_output_finish, | |
354 | do_trace_output_finish, trace_output_40, trace_output_32, | |
355 | trace_output_16, trace_output_void, trace_output_flag): Add | |
356 | SIM_DESC arg. | |
357 | (trace_input_func): Likewise. Change trace_sd to sd. | |
358 | (OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs. | |
359 | ||
6e4f085c MF |
360 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
361 | ||
362 | * interp.c (sim_close): Delete. | |
363 | ||
6637a426 MF |
364 | 2015-11-10 Mike Frysinger <vapier@gentoo.org> |
365 | ||
366 | * interp.c (sim_d10v_translate_dmap_addr): Mark static. | |
367 | (sim_d10v_translate_imap_addr): Likewise. | |
368 | (sim_d10v_translate_addr): Likewise. | |
369 | ||
8d0978fb MF |
370 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
371 | ||
372 | * configure: Regenerate. | |
373 | ||
a3487082 MF |
374 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
375 | ||
376 | * configure: Regenerate. | |
377 | ||
306f4178 MF |
378 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
379 | ||
380 | * configure: Regenerate. | |
381 | ||
20bca71d MF |
382 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
383 | ||
384 | * sim-main.h (SIM_CPU): Delete. | |
385 | ||
7e83aa92 MF |
386 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
387 | ||
388 | * sim-main.h (sim_cia): Delete. | |
389 | ||
034685f9 MF |
390 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
391 | ||
392 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
393 | ||
27b97b40 MF |
394 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
395 | ||
396 | * interp.c (d10v_pc_get, d10v_pc_set): New functions. | |
397 | (sim_open): Declare new local var i. Call CPU_PC_FETCH & | |
398 | CPU_PC_STORE for all cpus. | |
399 | ||
78e9aa70 MF |
400 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
401 | ||
402 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
403 | * sim-main.h (STATE_CPU): Delete. | |
404 | ||
bf12d44e MF |
405 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
406 | ||
407 | * configure: Regenerate. | |
408 | ||
122bbfb5 MF |
409 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
410 | ||
411 | * Makefile.in (SIM_OBJS): Delete sim-engine.o. | |
412 | ||
b366059a MF |
413 | 2015-04-02 Mike Frysinger <vapier@gentoo.org> |
414 | ||
415 | * interp.c (lookup_hash): Change SIGILL to GDB_SIGNAL_ILL. | |
416 | (sim_resume): Change SIGBUS/SIGSEGV to GDB_SIGNAL_BUS, SIGILL to | |
417 | GDB_SIGNAL_ILL, and SIGTRAP to GDB_SIGNAL_TRAP. | |
418 | ||
0fe84f3f MF |
419 | 2015-04-01 Mike Frysinger <vapier@gentoo.org> |
420 | ||
421 | * interp.c (sim_set_profile, sim_set_profile_size): Delete. | |
422 | ||
b38f7f34 MF |
423 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
424 | ||
425 | * Makefile.in (simops.o): New rule. | |
426 | ||
541ebcee MF |
427 | 2015-03-30 Mike Frysinger <vapier@gentoo.org> |
428 | ||
429 | * d10v_sim.h (text, text_start, text_end, prog_bfd): Delete. | |
430 | (SEXT8, SEXT16, SEXT32, MASK32): Undefine. | |
431 | * interp.c: Delete run-sim.h and d10v_sim.h includes. Include | |
432 | sim-main.h and sim-options.h. | |
433 | (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd, | |
434 | text, text_start, text_end, decode_pc, sim_set_profile, | |
435 | sim_set_profile_size, sim_set_trace, sim_set_callbacks, | |
436 | sim_trace, sim_do_command, sim_load): Delete. | |
437 | (INLINE): Delete define. | |
438 | (free_state): New function. | |
439 | (trace_sd): Declare global variable. | |
440 | (sim_open): Rewrite to use new common logic. | |
441 | (sim_close): Delete body. | |
442 | * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete. | |
443 | (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS). | |
444 | * sim-main.h: New file. | |
445 | * simops.c: Change d10v_sim.h include to sim-main.h. | |
446 | (trace_input_func): Rewrite pc checks to use trace_sd. | |
447 | ||
a87686e5 MF |
448 | 2015-03-30 Mike Frysinger <vapier@gentoo.org> |
449 | ||
450 | * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK. | |
451 | * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL, | |
452 | ui_loop_hook_counter, deprecated_ui_loop_hook): Delete. | |
453 | (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code. | |
454 | ||
11558abc MF |
455 | 2015-03-30 Mike Frysinger <vapier@gentoo.org> |
456 | ||
457 | * Makefile.in (gencode.o, d10v-opc.o): Add $(WARN_CFLAGS). | |
458 | (gencode): Add $(BUILD_LDFLAGS). | |
459 | * endian.c (get_word, get_longword, get_longlong, write_word, | |
460 | write_longword, write_longlong): Convert old style prototypes. | |
461 | * gencode.c: Include string.h. | |
462 | (main): Convert old style prototype. | |
463 | (write_header): Convert old style prototype and fix printf format. | |
464 | (write_template, write_opcodes): Likewise. | |
465 | (check_opcodes): Mark static void. | |
466 | * interp.c: Include inttypes.h and run-sim.h. | |
467 | (hash, lookup_hash, decode_pc, do_long, do_2_short, do_parallel, | |
468 | add_commas, sim_size, sim_write, sim_read, sim_open, sim_close, | |
469 | sim_set_profile, sim_set_profile_size, sim_stop, +sim_resume, | |
470 | sim_info, sim_set_callbacks, sim_stop_reason, sim_fetch_register, | |
471 | sim_store_register, sim_do_command, sim_load): Convert old style | |
472 | prototypes. | |
473 | (sim_create_inferior): Fix pointer cast to use uintptr_t. | |
474 | * simops.c (strrchr): Delete prototype. | |
475 | (trace_input_func): Mark name static. | |
476 | (trace_input_func, trace_output_void, trace_output_flag): Convert old style | |
477 | prototypes. | |
478 | (OP_*): Convert old style prototypes. | |
479 | ||
ef9535c6 MF |
480 | 2015-03-30 Mike Frysinger <vapier@gentoo.org> |
481 | ||
482 | * Makefile.in (interp.o, simops.o, endian.o, table.o): Delete rules. | |
483 | * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT, | |
484 | SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and | |
485 | SIM_AC_OPTION_INLINE. | |
486 | * config.in, configure: Regenerate. | |
487 | * interp.c (sim_trace): Define. | |
488 | ||
ae7d0cac MF |
489 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
490 | ||
491 | * config.in, configure: Regenerate. | |
492 | ||
465fb143 MF |
493 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
494 | ||
495 | * Makefile.in (SIM_EXTRA_CFLAGS): Add | |
496 | -DSIM_USE_DEPRECATED_RUN_FRONTEND. | |
497 | (SIM_RUN_OBJS): Set to run.o. | |
498 | ||
5cddc23a MF |
499 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
500 | ||
501 | * configure.ac (AC_CHECK_HEADERS): Delete. | |
502 | * aclocal.m4, configure: Regenerate. | |
503 | ||
2974be62 AM |
504 | 2014-08-19 Alan Modra <amodra@gmail.com> |
505 | ||
506 | * configure: Regenerate. | |
507 | ||
faa743bb RM |
508 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
509 | ||
510 | * configure: Regenerate. | |
511 | * config.in: Regenerate. | |
512 | ||
60d847df MF |
513 | 2014-03-10 Mike Frysinger <vapier@gentoo.org> |
514 | ||
515 | * interp.c (sim_do_command): Add const to cmd. | |
516 | ||
b2b255bd MF |
517 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
518 | ||
519 | * interp.c (sim_load): Add const to prog. | |
520 | ||
1a8a700e MF |
521 | 2014-03-04 Mike Frysinger <vapier@gentoo.org> |
522 | ||
523 | * configure: Regenerate. | |
524 | ||
bf3d9781 AM |
525 | 2013-09-23 Alan Modra <amodra@gmail.com> |
526 | ||
527 | * configure: Regenerate. | |
528 | ||
31e6ad7d MF |
529 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
530 | ||
531 | * aclocal.m4, configure: Regenerate. | |
532 | ||
d3685d60 TT |
533 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
534 | ||
535 | * configure: Rebuild. | |
536 | ||
d0a5a356 JB |
537 | 2012-06-19 Joel Brobecker <brobecker@adacore.com> |
538 | ||
539 | * interp.c: #include "config.h" instead of "sysdep.h". | |
540 | Add conditional include of string.h or strings.h, as well as | |
541 | conditional include of stdlib.h. | |
542 | ||
5f3ef9d0 JB |
543 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
544 | ||
545 | * config.in, configure: Regenerate. | |
546 | ||
a493e3e2 PA |
547 | 2012-05-24 Pedro Alves <palves@redhat.com> |
548 | ||
549 | PR gdb/7205 | |
550 | ||
72f4393d | 551 | Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. |
a493e3e2 | 552 | |
2232061b MF |
553 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
554 | ||
555 | * aclocal.m4, config.in, configure: Regenerate. | |
556 | ||
db2e4d67 MF |
557 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
558 | ||
559 | * aclocal.m4: New file. | |
560 | * configure: Regenerate. | |
561 | ||
9c082ca8 MF |
562 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
563 | ||
564 | * configure.ac: Change include to common/acinclude.m4. | |
565 | ||
6ffe910a MF |
566 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
567 | ||
568 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
569 | call. Replace common.m4 include with SIM_AC_COMMON. | |
570 | * configure: Regenerate. | |
571 | ||
5558e7e6 MF |
572 | 2010-04-14 Mike Frysinger <vapier@gentoo.org> |
573 | ||
574 | * interp.c (sim_write): Add const to buffer arg. | |
575 | ||
3725885a RW |
576 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
577 | ||
578 | * configure: Regenerate. | |
579 | ||
d6416cdc RW |
580 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
581 | ||
81ecdfbb RW |
582 | * config.in: Regenerate. |
583 | * configure: Likewise. | |
584 | ||
d6416cdc RW |
585 | * configure: Regenerate. |
586 | ||
b5bd9624 HPN |
587 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
588 | ||
589 | * configure: Regenerate to track ../common/common.m4 changes. | |
590 | * config.in: Ditto. | |
591 | ||
6efef468 | 592 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
72f4393d L |
593 | Daniel Jacobowitz <dan@codesourcery.com> |
594 | Joseph Myers <joseph@codesourcery.com> | |
6efef468 JM |
595 | |
596 | * configure: Regenerate. | |
597 | ||
edc5d9ec HPN |
598 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
599 | ||
600 | * acconfig.h: Remove. | |
601 | * config.in: Regenerate. | |
602 | ||
e85e3205 RE |
603 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
604 | ||
605 | * configure: Regenerated. | |
606 | ||
2f0122dc DJ |
607 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
608 | ||
609 | * configure: Regenerated. | |
610 | ||
20e95c23 DJ |
611 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
612 | ||
613 | * configure: Regenerated. | |
614 | ||
9517c978 NC |
615 | 2006-04-18 Nick Clifton <nickc@redhat.com> |
616 | ||
617 | * interp.c (sim_stop_reason): Fix typo. | |
618 | ||
aba6488e MM |
619 | 2005-11-28 Mark Mitchell <mark@codesourcery.com> |
620 | ||
621 | * interp.c (gdb/signals.h): Include it. | |
622 | (sim_stop_reason): Use TARGET_SIGNAL_*. | |
623 | ||
2b193c4a MK |
624 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
625 | ||
626 | * configure: Regenerate. | |
627 | ||
35695fd6 AC |
628 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
629 | ||
630 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
631 | explicit call to AC_CONFIG_HEADER. | |
632 | * configure: Regenerate. | |
633 | ||
f0569246 AC |
634 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
635 | ||
636 | * configure.ac: Update to use ../common/common.m4. | |
637 | * configure: Re-generate. | |
638 | ||
38f48d72 AC |
639 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
640 | ||
641 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
642 | ||
b7026657 AC |
643 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
644 | ||
645 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
646 | * configure: Re-generate. | |
647 | ||
379832de HPN |
648 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
649 | ||
650 | * configure: Regenerate for ../common/aclocal.m4 update. | |
651 | ||
0aaa4a81 AC |
652 | 2004-06-28 Andrew Cagney <cagney@gnu.org> |
653 | ||
654 | * interp.c (sim_resume): Rename ui_loop_hook to | |
655 | deprecated_ui_loop_hook. | |
656 | ||
fc0a2244 AC |
657 | 2003-10-30 Andrew Cagney <cagney@redhat.com> |
658 | ||
659 | * simops.c: Replace "struct symbol_cache_entry" with "struct | |
660 | bfd_symbol". | |
661 | ||
ea086965 AC |
662 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
663 | ||
664 | * interp.c (xfer_mem): Simplify. Only do a single partial | |
665 | transfer. Problem reported by Tom Rix. | |
666 | ||
f6684c31 AC |
667 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
668 | ||
669 | * interp.c (sim_d10v_translate_addr): Add "regcache" parameter. | |
670 | (sim_d10v_translate_imap_addr): Ditto. | |
671 | (sim_d10v_translate_dmap_addr): Ditto. | |
672 | (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr. | |
673 | (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr. | |
674 | (dmap_register, imap_register): Add "regcache" parameter. | |
675 | (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr. | |
676 | (sim_fetch_register): Pass NULL regcache to imap_register and | |
677 | dmap_register. | |
678 | ||
6b4a8935 AC |
679 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
680 | ||
681 | * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. | |
682 | ||
d25b1553 AC |
683 | 2002-11-13 Andrew Cagney <cagney@redhat.com> |
684 | ||
685 | * simops.c: Include <string.h>. | |
686 | ||
57af9c8b AC |
687 | 2002-06-17 Andrew Cagney <cagney@redhat.com> |
688 | ||
689 | * d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum. | |
690 | ||
c8cca39f AC |
691 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
692 | ||
693 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
694 | ||
3d2957e6 TR |
695 | 2002-06-13 Tom Rix <trix@redhat.com> |
696 | ||
697 | * interp.c (xfer_mem): Fix transfers across multiple segments. | |
72f4393d | 698 | |
3c25f8c7 AC |
699 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
700 | ||
701 | * Makefile.in (INCLUDE): Update path to callback.h. | |
702 | * gencode.c: Do not include "callback.h". | |
703 | * d10v_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
704 | * interp.c: Ditto. | |
705 | ||
983b727e AC |
706 | 2002-06-08 Andrew Cagney <cagney@redhat.com> |
707 | ||
708 | * interp.c (sim_fetch_register): Fix name of enum used in cast. | |
709 | (sim_store_register): Ditto. | |
710 | ||
676ab6a0 | 711 | 2002-06-02 Elena Zannoni <ezannoni@redhat.com> |
c7675842 | 712 | |
72f4393d L |
713 | From Jason Eckhardt <jle@redhat.com> |
714 | * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is | |
715 | less than MOD_S (post-decrement). | |
c7675842 | 716 | |
18c0df9e AC |
717 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
718 | ||
719 | * interp.c (sim_fetch_register, sim_store_register): Use a switch | |
720 | statement and enums from "sim-d10v.h". | |
721 | ||
1aa5e64f EZ |
722 | 2002-05-28 Elena Zannoni <ezannoni@redhat.com> |
723 | ||
724 | * interp.c (sim_create_inferior): Add comment. | |
725 | ||
726 | From Alan Matsuoka <alanm@redhat.com>: | |
727 | From 2001-04-27 Jason Eckhardt <jle@cygnus.com>: | |
728 | * simops.c (OP_4400): Output "mvf0f" instead of "mf0f". | |
729 | (OP_4401): Output "mvf0t" instead of "mf0t". | |
730 | (OP_460B): Do not output a flag register. | |
731 | (OP_4609): Do not output a flag register. | |
732 | ||
b91b96f4 AC |
733 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
734 | ||
735 | * Makefile.in (INCLUDE): Add "gdb/sim-d10v.h". | |
736 | * interp.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
737 | ||
962b3ead JM |
738 | 2001-08-01 John R. Moore <jmoore@redhat.com> |
739 | ||
740 | * interp.c (sim_create_inferior): Removed a hack that stated | |
741 | it was setting r0/r1 with argc/argv. | |
742 | ||
d4424ada C |
743 | 2001-04-15 J.T. Conklin <jtc@redback.com> |
744 | ||
745 | * Makefile.in (simops.o): Add simops.h to dependency list. | |
746 | ||
eb2d80b4 AC |
747 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
748 | ||
749 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
750 | ||
27842f65 AC |
751 | Tue Apr 18 16:26:41 2000 Andrew Cagney <cagney@b1.cygnus.com> |
752 | ||
753 | * interp.c (sim_resume): Deliver SIGILL. | |
754 | (lookup_hash): Do not print SIGILL message. | |
755 | ||
baa7ae6f AC |
756 | Tue Feb 22 18:24:56 2000 Andrew Cagney <cagney@b1.cygnus.com> |
757 | ||
758 | * Makefile.in (SIM_EXTRA_CFLAGS): Define SIM_HAVE_ENVIRONMENT. | |
759 | * interp.c (sim_set_trace): Replace sim_trace. Enable tracing. | |
760 | ||
ba744a4f AC |
761 | Tue Feb 8 17:41:12 2000 Andrew Cagney <cagney@b1.cygnus.com> |
762 | ||
763 | * d10v_sim.h (SIG_D10V_BUS): Define. | |
764 | ||
765 | * simops.c (address_exception): Delete function. | |
766 | (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000, | |
767 | OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800, | |
768 | OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00, | |
769 | OP_6E1F, OP_6A01, OP_6E01, OP_37010000): Replace call to | |
770 | address_exception with code that sets SIG_D10V_BUS. | |
771 | ||
772 | * interp.c (sim_resume): When SIGBUS or SIGSEGV, deliver a bus | |
773 | error to the simulator before resuming execution. | |
774 | (sim_trace): Check stop reason and use that to determine sim_trace | |
775 | return value. | |
776 | (sim_stop_reason): For SIG_D10V_BUS return a SIGBUS / SIGSEGV | |
777 | sigrc. | |
778 | ||
779 | Tue Jan 18 16:07:42 MST 2000 Diego Novillo <dnovillo@cygnus.com> | |
780 | ||
781 | * interp.c (sim_create_inferior): Change internal initial value for | |
782 | DMAP2 to 0x2000. | |
783 | ||
c3f6f71d JM |
784 | Mon Jan 3 02:06:07 2000 Andrew Cagney <cagney@b1.cygnus.com> |
785 | ||
786 | * interp.c (lookup_hash): Stop the update of the PC when there was | |
787 | an illegal instruction exception. | |
788 | ||
789 | Mon Jan 3 00:14:33 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
790 | ||
791 | * simops.c (address_exception): New function. | |
792 | (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000, | |
793 | OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800, | |
794 | OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00, | |
795 | OP_6E1F, OP_6A01, OP_6E01, OP_37010000): For "ld", "ld2w", "st" | |
796 | and "st2w" check that the address is aligned. | |
797 | ||
8ae7f924 | 798 | 1999-12-30 Chandra Chavva <cchavva@cygnus.com> |
72f4393d | 799 | |
8ae7f924 FCE |
800 | * d10v_sim.h (INC_ADDR): Added code to assign |
801 | proper address for loads with predec operations. | |
802 | ||
c2d11a7d JM |
803 | 1999-11-25 Nick Clifton <nickc@cygnus.com> |
804 | ||
805 | * simops.c (OP_4E0F): New function: Simulate new bit pattern for | |
806 | cpfg instruction. | |
807 | ||
4ce44c66 JM |
808 | Fri Oct 29 18:34:28 1999 Andrew Cagney <cagney@b1.cygnus.com> |
809 | ||
810 | * simops.c (move_to_cr): Don't allow user to set PSW.DM in either | |
811 | DPSW and BPSW. | |
812 | ||
813 | Thu Oct 28 01:26:18 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
814 | ||
815 | * simops.c (OP_5F20): Use SET_HW_PSW when updating PSW. | |
816 | (PSW_HW_MASK): Declare. | |
817 | ||
818 | * d10v_sim.h (move_to_cr): Add ``psw_hw_p'' parameter. | |
819 | (SET_CREG, SET_PSW_BIT): Update. | |
820 | (SET_HW_CREG, SET_HW_PSW): Define. | |
821 | ||
822 | Sun Oct 24 21:38:04 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
823 | ||
824 | * interp.c (sim_d10v_translate_dmap_addr): Fix extraction of IOSP | |
825 | for DMAP3. | |
826 | ||
827 | Sun Oct 24 16:04:16 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
828 | ||
829 | * interp.c (sim_d10v_translate_addr): New function. | |
830 | (xfer_mem): Rewrite. Use sim_d10v_translate_addr. | |
831 | (map_memory): Make INLINE. | |
832 | ||
833 | Sun Oct 24 13:45:19 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
834 | ||
835 | * interp.c (sim_d10v_translate_dmap_addr): New function. | |
836 | (dmem_addr): Rewrite. Use sim_d10v_translate_dmap_addr. Change | |
837 | offset parameter to type uint16. | |
838 | * d10v_sim.h (dmem_addr): Update declaration. | |
839 | ||
840 | Sun Oct 24 13:07:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
841 | ||
842 | * interp.c (imap_register, set_imap_register, dmap_register, | |
843 | set_imap_register): Use map_memory. | |
844 | (DMAP): Update. | |
845 | (sim_create_inferior): Initialize all DMAP registers. NOTE that | |
846 | DMAP2, in internal memory mode, is set to 0x0000 and NOT | |
847 | 0x2000. This is consistent with the older d10v boards. | |
848 | ||
849 | Sun Oct 24 11:22:12 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
850 | ||
851 | * interp.c (sim_d10v_translate_imap_addr): New function. | |
852 | (imem_addr): Rewrite. Use sim_d10v_translate_imap_addr. | |
853 | (last_from, last_to): Declare. | |
854 | ||
855 | Sun Oct 24 01:21:56 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
856 | ||
857 | * d10v_sim.h (struct d10v_memory): Define. Support very long | |
858 | memories. | |
859 | (struct _state): Replace imem, dmem and umem by mem. | |
860 | (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE, IMEM_SEGMENTS, | |
861 | DMEM_SEGMENTS, UMEM_SEGMENTS): Define. | |
862 | ||
863 | * interp.c (map_memory): New function. | |
864 | (sim_size, xfer_memory, imem_addr, dmem_addr): Update. | |
865 | (UMEM_SEGMENTS): Moveed to "d10v_sim.h". | |
866 | (IMEM_SIZEDMEM_SIZE): Delete. | |
867 | ||
868 | Sat Oct 23 20:06:58 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
869 | ||
870 | * interp.c: Include "sim-d10v.h". | |
871 | (imap_register, set_imap_register, dmap_register, | |
872 | set_dmap_register, spi_register, spu_register, set_spi_register, | |
873 | set_spu_register): New functions. | |
874 | (sim_create_inferior): Update. | |
875 | (sim_fetch_register, sim_store_register): Rewrite. Use enums | |
876 | defined in sim-d10v.h. | |
877 | ||
878 | * d10v_sim.h (DEBUG_MEMORY): Define. | |
879 | (IMAP0, IMAP1, DMAP, SET_IMAP0, SET_IMAP1, SET_DMAP): Delete. | |
72f4393d | 880 | |
4ce44c66 JM |
881 | Sat Oct 23 18:41:18 1999 Andrew Cagney <cagney@b1.cygnus.com> |
882 | ||
883 | * interp.c (sim_open): Allow a debug value to be passed to the -t | |
884 | option. | |
885 | (lookup_hash): Don't exit on an illegal instruction. | |
886 | (do_long, do_2_short, do_parallel): Check for failed instruction | |
887 | lookup. | |
888 | ||
5c44784c JM |
889 | Mon Oct 18 18:03:24 MDT 1999 Diego Novillo <dnovillo@cygnus.com> |
890 | ||
891 | * simops.c (OP_3220): Fix trace output for illegal accumulator | |
4ce44c66 | 892 | message. |
5c44784c | 893 | |
c2c6d25f JM |
894 | 1999-09-14 Nick Clifton <nickc@cygnus.com> |
895 | ||
896 | * simops.c: Disable setting of DM bit in PSW. | |
897 | ||
cff3e48b JM |
898 | Wed Sep 8 19:34:55 MDT 1999 Diego Novillo <dnovillo@cygnus.com> |
899 | ||
900 | * simops.c (op_types): Added new memory indirect type OP_MEMREF3. | |
901 | (trace_input_func): Added support for OP_MEMREF3. | |
902 | (OP_32010000): New instruction ld. | |
903 | (OP_33010000): New instruction ld2w. | |
904 | (OP_5209): New instruction sac. | |
905 | (OP_4209): New instruction sachi. | |
906 | (OP_3220): New instruction slae. | |
907 | (OP_36010000): New instruction st. | |
908 | (OP_37010000): New instruction st2w. | |
909 | ||
910 | 1999-09-09 Stan Shebs <shebs@andros.cygnus.com> | |
911 | ||
912 | * interp.c (old_segment_mapping): New global. | |
913 | (xfer_mem): Change the default segment mapping to be the way | |
914 | that Mitsubishi prefers, but use the previous mapping if | |
915 | old_segment_mapping is true. | |
916 | (sim_open): Add an option -oldseg to get the old mapping. | |
917 | (sim_create_inferior): Init mapping registers based on the | |
918 | value of old_segment_mapping. | |
919 | ||
d4f3574e SS |
920 | 1999-09-07 Nick Clifton <nickc@cygnus.com> |
921 | ||
922 | * simops.c (OP_6601): Do not write back decremented address if | |
923 | either of the destination registers was the same as the address | |
72f4393d | 924 | register. |
d4f3574e | 925 | (OP_6201): Do not write back incremented address if either of the |
72f4393d | 926 | destination registers was the same as the address register. |
d4f3574e SS |
927 | |
928 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
929 | ||
930 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
931 | ||
cd0fc7c3 SS |
932 | 1999-05-08 Felix Lee <flee@cygnus.com> |
933 | ||
934 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
72f4393d | 935 | |
7a292a7a SS |
936 | 1999-04-02 Keith Seitz <keiths@cygnus.com> |
937 | ||
938 | * interp.c (ui_loop_hook_counter): New global (when NEED_UI_LOOP_HOOK | |
939 | defined). | |
940 | (sim_resume): If the counter has expired, call the ui_loop_hook, | |
941 | if defined. | |
942 | (UI_LOOP_POLL_INTERVAL): Define. Used to tweak the frequency of | |
943 | ui_loop_hook calls. | |
944 | * Makefile.in (SIM_EXTRA_CFLAGS): Include NEED_UI_LOOP_HOOK. | |
945 | ||
946 | Wed Mar 10 19:32:13 1999 Nick Clifton <nickc@cygnus.com> | |
947 | ||
948 | * simops.c: If load instruction with auto increment/decrement | |
949 | addressing is used when the destination register is the same as | |
950 | the address register, then ignore the auto increment/decrement. | |
951 | ||
952 | Wed Mar 10 19:32:13 1999 Martin M. Hunt <hunt@cygnus.com> | |
953 | ||
954 | * simops.c (OP_5F00): Ifdef SYS_stat case because | |
955 | not all systems have it defined. | |
956 | ||
c906108c SS |
957 | 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com) |
958 | ||
959 | * simops.c (OP_5607): Correct saturation comparison/assignment. | |
72f4393d L |
960 | (OP_1201, OP_1203, OP_17001200, OP_17001202, |
961 | OP_2A00, OP_2800, OP_2C00, OP_3200, OP_3201, | |
962 | OP_1001, OP_1003, OP_17001000, OP_17001002): Ditto. | |
c906108c SS |
963 | |
964 | 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com) | |
965 | ||
966 | * simops.c (OP_5605): Sign extend MIN32 and MAX32 before saturation | |
72f4393d | 967 | comparison. |
c906108c SS |
968 | (OP_5607): Ditto. |
969 | (OP_2A00): Ditto. | |
970 | (OP_2800): Ditto. | |
971 | ||
972 | 1999-01-13 Jason Molenda (jsm@bugshack.cygnus.com) | |
973 | ||
974 | * simops.c (OP_1223): Sign extend MIN32 and MAX32 before saturation | |
975 | comparison. | |
976 | ||
977 | Tue Nov 24 17:04:43 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
978 | ||
979 | * simops.c (sys/syscall.h): Include targ-vals.h instead. | |
980 | (SYS_*): Replace with TARGET_SYS_*. | |
981 | ||
982 | * Makefile.in: Add dependency on targ-vals.h. | |
983 | (NL_TARGET): Define as NL_TARGET_d10v. | |
984 | ||
985 | Wed Sep 30 00:06:32 1998 Andrew Cagney <cagney@amy.cygnus.com> | |
986 | ||
987 | * interp.c (xfer_mem): Missing break, instruction memory case | |
988 | flowed into unified memory case. | |
989 | ||
990 | Wed Sep 30 10:14:18 1998 Nick Clifton <nickc@cygnus.com> | |
991 | ||
992 | * simops.c: If load instruction with auto increment/decrement | |
993 | addressing is used when the destination register is the same as | |
994 | the address register, then ignore the auto increment/decrement. | |
995 | ||
996 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> | |
997 | ||
72f4393d | 998 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
c906108c SS |
999 | |
1000 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
1001 | ||
1002 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1003 | * config.in: Ditto. | |
1004 | ||
1005 | Sun Apr 26 15:20:23 1998 Tom Tromey <tromey@cygnus.com> | |
1006 | ||
1007 | * acconfig.h: New file. | |
1008 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
1009 | ||
1010 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
1011 | ||
1012 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1013 | * config.in: Ditto. | |
1014 | ||
1015 | Fri Apr 24 11:20:06 1998 Tom Tromey <tromey@cygnus.com> | |
1016 | ||
1017 | * configure.in: Don't call sinclude. | |
1018 | ||
1019 | Fri Apr 24 11:04:46 1998 Andrew Cagney <cagney@chook.cygnus.com> | |
1020 | ||
1021 | * interp.c (struct hash_entry): OPCODE and MASK are unsigned. | |
1022 | ||
1023 | * d10v_sim.h (remote-sim.h, sim-config.h): Include. | |
72f4393d | 1024 | |
c906108c SS |
1025 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> |
1026 | ||
1027 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1028 | ||
1029 | Wed Apr 1 12:59:17 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1030 | ||
1031 | * simops.c (trace_input_func): Use move_from_cr / CREGS to obtain | |
1032 | up-to-date CR value. | |
1033 | (OP_OP_1000000, add3): Trace inputs before performing add. | |
1034 | (OP_5F00, <*>): Trace input registers before making system call. | |
1035 | (OP_5F00, <kill>): Trace R0, R1 not REGn. | |
1036 | (OP_5F00, <getpid>): Always return 47. | |
72f4393d | 1037 | |
c906108c SS |
1038 | * d10v_sim.h (SLOT, SLOT_NR, SLOT_PEND_MASK, SLOT_PEND, |
1039 | SLOT_DISCARD, SLOT_FLUSH): Define. An implementation of write | |
1040 | back slots. | |
1041 | (struct _state): Add struct slot slot to global state variable. | |
1042 | (struct _state): Delete fields SM, EA, DB, DM, IE, RP, MD, FX, ST, | |
1043 | F0, F1, C from global State variable. | |
1044 | (struct _state): Add struct trace to global State variable. | |
1045 | (GPR, SET_GPR): Define. SET_GPR uses SLOT_PEND. | |
1046 | (PSW*, SET_PSW*): Define. SET_PSW* uses SET_CREG. | |
1047 | (CREG, SET_CREG, SET_*): Define. SET_CREG uses func move_to_cr. | |
1048 | (INC_ADDR): Re-implement. Use SET_GPR to update registers. | |
1049 | (JMP): Re-implement. Use SET_* to update registers. | |
1050 | ||
1051 | * interp.c: Use new SET_* et.al. macros to fetch / store | |
1052 | registers. | |
1053 | (get_operands): Squirrel away trace values at start of each | |
1054 | operand decode. | |
1055 | (do_2_short): Flush pending writes before issuing second | |
1056 | instruction. | |
1057 | (sim_resume): Flush pending writes at end of instruction cycle. | |
1058 | (sim_fetch_register, sim_store_register, sim_create_inferior): | |
1059 | After scheduling updates to registers using SET_*, flush updates. | |
1060 | (sim_resume): Re-order handling of RPT/repeat and IBA/hbreak so | |
1061 | that each sets pc using SET_* and last SET_* eventually winds out. | |
72f4393d | 1062 | |
c906108c SS |
1063 | * simops.c: Use new SET_* et.al. macros to fetch / store |
1064 | registers. | |
1065 | (move_to_cr): Add MASK argument for selective update of CREG bits. | |
1066 | Re-implement using new SET_* macros. | |
1067 | (trace_output_func, trace_output): Delete. Replace with. | |
1068 | (do_trace_output_flush, trace_output_finish, trace_output_40, | |
1069 | trace_output_32, trace_output_16, trace_output_void, | |
1070 | trace_output_flag): New functions. Handle specific trace cases. | |
1071 | (OP_*): Re-write tracing to use new trace_output_* functions. | |
1072 | (OP_*): Re-write to use new SET_* et.al. macros. | |
1073 | (FUNC, PARM[1-4], RETVAL, RETVAL32): Redo definition. | |
1074 | (RETVAL_HIGH, RETVAL_LOW): Delete, use RETVAL32. | |
72f4393d | 1075 | |
c906108c SS |
1076 | Wed Apr 1 12:55:18 1998 Andrew Cagney <cagney@b1.cygnus.com> |
1077 | ||
1078 | * configure.in (SIM_AC_OPTION_WARNINGS): Add. | |
1079 | configure: Re-generate. | |
1080 | ||
1081 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1082 | ||
1083 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1084 | ||
1085 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1086 | ||
1087 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1088 | ||
1089 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1090 | ||
1091 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1092 | ||
1093 | Tue Feb 17 12:38:42 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1094 | ||
1095 | * interp.c (sim_store_register, sim_fetch_register): Pass in | |
1096 | length parameter. Return -1. | |
1097 | ||
1098 | Mon Oct 27 14:43:33 1997 Fred Fish <fnf@cygnus.com> | |
1099 | ||
1100 | * (dmem_addr): If address is illegal or in I/O space, signal a bus | |
1101 | error. Allocate unified memory on demand. Fix DMEM address | |
1102 | calculations. | |
72f4393d | 1103 | |
c906108c SS |
1104 | Mon Feb 16 10:27:53 1998 Andrew Cagney <cagney@b1.cygnus.com> |
1105 | ||
1106 | * simops.c (OP_5F20): Implement "dbt". | |
1107 | (OP_5F60): Implement "rtd". | |
1108 | ||
1109 | * d10v_sim.h (DPC_CR): Define enum. | |
1110 | (DBT_VECTOR_START): Define | |
1111 | (DPSW, DPC): Define. | |
1112 | ||
1113 | Fri Feb 13 15:15:58 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1114 | ||
1115 | * simops.c (move_to_cr): Sync regs[SP_IDX] with State.sp according | |
1116 | to PSW:SM. | |
1117 | ||
1118 | * d10v_sim.h (struct _state): Add sp, as holding area for SPI/SPU. | |
1119 | (SP_IDX): Define. | |
1120 | ||
1121 | Wed Feb 11 16:53:49 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1122 | ||
1123 | * simops.c (OP_5F00): Call error instead of abort for unknown | |
1124 | syscalls. | |
1125 | ||
1126 | * d10v_sim.h (enum): Define DPSW_CR. | |
1127 | ||
1128 | * simops.c (move_to_cr): Mask out hardwired zero bits in DPSW. | |
1129 | ||
1130 | Tue Feb 10 18:28:38 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1131 | ||
1132 | * interp.c (sim_write_phys): Delete. | |
1133 | (sim_load): Call sim_load_file with sim_write and LMA. | |
1134 | ||
1135 | Mon Feb 9 12:05:01 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1136 | ||
1137 | * interp.c: Rewrite xfer_mem so that it translates addresses as - | |
1138 | 0x00... - DMAP translated memory, 0x01... IMAP translated memory, | |
1139 | 0x10... - on-chip data, 0x11... - on-chip insn, 0x12... - unified | |
1140 | memory. | |
1141 | (pc_addr): Delete. | |
1142 | (imem_addr): New function - translate IMEM address. | |
1143 | (sim_resume): Use imem_addr to translate insn address, abort if | |
1144 | translation failed. | |
1145 | (sim_create_inferior): Write ARGV to memory using sim_write. Pass | |
1146 | argc/argv using r0/r1 not r2/r3. | |
1147 | (sim_size): Do not initialize IMAP/DMAP here. | |
1148 | (sim_open): Call sim_create_inferior and sim_size to initialize | |
1149 | the system. | |
1150 | (sim_create_inferior): Initialize IMAP/DMAP to hardware reset | |
1151 | defaults. | |
1152 | (init_system): Delete. | |
1153 | (xfer_mem, sim_fetch_register, sim_store_register): Do not call | |
1154 | init_system. | |
1155 | (decode_pc): Check prog_bfd is defined before looking up .text | |
1156 | section. | |
1157 | ||
1158 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1159 | ||
1160 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1161 | ||
1162 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1163 | ||
1164 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1165 | ||
1166 | Sun Jan 25 22:23:01 1998 Michael Meissner <meissner@cygnus.com> | |
1167 | ||
1168 | * interp.c (sim_stop_reason): Exit status is now in r0, not r2. | |
1169 | ||
1170 | Sat Jan 24 19:00:30 1998 Michael Meissner <meissner@cygnus.com> | |
1171 | ||
1172 | * d10v_sim.h (DEBUG_TRAP): New debug flag. | |
1173 | ||
1174 | * simops.c (OP_5F00): If DEBUG_TRAP is on, turn traps 0-14 into | |
1175 | printing the registers. | |
1176 | ||
1177 | Thu Jan 22 17:54:01 1998 Michael Meissner <meissner@cygnus.com> | |
1178 | ||
1179 | * simops.c (op_types): New ABI, args are r0..r3, system call # is | |
1180 | in r4. | |
1181 | (trace_{in,out}put_func): Ditto. | |
1182 | (OP_4900): Ditto. | |
1183 | (OP_24800000): Ditto. | |
1184 | (OP_4D00): Ditto. | |
1185 | (OP_5F00): Ditto. | |
1186 | ||
1187 | Thu Jan 22 14:30:36 1998 Fred Fish <fnf@cygnus.com> | |
1188 | ||
1189 | * interp.c (UMEM_SEGMENTS): New define, set to 128. | |
1190 | (sim_size): Use UMEM_SEGMENTS rather than hardwired constant. | |
1191 | (sim_close): Reset prog_bfd to NULL after closing it. Also | |
1192 | reset prog_bfd_was_opened_p after closing prog_bfd. | |
1193 | (sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd. | |
1194 | (sim_create_inferior): Get start address from abfd not prog_bfd. | |
1195 | (xfer_mem): Do bounds checking on addresses and return zero length | |
1196 | read/write on bad addresses, rather than aborting. Prepare to | |
1197 | be able to handle xfers that cross segment boundaries, but not | |
1198 | yet implemented. Only emit debug message when d10v_debug is | |
1199 | set as well as DEBUG being defined. | |
1200 | ||
1201 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> | |
1202 | ||
1203 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1204 | ||
1205 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1206 | ||
1207 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1208 | * config.in: Ditto. | |
1209 | ||
1210 | Tue Dec 9 10:28:31 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1211 | ||
1212 | * d10v_sim.h (RPT_S): Index cregs with RPT_S_CR not RPT_E_CR. | |
1213 | (BPSW): Ditto for BPSW_CR and not PSW_CR. | |
1214 | ||
1215 | * simops.c (OP_5F40): JMP to BPC instead of assigning PC directly. | |
72f4393d | 1216 | |
c906108c SS |
1217 | Mon Dec 8 12:58:33 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1218 | ||
1219 | * simops.c (OP_5F00): From Martin Hunt <hunt@cygnus.com>. Change | |
1220 | reserved trap from 0 to 15. Add trap emulation code for 0-14. | |
1221 | ||
1222 | * interp.c (sim_resume): From Martin Hunt <hunt@cygnus.com>. Check | |
1223 | IBA for SDBT. | |
1224 | ||
1225 | * d10v_sim.h (AE_VECTOR_START, RIE_VECTOR_START, | |
1226 | SDBT_VECTOR_START, TRAP_VECTOR_START): Define. | |
72f4393d | 1227 | |
c906108c SS |
1228 | * simops.c (OP_5F00): For "trap", mask out all but SM bit in PSW, |
1229 | use move_to_cr. | |
1230 | (OP_5F00): For "trap", update BPSW with move_to_cr. | |
1231 | ||
1232 | Fri Dec 5 15:31:17 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1233 | ||
1234 | * d10v_sim.h (enum): Enumerate CR register names. | |
1235 | (enum): Enumerate PSW bit values. | |
1236 | (PSW): Obtain value uing move_from_cr. | |
1237 | (MOD_S, MOD_E, BPSW): Make r-values. | |
1238 | (move_from_cr, move_to_cr): Declare functions. | |
72f4393d | 1239 | |
c906108c SS |
1240 | * interp.c (sim_fetch_register, sim_store_register): Use |
1241 | move_from_cr and move_to_cr for CR register transfers. | |
1242 | ||
1243 | * simops.c (move_from_cr, move_to_cr): New functions. | |
1244 | (OP_5F40): Move BPSW to PSW using move_to_cr and move_from_cr. | |
1245 | (OP_5600): For "mvtc", use function move_to_cr. | |
1246 | (OP_5200): For "mvfc", use function move_from_cr. | |
1247 | ||
1248 | Fri Dec 5 13:33:14 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1249 | ||
1250 | * simops.c (OP_5600): For "mvtc" MOD_E and MOD_S, ensure that the | |
1251 | LSbit is zero. | |
1252 | ||
1253 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> | |
1254 | ||
1255 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1256 | ||
1257 | Thu Dec 4 16:51:02 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1258 | ||
1259 | * d10v_sim.h (struct _state): Add DM - PSW debug mask. | |
1260 | ||
1261 | * simops.c (OP_5600): For "mvtc", save PSW.DM. | |
1262 | (OP_5200): Ditto for "mvfc". | |
1263 | ||
1264 | Wed Dec 3 17:27:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1265 | ||
1266 | * d10v_sim.h (SEXT56): Define. | |
1267 | ||
1268 | * simops.c (OP_4201): For "rac", sign extend 56 bit value before | |
1269 | it is shifted. | |
1270 | ||
1271 | * d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using | |
1272 | SIGNED64 macro. | |
1273 | ||
1274 | Tue Dec 2 15:38:34 1997 Fred Fish <fnf@cygnus.com> | |
1275 | ||
1276 | * interp.c (sim_resume): Call do_2_short with LEFT_FIRST or | |
1277 | RIGHT_FIRST, as appropriate, instead of hardcoded ints that | |
1278 | don't match enum values. | |
1279 | ||
1280 | Tue Dec 2 15:01:08 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1281 | ||
1282 | * simops.c (OP_3A00): For "macu", perform multiply stage using 32 | |
1283 | bit rather than 16 bit precision. | |
1284 | (OP_3C00): For "mulxu", store unsigned product in ACC. | |
1285 | (OP_3800): For "msbu", subtract unsigned product from ACC, | |
1286 | (OP_0): For "sub", compute carry by comparing inputs. | |
1287 | ||
1288 | Tue Dec 2 11:04:37 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1289 | ||
1290 | * simops.c (OP_1000): For "sub2w", compute carry by comparing | |
1291 | inputs. | |
1292 | ||
1293 | Mon Nov 17 20:57:21 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1294 | ||
1295 | * simops.c (OP_1): Use 32 bit unsigned arithmetic for subtract, | |
1296 | carry indicated by value > 0xffff. | |
1297 | ||
1298 | Fri Nov 14 12:51:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1299 | ||
1300 | * interp.c (sim_resume): Don't set up SIGINT handler using signal, | |
1301 | handled by client. | |
1302 | (sim_resume): Fix race condition of a direct assignment to | |
1303 | stop_simulator, conditionally call sim_stop. | |
1304 | (sim_stop_reason): Check stop_simulator returning SIGINT. Clear | |
1305 | stop_simulator ready for next sim_resume call. | |
1306 | (sim_ctrl_c): Delete function. | |
1307 | ||
1308 | Thu Nov 13 19:29:34 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1309 | ||
1310 | * interp.c (sim_resume): For "REP", only check/update the PC when | |
1311 | a branch instruction has not been executed. | |
1312 | ||
1313 | Mon Nov 10 17:50:18 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1314 | ||
1315 | * simops.c (OP_4201): "rachi". Sign extend bit 40 of ACC. Sign | |
1316 | extend bit 44 all constants. | |
1317 | (OP_4201): Replace GCC specific 0x..LL with SIGNED64 macro. | |
72f4393d | 1318 | |
c906108c SS |
1319 | Fri Oct 24 10:26:29 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1320 | ||
1321 | * d10v_sim.h: Include sim-types.h. | |
1322 | (uint8, in816, uiny16, int32, uint32, int64, uint64): Typedef | |
1323 | using unsigned8 et.al. from sim-types.h. | |
1324 | (SEXT32, SEXT40, SEXT44, SEXT60): Replace GCC specific 0x..LL with | |
1325 | SIGNED64 macro. | |
1326 | ||
1327 | Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1328 | ||
1329 | * interp.c (sim_write_phys): New function, write to physical | |
1330 | instead of virtual memory. | |
72f4393d | 1331 | |
c906108c SS |
1332 | * interp.c (sim_load): Pass lma_p and sim_write_phys to |
1333 | sim_load_file. | |
1334 | ||
1335 | Mon Oct 13 10:55:07 1997 Fred Fish <cygnus.com> | |
1336 | ||
1337 | * simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move | |
1338 | exception generation code to OP_6E01. | |
1339 | (OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception | |
1340 | generation code. | |
1341 | ||
1342 | Sat Oct 11 09:02:08 1997 Fred Fish <fnf@cygnus.com> | |
1343 | ||
1344 | * simops.c (OP_6401): postdecrement on r15 is OK, remove exception. | |
1345 | (OP_6601): Ditto. | |
1346 | ||
1347 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1348 | ||
1349 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1350 | ||
1351 | Sat Sep 27 12:51:34 1997 Fred Fish <fnf@cygnus.com> | |
1352 | ||
1353 | * interp.c (pc_addr): Discard upper bit(s) of PC in case | |
1354 | IMAP1 selects unified memory. | |
1355 | * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testing | |
1356 | for end condition. | |
1357 | ||
1358 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1359 | ||
1360 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1361 | ||
1362 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1363 | ||
1364 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1365 | ||
1366 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1367 | ||
1368 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1369 | ||
1370 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1371 | ||
1372 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1373 | ||
1374 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1375 | ||
1376 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1377 | ||
1378 | Wed Sep 10 22:30:24 1997 Martin M. Hunt <hunt@cygnus.com> | |
1379 | ||
1380 | * interp.c (sim_resume): Increment PC at end of rep | |
1381 | loop. | |
1382 | ||
1383 | * simops.c (OP_4201): Fix rachi instruction. | |
1384 | ||
1385 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
1386 | ||
1387 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1388 | ||
1389 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1390 | ||
1391 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1392 | * config.in: Ditto. | |
1393 | ||
1394 | Tue Aug 26 10:37:49 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1395 | ||
1396 | * interp.c (sim_kill): Delete. | |
1397 | (sim_create_inferior): Add ABFD argument. | |
1398 | (sim_load): Move setting of PC from here. | |
1399 | (sim_create_inferior): To here. | |
1400 | (start_address): Delete variable. | |
1401 | ||
1402 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1403 | ||
1404 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1405 | * config.in: Ditto. | |
1406 | ||
1407 | Mon Aug 25 15:39:29 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1408 | ||
1409 | * interp.c (sim_open): Add ABFD argument. | |
1410 | ||
1411 | Tue May 20 10:14:45 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1412 | ||
1413 | * interp.c (sim_open): Add callback argument. | |
1414 | (sim_set_callbacks): Remove SIM_DESC argument. | |
1415 | ||
1416 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
1417 | ||
1418 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1419 | ||
1420 | Tue Apr 22 10:29:23 1997 Doug Evans <dje@canuck.cygnus.com> | |
1421 | ||
1422 | * interp.c (sim_open): Undo patch to add -E support. | |
1423 | ||
1424 | Fri Apr 18 13:39:01 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1425 | ||
1426 | * interp.c (sim_stop): New function. | |
1427 | ||
1428 | Thu Apr 17 02:42:00 1997 Doug Evans <dje@canuck.cygnus.com> | |
1429 | ||
1430 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
1431 | * d10v_sim.h (exec_bfd): Rename to prog_bfd. | |
1432 | * interp.c: #include bfd.h. | |
1433 | (myname, sim_kind, start_address): New static locals. | |
1434 | (prog_bfd_was_opened_p, prog_bfd): New static locals. | |
1435 | (decode_pc): Update to use prog_bfd. | |
1436 | (sim_open): Set sim_kind, myname. Ignore -E arg. | |
1437 | (sim_close): Close prog_bfd if simulator opened it. | |
1438 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
1439 | (sim_load): Return SIM_RC. New arg abfd. Set start address from bfd. | |
1440 | Call sim_load_file to load file into simulator. | |
1441 | * simops.c (trace_input_func): exec_bfd renamed to prog_bfd. | |
1442 | ||
1443 | Wed Apr 16 16:12:03 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1444 | ||
1445 | * simops.c (OP_5F00): Only provide system calls SYS_execv, | |
1446 | SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host. | |
72f4393d | 1447 | |
c906108c SS |
1448 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1449 | ||
1450 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1451 | * config.in: Ditto. | |
1452 | ||
1453 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> | |
1454 | ||
1455 | * interp.c (sim_open): New arg `kind'. | |
1456 | ||
1457 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1458 | ||
1459 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1460 | ||
1461 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1462 | ||
1463 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1464 | ||
1465 | * configure: Re-generate. | |
1466 | ||
1467 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> | |
1468 | ||
1469 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
1470 | ||
1471 | * simops.c (OP_5F00): Remove old traps 1-3. Make trap 15 the same | |
1472 | as trap 0, which will be deprecated. Only set errno, if an error | |
1473 | in fact was returned. | |
1474 | ||
1475 | Thu Mar 13 12:41:20 1997 Doug Evans <dje@canuck.cygnus.com> | |
1476 | ||
1477 | * interp.c: Delete redundant prototypes of sim_foo fns. | |
1478 | (sim_open): New SIM_DESC result. Argument is now in argv form. | |
1479 | (other sim_*): New SIM_DESC argument. | |
1480 | ||
1481 | Thu Mar 13 10:29:04 1997 Michael Meissner <meissner@cygnus.com> | |
1482 | ||
1483 | * simops.c (trace_{input,output}_func): Call flush_stdout from the | |
1484 | callback functions. | |
1485 | (OP_5F00): Ditto. | |
1486 | (OP_6{4,6,C,A}01): Test for post decrement on the stack pointer. | |
1487 | (OP_{1200,1000000,201,5FE0,1003,17001002}): Fix problems in | |
1488 | setting the carry bit after an add or a subtract. | |
1489 | ||
1490 | Wed Feb 12 16:04:15 1997 Michael Meissner <meissner@cygnus.com> | |
1491 | ||
1492 | * simops.c (OP_{1403,15002A02,3{0,4}0{0,1}}): Only use the bottom | |
1493 | 40 bits of accumulators. Sign/zero extend as appropriate. | |
1494 | ||
1495 | Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> | |
1496 | ||
1497 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
1498 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
1499 | * configure.in: sinclude ../common/aclocal.m4. | |
1500 | * configure: Regenerated. | |
1501 | ||
1502 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) | |
1503 | ||
1504 | * configure configure.in Makefile.in: Update to new configure | |
1505 | scheme which is more compatible with WinGDB builds. | |
1506 | * configure.in: Improve comment on how to run autoconf. | |
1507 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
1508 | * Makefile.in: Use autoconf substitution to install common | |
1509 | makefile fragment. | |
1510 | ||
1511 | Fri Dec 27 22:54:05 1996 Angela Marie Thomas (angela@cygnus.com) | |
1512 | ||
1513 | * gencode.c: patch to not #include "d10v_sim.h" which | |
1514 | unecessarily includes bfd.h and causes wingdb configure | |
1515 | to fail. | |
1516 | ||
1517 | Mon Dec 16 13:39:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1518 | ||
1519 | * interp.c (xfer_mem): Change unified memory to 0x0. | |
1520 | ||
1521 | Thu Nov 28 20:42:56 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1522 | ||
1523 | * simops.c (OP_3E01): Fix tracing information. | |
1524 | (OP_300{0,1}): Do not propigate sign. | |
1525 | ||
1526 | Mon Nov 25 19:47:40 1996 Doug Evans <dje@canuck.cygnus.com> | |
1527 | ||
1528 | * config.in (WORDS_BIGENDIAN): Add. | |
1529 | * configure: Regenerated. | |
1530 | * d10v_sim.h: #include "config.h" | |
1531 | ||
1532 | Sat Nov 23 09:34:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1533 | ||
1534 | * gencode.c (write_opcodes): Eliminate warnings when generated | |
1535 | table.c is compiled. | |
1536 | ||
1537 | Wed Nov 20 19:41:40 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1538 | ||
1539 | * interp.c (sim_open): Cast result of calloc, and make sure NULL | |
1540 | was not returned. | |
1541 | (dmem_addr): If address is illegal or in I/O space, signal a bus | |
1542 | error. | |
1543 | (pc_addr): Signal bus error, not illegal instruction for bogus | |
1544 | pc. | |
1545 | ||
1546 | Wed Nov 20 01:23:03 1996 Doug Evans <dje@canuck.cygnus.com> | |
1547 | ||
1548 | * Makefile.in: Delete all stuff moved to ../common/Make-common.in. | |
1549 | (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define. | |
1550 | * configure.in: Simplify using macros in ../common/aclocal.m4. | |
1551 | Call AC_CHECK_HEADERS(unistd.h). | |
1552 | * configure: Regenerated. | |
1553 | * config.in: New file. | |
1554 | * interp.c: #include "callback.h". | |
1555 | * simops.c: #include "config.h". #include <unistd.h> if present. | |
1556 | ||
1557 | Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1558 | ||
1559 | * d10v-sim.h (simops): Add flag is_long. | |
1560 | (State): Add pc_changed. Instructions which update the PC should | |
1561 | use the JMP macro which sets this. | |
1562 | (JMP): New macro. Sets the PC and the pc_changed flag. | |
1563 | ||
1564 | * gencode.c (write_opcodes): Add is_long field. | |
72f4393d | 1565 | |
c906108c SS |
1566 | * interp.c (lookup_hash): If we blindly apply a short opcode's mask |
1567 | to a long opcode we could get a false match. Check the opcode size. | |
1568 | (hash): Add a size field to the hash table. | |
1569 | (sim_open): Initialize size field in hash table. | |
1570 | (sim_resume): Change to logic for setting the PC. Used to increment the | |
1571 | PC if it had not been changed. This didn't allow single-instruction loops. | |
1572 | Now checks the flag State.pc_changed. Also now stops when ^C is received. | |
1573 | (dmem_addr): Fix translation of data segments to unified memory. | |
1574 | (sim_ctrl_c): New function. When ^C is received, set stop_simulator flag. | |
1575 | ||
1576 | * simops.c: Changed all branch and jump instructions to use new JMP macro. | |
1577 | (OP_20000000): Corrected trace information to show this is a ldi.l, not | |
1578 | a ldi.s instruction. | |
72f4393d | 1579 | |
c906108c SS |
1580 | Thu Oct 31 19:13:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
1581 | ||
1582 | * interp.c (sim_fetch_register, sim_store_register): Fix bug where | |
1583 | updating the accumulators was overwriting other parts of the global | |
1584 | State variable. | |
1585 | ||
1586 | Wed Oct 30 17:35:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1587 | ||
1588 | * interp.c (bfd.h) Don't include it here any more. | |
1589 | (text{,_start,_end}): Move here from simops.c and make extern. | |
1590 | (decode_pc): New function to return the PC as an address that the | |
1591 | debugger can use. | |
1592 | (dmem_addr): Print decoded PC in error message. | |
1593 | (pc_addr): Ditto. | |
1594 | ||
1595 | * simops.c (bfd.h) Don't include it here any more. | |
1596 | (text{,_start,_end}): Move to simops.c. | |
1597 | (trace_input_func): Move decoding of PC, and looking up .text | |
1598 | start to decode_pc. | |
1599 | ||
1600 | * d10v_sim.h (bfd.h): Include it here. | |
1601 | (text{,_start,_end}): Add external declarations. | |
1602 | (exec_bfd): Ditto. | |
1603 | (decode_pc): Ditto. | |
1604 | ||
1605 | Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1606 | ||
1607 | * interp.c (sim_size): Now allocates unified memory for imap segments | |
1608 | 0,1,2, and 127. Initializes imap0 and imap1 to 0x1000. Initializes dmap to 0. | |
1609 | (sim_write): Just call xfer_mem(). | |
1610 | (sim_read): Just call xfer_mem(). | |
1611 | (xfer_mem): New function. Does appropriate memory mapping and copies bytes. | |
1612 | (dmem_addr): New function. Reads dmap register and translates data | |
1613 | addresses to local addresses. | |
1614 | (pc_addr): New function. Reads imap register and computes local address | |
1615 | corresponding to contents of the PC. | |
1616 | (sim_resume): Change to use pc_addr(). | |
1617 | (sim_create_inferior): Change reinitialization code. Also reinitializes | |
1618 | imap[01] and dmap. | |
1619 | (sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap. | |
1620 | (sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap. | |
1621 | ||
1622 | * simops.c (MEMPTR): Redefine to use dmem_addr(). | |
1623 | (OP_5F00): Replace references to STate.imem with dmem_addr(). | |
72f4393d | 1624 | |
c906108c SS |
1625 | * d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128]. |
1626 | (RB,SW,RW,SLW,RLW): Redefine to use dmem_addr(). | |
1627 | (IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define. | |
72f4393d | 1628 | |
c906108c SS |
1629 | Tue Oct 22 15:22:33 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1630 | ||
1631 | * d10v_sim.h (_ins_type): Reorganize, so that we can provide | |
1632 | better statistics, like not counting NOPS as parallel | |
1633 | instructions, and printing total cycles. | |
1634 | (ins_type_counters): Make unsigned long. | |
1635 | (left_nops,right_nops): Fold into ins_type_counters. | |
1636 | ||
1637 | * simops.c (trace_input_func): Print new instruction types. | |
1638 | Handle OP_R2R3 as input types. | |
1639 | (OP_{38000000,7000}): Correctly sign extend bytes. | |
1640 | (OP_5E00): Don't count NOPs as parallel instructions. | |
1641 | (OP_460B): Remove unused variable. | |
1642 | (OP_5F00): Ditto. | |
1643 | ||
1644 | * interp.c (ins_type_counters): Make unsigned long. | |
1645 | (left_nops,right_nops): Delete. | |
1646 | (most functions): Add prototypes. | |
1647 | (INLINE): If GCC and optimize define as __inline__. | |
1648 | ({,lookup_}hash,get_operands): Declare as INLINE. | |
1649 | (do_parallel): Count conditional operations. | |
1650 | (add_commas): New function, to add commas every 3 digits. | |
1651 | (sim_size): Call add_commas to print numbers. | |
1652 | (sim_{open,resume}): Delete unused variables. | |
1653 | (sim_info): Provide better statistics. | |
1654 | (sim_read): Add int return type. | |
1655 | ||
1656 | Mon Oct 21 16:16:26 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1657 | ||
1658 | * interp.c (sim_resume): Change the way single-stepping and exceptions | |
1659 | are handled so single-stepping works again. | |
1660 | ||
1661 | Thu Oct 17 12:24:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1662 | ||
1663 | * endian.c: Optimize simulated loads/stores on x86, AIX, and big | |
1664 | endian hosts. | |
1665 | ||
1666 | * configure.in (--enable-sim-bswap): New switch to enable using | |
1667 | the BSWAP instruction on x86's. | |
1668 | * configure: Regenerate. | |
1669 | ||
1670 | * Makefile.in ({SWAP,CONFIG}_CFLAGS): Add --enable-sim-bswap | |
1671 | support. | |
1672 | ||
1673 | Wed Oct 16 13:50:06 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1674 | ||
1675 | * endian.c: New file. Move endian functions here from interp.c. | |
1676 | Optimize code, and make it work as either inline functions or as a | |
1677 | separate file. | |
1678 | ||
1679 | * interp.c: Move endian functions from here to endian.c. | |
1680 | ||
1681 | * Makefile.in (INCLUDE): Add endian.c. | |
1682 | (run,libsim.a): Add dependency on endian.o. | |
1683 | (endian.o): Add dependency. | |
1684 | ||
1685 | * d10v_sim.h (read/write support): Always go through the machine | |
1686 | independent endian functions. If compiling with GCC and | |
1687 | optimizing, include endian.c so the endian functions are inlined. | |
1688 | ||
72f4393d | 1689 | * simops.c (OP_5F00): Correct tracing of accumulators. |
c906108c SS |
1690 | |
1691 | Tue Oct 15 10:57:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1692 | ||
1693 | * simops.c (OP_5F00): Add support for getpid, kill system calls. | |
1694 | ||
1695 | * interp.c (do_{2_short,parallel}): If an exception is raised, | |
1696 | don't execute the second instruction. | |
1697 | ||
1698 | Sat Oct 12 22:17:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1699 | ||
1700 | * simops.c (OP_{31000000,6601,6201,6200}): Store address in a | |
1701 | temporary in case the register is overriden when loading. | |
1702 | (OP_6200): Output type is OP_DREG for tracing. | |
1703 | ||
1704 | Fri Oct 4 23:46:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1705 | ||
1706 | * d10v_sim.h (struct _state): Add mem_{min,max} fields. | |
1707 | ||
1708 | * interp.c (sim_size): Initialize mem_{min,max} fields. | |
1709 | (sim_write): Update mem_{min,max} fields. | |
1710 | (sim_resume): If PC is not in the minimum/maximum memory range, | |
1711 | abort. | |
1712 | (sim_create_inferior): Preserve mem_{min,max} fields. | |
1713 | ||
1714 | Fri Sep 27 13:11:58 1996 Mark Alexander <marka@cygnus.com> | |
1715 | ||
1716 | * simops.c (OP_5F00): Add support for time() system call. | |
1717 | ||
1718 | Wed Sep 25 16:31:41 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1719 | ||
1720 | * simops.c (OP_{6E01,6A01,6E1F,6A00}): Print both words being | |
1721 | stored if tracing. | |
1722 | (OP_5F00,trace_{in,out}put_func): Add finer grain tracing for | |
1723 | system calls. | |
1724 | ||
1725 | Mon Sep 23 17:55:30 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1726 | ||
1727 | * simops.c (op_types): Add OP_{CONSTANT8,R2,R3}. | |
1728 | (trace_input_func): Add support for OP_{CONSTANT8,R2,R3}. | |
1729 | (OP_{4900,24800000,4800,4A00,4B00,4D00,4C00}): Add OP_R2 and OP_R3 | |
1730 | to call/subroutine returns to trace the first two arguments and | |
1731 | the return value. For small jumps, use CONSTANT8, not CONSTANT16. | |
1732 | ||
1733 | Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1734 | ||
72f4393d | 1735 | * interp.c (sim_create_inferior): Reinitialize State every time |
c906108c SS |
1736 | sim_create_inferior() is called. |
1737 | ||
1738 | Thu Sep 19 21:38:20 1996 Michael Meissner <meissner@wogglebug.ziplink.net> | |
1739 | ||
1740 | * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right | |
1741 | on comparisons. | |
1742 | (OP_401): Fix tracing information. | |
1743 | ||
1744 | Thu Sep 19 10:30:22 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1745 | ||
1746 | * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output. | |
1747 | (trace_input_func): Use them. | |
1748 | (trace_input_func): Make sure there is a trailing space after the | |
1749 | instruction. | |
1750 | (OP_6200): Fix tracing info. | |
1751 | ||
1752 | * Makefile.in (run): Add dependencies on libbfd.a and | |
1753 | libiberity.a. | |
1754 | ||
1755 | Wed Sep 18 09:13:25 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1756 | ||
1757 | * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line | |
1758 | numbers and function names in debug trace. | |
1759 | (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and | |
72f4393d | 1760 | DEBUG_LINE_NUMBER. |
c906108c SS |
1761 | (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction |
1762 | and exit system call trap being executed. | |
1763 | ||
1764 | * interp.c (sim_stop_reason): Set exit code correctly for stop | |
1765 | instruction and exit system call trap. | |
1766 | ||
1767 | * configure.in (--enable-sim-cflags): Remove trace case. | |
1768 | (--enable-sim-debug): New switch to set the debug values. | |
1769 | * configure: Regenerate. | |
1770 | ||
1771 | * simops.c (trace_{input,output}_func): Rename from | |
1772 | trace_{input,output}. | |
1773 | (trace_{input,output}): Call trace_{input,output}_func if | |
1774 | d10v_debug is non-zero. | |
1775 | (SIZE_INSTRUCTION): Cut down to 8. | |
1776 | (SIZE_OPERANDS): Cut down to 18. | |
1777 | (SIZE_LOCATION): New value for size of line number, function name | |
1778 | field. | |
1779 | (init_text_p,text{,_start,_end}): New static variables for | |
1780 | printing line number and function name. | |
1781 | (exec_bfd): New external that run.c sets. | |
1782 | (trace_input_func): Print line number and function name if | |
1783 | available and if desired. | |
1784 | (OP_4E09): Don't print out DBT message. | |
1785 | (OP_5FE0): Set exception field to SIG_D10V_STOP. | |
72f4393d | 1786 | (OP_5F00): Set exception field to SIG_D10V_EXIT. |
c906108c SS |
1787 | |
1788 | Sat Sep 14 22:18:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1789 | ||
1790 | * interp.c (do_2_short): If the instruction encodes jump->ins, | |
1791 | don't do the second instruction if the jump succeeds. | |
1792 | ||
1793 | Fri Sep 13 22:35:19 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1794 | ||
1795 | * simops.c (OP_5F00): Use unknown traps to print all GPRs, | |
1796 | accumulators, PC, and F0/F1/C flags. | |
1797 | ||
1798 | Thu Sep 12 12:50:11 1996 Mark Alexander <marka@cygnus.com> | |
1799 | ||
1800 | * simops.c (OP_5F00): Fix problems with system calls. | |
1801 | ||
1802 | Thu Sep 12 12:19:28 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1803 | ||
1804 | * simops.c (OP_5F00): Correct tracing information for trap. | |
1805 | ||
1806 | Wed Sep 11 18:55:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1807 | ||
1808 | * Makefile.in (CSEARCH): Correctly find opcodes directory. | |
1809 | ||
1810 | Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1811 | ||
1812 | * simops.c (trace_output): Properly align accumulator output. | |
1813 | (OP_3{0,2,4}00): Properly parenthesize test expression. Add error | |
1814 | if shift count is too high. | |
1815 | (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book. | |
1816 | (OP_4E09): Make cpfg properly trace the input flags. | |
1817 | (op_types): Add OP_FLAG_OUTPUT. | |
1818 | (trace_{input,output}): Support OP_FLAG_OUTPUT. | |
1819 | (OP_31000000): This ld2w varient is a 16-bit memory reference, not | |
1820 | an 8-bit memory reference instruction for tracing purposes. | |
1821 | (OP_201): Addi needs to set the carry. | |
1822 | ||
1823 | Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1824 | ||
1825 | * simops.c (OP_2600, OP_2601): Changed min and max comparisons | |
1826 | to use signed register values. | |
1827 | ||
1828 | Wed Sep 4 11:35:17 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1829 | ||
1830 | * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug | |
1831 | output. | |
1832 | (_ins_type): New enumeration to specify which container an | |
1833 | instruction is in, and whether it is part of a parallel operation. | |
1834 | (_state): Add ins_type field. | |
1835 | ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types. | |
1836 | (ins_type_counters): Counters for the various instruction types. | |
1837 | ({left,right}_nops): Counters for the number of nops in each | |
1838 | container. | |
1839 | (d10v_debug): New variable to indicate whether debugging is turned | |
1840 | on. | |
1841 | ||
1842 | * simops.c: (all functions): Change all #ifdef DEBUG code so that | |
1843 | the input and output values can be traced, along with the | |
1844 | instruction type. Make the -t option enable tracing. | |
1845 | (all functions): Change printf calls to use the printf_filtered | |
1846 | function in the callback table. | |
1847 | ||
1848 | * interp.c (_leftright): New enumeration to say whether 2 short | |
1849 | instructions are done left first or right first. | |
1850 | (do_{long,2_short,parallel}): Indicate in the machine state which | |
1851 | type of instruction this is. Count each of the types of | |
1852 | instructions executed. | |
1853 | (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug | |
1854 | flag is set. | |
1855 | (sim_resume): Pass left/right indication to do_2_short. | |
1856 | (all functions): Change printf calls to use the printf_filtered | |
1857 | function in the callback table. | |
1858 | (sim_trace): Turn on debug flag if DEBUG was defined, and call | |
1859 | sim_resume. | |
1860 | (sim_info): Print out statistics on instructions. | |
1861 | (sim_{trace,create_inferior}): Eliminate extraneous output unless | |
1862 | debugging. | |
1863 | (sim_open): If args == -t and DEBUG was defined, set d10v_debug. | |
1864 | Only initialize the hash table the first time sim_open is called. | |
1865 | ||
1866 | * Makefile.in: Make objects depend on d10v_sim.h. | |
1867 | ({,SIM_}CFLAGS): Include configure dependent switches. Setting | |
1868 | CFLAGS does not override host/target defines or SIM_CFLAGS. | |
1869 | (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode. | |
1870 | (run): By default, the math library is not needed to be linked | |
1871 | in. | |
1872 | ({BFD,LIBIBERTY}_LIB): Define as variables so they can be | |
1873 | overridden. | |
1874 | (VPATH): Don't set to anything but @srcdir@ to work with non-GNU | |
1875 | makes. | |
1876 | ({run,callback}.o): Provide explicit paths to their appropriate | |
1877 | source directories. | |
1878 | (gencode{,.o},d10v-opc.o): Split compilation into creating object | |
1879 | and linking. Instead of linking in libopcodes.a, just compile | |
1880 | d10v-opc.o directly to handle canadian cross. | |
1881 | (CSEARCH): Add opcodes directory. | |
1882 | ||
1883 | * configure.in (--enable-sim-cflags): New switch to allow user to | |
1884 | set the defaults. | |
1885 | (CC_FOR_BUILD): Deal with canadian crosses. | |
1886 | * configure: Regenerate. | |
1887 | ||
1888 | Wed Sep 04 04:45:34 1996 Mark Alexander <marka@cygnus.com> | |
1889 | ||
1890 | * simops.c: Include correct syscall.h for d10v, not host's. | |
1891 | Fix #ifdef SYS_stat. | |
1892 | ||
1893 | Tue Sep 3 14:00:04 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1894 | ||
1895 | * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef. | |
1896 | Add trap 2 to be printf and trap 3 to be putchar. | |
1897 | ||
1898 | Wed Aug 28 21:42:34 1996 Mark Alexander <marka@cygnus.com> | |
1899 | ||
1900 | * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support | |
1901 | for low-level system calls. | |
1902 | ||
1903 | Wed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1904 | ||
1905 | * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems. | |
1906 | ||
1907 | Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1908 | ||
1909 | * d10v_sim.h (SEXT32): Added. | |
1910 | * interp.c: Commented out printfs. | |
72f4393d | 1911 | * simops.c: Fixed error in sb and st2w. |
c906108c SS |
1912 | |
1913 | Thu Aug 15 13:30:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1914 | ||
1915 | * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining | |
1916 | DSP instructions. Added modulo addressing. | |
1917 | ||
1918 | Sun Aug 11 12:57:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1919 | ||
1920 | * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot. | |
1921 | ||
1922 | Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1923 | ||
1924 | * d10v_sim.h, simops.c: Snapshot. | |
1925 | ||
1926 | Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1927 | ||
72f4393d | 1928 | * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h, |
c906108c | 1929 | gencode.c, interp.c, simops.c: Created. |