1 2002-06-09 Andrew Cagney <cagney@redhat.com>
3 * iface.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
6 2002-06-06 Andrew Cagney <ac131313@redhat.com>
8 * writecode.c (lookup_inst): Generate inverse table on-the-fly.
9 (z8k_inv_list): Delete global.
10 (DIRTY_HACK): Delete macro.
11 (makelist): Delete global.
12 (main): Delete code making a list. Delete dirty hack code. Use
13 lookup_inst instead of z8k_inv_list.
14 * list.c: Delete file.
15 * Makefile.in (writecode): Do not link in list.o.
16 (list.o): Delete target.
18 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
20 * writecode.c (lookup_inst): Ignore CLASS_IGNORE.
21 (info_args): Treat CLASS_IGNORE like CLASS_BIT.
23 (info_len_in_words): Handle CLASS_IGNORE and ARG_NIM4.
25 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
27 * configure: Regenerated to track ../common/aclocal.m4 changes.
29 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
31 * configure: Regenerated to track ../common/aclocal.m4 changes.
33 1999-05-08 Felix Lee <flee@cygnus.com>
35 * configure: Regenerated to track ../common/aclocal.m4 changes.
37 Wed Nov 25 18:22:10 1998 Andrew Cagney <cagney@b1.cygnus.com>
39 * support.c: Include <errno.h>
41 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
43 * configure: Regenerated to track ../common/aclocal.m4 changes.
45 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
47 * configure: Regenerated to track ../common/aclocal.m4 changes.
50 Sun Apr 26 15:18:45 1998 Tom Tromey <tromey@cygnus.com>
52 * acconfig.h: New file.
53 * configure.in: Reverted change of Apr 24; use sinclude again.
55 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
57 * configure: Regenerated to track ../common/aclocal.m4 changes.
60 Fri Apr 24 11:17:28 1998 Tom Tromey <tromey@cygnus.com>
62 * configure.in: Don't use sinclude.
64 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
66 * configure: Regenerated to track ../common/aclocal.m4 changes.
68 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
70 * configure: Regenerated to track ../common/aclocal.m4 changes.
72 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
74 * configure: Regenerated to track ../common/aclocal.m4 changes.
76 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
78 * configure: Regenerated to track ../common/aclocal.m4 changes.
80 Tue Feb 17 12:54:05 1998 Andrew Cagney <cagney@b1.cygnus.com>
82 * iface.c (sim_store_register, sim_fetch_register): Pass in length
85 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
87 * configure: Regenerated to track ../common/aclocal.m4 changes.
89 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
91 * configure: Regenerated to track ../common/aclocal.m4 changes.
93 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
95 * configure: Regenerated to track ../common/aclocal.m4 changes.
97 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
99 * configure: Regenerated to track ../common/aclocal.m4 changes.
102 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
104 * configure: Regenerated to track ../common/aclocal.m4 changes.
106 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
108 * iface.c (sim_load): Pass lma_p and sim_write args to
111 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
113 * configure: Regenerated to track ../common/aclocal.m4 changes.
115 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
117 * configure: Regenerated to track ../common/aclocal.m4 changes.
119 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
121 * configure: Regenerated to track ../common/aclocal.m4 changes.
123 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
125 * configure: Regenerated to track ../common/aclocal.m4 changes.
127 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
129 * configure: Regenerated to track ../common/aclocal.m4 changes.
131 Wed Sep 17 13:23:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
133 * Makefile.in (CONFIG_H): Use config.h from local directory.
135 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
137 * configure: Regenerated to track ../common/aclocal.m4 changes.
139 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
141 * configure: Regenerated to track ../common/aclocal.m4 changes.
143 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
145 * configure: Regenerated to track ../common/aclocal.m4 changes.
148 Tue Aug 26 10:43:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
150 * iface.c (sim_kill): Delete.
151 (sim_create_inferior): Add ABFD argument.
152 (sim_load): Move setting of PC from here.
153 (sim_create_inferior): To here.
154 (sim_open, sim_load): Add FIXME about need to move arch test to
157 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
159 * configure: Regenerated to track ../common/aclocal.m4 changes.
162 Mon Aug 25 16:36:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
164 * iface.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
166 Tue May 20 10:28:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
168 * iface.c (sim_set_callbacs): Delete SIM_DESC argument.
169 (sim_open): Add callback argument.
171 Wed Apr 30 10:28:34 1997 Doug Evans <dje@canuck.cygnus.com>
173 * iface.c (sim_load): Set sim_z8001_mode if bfd_mach_z8001.
174 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
176 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
178 * configure: Regenerated to track ../common/aclocal.m4 changes.
180 Fri Apr 18 14:18:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
182 * mem.h (Z8k_PAGE_SIZE): Rename from PAGE_SIZE. Is it used?
184 * iface.c (sim_stop): New function.
185 (NULL): Define if not already.
187 Thu Apr 17 03:54:23 1997 Doug Evans <dje@canuck.cygnus.com>
189 * Makefile.in (SIM_OBJS): Add sim-load.o.
190 * iface.c: #include bfd.h.
191 (z8k_callback): New global.
192 (sim_kind, myname): New static locals.
193 (sim_open): Set sim_kind, myname.
194 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
195 load file into simulator. Set start address from bfd.
196 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
197 (sim_set_callbacks): Set z8k_callback.
199 Thu Apr 17 11:36:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
201 * tm.h (sim_trace) : Remove prototype - now in remote-sim.h
202 * support.c (sim_trace): Update.
204 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
206 * configure: Regenerated to track ../common/aclocal.m4 changes.
209 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
211 * iface.c (sim_open): New arg `kind'.
213 * configure: Regenerated to track ../common/aclocal.m4 changes.
215 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
217 * configure: Regenerated to track ../common/aclocal.m4 changes.
219 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
221 * configure: Regenerated to track ../common/aclocal.m4 changes.
223 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
225 * configure: Re-generate.
227 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
229 * configure: Regenerate to track ../common/aclocal.m4 changes.
231 Thu Mar 13 13:02:08 1997 Doug Evans <dje@canuck.cygnus.com>
233 * iface.c (sim_open): New SIM_DESC result. Argument is now
235 (other sim_*): New SIM_DESC argument.
237 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
239 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
240 COMMON_{PRE,POST}_CONFIG_FRAG instead.
241 * configure.in: sinclude ../common/aclocal.m4.
242 * configure: Regenerated.
244 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
246 * configure configure.in Makefile.in: Update to new configure
247 scheme which is more compatible with WinGDB builds.
248 * configure.in: Improve comment on how to run autoconf.
249 * configure: Re-run autoconf to get new ../common/aclocal.m4.
250 * Makefile.in: Use autoconf substitution to install common
253 Wed Nov 20 02:28:21 1996 Doug Evans <dje@canuck.cygnus.com>
255 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
256 (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
257 * configure.in: Simplify using macros in ../common/aclocal.m4.
258 * configure: Regenerated.
259 * iface.c (sim_size): New function.
260 (sim_stop_reason): Properly set sim_exited return code.
261 * support.c: #include "callback.h".
262 * run.c: Deleted, using one in ../common now.
263 * tconfig.in: New file.
265 Thu Oct 3 16:19:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
267 * Makefile.in (mostlyclean): Don't remove config.log here.
269 Wed Jun 26 12:32:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
271 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
272 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
274 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
275 (AC_PROG_INSTALL): Added.
276 * configure: Rebuilt.
278 Wed Feb 21 12:17:27 1996 Ian Lance Taylor <ian@cygnus.com>
280 * configure: Regenerate with autoconf 2.7.
282 Thu Jan 11 16:59:07 1996 Jim Wilson <wilson@chestnut.cygnus.com>
284 * writecode.c (info_args, case CLASS_DISP8): Sign extend using
285 shifts instead of char cast.
288 Fri Jan 5 15:36:26 1996 Jim Wilson <wilson@chestnut.cygnus.com>
290 * mem.c (get_page_and_offset): Allocate 16MB not 8MB.
292 Fri Oct 13 15:02:45 1995 steve chamberlain <sac@slash.cygnus.com>
294 * iface.c (sim_set_callbacks): New.
296 Tue Oct 10 11:13:55 1995 Fred Fish <fnf@cygnus.com>
298 * Makefile.in (BISON): Remove macro.
300 Wed Sep 20 13:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
302 * Makefile.in (maintainer-clean): New synonym for realclean.
304 Fri Sep 8 13:16:10 1995 Ian Lance Taylor <ian@cygnus.com>
306 * Makefile.in (install): Don't install in $(tooldir).
308 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
309 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
310 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES, AR,
311 and CC_FOR_BUILD. Call AC_CHECK_HEADERS for various header files.
312 Touch stamp.h if creating config.h.
313 * configure: Rebuild.
314 * config.in: New file, created by autoheader.
315 * Makefile.in (AR): Define as @AR@.
316 (CC): New variable, defined as @CC@.
317 (CFLAGS): Define as @CFLAGS@.
318 (CC_FOR_BUILD): New variable, defined as @CC_FOR_BUILD@.
319 (RANLIB): Define as @RANLIB@.
320 (HDEFINES, TDEFINES): New variables.
321 (@host_makefile_frag@): Remove.
322 (support.o, comped1.o, comped3.o): Depend upon config.h.
323 (compedb3.o, comped2.o): Likewise.
325 (tc-gen2.h): Depend upon writecode, not quick.c.
326 (writecode): Build using $(CC_FOR_BUILD).
327 (writecode.o, list.o, quick.o): New targets.
328 (mostlyclean): Make the same as clean, not distclean.
329 (clean): Remove config.log.
330 (distclean): Remove config.h and stamp-h.
331 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
332 invoking config.status.
333 (config.h, stamp-h): New targets.
334 * comped1.c: Don't include "sysdep.h".
335 (INLINE): Define as inline, not static inline.
336 * comped3.c, compedb3.c, run.c: Don't include "sysdep.h".
337 * mem.c: Include "config.h". Don't include "sysdep.h". Include
338 <stdlib.h> if it exists.
339 * support.c: Include "config.h". Don't include "sysdep.h".
340 Include <stdio.h>. Include <time.h> and <sys/times.h> if they
341 exists. Include <sys/types.h> and <sys/stat.h>.
342 (get_now): Only use times if <sys/times.h> exists; otherwise use
344 * writecode.c: Include "config.h". Include <stdio.h>. Include
345 <stdlib.h> and <string.h> if they exist. Include <strings.h> if
346 it exists and <string.h> does not.
348 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
350 * Update all FSF addresses except those in COPYING* files.
352 Mon Jul 31 10:18:06 1995 steve chamberlain <sac@slash.cygnus.com>
354 * support.c (normal_flags_16): Calculate carry correctly.
355 (support_call): Return values in std regs too.
357 Fri Jul 28 12:10:06 1995 steve chamberlain <sac@slash.cygnus.com>
359 * inlines.h (put_byte_mem_da): Moved.
360 * run.c (main): Return program result.
361 * support.c (support_call): Return exit argument.
362 * writecode.c (rotate): Fix a load of bugs.
363 (info_decode): Insert missing break after OPC_rrc.
365 Wed Jul 5 16:13:43 1995 J.T. Conklin <jtc@rtl.cygnus.com>
367 * Makefile.in, configure.in: converted to autoconf.
368 * configure: New file, generated with autconf 2.4.
372 Fri Jun 30 16:53:09 1995 Stan Shebs <shebs@andros.cygnus.com>
374 * iface.c (sim_do_command): New function.
376 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
378 * configure.in: Fix typo in last change.
380 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
382 * run.c: parse arguments with getopt().
384 Tue Feb 28 17:31:00 1995 Ian Lance Taylor <ian@cygnus.com>
386 * configure.in: Use ../../bfd/hosts/std-host.h if specific
389 Sun Feb 12 16:03:29 1995 Steve Chamberlain <sac@splat>
391 * iface.c (sim_stop_reason): (Make a bad syscall give a SIGILL.
392 * writecode.c (adiv): Divides are always signed.
394 Wed Dec 28 21:30:09 1994 Steve Chamberlain (sac@jonny.cygnus.com)
396 * inlines.h: Make INLINES static.
397 * mem.c (sitoptr): New instance.
398 * support.c (normal_flags_[32|16|8]): New functions.
399 (optimize_normal_flags): Use new functions.
400 * writecode.c (info_special): Handle sbc. (optimize_normal_flags):
403 Wed May 18 14:38:49 1994 Doug Evans (dje@canuck.cygnus.com)
405 * support.c (sim_open): Delete from here.
406 (sim_set_args): Delete from here.
407 (sim_kill): Delete from here.
408 * iface.c (sim_*): Make result void where there isn't one.
409 (sim_clear_breakpoints): Delete.
410 (sim_set_pc): Delete.
411 (sim_info): Delete printf_fn arg, all callers changed.
412 (sim_open): Define here.
413 (sim_close): New function.
414 (sim_load): New function.
415 (sim_create_inferior): Renamed from sim_set_args.
416 (sim_kill): Define here.
417 * run.c (printf): Delete declaration.
418 (main): Call sim_create_inferior instead of sim_set_pc.
419 * sim.h (sim_clear_breakpoints): Delete.
421 Wed May 18 13:22:02 1994 Steve Chamberlain (sac@jonny.cygnus.com)
423 * writecode.c (main): Disable the chopping of large initializers.
426 Sat May 7 17:24:46 1994 Steve Chamberlain (sac@cygnus.com)
428 * writecode.c (info_args): Add resflg and setflg.
429 * list.c : Regenerated.
430 * Makefile.in: First rule is now called 'all'
432 Sat Dec 11 16:39:30 1993 Steve Chamberlain (sac@thepub.cygnus.com)
434 * iface.c (sim_store_register): Get regval the right way up.
435 * writecode.c (info_args): Add lda.
437 Tue Oct 26 13:01:46 1993 Doug Evans (dje@canuck.cygnus.com)
439 * Makefile.in (INCDIR): Fix definition.
440 (CSEARCH): Add -I$(srcdir)/../../gdb
441 (comped1.o, comped3.o, compedb3.o, comped2.o): Use CSEARCH, not INCDIR.
442 * iface.c: Replace #include "../include/wait.h" with "remote-sim.h".
443 (sim_set_pc): int result, use SIM_ADDR for type of arg `addr'.
444 (sim_store_register): int result, pass value by reference.
445 (sim_fetch_register): Use unsigned char * for arg `buf'.
446 (sim_write): int result, use SIM_ADDR for `where' arg,
447 use unsigned char * for `what' arg.
449 (sim_resume): int result.
450 (sim_stop_reason): Renamed from sim_stop_signal, int result,
452 (sim_info): int result, merge sim_info_print into here.
453 (sim_info_print): Deleted.
454 * run.c: #include <stdio.h>
455 (main): Update call to sim_info.
456 * sim.h: Remove various prototypes defined in remote-sim.h.
458 Sat Oct 23 15:16:45 1993 Doug Evans (dje@canuck.cygnus.com)
460 * iface.c (sim_stop_signal): Result is now enum sim_stop.
462 Thu Oct 7 19:01:07 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
464 * writecode.c (doset, info_docode): Understand set and res insns.
466 Thu Sep 30 11:30:42 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
468 * support.c (tm_info_print): If no timetaken, don't divide by zero.
470 Fri Jul 30 15:51:54 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
472 * writecode.c (div): rename to divide, to resolve conflict with
473 ANSI function div from <stdlib.h>
475 Mon Mar 15 15:48:50 1993 Ian Lance Taylor (ian@cygnus.com)
477 * z8k.mt (DO_INSTALL): Renamed from INSTALL.
479 Tue Mar 9 12:32:29 1993 Steve Chamberlain (sac@thepub.cygnus.com)
481 * writecode.c (main): Make the vector 'big' static, so that it
482 will compile on the apollo.
483 * support.c: Use the ANSI compilant __inline__.
485 Fri Mar 5 07:54:18 1993 Steve Chamberlain (sac@thepub.cygnus.com)
487 * writecode.c (main): When using gcc, split the tables into
488 sections so that it will compile.
489 * Makefile.in: Get ar args right.
490 * tm.h: Fix gcc prototypes.
492 Wed Mar 3 15:04:48 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
494 * support.c (fail): Get the argument count right.
496 * writecode.c (main): Pass all the arguments emit needs.
498 Tue Feb 2 07:49:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
502 Fri Jan 15 12:43:08 1993 Steve Chamberlain (sac@thepub.cygnus.com)