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