3 * configure: Regenerated to track ../common/aclocal.m4 changes.
7 * configure: Regenerated to track ../common/aclocal.m4 changes.
11 * support.c: Include <errno.h>
15 * configure: Regenerated to track ../common/aclocal.m4 changes.
17 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
19 * configure: Regenerated to track ../common/aclocal.m4 changes.
24 * acconfig.h: New file.
25 * configure.in: Reverted change of Apr 24; use sinclude again.
27 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
29 * configure: Regenerated to track ../common/aclocal.m4 changes.
34 * configure.in: Don't use sinclude.
38 * configure: Regenerated to track ../common/aclocal.m4 changes.
42 * configure: Regenerated to track ../common/aclocal.m4 changes.
46 * configure: Regenerated to track ../common/aclocal.m4 changes.
50 * configure: Regenerated to track ../common/aclocal.m4 changes.
54 * iface.c (sim_store_register, sim_fetch_register): Pass in length
59 * configure: Regenerated to track ../common/aclocal.m4 changes.
63 * configure: Regenerated to track ../common/aclocal.m4 changes.
65 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
67 * configure: Regenerated to track ../common/aclocal.m4 changes.
71 * configure: Regenerated to track ../common/aclocal.m4 changes.
76 * configure: Regenerated to track ../common/aclocal.m4 changes.
80 * iface.c (sim_load): Pass lma_p and sim_write args to
85 * configure: Regenerated to track ../common/aclocal.m4 changes.
89 * configure: Regenerated to track ../common/aclocal.m4 changes.
93 * configure: Regenerated to track ../common/aclocal.m4 changes.
97 * configure: Regenerated to track ../common/aclocal.m4 changes.
101 * configure: Regenerated to track ../common/aclocal.m4 changes.
105 * Makefile.in (CONFIG_H): Use config.h from local directory.
109 * configure: Regenerated to track ../common/aclocal.m4 changes.
111 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
113 * configure: Regenerated to track ../common/aclocal.m4 changes.
117 * configure: Regenerated to track ../common/aclocal.m4 changes.
122 * iface.c (sim_kill): Delete.
123 (sim_create_inferior): Add ABFD argument.
124 (sim_load): Move setting of PC from here.
125 (sim_create_inferior): To here.
126 (sim_open, sim_load): Add FIXME about need to move arch test to
131 * configure: Regenerated to track ../common/aclocal.m4 changes.
136 * iface.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
140 * iface.c (sim_set_callbacs): Delete SIM_DESC argument.
141 (sim_open): Add callback argument.
145 * iface.c (sim_load): Set sim_z8001_mode if bfd_mach_z8001.
146 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
150 * configure: Regenerated to track ../common/aclocal.m4 changes.
154 * mem.h (Z8k_PAGE_SIZE): Rename from PAGE_SIZE. Is it used?
156 * iface.c (sim_stop): New function.
157 (NULL): Define if not already.
161 * Makefile.in (SIM_OBJS): Add sim-load.o.
162 * iface.c: #include bfd.h.
163 (z8k_callback): New global.
164 (sim_kind, myname): New static locals.
165 (sim_open): Set sim_kind, myname.
166 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
167 load file into simulator. Set start address from bfd.
168 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
169 (sim_set_callbacks): Set z8k_callback.
173 * tm.h (sim_trace) : Remove prototype - now in remote-sim.h
174 * support.c (sim_trace): Update.
178 * configure: Regenerated to track ../common/aclocal.m4 changes.
183 * iface.c (sim_open): New arg `kind'.
185 * configure: Regenerated to track ../common/aclocal.m4 changes.
189 * configure: Regenerated to track ../common/aclocal.m4 changes.
193 * configure: Regenerated to track ../common/aclocal.m4 changes.
197 * configure: Re-generate.
201 * configure: Regenerate to track ../common/aclocal.m4 changes.
205 * iface.c (sim_open): New SIM_DESC result. Argument is now
207 (other sim_*): New SIM_DESC argument.
211 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
212 COMMON_{PRE,POST}_CONFIG_FRAG instead.
213 * configure.in: sinclude ../common/aclocal.m4.
214 * configure: Regenerated.
218 * configure configure.in Makefile.in: Update to new configure
219 scheme which is more compatible with WinGDB builds.
220 * configure.in: Improve comment on how to run autoconf.
221 * configure: Re-run autoconf to get new ../common/aclocal.m4.
222 * Makefile.in: Use autoconf substitution to install common
227 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
228 (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
229 * configure.in: Simplify using macros in ../common/aclocal.m4.
230 * configure: Regenerated.
231 * iface.c (sim_size): New function.
232 (sim_stop_reason): Properly set sim_exited return code.
233 * support.c: #include "callback.h".
234 * run.c: Deleted, using one in ../common now.
235 * tconfig.in: New file.
239 * Makefile.in (mostlyclean): Don't remove config.log here.
243 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
244 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
246 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
247 (AC_PROG_INSTALL): Added.
248 * configure: Rebuilt.
252 * configure: Regenerate with autoconf 2.7.
256 * writecode.c (info_args, case CLASS_DISP8): Sign extend using
257 shifts instead of char cast.
262 * mem.c (get_page_and_offset): Allocate 16MB not 8MB.
266 * iface.c (sim_set_callbacks): New.
270 * Makefile.in (BISON): Remove macro.
274 * Makefile.in (maintainer-clean): New synonym for realclean.
278 * Makefile.in (install): Don't install in $(tooldir).
280 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
281 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
282 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES, AR,
283 and CC_FOR_BUILD. Call AC_CHECK_HEADERS for various header files.
284 Touch stamp.h if creating config.h.
285 * configure: Rebuild.
286 * config.in: New file, created by autoheader.
287 * Makefile.in (AR): Define as @AR@.
288 (CC): New variable, defined as @CC@.
289 (CFLAGS): Define as @CFLAGS@.
290 (CC_FOR_BUILD): New variable, defined as @CC_FOR_BUILD@.
291 (RANLIB): Define as @RANLIB@.
292 (HDEFINES, TDEFINES): New variables.
293 (@host_makefile_frag@): Remove.
294 (support.o, comped1.o, comped3.o): Depend upon config.h.
295 (compedb3.o, comped2.o): Likewise.
297 (tc-gen2.h): Depend upon writecode, not quick.c.
298 (writecode): Build using $(CC_FOR_BUILD).
299 (writecode.o, list.o, quick.o): New targets.
300 (mostlyclean): Make the same as clean, not distclean.
301 (clean): Remove config.log.
302 (distclean): Remove config.h and stamp-h.
303 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
304 invoking config.status.
305 (config.h, stamp-h): New targets.
306 * comped1.c: Don't include "sysdep.h".
307 (INLINE): Define as inline, not static inline.
308 * comped3.c, compedb3.c, run.c: Don't include "sysdep.h".
309 * mem.c: Include "config.h". Don't include "sysdep.h". Include
310 <stdlib.h> if it exists.
311 * support.c: Include "config.h". Don't include "sysdep.h".
312 Include <stdio.h>. Include <time.h> and <sys/times.h> if they
313 exists. Include <sys/types.h> and <sys/stat.h>.
314 (get_now): Only use times if <sys/times.h> exists; otherwise use
316 * writecode.c: Include "config.h". Include <stdio.h>. Include
317 <stdlib.h> and <string.h> if they exist. Include <strings.h> if
318 it exists and <string.h> does not.
322 * Update all FSF addresses except those in COPYING* files.
326 * support.c (normal_flags_16): Calculate carry correctly.
327 (support_call): Return values in std regs too.
331 * inlines.h (put_byte_mem_da): Moved.
332 * run.c (main): Return program result.
333 * support.c (support_call): Return exit argument.
334 * writecode.c (rotate): Fix a load of bugs.
335 (info_decode): Insert missing break after OPC_rrc.
339 * Makefile.in, configure.in: converted to autoconf.
340 * configure: New file, generated with autconf 2.4.
346 * iface.c (sim_do_command): New function.
350 * configure.in: Fix typo in last change.
354 * run.c: parse arguments with getopt().
358 * configure.in: Use ../../bfd/hosts/std-host.h if specific
361 Sun Feb 12 16:03:29 1995 Steve Chamberlain <sac@splat>
363 * iface.c (sim_stop_reason): (Make a bad syscall give a SIGILL.
364 * writecode.c (adiv): Divides are always signed.
368 * inlines.h: Make INLINES static.
369 * mem.c (sitoptr): New instance.
370 * support.c (normal_flags_[32|16|8]): New functions.
371 (optimize_normal_flags): Use new functions.
372 * writecode.c (info_special): Handle sbc. (optimize_normal_flags):
377 * support.c (sim_open): Delete from here.
378 (sim_set_args): Delete from here.
379 (sim_kill): Delete from here.
380 * iface.c (sim_*): Make result void where there isn't one.
381 (sim_clear_breakpoints): Delete.
382 (sim_set_pc): Delete.
383 (sim_info): Delete printf_fn arg, all callers changed.
384 (sim_open): Define here.
385 (sim_close): New function.
386 (sim_load): New function.
387 (sim_create_inferior): Renamed from sim_set_args.
388 (sim_kill): Define here.
389 * run.c (printf): Delete declaration.
390 (main): Call sim_create_inferior instead of sim_set_pc.
391 * sim.h (sim_clear_breakpoints): Delete.
395 * writecode.c (main): Disable the chopping of large initializers.
400 * writecode.c (info_args): Add resflg and setflg.
401 * list.c : Regenerated.
402 * Makefile.in: First rule is now called 'all'
406 * iface.c (sim_store_register): Get regval the right way up.
407 * writecode.c (info_args): Add lda.
411 * Makefile.in (INCDIR): Fix definition.
412 (CSEARCH): Add -I$(srcdir)/../../gdb
413 (comped1.o, comped3.o, compedb3.o, comped2.o): Use CSEARCH, not INCDIR.
414 * iface.c: Replace #include "../include/wait.h" with "remote-sim.h".
415 (sim_set_pc): int result, use SIM_ADDR for type of arg `addr'.
416 (sim_store_register): int result, pass value by reference.
417 (sim_fetch_register): Use unsigned char * for arg `buf'.
418 (sim_write): int result, use SIM_ADDR for `where' arg,
419 use unsigned char * for `what' arg.
421 (sim_resume): int result.
422 (sim_stop_reason): Renamed from sim_stop_signal, int result,
424 (sim_info): int result, merge sim_info_print into here.
425 (sim_info_print): Deleted.
426 * run.c: #include <stdio.h>
427 (main): Update call to sim_info.
428 * sim.h: Remove various prototypes defined in remote-sim.h.
432 * iface.c (sim_stop_signal): Result is now enum sim_stop.
436 * writecode.c (doset, info_docode): Understand set and res insns.
440 * support.c (tm_info_print): If no timetaken, don't divide by zero.
444 * writecode.c (div): rename to divide, to resolve conflict with
445 ANSI function div from <stdlib.h>
449 * z8k.mt (DO_INSTALL): Renamed from INSTALL.
453 * writecode.c (main): Make the vector 'big' static, so that it
454 will compile on the apollo.
455 * support.c: Use the ANSI compilant __inline__.
459 * writecode.c (main): When using gcc, split the tables into
460 sections so that it will compile.
461 * Makefile.in: Get ar args right.
462 * tm.h: Fix gcc prototypes.
466 * support.c (fail): Get the argument count right.
468 * writecode.c (main): Pass all the arguments emit needs.