Commit | Line | Data |
---|---|---|
5c1008a4 MF |
1 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * configure.ac: Call SIM_AC_OPTION_WARNINGS. | |
4 | * configure: Regenerate. | |
5 | ||
68ed2854 MF |
6 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> |
7 | ||
8 | * config.in, configure: Regenerate. | |
9 | * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H. | |
10 | ||
50df264d MF |
11 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
12 | ||
13 | * configure: Regenerate. | |
14 | ||
46f900c0 MF |
15 | 2021-01-08 Mike Frysinger <vapier@gentoo.org> |
16 | ||
17 | * configure: Regenerate. | |
18 | ||
bfc7d04a MF |
19 | 2021-01-07 Mike Frysinger <vapier@gentoo.org> |
20 | ||
21 | * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top, | |
22 | h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf, | |
23 | h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile, | |
24 | set_simcache_size): Delete. | |
25 | (init_pointers): Delete calls to h8_get_cache_idx_buf, | |
26 | h8_set_cache_idx_buf, and set_simcache_size. | |
27 | (step_once): Replace call to h8_get_cache_idx with decode. Delete | |
28 | case 0 handling and call to compile. | |
29 | (sim_write): Delete call to h8_set_cache_idx. | |
30 | (sim_info): Delete call to h8_get_compiles & sim_cache_size. | |
31 | (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf. | |
32 | * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx, | |
33 | cache_top, and compiles. | |
34 | ||
dfb856ba MF |
35 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
36 | ||
37 | * configure: Regenerate. | |
38 | ||
5c887dd5 JB |
39 | 2017-09-06 John Baldwin <jhb@FreeBSD.org> |
40 | ||
41 | * configure: Regenerate. | |
42 | ||
ce39bd38 MF |
43 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
44 | ||
45 | * config.in, configure: Regenerate. | |
46 | ||
35656e95 MF |
47 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
48 | ||
49 | * configure: Regenerate. | |
50 | ||
16f7876d MF |
51 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
52 | ||
53 | * configure: Regenerate. | |
54 | ||
e19418e0 MF |
55 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
56 | ||
57 | * configure: Regenerate. | |
58 | ||
22be3fbe MF |
59 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
60 | ||
61 | * configure: Regenerate. | |
62 | ||
0dc73ef7 MF |
63 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
64 | ||
65 | * configure: Regenerate. | |
66 | ||
347fe5bb MF |
67 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
68 | ||
69 | * configure: Regenerate. | |
70 | ||
99d8e879 MF |
71 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
72 | ||
73 | * configure: Regenerate. | |
74 | ||
936df756 MF |
75 | 2016-01-09 Mike Frysinger <vapier@gentoo.org> |
76 | ||
77 | * config.in, configure: Regenerate. | |
78 | ||
2e3d4f4d MF |
79 | 2016-01-06 Mike Frysinger <vapier@gentoo.org> |
80 | ||
81 | * compile.c (sim_open): Mark argv const. | |
82 | (sim_create_inferior): Mark argv and env const. | |
83 | ||
9bbf6f91 MF |
84 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
85 | ||
86 | * configure: Regenerate. | |
87 | ||
77cf2ef5 MF |
88 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
89 | ||
90 | * compile.c (sim_open): Update sim_parse_args comment. | |
91 | ||
0cb8d851 MF |
92 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
93 | ||
94 | * config.in, configure: Regenerate. | |
95 | ||
1ac72f06 MF |
96 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
97 | ||
98 | * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG. | |
99 | * configure: Regenerate. | |
100 | ||
cec99e6b MF |
101 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
102 | ||
103 | * compile.c (sim_state_initialize): Delete. | |
104 | (sim_open): Replace sim_state_initialize call with SBR_REGNUM | |
105 | assignment. | |
106 | ||
2a2757ac MF |
107 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
108 | ||
109 | * compile.c (h8300_reg_store): Delete sd. Change init_pointers to | |
110 | use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and | |
111 | drop the printf if the default case. Change all the set func calls | |
112 | to use cpu->regs[rn] instead. | |
113 | (h8300_reg_store): Delete sd. Change init_pointers to | |
114 | use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and | |
115 | drop the printf if the default case. Change all the get func calls | |
116 | to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and | |
117 | 4 instead of -1 at the end. | |
118 | ||
4ca9d09e MF |
119 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
120 | ||
121 | * compile.c (lvalue): Change sim_engine_set_run_state calls to | |
122 | sim_engine_halt. Declare local cpu. | |
123 | (fetch_1): Likewise. | |
124 | (store_1): Likewise. | |
125 | (sim_resume): Rename to ... | |
126 | (step_once): ... this. Declare init1, poll_count, reason, and | |
127 | sigrc variables. Delete step checking. Change | |
128 | sim_engine_set_run_state calls to sim_engine_halt. Delete poll | |
129 | logic. Change while(1) loop to while(0). | |
130 | (sim_engine_run): New function. | |
131 | * Makefile.in (SIM_OBJS): Add sim-resume.o. | |
132 | ||
5658c257 MF |
133 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
134 | ||
135 | * compile.c (sim_open): Delete current_alignment and | |
136 | current_target_byte_order assignments. | |
137 | * configure.ac: Call SIM_AC_OPTION_ENDIAN and | |
138 | SIM_AC_OPTION_ALIGNMENT. | |
139 | * configure: Regenerate. | |
140 | ||
e1211e55 MF |
141 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
142 | ||
143 | * wrapper.c (sim_store_register): Rename to ... | |
144 | (h8300_reg_store): ... this. Declare sd. | |
145 | (sim_fetch_register): Rename to ... | |
146 | (h8300_reg_fetch): ... this. Declare sd. | |
147 | (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. | |
148 | ||
c78dff22 MF |
149 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
150 | ||
151 | * compile.c (lreg): Delete. | |
152 | (init_pointers): Delete lreg assignments. | |
153 | ||
f2089a69 MF |
154 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
155 | ||
156 | * inst.h: Delete file. | |
157 | * Makefile.in (compile.o): Delete rule. | |
158 | ||
1b393626 MF |
159 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
160 | ||
161 | * config.in, configure: Regenerate. | |
162 | ||
bd3fb5b8 MF |
163 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
164 | ||
165 | * compile.c (H8300_OPTIONS): New enum from common/sim-options.c. | |
166 | (h8300_option_handler): New func from common/sim-options.c. | |
167 | (h8300_options): New options from common/sim-options.c. | |
168 | (sim_open): Call sim_add_option_table. | |
169 | * tconfig.h: Delete file. | |
170 | ||
8abe6c66 MF |
171 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
172 | ||
173 | * tconfig.h (SIM_HAVE_SIMCACHE): Delete. | |
174 | ||
c1fc4b4d MF |
175 | 2015-11-21 Mike Frysinger <vapier@gentoo.org> |
176 | ||
177 | * compile.c (sim_callback, sim_kind, myname): Delete. | |
178 | (init_pointers, sim_store_register, sim_fetch_register, sim_info): | |
179 | Change sim_callback->printf_filtered calls to sim_io_printf. | |
180 | (sim_resume): Likewise. Declare sim_callback. | |
181 | (sim_open): Delete sim_callback, sim_kind, and myname assignment. | |
182 | (sim_load); Use sd to look up myname, sim_callback, and sim_kind. | |
183 | ||
797eee42 MF |
184 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
185 | ||
186 | * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. | |
187 | ||
8ae8f9c3 MF |
188 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
189 | ||
190 | * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o. | |
191 | * compile.c (sim_stop, sim_stop_reason): Delete. | |
192 | ||
d2dfd242 MF |
193 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
194 | ||
195 | * Makefile.in (SIM_OBJS): Delete sim-load.o. | |
196 | ||
6e4f085c MF |
197 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
198 | ||
199 | * compile.c (sim_close): Delete. | |
200 | ||
5697b730 MF |
201 | 2015-11-09 Mike Frysinger <vapier@gentoo.org> |
202 | ||
203 | * compile.c (littleendian): Delete. | |
204 | (init_pointers): Delete littleendian usage. | |
205 | ||
8d0978fb MF |
206 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
207 | ||
208 | * configure: Regenerate. | |
209 | ||
a3487082 MF |
210 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
211 | ||
212 | * configure: Regenerate. | |
213 | ||
306f4178 MF |
214 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
215 | ||
216 | * configure: Regenerate. | |
217 | ||
20bca71d MF |
218 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
219 | ||
220 | * sim-main.h (SIM_CPU): Delete. | |
221 | ||
7e83aa92 MF |
222 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
223 | ||
224 | * sim-main.h (sim_cia): Delete. | |
225 | ||
034685f9 MF |
226 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
227 | ||
228 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
229 | ||
27b97b40 MF |
230 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
231 | ||
232 | * compile.c (h8300_pc_get, h8300_pc_set): New functions. | |
233 | (sim_open): Declare new local var i. Call CPU_PC_FETCH & | |
234 | CPU_PC_STORE for all cpus. | |
235 | * sim-main.h (SIM_CPU): Define. | |
236 | ||
78e9aa70 MF |
237 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
238 | ||
239 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
240 | * sim-main.h (STATE_CPU): Delete. | |
241 | ||
f95f4ed2 MF |
242 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
243 | ||
244 | * compile.c: Include sim-options.h. | |
245 | (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc. | |
246 | * sim-main.h (struct sim_state): Change cpu to an array of pointers. | |
247 | (STATE_CPU): Handle WITH_SMP. | |
248 | ||
bf12d44e MF |
249 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
250 | ||
251 | * configure: Regenerate. | |
252 | ||
122bbfb5 MF |
253 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
254 | ||
255 | * Makefile.in (SIM_OBJS): Delete sim-engine.o. | |
256 | ||
1a8faa2a MF |
257 | 2015-04-01 Mike Frysinger <vapier@gentoo.org> |
258 | ||
259 | * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS). | |
260 | ||
aadc9410 MF |
261 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
262 | ||
263 | * config.in, configure: Regenerate. | |
264 | ||
523ba8f9 MF |
265 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
266 | ||
267 | * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete. | |
268 | * tconfig.h (SIM_HAVE_PROFILE): Delete. | |
269 | ||
ae7d0cac MF |
270 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
271 | ||
272 | * config.in, configure: Regenerate. | |
273 | * tconfig.in: Rename file ... | |
274 | * tconfig.h: ... here. | |
275 | ||
465fb143 MF |
276 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
277 | ||
278 | * Makefile.in (SIM_RUN_OBJS): Delete. | |
279 | ||
5cddc23a MF |
280 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
281 | ||
282 | * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h. | |
283 | * aclocal.m4, configure: Regenerate. | |
284 | ||
2d7bb758 JB |
285 | 2014-12-03 Joel Brobecker <brobecker@adacore.com> |
286 | ||
287 | * compile.c (sim_resume): Adjust calls to "stat" and "fstat" | |
288 | callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks | |
289 | following renaming in callback.h. | |
290 | ||
2974be62 AM |
291 | 2014-08-19 Alan Modra <amodra@gmail.com> |
292 | ||
293 | * configure: Regenerate. | |
294 | ||
faa743bb RM |
295 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
296 | ||
297 | * configure: Regenerate. | |
298 | * config.in: Regenerate. | |
299 | ||
b2b255bd MF |
300 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
301 | ||
302 | * compile.c (sim_load): Add const to prog. | |
303 | ||
ef3e8cf7 MF |
304 | 2014-02-17 Mike Frysinger <vapier@gentoo.org> |
305 | ||
306 | PR gdb/16450 | |
307 | * compile.c (control_c_sim_desc): Delete. | |
308 | (control_c): Likewise. | |
309 | (sim_resume): Delete signal(SIGINT) handling. | |
310 | ||
bf3d9781 AM |
311 | 2013-09-23 Alan Modra <amodra@gmail.com> |
312 | ||
313 | * configure: Regenerate. | |
314 | ||
31e6ad7d MF |
315 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
316 | ||
317 | * aclocal.m4, configure: Regenerate. | |
318 | ||
5f3ef9d0 JB |
319 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
320 | ||
321 | * config.in, configure: Regenerate. | |
322 | ||
a6ff997c NC |
323 | 2012-05-18 Nick Clifton <nickc@redhat.com> |
324 | ||
325 | PR 14072 | |
326 | * compile.c: Include config.h before system header files. | |
327 | * sim-main.h: Likewise. | |
328 | ||
2232061b MF |
329 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
330 | ||
331 | * aclocal.m4, config.in, configure: Regenerate. | |
332 | ||
db2e4d67 MF |
333 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
334 | ||
335 | * aclocal.m4: New file. | |
336 | * configure: Regenerate. | |
337 | ||
9c082ca8 MF |
338 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
339 | ||
340 | * configure.ac: Change include to common/acinclude.m4. | |
341 | ||
6ffe910a MF |
342 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
343 | ||
344 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
345 | call. Replace common.m4 include with SIM_AC_COMMON. | |
346 | * configure: Regenerate. | |
347 | ||
2419798b MF |
348 | 2011-07-05 Mike Frysinger <vapier@gentoo.org> |
349 | ||
350 | * compile.c (sim_do_command): Delete. | |
351 | ||
dae477fe AB |
352 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
353 | ||
354 | * compile.c (sim_store_register): Update return value to | |
355 | match new API. | |
356 | ||
5558e7e6 MF |
357 | 2010-04-14 Mike Frysinger <vapier@gentoo.org> |
358 | ||
359 | * compile.c (sim_write): Add const to buffer arg. | |
360 | ||
3725885a RW |
361 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
362 | ||
363 | * configure: Regenerate. | |
364 | ||
3a6c31f9 YS |
365 | 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp> |
366 | * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc. | |
367 | Index registers not masked memory areas. | |
368 | Only simply increment or decrement. | |
369 | * compile.c(store_1): Ditto. | |
370 | ||
d6416cdc RW |
371 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
372 | ||
81ecdfbb RW |
373 | * config.in: Regenerate. |
374 | * configure: Likewise. | |
375 | ||
d6416cdc RW |
376 | * configure: Regenerate. |
377 | ||
c4212d37 JS |
378 | 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com> |
379 | ||
380 | * compile.c: Add const to remove warning. | |
381 | ||
b5bd9624 HPN |
382 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
383 | ||
384 | * configure: Regenerate to track ../common/common.m4 changes. | |
385 | * config.in: Ditto. | |
386 | ||
6efef468 | 387 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
72f4393d L |
388 | Daniel Jacobowitz <dan@codesourcery.com> |
389 | Joseph Myers <joseph@codesourcery.com> | |
6efef468 JM |
390 | |
391 | * configure: Regenerate. | |
392 | ||
917c78f9 DJ |
393 | 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp> |
394 | ||
395 | * compile.c (sim_resume): Fix the last byte of ARGV for | |
396 | SYS_CMDLINE. | |
397 | ||
edc5d9ec HPN |
398 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
399 | ||
400 | * acconfig.h: Remove. | |
401 | * config.in: Regenerate. | |
402 | ||
b86015ea YS |
403 | 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp> |
404 | ||
405 | * compile.c (OBITOP): Bit address mask low three bit. | |
406 | * compile.c (decode): Fix warning. | |
407 | ||
e85e3205 RE |
408 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
409 | ||
410 | * configure: Regenerated. | |
411 | ||
2f0122dc DJ |
412 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
413 | ||
414 | * configure: Regenerated. | |
415 | ||
20e95c23 DJ |
416 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
417 | ||
418 | * configure: Regenerated. | |
419 | ||
2b193c4a MK |
420 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
421 | ||
422 | * configure: Regenerate. | |
423 | ||
35695fd6 AC |
424 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
425 | ||
426 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
427 | explicit call to AC_CONFIG_HEADER. | |
428 | * configure: Regenerate. | |
429 | ||
f0569246 AC |
430 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
431 | ||
432 | * configure.ac: Update to use ../common/common.m4. | |
433 | * configure: Re-generate. | |
434 | ||
38f48d72 AC |
435 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
436 | ||
437 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
438 | ||
b7026657 AC |
439 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
440 | ||
441 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
442 | * configure: Re-generate. | |
443 | ||
379832de HPN |
444 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
445 | ||
446 | * configure: Regenerate for ../common/aclocal.m4 update. | |
447 | ||
e4d3c499 AO |
448 | 2004-06-28 Alexandre Oliva <aoliva@redhat.com> |
449 | ||
e073c474 AO |
450 | 2003-07-23 Richard Sandiford <rsandifo@redhat.com> |
451 | * compile.c (sim_resume): Make sure that dst.reg refers to the | |
452 | right register byte in mova/sz.l @(dd,RnL),ERn. | |
453 | 2003-07-21 Richard Sandiford <rsandifo@redhat.com> | |
454 | * compile.c (sim_resume): Zero-extend immediate to muls, mulsu, | |
455 | mulxs, divs and divxs. | |
456 | ||
e4d3c499 AO |
457 | * compile.c (sim_load): Update sd->memory_size. |
458 | ||
d6fd015d | 459 | 2004-06-10 Michael Snyder <msnyder@redhat.com> |
3973a7d3 | 460 | |
d6fd015d MS |
461 | Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>. |
462 | * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S. | |
463 | ||
3d29fdb4 MS |
464 | 2004-01-05 Michael Snyder <msnyder@redhat.com> |
465 | ||
466 | * compile.c (sim_load): Don't pass a type to bfd_openr. | |
467 | ||
f5d3df96 MS |
468 | 2003-12-16 Michael Snyder <msnyder@redhat.com> |
469 | ||
470 | Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com> | |
471 | * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits. | |
472 | ||
454d0511 DD |
473 | 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
474 | ||
72f4393d | 475 | * compile.c (set_h8300h): Initialize globals to zero. |
454d0511 | 476 | |
29b52f93 KH |
477 | 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com> |
478 | ||
479 | * compile.c (h8300_normal_mode): New. | |
480 | (SP): Handle normal mode. | |
481 | (bitfrom): Use normal mode flag to return suitable value. | |
482 | (lvalue): Use normal mode flag to return command line location. | |
483 | (decode): Decode instruction correctly for normal mode. | |
484 | (init_pointers): Initialise memory correctly for normal mode. | |
485 | (sim_resume): Handle cases for normal mode using h8300_normal_mode | |
486 | flag. | |
487 | (sim_store_register): Handle 2 byte PC for normal mode. | |
488 | (sim_fetch_register): Handle 2 byte PC for normal mode. | |
489 | (set_h8300h): Set normal mode flag as per architechture. | |
490 | (sim_load): Allocate 64K for normal mode instead of bigger memory. | |
491 | ||
f408565c MS |
492 | 2003-07-18 Michael Snyder <msnyder@redhat.com> |
493 | ||
494 | * compile.c (decode): Enhancements for mova. | |
495 | Initialize cst, reg, and rdisp inside the loop, for each | |
496 | new instruction. Defer correction of the disp2 values until | |
497 | later, and then adjust them by the size of the first operand, | |
498 | rather than the size of the instruction. | |
499 | (sim_resume): For mova, adjust the size of the second operand | |
500 | according to the type of the first operand (INDEXB vs. INDEXW). | |
501 | In cases where there is only one operand, the other two must | |
502 | both be composed on the fly. | |
503 | ||
e22fef83 MS |
504 | 2003-07-22 Michael Snyder <msnyder@redhat.com> |
505 | ||
506 | * compile.c (sim_resume): Revert 6-24 change, it does not | |
507 | work with gdb breakpoints. | |
508 | ||
0f42aa71 MS |
509 | 2003-07-17 Michael Snyder <msnyder@redhat.com> |
510 | ||
55acb21b MS |
511 | * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg. |
512 | (decode): IMM16 is always zero-extended. | |
0f42aa71 | 513 | |
f0861129 MS |
514 | 2003-06-24 Michael Snyder <msnyder@redhat.com> |
515 | ||
516 | * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define. | |
517 | * compile.c (sim_resume): Use the above to return stop signal. | |
518 | ||
9f70f8ec MS |
519 | 2003-06-18 Michael Snyder <msnyder@redhat.com> |
520 | ||
521 | * compile.c: Replace "Hitachi" with "Renesas". | |
522 | (decode): Distinguish AV_H8S from AV_H8H. | |
523 | (sim_resume): H8SX can use any register for TAS. | |
524 | (decode): Add support for VECIND. | |
525 | (sim_resume): Implement rte/l and rts/l. | |
526 | (GETSR): New macro (actually old macro reincarnated). | |
527 | (decode): Add handling for IMM2. | |
528 | (sim_resume): Drop extra block around jmp, jsr, rts. | |
529 | Add handling for trapa and rte. | |
530 | For divxu.b, change 0xffff mask to 0xff. | |
531 | (set_h8300h): Add bfd_mach_h8300sxn machine. | |
532 | ||
18ad32b5 MS |
533 | 2003-06-18 Corinna Vinschen <vinschen@redhat.com> |
534 | ||
535 | * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL | |
536 | and SBR, VBR. | |
537 | ||
173b1c98 MS |
538 | 2003-06-05 Michael Snyder <msnyder@redhat.com> |
539 | ||
540 | * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL. | |
541 | (sim_store_register): Ditto. | |
542 | ||
e8c1a4e7 MS |
543 | 2003-06-04 Michael Snyder <msnyder@redhat.com> |
544 | ||
545 | * compile.c (sim_info): Fix typo in output. | |
546 | ||
173b1c98 | 547 | * compile.c (set_h8300h): Replace 'flag' arguments |
27ebfdf4 MS |
548 | with a bfd_machine argument, and decode it inline. |
549 | Check for bfd_mach_h8300hn and bfd_mach_h8300sn. | |
550 | ||
dc5c3759 MS |
551 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
552 | ||
e8c1a4e7 MS |
553 | * compile.c: Add h8300sx insns and addressing modes. |
554 | * sim-main.h: Replaces h8300/inst.h. | |
555 | * Makefile.in: Tweak to bring in some sim/common stuff. | |
dc5c3759 | 556 | |
b7f97e9c MS |
557 | 2003-04-13 Michael Snyder <msnyder@redhat.com> |
558 | ||
559 | * compile.c (sim_resume): Implement 'daa' and 'das' instructions. | |
560 | ||
d1360fb0 V |
561 | 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com> |
562 | ||
72f4393d | 563 | * compile.c (cmdline_location): Added function to |
d1360fb0 V |
564 | return the location of 8-bit (256 locations) where the |
565 | Command Line arguments would be stored. | |
72f4393d | 566 | (decode): Added a TRAP to 0xcc for Commandline |
d1360fb0 V |
567 | processing using pseudo opcode O_SYS_CMDLINE. |
568 | (sim_resume): Added handling of O_SYS_CMDLINE Trap. | |
72f4393d | 569 | (sim_create_inferior): Setting a pointer to |
d1360fb0 V |
570 | Commandline Args array. |
571 | * inst.h: Added a new variable ptr_command_line for | |
572 | storing pointer to Commandline array. | |
573 | ||
bf174226 V |
574 | 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com> |
575 | ||
576 | * compile.c (decode): Added code for some more magic traps. | |
577 | * compile.c (sim_resume): Added support for File I/O system | |
578 | calls through callback to host_system. | |
579 | System calls provided support for : | |
580 | open, read, write, lseek, close, stat, fstat | |
581 | Only basic support for stat and fstat. | |
582 | ||
6b4a8935 AC |
583 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
584 | ||
585 | * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd. | |
586 | ||
ec38ce99 KH |
587 | 2003-02-05 Kazu Hirata <kazu@cs.umass.edu> |
588 | ||
589 | * compile.c (init_pointers): Abort if wreg never gets initialized. | |
590 | (sim_resume): Fix the handling of exts.w and extu.w. | |
591 | ||
ad4cda16 KH |
592 | 2003-01-31 Kazu Hirata <kazu@cs.umass.edu> |
593 | ||
594 | * compile.c (sim_resume): Fix the handling of bxor. | |
595 | ||
a4f27e3e MS |
596 | 2003-01-16 Michael Snyder <msnyder@redhat.com> |
597 | ||
598 | * compile.c: Change K&R function definitions to ISO. | |
599 | (fetch): Make static, and eliminate unused parameter 'n'. | |
600 | ||
d0fe2f7e KH |
601 | 2002-12-26 Kazu Hirata <kazu@cs.umass.edu> |
602 | ||
603 | * compile.c: Fix formatting. | |
604 | * inst.h: Likewise. | |
605 | ||
a64bfde3 AV |
606 | 2002-07-29 Andrey Volkov <avolkov@transas.com> |
607 | ||
608 | * compile.c: Include "gdb/sim-h8300.h" | |
609 | * Makefile.in: Add dependences on "inst.h", | |
610 | "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h". | |
611 | ||
c8cca39f AC |
612 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
613 | ||
614 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
615 | ||
3c25f8c7 AC |
616 | 2002-06-08 Andrew Cagney <cagney@redhat.com> |
617 | ||
618 | * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
619 | ||
d1335144 KH |
620 | 2002-05-19 Kazu Hirata <kazu@cs.umass.edu> |
621 | ||
622 | * compile.c: Fix formatting. | |
623 | ||
c3f4437e KH |
624 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
625 | ||
626 | * compile.c: Fix formatting. | |
627 | ||
6147b1f6 AV |
628 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
629 | ||
630 | * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS. | |
72f4393d | 631 | |
fc974602 AV |
632 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
633 | ||
634 | * compile.c: Add support of EXR register | |
635 | * inst.h: Ditto. | |
72f4393d | 636 | |
a8cdafbd AV |
637 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
638 | ||
639 | * compile.c: Made h8300s as new target, not h8300h alias. | |
640 | * inst.h: Ditto. | |
72f4393d | 641 | |
f6225c96 AV |
642 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
643 | ||
72f4393d | 644 | * compile.c: Add additional CCR flags (I,UI,H,U) |
f6225c96 | 645 | |
3b02cf92 AV |
646 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
647 | ||
72f4393d | 648 | * compile.c: Change literal regnumbers to REGNUMS. |
3b02cf92 AV |
649 | Fix instruction and cycles counting |
650 | ||
de9b1892 KH |
651 | 2001-12-20 Kazu Hirata <kazu@hxi.com> |
652 | ||
653 | * compile.c: Fix formatting. | |
654 | ||
2ea716f6 KH |
655 | 2001-12-20 Kazu Hirata <kazu@hxi.com> |
656 | ||
657 | * compile.c: Fix comment typos. | |
658 | ||
6d028502 KH |
659 | 2000-08-10 Kazu Hirata <kazu@hxi.com> |
660 | ||
661 | * compile.c (decode): Clean up the code. | |
662 | ||
0a17cd59 AC |
663 | 2000-06-15 Kazu Hirata <kazu@hxi.com> |
664 | ||
665 | * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs | |
666 | correctly. | |
667 | ||
97ee9e5a FCE |
668 | 2000-06-20 Frank Ch. Eigler <fche@redhat.com> |
669 | ||
670 | * compile.c: Don't include "wait.h". | |
671 | (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros | |
672 | instead of WIF* from host. | |
673 | ||
98ecb0a7 FCE |
674 | 2000-06-13 Frank Ch. Eigler <fche@redhat.com> |
675 | ||
676 | * compile.c, writecode.c: Correct typo. | |
677 | ||
0ef9643e JL |
678 | 2000-06-13 Kazu Hirata <kazu@hxi.com> |
679 | ||
680 | * compile.c: Fix formatting. | |
681 | ||
eb2d80b4 AC |
682 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
683 | ||
684 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
685 | ||
d4f3574e SS |
686 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> |
687 | ||
688 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
689 | ||
cd0fc7c3 SS |
690 | 1999-05-08 Felix Lee <flee@cygnus.com> |
691 | ||
692 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
72f4393d | 693 | |
7a292a7a SS |
694 | 1999-04-02 Keith Seitz <keiths@cygnus.com> |
695 | ||
696 | * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the | |
697 | frequency at which the poll_quit callback is used. | |
698 | (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value. | |
699 | ||
c906108c SS |
700 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> |
701 | ||
72f4393d | 702 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
c906108c SS |
703 | |
704 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
705 | ||
706 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
707 | * config.in: Ditto. | |
708 | ||
709 | Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com> | |
710 | ||
711 | * acconfig.h: New file. | |
712 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
713 | ||
714 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
715 | ||
716 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
717 | * config.in: Ditto. | |
718 | ||
719 | Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com> | |
720 | ||
721 | * configure.in: Don't call sinclude. | |
722 | ||
723 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
724 | ||
725 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
726 | ||
727 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
728 | ||
729 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
730 | ||
731 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
732 | ||
733 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
734 | ||
735 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
736 | ||
737 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
738 | ||
739 | Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
740 | ||
741 | * compile.c (sim_store_register, sim_fetch_register): Pass in | |
742 | length parameter. Return -1. | |
743 | ||
744 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
745 | ||
746 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
747 | ||
748 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
749 | ||
750 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
751 | ||
752 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> | |
753 | ||
754 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
755 | ||
756 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
757 | ||
758 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
759 | * config.in: Ditto. | |
760 | ||
761 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> | |
762 | ||
763 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
764 | ||
765 | Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com) | |
766 | ||
767 | * compile.c: #include stdio.h for definition of NULL on | |
768 | some platforms. | |
769 | ||
770 | Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
771 | ||
772 | * compile.c (sim_load): Pass lma_p and sim_write args to | |
773 | sim_load_file. | |
774 | ||
775 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
776 | ||
777 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
778 | ||
779 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
780 | ||
781 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
782 | ||
783 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
784 | ||
785 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
786 | ||
787 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
788 | ||
789 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
790 | ||
791 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
792 | ||
793 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
794 | ||
795 | Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
796 | ||
797 | * Makefile.in (compile.o): Depend on config.h in local directory. | |
798 | ||
799 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
800 | ||
801 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
802 | ||
803 | Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com> | |
804 | ||
805 | * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict | |
806 | with sim/common. | |
807 | * configure.in: check for sys/param.h | |
808 | * compile.c: #ifdef HAVE_SYS_PARAM_H. | |
809 | #define SIGTRAP for wingdb. | |
810 | (sim_resume): poll keyboard at least once per call. | |
811 | (sim_resume): use host_callback instead of printf for syscall | |
812 | output. | |
813 | ||
814 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
815 | ||
816 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
817 | ||
818 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
819 | ||
820 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
821 | * config.in: Ditto. | |
822 | ||
823 | Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
824 | ||
825 | * compile.c (sim_kill): Delete. | |
826 | (sim_create_inferior): Add ABFD argument. | |
827 | (sim_load): Move setting of PC from here. | |
828 | (sim_create_inferior): To here. | |
829 | (sim_open, sim_load, set_h8300h): Add fixme explaining why much of | |
830 | the sim_load code should be moved to sim_open. | |
831 | ||
832 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
833 | ||
834 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
835 | * config.in: Ditto. | |
836 | ||
837 | Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
838 | ||
839 | * compile.c (sim_open): Add ABFD argument. | |
840 | ||
841 | Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
842 | ||
843 | * compile.c (sim_open): Add callback argument. | |
844 | (sim_set_callbacks): Delete SIM_DESC argument. | |
845 | ||
846 | Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com> | |
847 | ||
848 | * compile.c (sim_load): Call bfd_get_mach instead of examining | |
849 | bfd fields directly. | |
850 | * tconfig.in (SIM_PRE_LOAD): Delete, no longer used. | |
851 | ||
852 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
853 | ||
854 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
855 | ||
856 | Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
857 | ||
858 | * compile.c (sim_resume): Use poll_quit callback. | |
859 | (sim_stop): New function. | |
860 | ||
861 | Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com> | |
862 | ||
863 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
864 | * compile.c (sim_kind, myname): New static locals. | |
865 | (sim_open): Set sim_kind, myname. | |
866 | (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h. | |
867 | Call sim_load_file to load file into simulator. Set start address | |
868 | from bfd. | |
869 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
870 | ||
871 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
872 | ||
873 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
874 | * config.in: Ditto. | |
875 | ||
876 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> | |
877 | ||
878 | * compile.c (sim_open): New arg `kind'. | |
879 | ||
880 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
881 | ||
882 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
883 | ||
884 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
885 | ||
886 | Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
887 | ||
888 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
889 | ||
890 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
891 | ||
892 | * configure: Re-generate. | |
893 | ||
894 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> | |
895 | ||
896 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
897 | ||
898 | Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com> | |
899 | ||
900 | * compile.c (sim_open): New SIM_DESC result. Argument is now in | |
901 | argv form. | |
902 | (other sim_*): New SIM_DESC argument. | |
903 | ||
904 | Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com> | |
905 | ||
906 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
907 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
908 | * configure.in: sinclude ../common/aclocal.m4. | |
909 | * configure: Regenerated. | |
910 | ||
911 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) | |
912 | ||
913 | * configure configure.in Makefile.in: Update to new configure | |
914 | scheme which is more compatible with WinGDB builds. | |
915 | * configure.in: Improve comment on how to run autoconf. | |
916 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
917 | * Makefile.in: Use autoconf substitution to install common | |
918 | makefile fragment. | |
919 | ||
920 | Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com> | |
921 | ||
922 | * Makefile.in: Delete stuff moved to ../common/Make-common.in. | |
923 | (SIM_OBJS): Define. | |
924 | * configure.in: Simplify using macros in ../common/aclocal.m4. | |
925 | * configure: Regenerated. | |
926 | * inst.h (enum sim_state): Define. | |
927 | (cpu_state_type): New member `state'. Set it whenever `exception' | |
928 | is set. | |
929 | * compile.c (sim_callback): New global. | |
930 | (sim_set_simcache_size): Renamed from sim_csize. | |
931 | (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out | |
932 | 'cus it can't work. Change main loop exit test to use cpu.state. | |
933 | (sim_trace): New function. | |
934 | (sim_stop_reason): Add right way to set results, but #if 0 out. | |
935 | (sim_size): New function. | |
936 | (sim_info): Redirect calls to printf_filtered through callback. | |
937 | (sim_set_callbacks): Record callback. | |
938 | * run.c: Deleted, using one in ../common now. | |
939 | * tconfig.in: New file. | |
940 | ||
941 | Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
942 | ||
943 | * Makefile.in (mostlyclean): Don't remove config.log here. | |
944 | ||
945 | Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com) | |
946 | ||
947 | * compile.c (sim_resume): rts, sleep, bpt and nop have | |
948 | no associated "size". | |
949 | ||
950 | Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com) | |
951 | ||
952 | * compile.c (sim_resume): Fix all rotate-by-2-bits insns. | |
953 | ||
954 | Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com) | |
955 | ||
956 | * run.c (main): Don't "load" sections which don't have | |
957 | SEC_LOAD set. | |
958 | * compile.c (sim_resume, case "O_NOT"): Use ONOT instead | |
959 | of OSHIFTS. | |
960 | (ONOT): Define. | |
961 | (sim_resume, shift/rotate cases): Add support for shift/rotate | |
962 | by two bits. | |
963 | (OSHIFTS): Corresponding changes. | |
964 | ||
965 | Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com) | |
966 | ||
967 | * compile.c (sim_resume): Handle "ldm.l" and "stm.l". | |
968 | ||
969 | Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com) | |
970 | ||
971 | * compile.c (h8300smode): Declare. | |
972 | ||
973 | Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
974 | ||
72f4393d L |
975 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, |
976 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
977 | (docdir): Removed. | |
978 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
979 | (AC_PROG_INSTALL): Added. | |
980 | * configure: Rebuilt. | |
c906108c SS |
981 | |
982 | Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com> | |
983 | ||
984 | * compile.c (sim_load): Treat the H8/S like the H8/300H for now. | |
985 | * run.c (main): Treat the H8/S like the H8/300H for now. | |
72f4393d | 986 | |
c906108c SS |
987 | Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com) |
988 | ||
989 | * compile.c (SEXTCHAR): Clear upper bits when sign | |
990 | bit is clear. | |
991 | ||
992 | Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com) | |
993 | ||
994 | * compile.c (sim_resume): Correctly handle divu. | |
995 | ||
996 | Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com) | |
997 | ||
998 | * compile.c (sim_resume): Never allow the PC to have an | |
999 | odd value. | |
1000 | ||
1001 | Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com) | |
1002 | ||
1003 | * inst.h: Expand on comments regarding H8300H_MSIZE. Note | |
1004 | separate memory is allocate for the 8-bit area. | |
1005 | (struct cpu_state_type): Add new "eightbit' field. | |
1006 | * compile.c (GET_MEMORY_L): Handle access into the 8-bit | |
1007 | area. | |
1008 | (GET_MEMORY_W, GET_MEMORY_B): Likewise. | |
1009 | (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise. | |
1010 | (init_pointers): Initialize space for the 8-bit area. | |
1011 | (sim_write): Handle writing into the 8-bit area. | |
1012 | (sim_read): Handle reading from the 8-bit area. | |
1013 | (sim_load): Reallocate space for the 8-bit area. | |
1014 | ||
1015 | * compile.c (sim_load): Re-allocate memory for the simulator | |
1016 | here. | |
1017 | ||
1018 | Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com) | |
1019 | ||
1020 | * compile.c (sim_resume): Fix and simplify overflow and carry | |
1021 | handling for 32bit ALU insns. | |
1022 | ||
1023 | Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com) | |
1024 | ||
1025 | * compile.c (sim_resume): Fix overflow checks for ALU insns. | |
1026 | ||
1027 | Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com) | |
1028 | ||
1029 | * compile.c (decode): Use "bit" to hold L_3 immediates instead | |
1030 | of holding them in "abs". Handle ABS8MEM memory references aka | |
1031 | 8-bit area. Replace ABSMOV references with ABS8MEM. | |
1032 | ||
1033 | Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com) | |
1034 | ||
1035 | * compile.c (fetch): Handle accesses to the exception/function | |
1036 | vectors. | |
1037 | ||
1038 | Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com> | |
1039 | ||
1040 | * compile.c: #include "wait.h". | |
1041 | (sim_resume, sleep insn): Check program exit status in r0. | |
1042 | (sim_resume, shift insns): Fix setting of overflow flag for shal. | |
1043 | * run.c: #include <signal.h>. | |
1044 | (main): Abort if program got SIGILL. | |
1045 | Print error message if argument is invalid. | |
1046 | (usage): Improve text. | |
1047 | ||
1048 | Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com> | |
1049 | ||
1050 | * configure: Regenerate with autoconf 2.7. | |
1051 | ||
1052 | Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com> | |
1053 | ||
1054 | * inst.h (MPOWER,MSIZE): Deleted. | |
1055 | (H8300{,H}_MSIZE): Define. | |
1056 | * compile.c (memory_size): New static global. | |
1057 | (init_pointers): Set memory size from one of H8300{,H}_MSIZE. | |
1058 | (sim_write,sim_read): Use memory_size. | |
1059 | ||
1060 | Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com> | |
1061 | ||
1062 | * compile.c (sim_set_callbacks): New. | |
1063 | ||
1064 | Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com> | |
1065 | ||
1066 | * Makefile.in (BISON): Remove macro. | |
1067 | ||
1068 | Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com> | |
1069 | ||
1070 | * Makefile.in (maintainer-clean): New synonym for realclean. | |
1071 | ||
1072 | Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com> | |
1073 | ||
1074 | * Makefile.in (install): Don't install in $(tooldir). | |
1075 | ||
1076 | * configure.in: Call AC_CONFIG_HEADER. Don't try to use | |
1077 | bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and | |
1078 | AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR. | |
1079 | Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if | |
1080 | creating config.h. | |
1081 | * configure: Rebuild. | |
1082 | * config.in: New file, created by autoheader. | |
1083 | * Makefile.in (AR): Define as @AR@. | |
1084 | (CC): New variable, defined as @CC@. | |
1085 | (CFLAGS): Define as @CFLAGS@. | |
1086 | (RANLIB): Define as @RANLIB@. | |
1087 | (HDEFINES, TDEFINES): New variables. | |
1088 | (@host_makefile_frag@): Remove. | |
1089 | (compile.o, run.o): Depend upon config.h. | |
1090 | (mostlyclean): Make the same as clean, not distclean. | |
1091 | (clean): Remove config.log. | |
1092 | (distclean): Remove config.h and stamp-h. | |
1093 | (Makefile): Don't depend upon @frags@. Just rebuild Makefile when | |
1094 | invoking config.status. | |
1095 | (config.h, stamp-h): New targets. | |
1096 | * compile.c: Include "config.h". Don't include <sys/times.h>. | |
1097 | Include <time.h> and <stdlib.h> if they exist. Don't include | |
1098 | "sysdep.h". | |
1099 | (get_now): Remove unused local b. | |
1100 | * run.c: Include "config.h". Include <stdlib.h> if it exists. | |
1101 | Don't include "sysdep.h". | |
1102 | * writecode.c: Don't include "bfd.h" or "sysdep.h". Include | |
1103 | <stdio.h>. | |
1104 | ||
1105 | Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com> | |
1106 | ||
1107 | * Update all FSF addresses except those in COPYING* files. | |
1108 | ||
1109 | Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1110 | ||
1111 | * Makefile.in (clean): Remove run. | |
1112 | (distclean): Remove Makefile. | |
1113 | ||
1114 | * h8300.mt: Removed. | |
1115 | ||
1116 | * Makefile.in, configure.in: converted to autoconf. | |
1117 | * configure: New file, generated with autconf 2.4. | |
1118 | ||
1119 | Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com> | |
1120 | ||
1121 | * compile.c (sim_do_command): New function. | |
1122 | ||
1123 | Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
1124 | ||
1125 | * compile.c (get_now): Don't do if win32. | |
1126 | (sim_resume): Poll in win32 too. | |
1127 | ||
1128 | Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
1129 | ||
1130 | * configure.in: Fix typo in last change. | |
1131 | ||
1132 | Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
1133 | ||
1134 | * run.c: parse arguments with getopt(). | |
1135 | ||
1136 | Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com> | |
1137 | ||
1138 | * configure.in: Use ../../bfd/hosts/std-host.h if specific | |
1139 | host unavailable. | |
1140 | ||
1141 | Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat> | |
1142 | ||
1143 | * compile.c (sim_resume): Initialize cpu.mask. | |
1144 | ||
1145 | Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
1146 | ||
1147 | * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes. | |
1148 | ||
1149 | Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com) | |
1150 | ||
1151 | * compile.c: #include "bfd.h". | |
1152 | (sim_*): Set result type to void where there isn't one. | |
1153 | (sim_resume, default case): Set cpu.exception to SIGILL. | |
1154 | (sim_trace): Delete. | |
1155 | (sim_set_pc): Delete. | |
1156 | (sim_info): Delete printf_fn arg, all callers changed. | |
1157 | Call printf_filtered. | |
1158 | (set_h8300h): New arg `flag', all callers changed. | |
1159 | (sim_close): New function. | |
1160 | (sim_load): New function. | |
1161 | (sim_create_inferior): Renamed from sim_set_args, all callers changed. | |
1162 | * run.c: #include <varargs.h>, "remote-sim.h". | |
1163 | (printf_filtered): New function. | |
1164 | ||
1165 | Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com) | |
1166 | ||
1167 | * compile.c (decode): Fix typo (16 bit branches). | |
1168 | (*): Some white space clean up. | |
1169 | ||
1170 | Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
1171 | ||
1172 | * compile.c (decode): Compile 16bit branches properly. | |
1173 | ||
1174 | Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
1175 | ||
1176 | * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc, | |
1177 | andc. Poll for interrupts. | |
1178 | ||
1179 | Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com) | |
1180 | ||
1181 | * compile.c: #include "ansidecl.h" for remote-sim.h. | |
1182 | ||
1183 | Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com) | |
1184 | ||
1185 | * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb | |
1186 | * compile.c: #include "remote-sim.h". | |
1187 | (sim_resume): New arg siggnal. | |
1188 | (sim_write): Use SIM_ADDR for type of arg addr. | |
1189 | Always return a value. | |
1190 | (sim_read): Ditto. | |
1191 | (sim_store_register): Result is type int. | |
1192 | (sim_fetch_register): Ditto. | |
1193 | (sim_stop_reason): Renamed from sim_stop_signal. | |
1194 | (sim_set_pc): Use SIM_ADDR for type of arg pc. | |
1195 | (sim_info): int result, new arg printf_fn. | |
1196 | (sim_kill): int result. | |
1197 | (sim_open): int result, new arg name. | |
1198 | * run.c (main): Use sim_set_pc to set pc. | |
1199 | Update call to sim_info. | |
1200 | ||
1201 | Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com) | |
1202 | ||
1203 | * compile.c (sim_stop_signal): Result is now enum sim_stop. | |
1204 | ||
1205 | Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com) | |
1206 | ||
1207 | * compile.c (sim_kill, sim_open, sim_set_args): New functions. | |
1208 | ||
1209 | Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1210 | ||
1211 | * compile.c (sim_set_pc): Write to the pc direcly. | |
1212 | (sim_store_register): Now value is passed by reference. (sim_read, | |
1213 | sim_write): Return number of bytes copied. | |
1214 | ||
1215 | Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1216 | ||
1217 | * compile.c (mop): New function to do multiplies. | |
1218 | ||
1219 | Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com) | |
1220 | ||
1221 | * compile.c (sim_resume): Add support for nop insn. | |
1222 | ||
1223 | Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com) | |
1224 | ||
1225 | * compile.c: Reset HMODE back to zero (accidently set it to 1). | |
1226 | ||
1227 | * run.c (main): If h8/300h binary detected, call set_h8300h. | |
1228 | * compile.c (sim_resume): Fix O_NEG insn. | |
1229 | ||
1230 | Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com) | |
1231 | ||
1232 | * run.c (main): Add -h flag to enable h8/300h emulation. | |
1233 | * compile.c: Rename Hmode to HMODE (consistency with gdb). | |
1234 | (set_h8300h): New function. | |
1235 | (sim_resume): Add support for extu,exts insns. | |
1236 | (sim_resume): Fix logical right shifting. | |
1237 | (sim_resume, label alu32): Fix setting of carry flag. | |
72f4393d | 1238 | |
c906108c SS |
1239 | Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com) |
1240 | ||
1241 | * compile.c (sim_csize): Initialize cpu.cache. | |
1242 | ||
1243 | Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com) | |
1244 | ||
1245 | * Makefile.in: Add -I../../bfd to pick up bfd.h. | |
1246 | ||
1247 | Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com) | |
1248 | ||
1249 | * run.c (main): Fix parsing of args. | |
1250 | ||
1251 | * compile.c (sim_resume): Fix shll insn. | |
1252 | ||
1253 | Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
1254 | ||
1255 | * compile.c: New file, supports H8/300H. | |
1256 | * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete. | |
1257 | ||
1258 | Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
1259 | ||
1260 | * run.c (main): Add -v to print info. | |
1261 | * p3.c (sim_info): New function. | |
1262 | ||
1263 | Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com) | |
1264 | ||
1265 | * h8300.mt (DO_INSTALL): Renamed from INSTALL. | |
1266 | ||
1267 | Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com) | |
1268 | ||
1269 | * Makefile.in: Don't use cb or indent | |
1270 | * p1.c, state.h, writecode.c: lint | |
1271 | ||
1272 | Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com) | |
1273 | ||
1274 | * Makefile.in: Make SunOS halfdone VPATH work. | |
1275 | * p1.c: Lint picked up by HP native compiler. | |
1276 | ||
1277 | Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com) | |
1278 | ||
1279 | * p1.c (sim_resume): when running on dos, any character typed to | |
1280 | the keyboard will cause a simulated exception. | |
1281 | ||
1282 | Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
1283 | ||
1284 | * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and | |
1285 | running | |
1286 | ||
1287 | Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
1288 | ||
72f4393d | 1289 | * new |
c906108c | 1290 |