]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/ChangeLog
Fix os_printf_filtered; Flush stdout after calling printf_filtered
[thirdparty/binutils-gdb.git] / sim / common / ChangeLog
index 502ba653e2819b8c7aba1c39bc35e3beff33b671..29341af94f2d61240b647a2bc3f20444d9cd851d 100644 (file)
@@ -1,3 +1,206 @@
+Thu Mar 13 10:24:05 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * callback.c (os_printf_filtered): Do not call exit(1) or print a
+       final newline.
+
+Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
+       Route stdout through buffered IO.
+
+       * callback.c: Add os_flush_stderr, os_write_stderr,
+       os_evprintf_filtered functions to route error output through
+       stderr.
+       
+       * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
+       Correct return type - should be void.
+
+Fri Mar  7 20:14:37 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-basics.h: Clean up.  Many macro's moved to sim-inline.h.
+
+       * sim-config.h: Ditto.  For some options - eg WITH_DEVICES - do
+       not provide a default value as undefined indicates disable code.
+
+Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
+       directory.
+       * sim-events.h, sim-events.c: Ditto.
+       * sim-io.h, sim-io.c: Ditto.
+       
+Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+       
+       * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
+
+       * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
+       extract the tail or least signifiant bits from an integer of the
+       specified size.
+       
+       * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
+       WITH_TARGET_BITSIZE so that the compilation will fail when an
+       unsupported bitsize value is defined.
+
+       (INSERTED*): Convert to functions.
+       (EXTRACTED*): Ditto.
+       
+       (SIGN_EXTEND, SEXT): Change to more terse name.
+       
+Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-inline.h: Allow explicit control over which .c files will be
+       included by their header.
+
+       * sim-inline.h: Allow explicit control over which .c files use the
+       alternative - REGPARM - parameter passing mechanism.
+       
+       * sim-inline.h, sim-inline.c: Don't attempt to include any of
+       icache.c, idecode.c, semantics.c or support.c.  Those names are
+       not generally applicable.
+       
+Thu Feb 27 10:17:23 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
+       in a fashion similar to sim-endian-n.
+
+       * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
+       both value and address macro's.
+
+Tue Feb 25 18:51:57 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
+
+       * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
+       generic L_word, H_word macro's.
+
+Thu Feb 20 18:36:55 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * sim-basics.h: Borrow code from ppc directory.
+       * sim-bits.c: Ditto.
+       * sim-bits.h: Ditto.
+       * sim-config.h: Ditto.
+       * sim-endian-n.h: Ditto.
+       * sim-endian.c: Ditto.
+       * sim-endian.h: Ditto.
+       * sim-inline.c: Ditto.
+       * sim-inline.h: Ditto.
+       * sim-types.h: Ditto.
+
+Wed Feb 19 12:40:50 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
+       all the ALU size alternatives and then auto-configure a default.
+       
+       * sim-alu.h: Copy ppc/idecode_expression.h.
+
+Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
+       sign extend a bit within a value.
+
+       * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
+       a pointer into the middle of a host word.
+       * sim-endian.h (MS2W_4, LS2W_4): Use this function.
+       
+Tue Feb 11 13:46:49 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * callback.c: If HAVE_CONFIG_H is defined, include config.h from
+       autoconf.  If HAVE_UNISTD_H is defined, include unistd.h to get
+       appropriate definitions of read, write, etc.  Add prototype for
+       system.
+
+Tue Feb  4 13:24:44 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (libcommon.a): Delete.
+       (callback.o,targ-map.o): Delete, moved to Make-common.in.
+       (gentmap,targ-vals.h,targ-map.c): Likewise.
+       (run-autoconf): Delete.
+       * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
+       (common makefile fragment): Moved back into ...
+       * Make-common.in: Resurrect.
+       * configure.in (AC_LINK_FILES): Delete, unnecessary now.
+       * configure: Regenerated.
+
+Fri Jan 31 07:16:49 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
+       (SIM_AC_OUTPUT): To here.
+
+Fri Jan 24 10:37:17 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aclocal.m4 (COMMON_MAKEFILE_FRAG):  Quote a couple of $'s in
+       comments and single quotes.  Fixes a problem found on hpux.
+
+Thu Jan 23 13:35:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aclocal.m4:  Remove Make-common.in from dependencies.
+       * (distclean):  Remove targ-vals.def.
+
+       * aclocal.m4 (SIM_AC_COMMON):  Move contents of Make-common.in
+       into here.  Makes insertion into makefiles easier.  Also, change
+       the way that callback.o, gentmap, targ-vals.h, targ-map.c,
+       targ-map.o, and run are built.  They are now built in the
+       individual simulator directories, taking sources from ../common as
+       necessary.  This replaces the merging of libcommon.a into
+       linsim.a, which was problematic for the WinGDB build process.
+       * run.c:  Include config.h from . instead of ../common.
+       * Make-common.in:  Remove.  It's no longer necessary.
+
+Mon Dec 16 15:02:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
+       (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
+
+Wed Dec 11 11:30:58 1996  Jim Wilson  <wilson@cygnus.com>
+
+       * run.c (main): Set target_byte_order before call to sim_open.
+
+Sun Dec  8 18:22:06 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * callback.c: #include <stdlib.h>
+       (os_error): New function.
+       (default_callback): Add os_error.
+
+Mon Nov 25 19:44:35 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Make-common.in (Makefile): Set CONFIG_HEADERS="".
+       * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
+       specific.
+       (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
+
+Wed Nov 20 01:11:04 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: #include ../common/config.h, tconfig.h.
+       (myname): New static global.
+       (main): Recognize new options -a, -c.  Also recognize -h if h8/300.
+       Only process -c ifdef SIM_HAVE_SIMCACHE.
+       Only process -p/-s ifdef SIM_HAVE_PROFILE.
+       Parse program name from argv[0] and use in error messages.
+       Pass sim_args to sim_open.  Pass prog_args to sim_create_inferior.
+       Add support for incomplete h8/300 termination indicators.
+       (usage): Make more verbose.
+       * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
+       * Makefile.in,Make-common.in,callback.c: New files.
+       * nltvals.def,gentmap.c,gentvals.sh: New files.
+
+Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>   
+
+       * run.c: Include stdarg.h if __STDC__.
+
+Tue Oct 15 11:16:31 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * run.c (main): Don't print out anything if the signal
+       number is zero (ie no signal).
+
+Tue Oct 15 11:20:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * run.c (main): Print out if the program raised a signal.
+
+Wed Sep 18 09:52:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
+       (main): Ditto.
+
 Tue Sep 17 11:04:50 1996  James G. Smith  <jsmith@cygnus.co.uk>
 
        * run.c (main): Explicitly cast malloc() parameter.