Add a number of per-simulator options: hostendian, endian, inline, warnings.
[deliverable/binutils-gdb.git] / sim / common / ChangeLog
1 Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
2
3 * aclocal.m4 (--enable-sim-hostendian): New option. Allow the
4 host endianness to be overridden.
5 (--enable-sim-endian): Allow the target platform's byte order
6 to be overridden.
7 (--enable-sim-inline): Control the inlining of common components.
8 (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
9 (--enable-sim-warnings): Enable additional GCC compiler checks.
10 * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
11 SIM_WARNINGS): Add.
12
13 * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
14 sim-*-n.h so that the names are uniq on dos machines
15 * sim-core.c, sim-bits.c, sim-endian.c: Update.
16
17 Thu Mar 13 12:32:42 1997 Doug Evans <dje@canuck.cygnus.com>
18
19 * run.c: #include "libiberty.h".
20 (main): New locals sd,no_args,sim_argv.
21 Run buildargv on -a option. Pass argv to sim_open, argv[0]
22 is program name. Update call to sim_set_callbacks.
23 Record result of sim_open, pass to other sim_foo routines.
24
25 Thu Mar 13 10:24:05 1997 Michael Meissner <meissner@cygnus.com>
26
27 * callback.c (os_printf_filtered): Do not call exit(1) or print a
28 final newline.
29
30 Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
31
32 * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
33 Route stdout through buffered IO.
34
35 * callback.c: Add os_flush_stderr, os_write_stderr,
36 os_evprintf_filtered functions to route error output through
37 stderr.
38
39 * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
40 Correct return type - should be void.
41
42 Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
43
44 * sim-basics.h: Clean up. Many macro's moved to sim-inline.h.
45
46 * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do
47 not provide a default value as undefined indicates disable code.
48
49 Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
50
51 * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
52 directory.
53 * sim-events.h, sim-events.c: Ditto.
54 * sim-io.h, sim-io.c: Ditto.
55
56 Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
57
58 * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
59
60 * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
61 extract the tail or least signifiant bits from an integer of the
62 specified size.
63
64 * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
65 WITH_TARGET_BITSIZE so that the compilation will fail when an
66 unsupported bitsize value is defined.
67
68 (INSERTED*): Convert to functions.
69 (EXTRACTED*): Ditto.
70
71 (SIGN_EXTEND, SEXT): Change to more terse name.
72
73 Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
74
75 * sim-inline.h: Allow explicit control over which .c files will be
76 included by their header.
77
78 * sim-inline.h: Allow explicit control over which .c files use the
79 alternative - REGPARM - parameter passing mechanism.
80
81 * sim-inline.h, sim-inline.c: Don't attempt to include any of
82 icache.c, idecode.c, semantics.c or support.c. Those names are
83 not generally applicable.
84
85 Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
86
87 * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
88 in a fashion similar to sim-endian-n.
89
90 * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
91 both value and address macro's.
92
93 Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
94
95 * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
96
97 * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
98 generic L_word, H_word macro's.
99
100 Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney@critters.cygnus.com>
101
102 * sim-basics.h: Borrow code from ppc directory.
103 * sim-bits.c: Ditto.
104 * sim-bits.h: Ditto.
105 * sim-config.h: Ditto.
106 * sim-endian-n.h: Ditto.
107 * sim-endian.c: Ditto.
108 * sim-endian.h: Ditto.
109 * sim-inline.c: Ditto.
110 * sim-inline.h: Ditto.
111 * sim-types.h: Ditto.
112
113 Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney@critters.cygnus.com>
114
115 * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
116 all the ALU size alternatives and then auto-configure a default.
117
118 * sim-alu.h: Copy ppc/idecode_expression.h.
119
120 Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com>
121
122 * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
123 sign extend a bit within a value.
124
125 * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
126 a pointer into the middle of a host word.
127 * sim-endian.h (MS2W_4, LS2W_4): Use this function.
128
129 Tue Feb 11 13:46:49 1997 Michael Meissner <meissner@tiktok.cygnus.com>
130
131 * callback.c: If HAVE_CONFIG_H is defined, include config.h from
132 autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get
133 appropriate definitions of read, write, etc. Add prototype for
134 system.
135
136 Tue Feb 4 13:24:44 1997 Doug Evans <dje@canuck.cygnus.com>
137
138 * Makefile.in (libcommon.a): Delete.
139 (callback.o,targ-map.o): Delete, moved to Make-common.in.
140 (gentmap,targ-vals.h,targ-map.c): Likewise.
141 (run-autoconf): Delete.
142 * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
143 (common makefile fragment): Moved back into ...
144 * Make-common.in: Resurrect.
145 * configure.in (AC_LINK_FILES): Delete, unnecessary now.
146 * configure: Regenerated.
147
148 Fri Jan 31 07:16:49 1997 Doug Evans <dje@canuck.cygnus.com>
149
150 * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
151 (SIM_AC_OUTPUT): To here.
152
153 Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com)
154
155 * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in
156 comments and single quotes. Fixes a problem found on hpux.
157
158 Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com)
159
160 * aclocal.m4: Remove Make-common.in from dependencies.
161 * (distclean): Remove targ-vals.def.
162
163 * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in
164 into here. Makes insertion into makefiles easier. Also, change
165 the way that callback.o, gentmap, targ-vals.h, targ-map.c,
166 targ-map.o, and run are built. They are now built in the
167 individual simulator directories, taking sources from ../common as
168 necessary. This replaces the merging of libcommon.a into
169 linsim.a, which was problematic for the WinGDB build process.
170 * run.c: Include config.h from . instead of ../common.
171 * Make-common.in: Remove. It's no longer necessary.
172
173 Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian@cygnus.com>
174
175 * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
176 (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
177
178 Wed Dec 11 11:30:58 1996 Jim Wilson <wilson@cygnus.com>
179
180 * run.c (main): Set target_byte_order before call to sim_open.
181
182 Sun Dec 8 18:22:06 1996 Doug Evans <dje@canuck.cygnus.com>
183
184 * callback.c: #include <stdlib.h>
185 (os_error): New function.
186 (default_callback): Add os_error.
187
188 Mon Nov 25 19:44:35 1996 Doug Evans <dje@canuck.cygnus.com>
189
190 * Make-common.in (Makefile): Set CONFIG_HEADERS="".
191 * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
192 specific.
193 (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
194
195 Wed Nov 20 01:11:04 1996 Doug Evans <dje@canuck.cygnus.com>
196
197 * run.c: #include ../common/config.h, tconfig.h.
198 (myname): New static global.
199 (main): Recognize new options -a, -c. Also recognize -h if h8/300.
200 Only process -c ifdef SIM_HAVE_SIMCACHE.
201 Only process -p/-s ifdef SIM_HAVE_PROFILE.
202 Parse program name from argv[0] and use in error messages.
203 Pass sim_args to sim_open. Pass prog_args to sim_create_inferior.
204 Add support for incomplete h8/300 termination indicators.
205 (usage): Make more verbose.
206 * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
207 * Makefile.in,Make-common.in,callback.c: New files.
208 * nltvals.def,gentmap.c,gentvals.sh: New files.
209
210 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
211
212 * run.c: Include stdarg.h if __STDC__.
213
214 Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com)
215
216 * run.c (main): Don't print out anything if the signal
217 number is zero (ie no signal).
218
219 Tue Oct 15 11:20:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
220
221 * run.c (main): Print out if the program raised a signal.
222
223 Wed Sep 18 09:52:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
224
225 * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
226 (main): Ditto.
227
228 Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
229
230 * run.c (main): Explicitly cast malloc() parameter.
231
232 Thu Sep 12 11:27:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
233
234 * run.c (sim_bfd): New global to hold the bfd pointer for the
235 executable.
236 (main): Initialize sim_bfd.
237
238 Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian@cygnus.com>
239
240 * run.c (main): Use new bfd_big_endian macro.
241
242 Wed Nov 8 15:49:49 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
243
244 * run.c (main): Removed SH specific comments, so source is
245 generic. Also updated to only load relevant sections. Moved
246 sim_open() to after callback attach (to match GDB).
247
248 * run.1: Removed SH specific comments.
249
250 Sat Oct 21 12:31:01 1995 Jim Wilson <wilson@chestnut.cygnus.com>
251
252 * run.c (main): Always return sigrc at end.
253
254 Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc@rtl.cygnus.com>
255
256 * run.c (main): Print error diagnostic and exit if bfd_openr() or
257 bfd_check_format() fails.
258
259 Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com>
260
261 * run.c, run.1: From sh directory.
262
263
This page took 0.0368000000000001 seconds and 4 git commands to generate.