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