]>
Commit | Line | Data |
---|---|---|
18ad32b5 MS |
1 | 2003-06-18 Corinna Vinschen <vinschen@redhat.com> |
2 | ||
3 | * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL | |
4 | and SBR, VBR. | |
5 | ||
173b1c98 MS |
6 | 2003-06-05 Michael Snyder <msnyder@redhat.com> |
7 | ||
8 | * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL. | |
9 | (sim_store_register): Ditto. | |
10 | ||
e8c1a4e7 MS |
11 | 2003-06-04 Michael Snyder <msnyder@redhat.com> |
12 | ||
13 | * compile.c (sim_info): Fix typo in output. | |
14 | ||
173b1c98 | 15 | * compile.c (set_h8300h): Replace 'flag' arguments |
27ebfdf4 MS |
16 | with a bfd_machine argument, and decode it inline. |
17 | Check for bfd_mach_h8300hn and bfd_mach_h8300sn. | |
18 | ||
dc5c3759 MS |
19 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
20 | ||
e8c1a4e7 MS |
21 | * compile.c: Add h8300sx insns and addressing modes. |
22 | * sim-main.h: Replaces h8300/inst.h. | |
23 | * Makefile.in: Tweak to bring in some sim/common stuff. | |
dc5c3759 | 24 | |
b7f97e9c MS |
25 | 2003-04-13 Michael Snyder <msnyder@redhat.com> |
26 | ||
27 | * compile.c (sim_resume): Implement 'daa' and 'das' instructions. | |
28 | ||
d1360fb0 V |
29 | 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com> |
30 | ||
31 | * compile.c (cmdline_location): Added function to | |
32 | return the location of 8-bit (256 locations) where the | |
33 | Command Line arguments would be stored. | |
34 | (decode): Added a TRAP to 0xcc for Commandline | |
35 | processing using pseudo opcode O_SYS_CMDLINE. | |
36 | (sim_resume): Added handling of O_SYS_CMDLINE Trap. | |
37 | (sim_create_inferior): Setting a pointer to | |
38 | Commandline Args array. | |
39 | * inst.h: Added a new variable ptr_command_line for | |
40 | storing pointer to Commandline array. | |
41 | ||
bf174226 V |
42 | 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com> |
43 | ||
44 | * compile.c (decode): Added code for some more magic traps. | |
45 | * compile.c (sim_resume): Added support for File I/O system | |
46 | calls through callback to host_system. | |
47 | System calls provided support for : | |
48 | open, read, write, lseek, close, stat, fstat | |
49 | Only basic support for stat and fstat. | |
50 | ||
6b4a8935 AC |
51 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
52 | ||
53 | * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd. | |
54 | ||
ec38ce99 KH |
55 | 2003-02-05 Kazu Hirata <kazu@cs.umass.edu> |
56 | ||
57 | * compile.c (init_pointers): Abort if wreg never gets initialized. | |
58 | (sim_resume): Fix the handling of exts.w and extu.w. | |
59 | ||
ad4cda16 KH |
60 | 2003-01-31 Kazu Hirata <kazu@cs.umass.edu> |
61 | ||
62 | * compile.c (sim_resume): Fix the handling of bxor. | |
63 | ||
a4f27e3e MS |
64 | 2003-01-16 Michael Snyder <msnyder@redhat.com> |
65 | ||
66 | * compile.c: Change K&R function definitions to ISO. | |
67 | (fetch): Make static, and eliminate unused parameter 'n'. | |
68 | ||
d0fe2f7e KH |
69 | 2002-12-26 Kazu Hirata <kazu@cs.umass.edu> |
70 | ||
71 | * compile.c: Fix formatting. | |
72 | * inst.h: Likewise. | |
73 | ||
a64bfde3 AV |
74 | 2002-07-29 Andrey Volkov <avolkov@transas.com> |
75 | ||
76 | * compile.c: Include "gdb/sim-h8300.h" | |
77 | * Makefile.in: Add dependences on "inst.h", | |
78 | "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h". | |
79 | ||
c8cca39f AC |
80 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
81 | ||
82 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
83 | ||
3c25f8c7 AC |
84 | 2002-06-08 Andrew Cagney <cagney@redhat.com> |
85 | ||
86 | * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
87 | ||
d1335144 KH |
88 | 2002-05-19 Kazu Hirata <kazu@cs.umass.edu> |
89 | ||
90 | * compile.c: Fix formatting. | |
91 | ||
c3f4437e KH |
92 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
93 | ||
94 | * compile.c: Fix formatting. | |
95 | ||
6147b1f6 AV |
96 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
97 | ||
98 | * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS. | |
99 | ||
fc974602 AV |
100 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
101 | ||
102 | * compile.c: Add support of EXR register | |
103 | * inst.h: Ditto. | |
104 | ||
a8cdafbd AV |
105 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
106 | ||
107 | * compile.c: Made h8300s as new target, not h8300h alias. | |
108 | * inst.h: Ditto. | |
109 | ||
f6225c96 AV |
110 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
111 | ||
112 | * compile.c: Add additional CCR flags (I,UI,H,U) | |
113 | ||
3b02cf92 AV |
114 | 2002-05-17 Andrey Volkov (avolkov@transas.com) |
115 | ||
116 | * compile.c: Change literal regnumbers to REGNUMS. | |
117 | Fix instruction and cycles counting | |
118 | ||
de9b1892 KH |
119 | 2001-12-20 Kazu Hirata <kazu@hxi.com> |
120 | ||
121 | * compile.c: Fix formatting. | |
122 | ||
2ea716f6 KH |
123 | 2001-12-20 Kazu Hirata <kazu@hxi.com> |
124 | ||
125 | * compile.c: Fix comment typos. | |
126 | ||
6d028502 KH |
127 | 2000-08-10 Kazu Hirata <kazu@hxi.com> |
128 | ||
129 | * compile.c (decode): Clean up the code. | |
130 | ||
0a17cd59 AC |
131 | 2000-06-15 Kazu Hirata <kazu@hxi.com> |
132 | ||
133 | * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs | |
134 | correctly. | |
135 | ||
97ee9e5a FCE |
136 | 2000-06-20 Frank Ch. Eigler <fche@redhat.com> |
137 | ||
138 | * compile.c: Don't include "wait.h". | |
139 | (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros | |
140 | instead of WIF* from host. | |
141 | ||
98ecb0a7 FCE |
142 | 2000-06-13 Frank Ch. Eigler <fche@redhat.com> |
143 | ||
144 | * compile.c, writecode.c: Correct typo. | |
145 | ||
0ef9643e JL |
146 | 2000-06-13 Kazu Hirata <kazu@hxi.com> |
147 | ||
148 | * compile.c: Fix formatting. | |
149 | ||
eb2d80b4 AC |
150 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
151 | ||
152 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
153 | ||
d4f3574e SS |
154 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> |
155 | ||
156 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
157 | ||
cd0fc7c3 SS |
158 | 1999-05-08 Felix Lee <flee@cygnus.com> |
159 | ||
160 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
161 | ||
7a292a7a SS |
162 | 1999-04-02 Keith Seitz <keiths@cygnus.com> |
163 | ||
164 | * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the | |
165 | frequency at which the poll_quit callback is used. | |
166 | (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value. | |
167 | ||
c906108c SS |
168 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> |
169 | ||
170 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
171 | ||
172 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
173 | ||
174 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
175 | * config.in: Ditto. | |
176 | ||
177 | Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com> | |
178 | ||
179 | * acconfig.h: New file. | |
180 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
181 | ||
182 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
183 | ||
184 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
185 | * config.in: Ditto. | |
186 | ||
187 | Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com> | |
188 | ||
189 | * configure.in: Don't call sinclude. | |
190 | ||
191 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
192 | ||
193 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
194 | ||
195 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
196 | ||
197 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
198 | ||
199 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
200 | ||
201 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
202 | ||
203 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
204 | ||
205 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
206 | ||
207 | Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
208 | ||
209 | * compile.c (sim_store_register, sim_fetch_register): Pass in | |
210 | length parameter. Return -1. | |
211 | ||
212 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
213 | ||
214 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
215 | ||
216 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
217 | ||
218 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
219 | ||
220 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> | |
221 | ||
222 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
223 | ||
224 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
225 | ||
226 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
227 | * config.in: Ditto. | |
228 | ||
229 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> | |
230 | ||
231 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
232 | ||
233 | Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com) | |
234 | ||
235 | * compile.c: #include stdio.h for definition of NULL on | |
236 | some platforms. | |
237 | ||
238 | Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
239 | ||
240 | * compile.c (sim_load): Pass lma_p and sim_write args to | |
241 | sim_load_file. | |
242 | ||
243 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
244 | ||
245 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
246 | ||
247 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
248 | ||
249 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
250 | ||
251 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
252 | ||
253 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
254 | ||
255 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
256 | ||
257 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
258 | ||
259 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
260 | ||
261 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
262 | ||
263 | Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
264 | ||
265 | * Makefile.in (compile.o): Depend on config.h in local directory. | |
266 | ||
267 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
268 | ||
269 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
270 | ||
271 | Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com> | |
272 | ||
273 | * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict | |
274 | with sim/common. | |
275 | * configure.in: check for sys/param.h | |
276 | * compile.c: #ifdef HAVE_SYS_PARAM_H. | |
277 | #define SIGTRAP for wingdb. | |
278 | (sim_resume): poll keyboard at least once per call. | |
279 | (sim_resume): use host_callback instead of printf for syscall | |
280 | output. | |
281 | ||
282 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
283 | ||
284 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
285 | ||
286 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
287 | ||
288 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
289 | * config.in: Ditto. | |
290 | ||
291 | Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
292 | ||
293 | * compile.c (sim_kill): Delete. | |
294 | (sim_create_inferior): Add ABFD argument. | |
295 | (sim_load): Move setting of PC from here. | |
296 | (sim_create_inferior): To here. | |
297 | (sim_open, sim_load, set_h8300h): Add fixme explaining why much of | |
298 | the sim_load code should be moved to sim_open. | |
299 | ||
300 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
301 | ||
302 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
303 | * config.in: Ditto. | |
304 | ||
305 | Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
306 | ||
307 | * compile.c (sim_open): Add ABFD argument. | |
308 | ||
309 | Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
310 | ||
311 | * compile.c (sim_open): Add callback argument. | |
312 | (sim_set_callbacks): Delete SIM_DESC argument. | |
313 | ||
314 | Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com> | |
315 | ||
316 | * compile.c (sim_load): Call bfd_get_mach instead of examining | |
317 | bfd fields directly. | |
318 | * tconfig.in (SIM_PRE_LOAD): Delete, no longer used. | |
319 | ||
320 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
321 | ||
322 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
323 | ||
324 | Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
325 | ||
326 | * compile.c (sim_resume): Use poll_quit callback. | |
327 | (sim_stop): New function. | |
328 | ||
329 | Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com> | |
330 | ||
331 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
332 | * compile.c (sim_kind, myname): New static locals. | |
333 | (sim_open): Set sim_kind, myname. | |
334 | (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h. | |
335 | Call sim_load_file to load file into simulator. Set start address | |
336 | from bfd. | |
337 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
338 | ||
339 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
340 | ||
341 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
342 | * config.in: Ditto. | |
343 | ||
344 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> | |
345 | ||
346 | * compile.c (sim_open): New arg `kind'. | |
347 | ||
348 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
349 | ||
350 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
351 | ||
352 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
353 | ||
354 | Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
355 | ||
356 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
357 | ||
358 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
359 | ||
360 | * configure: Re-generate. | |
361 | ||
362 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> | |
363 | ||
364 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
365 | ||
366 | Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com> | |
367 | ||
368 | * compile.c (sim_open): New SIM_DESC result. Argument is now in | |
369 | argv form. | |
370 | (other sim_*): New SIM_DESC argument. | |
371 | ||
372 | Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com> | |
373 | ||
374 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
375 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
376 | * configure.in: sinclude ../common/aclocal.m4. | |
377 | * configure: Regenerated. | |
378 | ||
379 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) | |
380 | ||
381 | * configure configure.in Makefile.in: Update to new configure | |
382 | scheme which is more compatible with WinGDB builds. | |
383 | * configure.in: Improve comment on how to run autoconf. | |
384 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
385 | * Makefile.in: Use autoconf substitution to install common | |
386 | makefile fragment. | |
387 | ||
388 | Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com> | |
389 | ||
390 | * Makefile.in: Delete stuff moved to ../common/Make-common.in. | |
391 | (SIM_OBJS): Define. | |
392 | * configure.in: Simplify using macros in ../common/aclocal.m4. | |
393 | * configure: Regenerated. | |
394 | * inst.h (enum sim_state): Define. | |
395 | (cpu_state_type): New member `state'. Set it whenever `exception' | |
396 | is set. | |
397 | * compile.c (sim_callback): New global. | |
398 | (sim_set_simcache_size): Renamed from sim_csize. | |
399 | (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out | |
400 | 'cus it can't work. Change main loop exit test to use cpu.state. | |
401 | (sim_trace): New function. | |
402 | (sim_stop_reason): Add right way to set results, but #if 0 out. | |
403 | (sim_size): New function. | |
404 | (sim_info): Redirect calls to printf_filtered through callback. | |
405 | (sim_set_callbacks): Record callback. | |
406 | * run.c: Deleted, using one in ../common now. | |
407 | * tconfig.in: New file. | |
408 | ||
409 | Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
410 | ||
411 | * Makefile.in (mostlyclean): Don't remove config.log here. | |
412 | ||
413 | Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com) | |
414 | ||
415 | * compile.c (sim_resume): rts, sleep, bpt and nop have | |
416 | no associated "size". | |
417 | ||
418 | Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com) | |
419 | ||
420 | * compile.c (sim_resume): Fix all rotate-by-2-bits insns. | |
421 | ||
422 | Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com) | |
423 | ||
424 | * run.c (main): Don't "load" sections which don't have | |
425 | SEC_LOAD set. | |
426 | * compile.c (sim_resume, case "O_NOT"): Use ONOT instead | |
427 | of OSHIFTS. | |
428 | (ONOT): Define. | |
429 | (sim_resume, shift/rotate cases): Add support for shift/rotate | |
430 | by two bits. | |
431 | (OSHIFTS): Corresponding changes. | |
432 | ||
433 | Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com) | |
434 | ||
435 | * compile.c (sim_resume): Handle "ldm.l" and "stm.l". | |
436 | ||
437 | Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com) | |
438 | ||
439 | * compile.c (h8300smode): Declare. | |
440 | ||
441 | Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
442 | ||
443 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, | |
444 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
445 | (docdir): Removed. | |
446 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
447 | (AC_PROG_INSTALL): Added. | |
448 | * configure: Rebuilt. | |
449 | ||
450 | Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com> | |
451 | ||
452 | * compile.c (sim_load): Treat the H8/S like the H8/300H for now. | |
453 | * run.c (main): Treat the H8/S like the H8/300H for now. | |
454 | ||
455 | Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com) | |
456 | ||
457 | * compile.c (SEXTCHAR): Clear upper bits when sign | |
458 | bit is clear. | |
459 | ||
460 | Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com) | |
461 | ||
462 | * compile.c (sim_resume): Correctly handle divu. | |
463 | ||
464 | Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com) | |
465 | ||
466 | * compile.c (sim_resume): Never allow the PC to have an | |
467 | odd value. | |
468 | ||
469 | Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com) | |
470 | ||
471 | * inst.h: Expand on comments regarding H8300H_MSIZE. Note | |
472 | separate memory is allocate for the 8-bit area. | |
473 | (struct cpu_state_type): Add new "eightbit' field. | |
474 | * compile.c (GET_MEMORY_L): Handle access into the 8-bit | |
475 | area. | |
476 | (GET_MEMORY_W, GET_MEMORY_B): Likewise. | |
477 | (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise. | |
478 | (init_pointers): Initialize space for the 8-bit area. | |
479 | (sim_write): Handle writing into the 8-bit area. | |
480 | (sim_read): Handle reading from the 8-bit area. | |
481 | (sim_load): Reallocate space for the 8-bit area. | |
482 | ||
483 | * compile.c (sim_load): Re-allocate memory for the simulator | |
484 | here. | |
485 | ||
486 | Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com) | |
487 | ||
488 | * compile.c (sim_resume): Fix and simplify overflow and carry | |
489 | handling for 32bit ALU insns. | |
490 | ||
491 | Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com) | |
492 | ||
493 | * compile.c (sim_resume): Fix overflow checks for ALU insns. | |
494 | ||
495 | Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com) | |
496 | ||
497 | * compile.c (decode): Use "bit" to hold L_3 immediates instead | |
498 | of holding them in "abs". Handle ABS8MEM memory references aka | |
499 | 8-bit area. Replace ABSMOV references with ABS8MEM. | |
500 | ||
501 | Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com) | |
502 | ||
503 | * compile.c (fetch): Handle accesses to the exception/function | |
504 | vectors. | |
505 | ||
506 | Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com> | |
507 | ||
508 | * compile.c: #include "wait.h". | |
509 | (sim_resume, sleep insn): Check program exit status in r0. | |
510 | (sim_resume, shift insns): Fix setting of overflow flag for shal. | |
511 | * run.c: #include <signal.h>. | |
512 | (main): Abort if program got SIGILL. | |
513 | Print error message if argument is invalid. | |
514 | (usage): Improve text. | |
515 | ||
516 | Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com> | |
517 | ||
518 | * configure: Regenerate with autoconf 2.7. | |
519 | ||
520 | Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com> | |
521 | ||
522 | * inst.h (MPOWER,MSIZE): Deleted. | |
523 | (H8300{,H}_MSIZE): Define. | |
524 | * compile.c (memory_size): New static global. | |
525 | (init_pointers): Set memory size from one of H8300{,H}_MSIZE. | |
526 | (sim_write,sim_read): Use memory_size. | |
527 | ||
528 | Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com> | |
529 | ||
530 | * compile.c (sim_set_callbacks): New. | |
531 | ||
532 | Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com> | |
533 | ||
534 | * Makefile.in (BISON): Remove macro. | |
535 | ||
536 | Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com> | |
537 | ||
538 | * Makefile.in (maintainer-clean): New synonym for realclean. | |
539 | ||
540 | Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com> | |
541 | ||
542 | * Makefile.in (install): Don't install in $(tooldir). | |
543 | ||
544 | * configure.in: Call AC_CONFIG_HEADER. Don't try to use | |
545 | bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and | |
546 | AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR. | |
547 | Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if | |
548 | creating config.h. | |
549 | * configure: Rebuild. | |
550 | * config.in: New file, created by autoheader. | |
551 | * Makefile.in (AR): Define as @AR@. | |
552 | (CC): New variable, defined as @CC@. | |
553 | (CFLAGS): Define as @CFLAGS@. | |
554 | (RANLIB): Define as @RANLIB@. | |
555 | (HDEFINES, TDEFINES): New variables. | |
556 | (@host_makefile_frag@): Remove. | |
557 | (compile.o, run.o): Depend upon config.h. | |
558 | (mostlyclean): Make the same as clean, not distclean. | |
559 | (clean): Remove config.log. | |
560 | (distclean): Remove config.h and stamp-h. | |
561 | (Makefile): Don't depend upon @frags@. Just rebuild Makefile when | |
562 | invoking config.status. | |
563 | (config.h, stamp-h): New targets. | |
564 | * compile.c: Include "config.h". Don't include <sys/times.h>. | |
565 | Include <time.h> and <stdlib.h> if they exist. Don't include | |
566 | "sysdep.h". | |
567 | (get_now): Remove unused local b. | |
568 | * run.c: Include "config.h". Include <stdlib.h> if it exists. | |
569 | Don't include "sysdep.h". | |
570 | * writecode.c: Don't include "bfd.h" or "sysdep.h". Include | |
571 | <stdio.h>. | |
572 | ||
573 | Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com> | |
574 | ||
575 | * Update all FSF addresses except those in COPYING* files. | |
576 | ||
577 | Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
578 | ||
579 | * Makefile.in (clean): Remove run. | |
580 | (distclean): Remove Makefile. | |
581 | ||
582 | * h8300.mt: Removed. | |
583 | ||
584 | * Makefile.in, configure.in: converted to autoconf. | |
585 | * configure: New file, generated with autconf 2.4. | |
586 | ||
587 | Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com> | |
588 | ||
589 | * compile.c (sim_do_command): New function. | |
590 | ||
591 | Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
592 | ||
593 | * compile.c (get_now): Don't do if win32. | |
594 | (sim_resume): Poll in win32 too. | |
595 | ||
596 | Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
597 | ||
598 | * configure.in: Fix typo in last change. | |
599 | ||
600 | Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
601 | ||
602 | * run.c: parse arguments with getopt(). | |
603 | ||
604 | Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com> | |
605 | ||
606 | * configure.in: Use ../../bfd/hosts/std-host.h if specific | |
607 | host unavailable. | |
608 | ||
609 | Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat> | |
610 | ||
611 | * compile.c (sim_resume): Initialize cpu.mask. | |
612 | ||
613 | Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
614 | ||
615 | * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes. | |
616 | ||
617 | Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com) | |
618 | ||
619 | * compile.c: #include "bfd.h". | |
620 | (sim_*): Set result type to void where there isn't one. | |
621 | (sim_resume, default case): Set cpu.exception to SIGILL. | |
622 | (sim_trace): Delete. | |
623 | (sim_set_pc): Delete. | |
624 | (sim_info): Delete printf_fn arg, all callers changed. | |
625 | Call printf_filtered. | |
626 | (set_h8300h): New arg `flag', all callers changed. | |
627 | (sim_close): New function. | |
628 | (sim_load): New function. | |
629 | (sim_create_inferior): Renamed from sim_set_args, all callers changed. | |
630 | * run.c: #include <varargs.h>, "remote-sim.h". | |
631 | (printf_filtered): New function. | |
632 | ||
633 | Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com) | |
634 | ||
635 | * compile.c (decode): Fix typo (16 bit branches). | |
636 | (*): Some white space clean up. | |
637 | ||
638 | Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
639 | ||
640 | * compile.c (decode): Compile 16bit branches properly. | |
641 | ||
642 | Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
643 | ||
644 | * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc, | |
645 | andc. Poll for interrupts. | |
646 | ||
647 | Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com) | |
648 | ||
649 | * compile.c: #include "ansidecl.h" for remote-sim.h. | |
650 | ||
651 | Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com) | |
652 | ||
653 | * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb | |
654 | * compile.c: #include "remote-sim.h". | |
655 | (sim_resume): New arg siggnal. | |
656 | (sim_write): Use SIM_ADDR for type of arg addr. | |
657 | Always return a value. | |
658 | (sim_read): Ditto. | |
659 | (sim_store_register): Result is type int. | |
660 | (sim_fetch_register): Ditto. | |
661 | (sim_stop_reason): Renamed from sim_stop_signal. | |
662 | (sim_set_pc): Use SIM_ADDR for type of arg pc. | |
663 | (sim_info): int result, new arg printf_fn. | |
664 | (sim_kill): int result. | |
665 | (sim_open): int result, new arg name. | |
666 | * run.c (main): Use sim_set_pc to set pc. | |
667 | Update call to sim_info. | |
668 | ||
669 | Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com) | |
670 | ||
671 | * compile.c (sim_stop_signal): Result is now enum sim_stop. | |
672 | ||
673 | Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com) | |
674 | ||
675 | * compile.c (sim_kill, sim_open, sim_set_args): New functions. | |
676 | ||
677 | Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
678 | ||
679 | * compile.c (sim_set_pc): Write to the pc direcly. | |
680 | (sim_store_register): Now value is passed by reference. (sim_read, | |
681 | sim_write): Return number of bytes copied. | |
682 | ||
683 | Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
684 | ||
685 | * compile.c (mop): New function to do multiplies. | |
686 | ||
687 | Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com) | |
688 | ||
689 | * compile.c (sim_resume): Add support for nop insn. | |
690 | ||
691 | Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com) | |
692 | ||
693 | * compile.c: Reset HMODE back to zero (accidently set it to 1). | |
694 | ||
695 | * run.c (main): If h8/300h binary detected, call set_h8300h. | |
696 | * compile.c (sim_resume): Fix O_NEG insn. | |
697 | ||
698 | Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com) | |
699 | ||
700 | * run.c (main): Add -h flag to enable h8/300h emulation. | |
701 | * compile.c: Rename Hmode to HMODE (consistency with gdb). | |
702 | (set_h8300h): New function. | |
703 | (sim_resume): Add support for extu,exts insns. | |
704 | (sim_resume): Fix logical right shifting. | |
705 | (sim_resume, label alu32): Fix setting of carry flag. | |
706 | ||
707 | Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com) | |
708 | ||
709 | * compile.c (sim_csize): Initialize cpu.cache. | |
710 | ||
711 | Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com) | |
712 | ||
713 | * Makefile.in: Add -I../../bfd to pick up bfd.h. | |
714 | ||
715 | Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com) | |
716 | ||
717 | * run.c (main): Fix parsing of args. | |
718 | ||
719 | * compile.c (sim_resume): Fix shll insn. | |
720 | ||
721 | Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
722 | ||
723 | * compile.c: New file, supports H8/300H. | |
724 | * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete. | |
725 | ||
726 | Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
727 | ||
728 | * run.c (main): Add -v to print info. | |
729 | * p3.c (sim_info): New function. | |
730 | ||
731 | Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com) | |
732 | ||
733 | * h8300.mt (DO_INSTALL): Renamed from INSTALL. | |
734 | ||
735 | Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com) | |
736 | ||
737 | * Makefile.in: Don't use cb or indent | |
738 | * p1.c, state.h, writecode.c: lint | |
739 | ||
740 | Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com) | |
741 | ||
742 | * Makefile.in: Make SunOS halfdone VPATH work. | |
743 | * p1.c: Lint picked up by HP native compiler. | |
744 | ||
745 | Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com) | |
746 | ||
747 | * p1.c (sim_resume): when running on dos, any character typed to | |
748 | the keyboard will cause a simulated exception. | |
749 | ||
750 | Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
751 | ||
752 | * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and | |
753 | running | |
754 | ||
755 | Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
756 | ||
757 | * new | |
758 |