ChangeLog-2021 revision 1.1 1 1.1 christos 2021-07-01 Mike Frysinger <vapier (a] gentoo.org>
2 1.1 christos
3 1.1 christos * Make-common.in (SIM_RESERVED_BITS): Delete.
4 1.1 christos
5 1.1 christos 2021-07-01 Mike Frysinger <vapier (a] gentoo.org>
6 1.1 christos
7 1.1 christos * Make-common.in (GUILE): New variable.
8 1.1 christos (CGEN): Use $(GUILE).
9 1.1 christos
10 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
11 1.1 christos
12 1.1 christos * Make-common.in (SIM_SCACHE): Delete.
13 1.1 christos * cgen-scache.h (WITH_SCACHE): Delete.
14 1.1 christos * sim-profile.c (profile_info): Check CGEN_ARCH.
15 1.1 christos
16 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
17 1.1 christos
18 1.1 christos * cgen-scache.c (scache_install): Rename to ...
19 1.1 christos (sim_install_scache): ... this. New prototype.
20 1.1 christos * cgen-scache.h (scache_install): Delete.
21 1.1 christos * sim-module.c (early_modules): Delete scache_install.
22 1.1 christos
23 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
24 1.1 christos
25 1.1 christos * sim-module.c (early_modules): Delete profile_install.
26 1.1 christos * sim-profile.c (profile_install): Rename to ...
27 1.1 christos (sim_install_profile): ... this. New prototype.
28 1.1 christos * sim-profile.h (profile_install): Delete.
29 1.1 christos
30 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
31 1.1 christos
32 1.1 christos * sim-module.c (early_modules): Delete trace_install.
33 1.1 christos * sim-trace.c (trace_install): Rename to ...
34 1.1 christos (sim_install_trace): ... this. New prototype.
35 1.1 christos * sim-trace.h (trace_install): Delete.
36 1.1 christos
37 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
38 1.1 christos
39 1.1 christos * sim-engine.c (sim_engine_install): Rename to ...
40 1.1 christos (sim_install_engine): ... this. New prototype.
41 1.1 christos * sim-engine.h (sim_engine_install): Delete.
42 1.1 christos * sim-module.c (early_modules): Delete sim_engine_install.
43 1.1 christos
44 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
45 1.1 christos
46 1.1 christos * sim-config.h (WITH_MODEL): Delete.
47 1.1 christos (CURRENT_MODEL, MODEL_ISSUE_IGNORE, MODEL_ISSUE_PROCESS,
48 1.1 christos WITH_MODEL_ISSUE, CURRENT_MODEL_ISSUE): Likewise.
49 1.1 christos
50 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
51 1.1 christos
52 1.1 christos * Make-common.in (SIM_DEFAULT_MODEL): Delete.
53 1.1 christos * sim-base.h (struct sim_state): Add model_name.
54 1.1 christos (STATE_MODEL_NAME): Define.
55 1.1 christos * sim-model.c (model_option_handler): Set STATE_MODEL_NAME.
56 1.1 christos (sim_model_init): Delete WITH_MODEL_P check. Change
57 1.1 christos WITH_DEFAULT_MODEL to STATE_MODEL_NAME.
58 1.1 christos * sim-model.h (WITH_DEFAULT_MODEL): Delete.
59 1.1 christos (WITH_MODEL_P): Delete.
60 1.1 christos
61 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org>
62 1.1 christos
63 1.1 christos * cgen-defs.h (cgen_cpu_max_extra_bytes): Add SIM_DESC arg.
64 1.1 christos * cgen-utils.c (cgen_cpu_max_extra_bytes): Likewise. Change sim_machs
65 1.1 christos to STATE_MACHS.
66 1.1 christos * sim-base.h (struct sim_state): Add machs.
67 1.1 christos (STATE_MACHS): New define.
68 1.1 christos * sim-cpu.c (sim_cpu_alloc): Pass sd to cgen_cpu_max_extra_bytes.
69 1.1 christos * sim-model.c (model_option_handler): Pass sd to sim_model_lookup.
70 1.1 christos Change sim_machs to STATE_MACHS.
71 1.1 christos (sim_model_lookup): Add SIM_DESC arg. Change sim_machs to
72 1.1 christos STATE_MACHS.
73 1.1 christos (sim_mach_lookup): Likewiwse.
74 1.1 christos (sim_mach_lookup_bfd_name): Likewise.
75 1.1 christos (sim_model_init): Pass sd to sim_model_lookup and
76 1.1 christos sim_mach_lookup_bfd_name.
77 1.1 christos (sim_machs): Delete.
78 1.1 christos * sim-model.h (enum mach_attr): Delete.
79 1.1 christos (SIM_MODEL): Change num to int.
80 1.1 christos (sim_machs): Delete.
81 1.1 christos (sim_model_lookup): Add SIM_DESC arg.
82 1.1 christos (sim_mach_lookup): Likewise.
83 1.1 christos (sim_mach_lookup_bfd_name): Likewise.
84 1.1 christos
85 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
86 1.1 christos
87 1.1 christos * Make-common.in (Makefile): Replace $(arch) and pass more files to
88 1.1 christos config.status.
89 1.1 christos
90 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
91 1.1 christos
92 1.1 christos * callback.c [!HAVE_KILL] (os_kill): Return ENOSYS.
93 1.1 christos
94 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
95 1.1 christos
96 1.1 christos * sim-model.c (model_option_handler): Make machp const.
97 1.1 christos (sim_model_lookup): Likewise.
98 1.1 christos (sim_mach_lookup): Likewise.
99 1.1 christos (sim_mach_lookup_bfd_name): Likewise.
100 1.1 christos (sim_machs): Add const.
101 1.1 christos * sim-model.h (sim_machs): Likewise.
102 1.1 christos
103 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
104 1.1 christos
105 1.1 christos * sim-io.h (sim_io_vprintf): Add ATTRIBUTE_PRINTF.
106 1.1 christos (sim_io_evprintf): Likewise.
107 1.1 christos
108 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
109 1.1 christos
110 1.1 christos * sim-io.c (sim_io_error): Change "" to " ".
111 1.1 christos
112 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
113 1.1 christos
114 1.1 christos * callback.c (sim_cb_printf, sim_cb_eprintf): Delete.
115 1.1 christos (os_poll_quit): Delete __GO32__ support.
116 1.1 christos * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Delete.
117 1.1 christos
118 1.1 christos 2021-06-29 Mike Frysinger <vapier (a] gentoo.org>
119 1.1 christos
120 1.1 christos * cgen-types.h (HAVE_LONGLONG): Delete define.
121 1.1 christos [!HAVE_LONGLONG]: Delete all protected code.
122 1.1 christos * cgen-utils.c (make_struct_di): Delete.
123 1.1 christos
124 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
125 1.1 christos
126 1.1 christos * cgen-trace.c: Include diagnostics.h.
127 1.1 christos (cgen_trace_extract): Call DIAGNOSTIC_PUSH,
128 1.1 christos DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL, and DIAGNOSTIC_POP.
129 1.1 christos
130 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
131 1.1 christos
132 1.1 christos * cgen-run.c (engine_run_n): Assert cpu arguments are valid.
133 1.1 christos
134 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
135 1.1 christos
136 1.1 christos * cgen-trace.h (cgen_trace_printf): Add ATTRIBUTE_PRINTF_2.
137 1.1 christos (sim_disasm_sprintf): Likewise.
138 1.1 christos
139 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
140 1.1 christos
141 1.1 christos * cgen-trace.c (cgen_trace_extract): Make name & fmt const.
142 1.1 christos (cgen_trace_result): Make name const.
143 1.1 christos (cgen_trace_printf): Make fmt const.
144 1.1 christos * cgen-trace.h (cgen_trace_extract): Make 3rd arg const.
145 1.1 christos (cgen_trace_result): Make 2nd arg const.
146 1.1 christos (cgen_trace_printf): Likewise.
147 1.1 christos
148 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
149 1.1 christos
150 1.1 christos * cgen-mem.h (DECLARE_GETMEM_EXTERN): New macro.
151 1.1 christos (DECLARE_GETMEM): Use DECLARE_GETMEM_EXTERN.
152 1.1 christos (DECLARE_SETMEM_EXTERN): New macro.
153 1.1 christos (DECLARE_SETMEM): Use DECLARE_SETMEM_EXTERN.
154 1.1 christos (DECLARE_GETIMEM_EXTERN): New macro.
155 1.1 christos (DECLARE_GETIMEM): Use DECLARE_GETIMEM_EXTERN.
156 1.1 christos (DECLARE_GETT_EXTERN): New macro.
157 1.1 christos (DECLARE_GETT): Use DECLARE_GETT_EXTERN.
158 1.1 christos (DECLARE_SETT_EXTERN): New macro.
159 1.1 christos (DECLARE_SETT): Use DECLARE_SETT_EXTERN.
160 1.1 christos
161 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
162 1.1 christos
163 1.1 christos * cgen-ops.h: Move prototype blocks before function definitions.
164 1.1 christos
165 1.1 christos 2021-06-27 Mike Frysinger <vapier (a] gentoo.org>
166 1.1 christos
167 1.1 christos * cgen-ops.h (SUBWORDSIQI): Add int 2nd argument.
168 1.1 christos (SUBWORDSIHI, SUBWORDSIUQI, SUBWORDDIUQI): Likewise.
169 1.1 christos (ADDCFSI): Change return type to BI.
170 1.1 christos (ADDOFSI, SUBCFSI, SUBOFSI, ADDCFHI, ADDOFHI, SUBCFHI, SUBOFHI,
171 1.1 christos ADDCFQI, ADDOFQI, SUBCFQI, SUBOFQI): Likewise.
172 1.1 christos (MUL1OFSI): Change SI arguments to USI.
173 1.1 christos
174 1.1 christos 2021-06-23 Mike Frysinger <vapier (a] gentoo.org>
175 1.1 christos
176 1.1 christos * sim-syscall.c (sim_syscall_multi): Handle CB_SYS_kill.
177 1.1 christos
178 1.1 christos 2021-06-23 Mike Frysinger <vapier (a] gentoo.org>
179 1.1 christos
180 1.1 christos * callback.c (os_kill): New function.
181 1.1 christos (default_callback): Add os_kill.
182 1.1 christos * syscall.c (cb_syscall): Handle CB_SYS_kill.
183 1.1 christos
184 1.1 christos 2021-06-23 Mike Frysinger <vapier (a] gentoo.org>
185 1.1 christos
186 1.1 christos * Make-common.in (srcdir): Change to abs_srcdir.
187 1.1 christos
188 1.1 christos 2021-06-22 Mike Frysinger <vapier (a] gentoo.org>
189 1.1 christos
190 1.1 christos * callback.c (cb_target_to_host_signal): New function.
191 1.1 christos
192 1.1 christos 2021-06-22 Mike Frysinger <vapier (a] gentoo.org>
193 1.1 christos
194 1.1 christos * callback.c: Include signal.h.
195 1.1 christos (cb_init_signal_map): New prototype.
196 1.1 christos (os_init): Assign signal_map.
197 1.1 christos * gentmap.c (signal_tdefs): New array.
198 1.1 christos (gen_targ_vals_h): Output signal_tdefs.
199 1.1 christos (gen_targ_map_c): Likewise.
200 1.1 christos
201 1.1 christos 2021-06-22 Mike Frysinger <vapier (a] gentoo.org>
202 1.1 christos
203 1.1 christos * callback.c (os_getpid): New function.
204 1.1 christos (default_callback): Add os_getpid.
205 1.1 christos * syscall.c (cb_syscall): Change getpid to cb->getpid.
206 1.1 christos
207 1.1 christos 2021-06-22 Mike Frysinger <vapier (a] gentoo.org>
208 1.1 christos
209 1.1 christos * Make-common.in (VPATH): Use $(srcdir).
210 1.1 christos (config.status): New variable.
211 1.1 christos (stamp-hw): Depend on $(config.status).
212 1.1 christos (Makefile): Likewise. Change rule based on SIM_COMMON_BUILD.
213 1.1 christos (config.status): Disable when SIM_COMMON_BUILD is true.
214 1.1 christos (.gdbinit): Likewise.
215 1.1 christos
216 1.1 christos 2021-06-21 Mike Frysinger <vapier (a] gentoo.org>
217 1.1 christos
218 1.1 christos * Make-common.in: Move sim-hw settings to ../arch-subdir.mk.in.
219 1.1 christos
220 1.1 christos 2021-06-21 Mike Frysinger <vapier (a] gentoo.org>
221 1.1 christos
222 1.1 christos * Make-common.in (SIM_HW): Delete.
223 1.1 christos (SIM_HW_OBJS): Redefine.
224 1.1 christos (SIM_HW_SOCKSER, SIM_HW_DEVICES): Define.
225 1.1 christos (stamp-hw): Change SIM_HW to SIM_HW_DEVICES.
226 1.1 christos
227 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org>
228 1.1 christos
229 1.1 christos * Make-common.in (CGENDIR): Delete.
230 1.1 christos
231 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
232 1.1 christos
233 1.1 christos * Make-common.in (SIM_INLINE): Delete.
234 1.1 christos
235 1.1 christos 2021-06-19 Simon Marchi <simon.marchi (a] polymtl.ca>
236 1.1 christos
237 1.1 christos * sim-inline.h: Move UNUSED before TYPE.
238 1.1 christos
239 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
240 1.1 christos
241 1.1 christos * Make-common.in (clean): Delete BUILT_SRC_FROM_COMMON usage.
242 1.1 christos
243 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
244 1.1 christos
245 1.1 christos * Make-common.in (CSEARCH): Change @INCINTL@ to $(INTL_CFLAGS).
246 1.1 christos (LIBINTL, LIBINTL_DEP): Delete.
247 1.1 christos
248 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
249 1.1 christos
250 1.1 christos * Make-common.in: Move dependency vars to ../arch-subdir.mk.in.
251 1.1 christos
252 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
253 1.1 christos
254 1.1 christos * Make-common.in: Move toolchain vars to ../arch-subdir.mk.in.
255 1.1 christos
256 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
257 1.1 christos
258 1.1 christos * Make-common.in (lt_cv_dlopen_libs): Delete.
259 1.1 christos (@PLUGINS_TRUE@LIBDL): Likewise.
260 1.1 christos (ZLIB): Use $(zlibdir).
261 1.1 christos
262 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org>
263 1.1 christos
264 1.1 christos * Make-common.in (CONFIG_LIBS): Add $(COMMON_LIBS).
265 1.1 christos
266 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org>
267 1.1 christos
268 1.1 christos * Make-common.in (WARN_CFLAGS, WERROR_CFLAGS): Delete.
269 1.1 christos
270 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org>
271 1.1 christos
272 1.1 christos * Make-common.in: Include ../arch-subdir.mk.
273 1.1 christos
274 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org>
275 1.1 christos
276 1.1 christos * cgen-run.c: Include sim-signal.h.
277 1.1 christos * cgen-utils.c, nrun.c, sim-core.c, sim-engine.c, sim-reason.c,
278 1.1 christos sim-resume.c, sim-signal.c, sim-stop.c, sim-watch.c: Likewise.
279 1.1 christos * sim-basics.h: Delete sim-signal.h include.
280 1.1 christos
281 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org>
282 1.1 christos
283 1.1 christos * sim-basics.h: Delete libiberty.h include.
284 1.1 christos
285 1.1 christos 2021-06-17 Mike Frysinger <vapier (a] gentoo.org>
286 1.1 christos
287 1.1 christos * Make-common.in (SIM_ENDIAN): Delete.
288 1.1 christos * sim-config.c (sim_config): Delete WITH_DEFAULT_TARGET_BYTE_ORDER.
289 1.1 christos (sim_config_print): Likewise.
290 1.1 christos * sim-config.h (WITH_TARGET_BYTE_ORDER): Delete.
291 1.1 christos (WITH_DEFAULT_TARGET_BYTE_ORDER): Likewise.
292 1.1 christos
293 1.1 christos 2021-06-17 Mike Frysinger <vapier (a] gentoo.org>
294 1.1 christos
295 1.1 christos * cgen-trace.c: Include sim/callback.h.
296 1.1 christos * nrun.c, sim-hw.c, sim-io.c, sim-syscall.c, sim-trace.c: Likewise.
297 1.1 christos * sim-basics.h: Delete sim/callback.h include.
298 1.1 christos * sim-endian.h: Include bfd.h.
299 1.1 christos * sim-syscall.h (struct cb_syscall): New forward decl.
300 1.1 christos * sim-utils.h (sim_analyze_program): Likewise.
301 1.1 christos
302 1.1 christos 2021-06-16 Mike Frysinger <vapier (a] gentoo.org>
303 1.1 christos
304 1.1 christos * Make-common.in (CONFIG_CFLAGS): Change @DEFS@ to -DHAVE_CONFIG_H.
305 1.1 christos (generated_files): Delete config.h.
306 1.1 christos (distclean): Likewise.
307 1.1 christos (config.h, stamp-h): Delete rules.
308 1.1 christos * defs.h [SIM_COMMON_BUILD]: Delete config.h include and PACKAGE*
309 1.1 christos defines.
310 1.1 christos
311 1.1 christos 2021-06-15 Mike Frysinger <vapier (a] gentoo.org>
312 1.1 christos
313 1.1 christos * Make-common.in: Add stamp-modules rule to avoid rebuilds.
314 1.1 christos (clean): Delete modules.c files.
315 1.1 christos * local.mk: Add version.c-stamp rule to avoid rebuilds.
316 1.1 christos (CLEANFILES): Add version.c files.
317 1.1 christos
318 1.1 christos 2021-06-14 Mike Frysinger <vapier (a] gentoo.org>
319 1.1 christos
320 1.1 christos * local.mk (%D%/version.c): Use AM_V_GEN & AM_V_at wrappers.
321 1.1 christos
322 1.1 christos 2021-06-14 Mike Frysinger <vapier (a] gentoo.org>
323 1.1 christos
324 1.1 christos * Make-common.in (GNULIB_BUILDDIR): Rename to ...
325 1.1 christos (GNULIB_PARENT_DIR): ... this. Remove "gnulib" from value.
326 1.1 christos
327 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org>
328 1.1 christos
329 1.1 christos * Make-common.in (COMMON_OBJS_NAMES): Add portability.o.
330 1.1 christos * local.mk (%C%_libcommon_a_SOURCES): Add %D%/portability.c.
331 1.1 christos * portability.c, portability.h: New files.
332 1.1 christos
333 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org>
334 1.1 christos
335 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Move sim-load.o to ...
336 1.1 christos (COMMON_OBJS_NAMES): ... here. Rename var from COMMON_OBJS.
337 1.1 christos (COMMON_OBJS): Redefine.
338 1.1 christos * defs.h [SIM_COMMON_BUILD]: Do not include ../config.h.
339 1.1 christos * local.mk (%C%_libcommon_a_CPPFLAGS): New variable.
340 1.1 christos (%C%_libcommon_a_SOURCES): Add %D%/sim-load.c.
341 1.1 christos
342 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org>
343 1.1 christos
344 1.1 christos * dv-sockser.c: Include sys/select.h.
345 1.1 christos
346 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org>
347 1.1 christos
348 1.1 christos * Make-common.in: Delete SIM_ALIGNMENT.
349 1.1 christos * sim-config.c (sim_config): Change WITH_DEFAULT_ALIGNMENT to
350 1.1 christos NONSTRICT_ALIGNMENT.
351 1.1 christos (sim_config_print): Delete WITH_DEFAULT_ALIGNMENT logic.
352 1.1 christos * sim-config.h (WITH_DEFAULT_ALIGNMENT): Delete.
353 1.1 christos
354 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org>
355 1.1 christos
356 1.1 christos * defs.h: Include ../config.h. Undefine PACKAGE* defines.
357 1.1 christos
358 1.1 christos 2021-06-09 Mike Frysinger <vapier (a] gentoo.org>
359 1.1 christos
360 1.1 christos * sim-basics.h (NULL): Delete.
361 1.1 christos
362 1.1 christos 2021-06-09 Mike Frysinger <vapier (a] gentoo.org>
363 1.1 christos
364 1.1 christos * nrun.c (main): Set default_callback.target_endian to
365 1.1 christos current_target_byte_order when it's BFD_ENDIAN_UNKNOWN.
366 1.1 christos
367 1.1 christos 2021-06-09 Mike Frysinger <vapier (a] gentoo.org>
368 1.1 christos
369 1.1 christos * cgen-defs.h (STATE_RUN_FAST_P, CGEN_STATE, cgen_init): Delete.
370 1.1 christos * cgen-run.c (cgen_get_fast_p): New function.
371 1.1 christos (sim_resume): Move fast_p up and call cgen_get_fast_p.
372 1.1 christos * cgen-utils.c (cgen_init): Delete.
373 1.1 christos * sim-base.h: Delete cgen-sim.h include.
374 1.1 christos (struct sim_state): Delete cgen_state and STATE_CGEN_STATE.
375 1.1 christos
376 1.1 christos 2021-06-08 Mike Frysinger <vapier (a] gentoo.org>
377 1.1 christos
378 1.1 christos * Make-common.in (IGEN_RUN): New variable.
379 1.1 christos (IGEN): Remove ASAN_OPTIONS.
380 1.1 christos
381 1.1 christos 2021-06-05 Mike Frysinger <vapier (a] gentoo.org>
382 1.1 christos
383 1.1 christos * Make-common.in (COMMON_OBJS): Define.
384 1.1 christos (LIB_OBJS): Replace version.o with $(COMMON_OBJS).
385 1.1 christos (version.c): Delete target.
386 1.1 christos (generated_files): Delete version.c.
387 1.1 christos * local.mk: New file.
388 1.1 christos
389 1.1 christos 2021-05-29 Mike Frysinger <vapier (a] gentoo.org>
390 1.1 christos
391 1.1 christos * Make-common.in (EXTRA_LIBS): Add $(LIBGNU_EXTRA_LIBS).
392 1.1 christos
393 1.1 christos 2021-05-29 Mike Frysinger <vapier (a] gentoo.org>
394 1.1 christos
395 1.1 christos * Make-common.in (GNULIB_BUILDDIR): Define.
396 1.1 christos Include $(GNULIB_BUILDDIR)/Makefile.gnulib.inc.
397 1.1 christos (CSEARCH): Add -I../...
398 1.1 christos (ALL_CFLAGS): Add $(INCGNU).
399 1.1 christos (EXTRA_LIBS): Add $(LIBGNU).
400 1.1 christos * defs.h: Include gnulib/config.h. Undefine PACKAGE* defines.
401 1.1 christos
402 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org>
403 1.1 christos
404 1.1 christos * sim-base.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
405 1.1 christos (struct sim_state_base): Merge into ...
406 1.1 christos (struct sim_state): ... this.
407 1.1 christos (STATE_MY_NAME): Delete base.
408 1.1 christos (STATE_OPEN_KIND): Likewise.
409 1.1 christos (STATE_CALLBACK): Likewise.
410 1.1 christos (STATE_ENVIRONMENT): Likewise.
411 1.1 christos (STATE_CONFIG): Likewise.
412 1.1 christos (STATE_MODULES): Likewise.
413 1.1 christos (STATE_OPTIONS): Likewise.
414 1.1 christos (STATE_VERBOSE_P): Likewise.
415 1.1 christos (STATE_TRACE_DATA): Likewise.
416 1.1 christos (STATE_ARCHITECTURE): Likewise.
417 1.1 christos (STATE_TARGET): Likewise.
418 1.1 christos (STATE_PROG_ARGV): Likewise.
419 1.1 christos (STATE_PROG_BFD): Likewise.
420 1.1 christos (STATE_PROG_SYMS): Likewise.
421 1.1 christos (STATE_PROG_SYMS_COUNT): Likewise.
422 1.1 christos (STATE_TEXT_SECTION): Likewise.
423 1.1 christos (STATE_TEXT_START): Likewise.
424 1.1 christos (STATE_TEXT_END): Likewise.
425 1.1 christos (STATE_START_ADDR): Likewise.
426 1.1 christos (STATE_SCACHE_SIZE): Likewise.
427 1.1 christos (STATE_CORE): Likewise.
428 1.1 christos (STATE_MEMOPT): Likewise.
429 1.1 christos (STATE_EVENTS): Likewise.
430 1.1 christos (STATE_ENGINE): Likewise.
431 1.1 christos (STATE_WATCHPOINTS): Likewise.
432 1.1 christos (STATE_HW): Likewise.
433 1.1 christos (STATE_LOAD_AT_LMA_P): Likewise.
434 1.1 christos (SIM_MAGIC_NUMBER): Likewise.
435 1.1 christos (STATE_MAGIC): Likewise.
436 1.1 christos * sim-utils.c (sim_state_alloc_extra): Delete check for
437 1.1 christos SIM_HAVE_COMMON_SIM_STATE.
438 1.1 christos
439 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org>
440 1.1 christos
441 1.1 christos * cgen-defs.h (STATE_RUN_FAST_P): Call STATE_CGEN_STATE.
442 1.1 christos * sim-base.h [CGEN_ARCH]: Include cgen-sim.h and define
443 1.1 christos SIM_HAVE_COMMON_SIM_STATE.
444 1.1 christos (struct sim_state): Add cgen_state.
445 1.1 christos (STATE_CGEN_STATE): Define.
446 1.1 christos
447 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org>
448 1.1 christos
449 1.1 christos * sim-base.h (struct sim_state): Update comment.
450 1.1 christos (struct sim_state): Define.
451 1.1 christos (STATE_ARCH_DATA): Likewise.
452 1.1 christos (sim_state_alloc): New define.
453 1.1 christos (sim_state_alloc_extra): Renamed & add 3rd arg.
454 1.1 christos * sim-utils.c (sim_state_alloc): Likewise.
455 1.1 christos (sim_state_alloc_extra): Set arch data.
456 1.1 christos
457 1.1 christos 2021-05-16 Mike Frysinger <vapier (a] gentoo.org>
458 1.1 christos
459 1.1 christos * callback.c: Replace config.h include with defs.h.
460 1.1 christos * cgen-accfp.c, cgen-fpu.c, cgen-par.c, cgen-run.c, cgen-scache.c,
461 1.1 christos dv-core.c, dv-glue.c, genmloop.sh, hw-alloc.c, hw-base.c, hw-device.c,
462 1.1 christos hw-events.c, hw-handles.c, hw-instances.c, hw-ports.c,
463 1.1 christos hw-properties.c, hw-tree.c, sim-abort.c, sim-arange.c, sim-bits.c,
464 1.1 christos sim-close.c, sim-command.c, sim-config.c, sim-core.c, sim-cpu.c,
465 1.1 christos sim-endian.c, sim-engine.c, sim-events.c, sim-fpu.c, sim-hload.c,
466 1.1 christos sim-hrw.c, sim-hw.c, sim-info.c, sim-inline.c, sim-model.c,
467 1.1 christos sim-profile.c, sim-reason.c, sim-reg.c, sim-resume.c, sim-run.c,
468 1.1 christos sim-signal.c, sim-stop.c, sim-trace.c, sim-utils.c: Include defs.h.
469 1.1 christos * cgen-trace.c, cgen-utils.c, dv-cfi.c, dv-pal.c, dv-sockser.c,
470 1.1 christos nrun.c, sim-basics.h, sim-load.c, sim-memopt.c, sim-module.c,
471 1.1 christos sim-options.c, sim-syscall.c, sim-watch.c, syscall.c: Replace
472 1.1 christos config.h include with defs.h.
473 1.1 christos * gentmap.c (gen_targ_map_c): Replace config.h with defs.h.
474 1.1 christos * sim-io.c: Include defs.h.
475 1.1 christos (open): Undefine.
476 1.1 christos * defs.h: New file.
477 1.1 christos
478 1.1 christos 2021-05-15 Mike Frysinger <vapier (a] gentoo.org>
479 1.1 christos
480 1.1 christos * nrun.c: Include environ.h.
481 1.1 christos (environ): Delete prototype.
482 1.1 christos (main): Delete HAVE_ENVIRON check.
483 1.1 christos
484 1.1 christos 2021-05-14 Mike Frysinger <vapier (a] gentoo.org>
485 1.1 christos
486 1.1 christos * callback.c (os_lseek): Change return and 3rd arg to int64_t.
487 1.1 christos (os_ftruncate): Change 3rd arg to int64_t.
488 1.1 christos (os_truncate): Change 3rd arg to int64_t.
489 1.1 christos * sim-io.c (sim_io_lseek): Change return and 3rd arg to int64_t.
490 1.1 christos * sim-io.h (sim_io_lseek): Likewise.
491 1.1 christos
492 1.1 christos 2021-05-14 Mike Frysinger <vapier (a] gentoo.org>
493 1.1 christos
494 1.1 christos * callback.c (os_time): Change return to int64_t. Delete 2nd arg.
495 1.1 christos (os_fstat): Delete 2nd arg to time callback.
496 1.1 christos * sim-io.c (sim_io_time): Change return to int64_t. Delete 2nd arg
497 1.1 christos to time callback.
498 1.1 christos * sim-io.h (sim_io_time): Change return to int64_t.
499 1.1 christos * syscall.c (cb_syscall): Delete 2nd arg to time callback.
500 1.1 christos
501 1.1 christos 2021-05-14 Mike Frysinger <vapier (a] gentoo.org>
502 1.1 christos
503 1.1 christos * callback.c (cb_host_to_target_stat): Change PTR to void*.
504 1.1 christos * sim-syscall.c (sim_syscall_multi): Delete (PTR) casts.
505 1.1 christos
506 1.1 christos 2021-05-14 Mike Frysinger <vapier (a] gentoo.org>
507 1.1 christos
508 1.1 christos * Make-common.in (callback_h, remote_sim_h): Update path.
509 1.1 christos * callback.c: Update include path.
510 1.1 christos * gentmap.c (gen_targ_map_c): Likewise.
511 1.1 christos * sim-basics.h: Likewise.
512 1.1 christos * sim-close.c: Likewise.
513 1.1 christos * sim-core.c: Likewise.
514 1.1 christos * sim-load.c: Likewise.
515 1.1 christos * sim-module.h: Likewise.
516 1.1 christos * syscall.c: Likewise.
517 1.1 christos
518 1.1 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
519 1.1 christos
520 1.1 christos * Make-common.in (modules.c): Touch $@ at the end.
521 1.1 christos
522 1.1 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
523 1.1 christos
524 1.1 christos * cgen-trace.c (sim_cgen_disassemble_insn): Change %x to PRIxTA.
525 1.1 christos
526 1.1 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
527 1.1 christos
528 1.1 christos * cgen-types.h (mode_names): Rename to ...
529 1.1 christos (cgen_mode_names): ... this.
530 1.1 christos (MODE_NAME): Use cgen_mode_names.
531 1.1 christos * cgen-utils.c (mode_names): Rename to ...
532 1.1 christos (cgen_mode_names): ... this.
533 1.1 christos
534 1.1 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
535 1.1 christos
536 1.1 christos * cgen-ops.h (cgen_rtx_error): Declare.
537 1.1 christos * cgen-utils.c (cgen_rtx_error): Add %s printf argument.
538 1.1 christos
539 1.1 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
540 1.1 christos
541 1.1 christos * cgen-utils.c (virtual_insn_entries): Change {0} to {}.
542 1.1 christos
543 1.1 christos 2021-05-08 Mike Frysinger <vapier (a] gentoo.org>
544 1.1 christos
545 1.1 christos * Make-common.in (html, clean-html, install-html, pdf, clean-pdf,
546 1.1 christos install-pdf): New rules.
547 1.1 christos
548 1.1 christos 2021-05-08 Tom Tromey <tom (a] tromey.com>
549 1.1 christos
550 1.1 christos * sim-options.c (compare_strings): Remove.
551 1.1 christos (dup_arg_p): Use htab_eq_string.
552 1.1 christos
553 1.1 christos 2021-05-04 Mike Frysinger <vapier (a] gentoo.org>
554 1.1 christos
555 1.1 christos * sim-hw.c (sim_hw_install): Rename to ...
556 1.1 christos (sim_install_hw): ... this. New prototype.
557 1.1 christos * sim-hw.h (sim_hw_install): Delete.
558 1.1 christos * sim-module.c: Delete sim-hw.h include.
559 1.1 christos (early_modules): Delete sim_hw_install.
560 1.1 christos
561 1.1 christos 2021-05-04 Tom Tromey <tromey (a] adacore.com>
562 1.1 christos
563 1.1 christos * Make-common.in (generated_files): Add config.h.
564 1.1 christos
565 1.1 christos 2021-05-04 Mike Frysinger <vapier (a] gentoo.org>
566 1.1 christos
567 1.1 christos * cgen-trace.c (sim_disasm_perror_memory): Use BFD_VMA_FMT and drop
568 1.1 christos cast.
569 1.1 christos * sim-load.c (xprintf_bfd_vma): Delete.
570 1.1 christos (sim_load_file): Delete xprintf_bfd_vma calls. Use BFD_VMA_FMT.
571 1.1 christos
572 1.1 christos 2021-05-03 Simon Marchi <simon.marchi (a] polymtl.ca>
573 1.1 christos
574 1.1 christos * hw-events.h (hw_event_queue_schedule_tracef): Use format attribute.
575 1.1 christos (hw_event_queue_schedule_vtracef): Likewise.
576 1.1 christos * hw-tree.h (hw_tree_vparse): Likewise.
577 1.1 christos * sim-profile.c (profile_vprintf): Likewise.
578 1.1 christos * sim-trace.c (dis_printf): Likewise.
579 1.1 christos * sim-trace.h (trace_printf): Likewise.
580 1.1 christos (trace_vprintf): Likewise.
581 1.1 christos * sim-utils.h (sim_do_commandf): Likewise.
582 1.1 christos * hw-events.c (hw_event_queue_schedule): Use
583 1.1 christos hw_event_queue_schedule_tracef.
584 1.1 christos
585 1.1 christos 2021-05-02 Simon Marchi <simon.marchi (a] polymtl.ca>
586 1.1 christos
587 1.1 christos * sim-options.c (standard_option_handler): Add default cases to
588 1.1 christos switches.
589 1.1 christos
590 1.1 christos 2021-05-02 Mike Frysinger <vapier (a] gentoo.org>
591 1.1 christos
592 1.1 christos * callback.c (os_error): Change __attribute__((noreturn)) to
593 1.1 christos ATTRIBUTE_NORETURN.
594 1.1 christos * hw-device.h (hw_abort, hw_vabort, hw_halthw_trace): Change
595 1.1 christos attributes to ATTRIBUTE_PRINTF and ATTRIBUTE_NORETURN.
596 1.1 christos * hw-events.h (hw_event_queue_schedule_tracef): Likewise.
597 1.1 christos * hw-tree.h (hw_tree_delete): Likewise.
598 1.1 christos * sim-basics.h (__attribute__): Delete.
599 1.1 christos * sim-engine.h (sim_engine_halt): Change __attribute__((noreturn))
600 1.1 christos to ATTRIBUTE_NORETURN.
601 1.1 christos (sim_engine_abort, sim_engine_vabort): Likewise.
602 1.1 christos * sim-hw.h (sim_hw_install, sim_hw_abort): Change
603 1.1 christos __attribute__((printf)) to ATTRIBUTE_PRINTF.
604 1.1 christos * sim-inline.h (NORETURN): Delete.
605 1.1 christos (UNUSED): Change to ATTRIBUTE_UNUSED.
606 1.1 christos * sim-io.h (sim_io_printf): Change attributes to ATTRIBUTE_PRINTF
607 1.1 christos and ATTRIBUTE_NORETURN.
608 1.1 christos (sim_io_eprintf, sim_io_error): Likewise.
609 1.1 christos * sim-profile.c (profile_printf): Likewise.
610 1.1 christos * sim-trace.h (trace_prefix, trace_generic, trace_printf,
611 1.1 christos sim_debug_printf): Likewise.
612 1.1 christos
613 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org>
614 1.1 christos
615 1.1 christos * sim-options.c (dup_arg_p): Call htab_empty.
616 1.1 christos
617 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org>
618 1.1 christos
619 1.1 christos * dv-sockser.c (dv_sockser_install): Rename to ...
620 1.1 christos (sim_install_dv_sockser): ... this.
621 1.1 christos * dv-sockser.h (dv_sockser_install): Delete.
622 1.1 christos * sim-module.c: Delete dv-sockser.h include.
623 1.1 christos (early_modules): Delete dv_sockser_install.
624 1.1 christos
625 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org>
626 1.1 christos
627 1.1 christos * Make-common.in (LIB_OBJS): Add modules.o.
628 1.1 christos (generated_files): Add modules.c.
629 1.1 christos (modules.c): New target.
630 1.1 christos * sim-module.c (modules): Rename to ...
631 1.1 christos (early_modules): ... this. Delete 0 sentinel.
632 1.1 christos (early_modules_len): Define.
633 1.1 christos (sim_modules_detected, sim_modules_detected_len): Declare.
634 1.1 christos (sim_pre_argv_init): Call sim_module_install_list.
635 1.1 christos (sim_module_install): New function.
636 1.1 christos (sim_module_install_list): New function.
637 1.1 christos * sim-module.h (sim_module_install_list): Declare.
638 1.1 christos
639 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org>
640 1.1 christos
641 1.1 christos * nrun.c (strsignal): New prototype.
642 1.1 christos
643 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org>
644 1.1 christos
645 1.1 christos * callback.c (wrap): Delete.
646 1.1 christos (os_close): Replace wrap call with direct call & setting last_errno.
647 1.1 christos (os_isatty, os_lseek, os_read_stdin, os_write, os_rename, os_system,
648 1.1 christos os_time, os_unlink, os_stat, os_fstat, os_lstat): Likewise.
649 1.1 christos
650 1.1 christos 2021-04-26 Mike Frysinger <vapier (a] gentoo.org>
651 1.1 christos
652 1.1 christos * gennltvals.py (TARGETS): Delete. Update comment.
653 1.1 christos (gentvals): Unify common code paths.
654 1.1 christos (gen_targets): Change TARGETS to TARGETS_DIRS. Call gentvals without
655 1.1 christos target argument.
656 1.1 christos * nltvals.def: Regenerate.
657 1.1 christos
658 1.1 christos 2021-04-25 Tom Tromey <tom (a] tromey.com>
659 1.1 christos
660 1.1 christos * sim-options.c (compare_strings): New function.
661 1.1 christos (ARG_HASH_SIZE, ARG_HASH): Remove.
662 1.1 christos (dup_arg_p): Use htab_t.
663 1.1 christos (sim_parse_args): Remove assert.
664 1.1 christos
665 1.1 christos 2021-04-24 Mike Frysinger <vapier (a] gentoo.org>
666 1.1 christos
667 1.1 christos * dv-cfi.c (attach_cfi_regs): Change %u to PRIiTC.
668 1.1 christos
669 1.1 christos 2021-04-24 Mike Frysinger <vapier (a] gentoo.org>
670 1.1 christos
671 1.1 christos * sim-options.c (ARG_HASH_SIZE): Increase to 256.
672 1.1 christos (sim_parse_args): Call SIM_ASSERT.
673 1.1 christos
674 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com>
675 1.1 christos
676 1.1 christos * sim-utils.c: Update includes.
677 1.1 christos
678 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com>
679 1.1 christos
680 1.1 christos * Make-common.in: Require GNU make.
681 1.1 christos
682 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com>
683 1.1 christos
684 1.1 christos * Make-common.in (stamp-hw): New target.
685 1.1 christos (hw-config.h): Depend on stamp-hw.
686 1.1 christos (mostlyclean): Remove stamp-hw and hw-config.h.
687 1.1 christos
688 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com>
689 1.1 christos
690 1.1 christos * Make-common.in (mostlyclean): Now an alias for clean, not
691 1.1 christos distclean.
692 1.1 christos
693 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com>
694 1.1 christos
695 1.1 christos * sim-events.c (sim_events_schedule): Use
696 1.1 christos sim_events_schedule_tracef.
697 1.1 christos
698 1.1 christos 2021-04-22 Simon Marchi <simon.marchi (a] polymtl.ca>
699 1.1 christos
700 1.1 christos * callback.c (os_printf_filtered, os_vprintf_filtered,
701 1.1 christos os_evprintf_filtered, os_error): Use ATTRIBUTE_PRINTF.
702 1.1 christos * sim-engine.h (sim_engine_abort, sim_engine_vabort): Likewise.
703 1.1 christos * sim-events.h (sim_events_schedule_tracef,
704 1.1 christos sim_events_schedule_vtracef): Use ATTRIBUTE_NULL_PRINTF.
705 1.1 christos
706 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org>
707 1.1 christos
708 1.1 christos * gennltvals.py (TARGETS): Add moxie.
709 1.1 christos * nltvals.def: Regenerate.
710 1.1 christos
711 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org>
712 1.1 christos
713 1.1 christos * gennltvals.py (TARGET_DIRS, TARGETS): Add sh.
714 1.1 christos * nltvals.def: Regenerate.
715 1.1 christos
716 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org>
717 1.1 christos
718 1.1 christos * gennltvals.py (TARGETS): Add rx.
719 1.1 christos * nltvals.def: Regenerate.
720 1.1 christos
721 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org>
722 1.1 christos
723 1.1 christos * gennltvals.py (TARGETS): Add m32c.
724 1.1 christos * nltvals.def: Regenerate.
725 1.1 christos
726 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org>
727 1.1 christos
728 1.1 christos * gennltvals.py (TARGETS): Add iq2000.
729 1.1 christos * nltvals.def: Regenerate.
730 1.1 christos
731 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org>
732 1.1 christos
733 1.1 christos * syscall.c (cb_syscall): Implement CB_SYS_getpid.
734 1.1 christos
735 1.1 christos 2021-04-15 John Baldwin <jhb (a] FreeBSD.org>
736 1.1 christos
737 1.1 christos * Make-common.in (CONFIG_CFLAGS): Remove SIM_EXTRA_CFLAGS.
738 1.1 christos (ALL_CLAGS, COMMON_DEP_CFLAGS): Add SIM_EXTRA_CFLAGS after
739 1.1 christos CSEARCH.
740 1.1 christos
741 1.1 christos 2021-04-12 Mike Frysinger <vapier (a] gentoo.org>
742 1.1 christos
743 1.1 christos * sim-cpu.c (sim_cpu_alloc_all): Delete 3rd arg. Delete 2nd arg to
744 1.1 christos sim_cpu_alloc.
745 1.1 christos (sim_cpu_alloc): Move extra_bytes to local var. Add result of
746 1.1 christos cgen_cpu_max_extra_bytes.
747 1.1 christos * sim-cpu.h (sim_cpu_alloc_all): Delete 3rd arg.
748 1.1 christos (sim_cpu_alloc): Delete 2nd arg.
749 1.1 christos
750 1.1 christos 2021-04-08 Tom Tromey <tom (a] tromey.com>
751 1.1 christos
752 1.1 christos * cgen-utils.c (RORQI, ROLQI, RORHI, ROLHI, RORSI, ROLSI): Use
753 1.1 christos new-style declaration.
754 1.1 christos
755 1.1 christos 2021-04-03 Mike Frysinger <vapier (a] gentoo.org>
756 1.1 christos
757 1.1 christos * Make-common.in (install-common): Install as run-$arch and
758 1.1 christos libsim-$arch.a when not the primary arch.
759 1.1 christos
760 1.1 christos 2021-04-02 Mike Frysinger <vapier (a] gentoo.org>
761 1.1 christos
762 1.1 christos * Make-common.in (CFLAGS_FOR_BUILD): Define.
763 1.1 christos (BUILD_CFLAGS): Replace -g -O with $(CFLAGS_FOR_BUILD).
764 1.1 christos
765 1.1 christos 2021-03-13 Mike Frysinger <vapier (a] gentoo.org>
766 1.1 christos
767 1.1 christos * Make-common.in (LINK_FOR_BUILD): Change BUILD_LDFLAGS to
768 1.1 christos LDFLAGS_FOR_BUILD.
769 1.1 christos
770 1.1 christos 2021-03-13 Mike Frysinger <vapier (a] gentoo.org>
771 1.1 christos
772 1.1 christos * Make-common.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
773 1.1 christos (gentmap.o): New rule.
774 1.1 christos (gentmap): Call LINK_FOR_BUILD.
775 1.1 christos
776 1.1 christos 2021-03-07 Mike Frysinger <vapier (a] gentoo.org>
777 1.1 christos
778 1.1 christos * Make-common.in (check): Delete body.
779 1.1 christos
780 1.1 christos 2021-02-28 Mike Frysinger <vapier (a] gentoo.org>
781 1.1 christos
782 1.1 christos * Make-common.in (SIM_EXTRA_LIBDEPS): Delete.
783 1.1 christos (LIBDEPS): Delete $(SIM_EXTRA_LIBDEPS).
784 1.1 christos
785 1.1 christos 2021-02-27 Mike Frysinger <vapier (a] gentoo.org>
786 1.1 christos
787 1.1 christos * Make-common.in (SIM_EXTRA_ALL): Delete.
788 1.1 christos (all): Delete $(SIM_EXTRA_ALL).
789 1.1 christos
790 1.1 christos 2021-02-21 Mike Frysinger <vapier (a] gentoo.org>
791 1.1 christos
792 1.1 christos * acinclude.m4: Removed.
793 1.1 christos
794 1.1 christos 2021-02-13 Mike Frysinger <vapier (a] gentoo.org>
795 1.1 christos
796 1.1 christos * acinclude.m4: Delete all sinclude & m4_include calls.
797 1.1 christos
798 1.1 christos 2021-02-13 Mike Frysinger <vapier (a] gentoo.org>
799 1.1 christos
800 1.1 christos * aclocal.m4: Delete.
801 1.1 christos
802 1.1 christos 2021-02-06 Mike Frysinger <vapier (a] gentoo.org>
803 1.1 christos
804 1.1 christos * sim-events.c: Include sim-cpu.h.
805 1.1 christos (sim_event_watchpoints): Define watch_pc.
806 1.1 christos (sim_events_watch_pc): New function.
807 1.1 christos (WATCH_SIM): Handle watch_pc.
808 1.1 christos * sim-events.h (sim_events_watch_pc): New prototype.
809 1.1 christos * sim-watch.c (schedule_watchpoint): Replace sim_events_watch_sim with
810 1.1 christos sim_events_watch_pc.
811 1.1 christos * sim-watch.h (sim_watchpoints): Delete pc.
812 1.1 christos
813 1.1 christos 2021-02-06 Mike Frysinger <vapier (a] gentoo.org>
814 1.1 christos
815 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Replace AC_CONFIG_HEADER with
816 1.1 christos AC_CONFIG_HEADERS.
817 1.1 christos
818 1.1 christos 2021-02-06 Mike Frysinger <vapier (a] gentoo.org>
819 1.1 christos
820 1.1 christos * Make-common.in (HDEFINES, TDEFINES): Delete.
821 1.1 christos (CONFIG_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
822 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Delete AC_SUBST(HDEFINES) and
823 1.1 christos bfd/configure.host sourcing.
824 1.1 christos
825 1.1 christos 2021-02-04 Mike Frysinger <vapier (a] gentoo.org>
826 1.1 christos
827 1.1 christos * gennltvals.py (TARGETS): Add riscv.
828 1.1 christos (TARGET_DIRS): Likewise.
829 1.1 christos * nltvals.def: Regenerate from the latest libgloss sources.
830 1.1 christos
831 1.1 christos 2021-01-31 Mike Frysinger <vapier (a] gentoo.org>
832 1.1 christos
833 1.1 christos * cgen-trace.c (cgen_trace_insn): Add "%s" argument.
834 1.1 christos
835 1.1 christos 2021-01-31 Stafford Horne <shorne (a] gmail.com>
836 1.1 christos
837 1.1 christos * cgen-accfp.c (fixsfsi): Change res from unsigned32 to signed32.
838 1.1 christos (fixdfsi): Change res from unsigned32 to signed32.
839 1.1 christos (fixdfdi): Change res from unsigned64 to signed64.
840 1.1 christos
841 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org>
842 1.1 christos
843 1.1 christos * gennltvals.sh: Replace shell script with ...
844 1.1 christos * gennltvals.py: ... this Python script.
845 1.1 christos * nltvals.def: Regenerate.
846 1.1 christos
847 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org>
848 1.1 christos
849 1.1 christos * sim-watch.c (schedule_watchpoint): Change sizeof_pc to sizeof
850 1.1 christos sim_cia.
851 1.1 christos * sim-watch.h (struct _sim_watchpoints): Delete sizeof_pc.
852 1.1 christos
853 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org>
854 1.1 christos
855 1.1 christos * sim-profile.c (profile_pc_init): Change 1 in shifts to 1ULL.
856 1.1 christos
857 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org>
858 1.1 christos
859 1.1 christos * sim-hw.c (merge_device_file): Replace fgets with getline.
860 1.1 christos
861 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org>
862 1.1 christos
863 1.1 christos * gennltvals.sh (gen_arches): Sort calls by first arg.
864 1.1 christos * nltvals.def: Regenerate.
865 1.1 christos
866 1.1 christos 2021-01-18 Mike Frysinger <vapier (a] gentoo.org>
867 1.1 christos
868 1.1 christos * Make-common.in (version.c): Simplifiy args and call move-if-change.
869 1.1 christos * create-version.sh: Delete host & target alias logic. Write to the
870 1.1 christos output directly.
871 1.1 christos
872 1.1 christos 2021-01-18 Mike Frysinger <vapier (a] gentoo.org>
873 1.1 christos
874 1.1 christos * configure, configure.ac, Makefile.in: Delete.
875 1.1 christos
876 1.1 christos 2021-01-13 Mike Frysinger <vapier (a] gentoo.org>
877 1.1 christos
878 1.1 christos * sim-watch.c (default_interrupt_handler): Define.
879 1.1 christos (sim_watchpoint_install): Set default interrupt_handler to new
880 1.1 christos default_interrupt_handler.
881 1.1 christos
882 1.1 christos 2021-01-13 Mike Frysinger <vapier (a] gentoo.org>
883 1.1 christos
884 1.1 christos * sim-watch.c (do_watchpoint_create): Parse arg+1 and assign to arg1.
885 1.1 christos
886 1.1 christos 2021-01-13 Mike Frysinger <vapier (a] gentoo.org>
887 1.1 christos
888 1.1 christos * sim-events.c (sim_events_watch_sim): Change byte_order type to
889 1.1 christos enum bfd_endian.
890 1.1 christos (sim_events_watch_core): Likewise.
891 1.1 christos * sim-events.h (sim_events_watch_sim, sim_events_watch_core): Likewise.
892 1.1 christos * sim-watch.c (schedule_watchpoint): Change 0 to HOST_BYTE_ORDER in
893 1.1 christos call to sim_events_watch_sim.
894 1.1 christos
895 1.1 christos 2021-01-12 Mike Frysinger <vapier (a] gentoo.org>
896 1.1 christos
897 1.1 christos * sim-profile.h [!WITH_PROFILE]: Rewrite to use #error.
898 1.1 christos
899 1.1 christos 2021-01-11 Mike Frysinger <vapier (a] gentoo.org>
900 1.1 christos
901 1.1 christos * acinclude.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_WARNINGS.
902 1.1 christos
903 1.1 christos 2021-01-11 Mike Frysinger <vapier (a] gentoo.org>
904 1.1 christos
905 1.1 christos * sim-core.c (sim_memory_map): Change %#x to PRIxTW.
906 1.1 christos
907 1.1 christos 2021-01-11 Mike Frysinger <vapier (a] gentoo.org>
908 1.1 christos
909 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Delete checks for stdlib.h, string.h,
910 1.1 christos strings.h, time.h, and errno.h.
911 1.1 christos * callback.c, cgen-scache.c, dv-glue.c, dv-pal.c, dv-sockser.c,
912 1.1 christos hw-alloc.c, hw-base.c, hw-device.c, hw-events.c, hw-handles.c,
913 1.1 christos hw-ports.c, hw-properties.c, hw-tree.c, nrun.c, sim-arange.c,
914 1.1 christos sim-events.c, sim-fpu.c, sim-hw.c, sim-load.c, sim-memopt.c,
915 1.1 christos sim-options.c, sim-profile.c, sim-trace.c, sim-utils.c,
916 1.1 christos sim-watch.c, syscall.c: Delete HAVE_ERRNO_H, HAVE_STDLIB_H,
917 1.1 christos HAVE_STRING_H, HAVE_STRINGS_H, HAVE_LIMITS_H, HAVE_TIME_H,
918 1.1 christos and strings.h include.
919 1.1 christos
920 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org>
921 1.1 christos
922 1.1 christos * sim-basics.h [__CYGWIN32__] (vasprintf, asprintf): Delete.
923 1.1 christos * sim-core.c, sim-watch.c: Include libiberty.h.
924 1.1 christos
925 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org>
926 1.1 christos
927 1.1 christos * acinclude.m4: Replace duplicate text with pointer to README-HACKING.
928 1.1 christos
929 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org>
930 1.1 christos
931 1.1 christos * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Document 1st argument.
932 1.1 christos Set WERROR_CFLAGS when first arg is not set or is "yes".
933 1.1 christos
934 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org>
935 1.1 christos
936 1.1 christos * hw-base.c (full_name_of_hw): Delete full_name. Replace
937 1.1 christos hw_strdup call with hw_malloc.
938 1.1 christos
939 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org>
940 1.1 christos
941 1.1 christos * cgen-par.c: Include stdlib.h.
942 1.1 christos * cgen-trace.c, hw-events.c, sim-abort.c: Likewise.
943 1.1 christos
944 1.1 christos 2021-01-08 Mike Frysinger <vapier (a] gentoo.org>
945 1.1 christos
946 1.1 christos * Make-common.in (C_DIALECT): Define.
947 1.1 christos (COMPILE.pre): Append $(C_DIALECT).
948 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Probe C11 to define C_DIALECT.
949 1.1 christos
950 1.1 christos 2021-01-07 Mike Frysinger <vapier (a] gentoo.org>
951 1.1 christos
952 1.1 christos * sim-core.c (sim_memory_map): Define.
953 1.1 christos
954 1.1 christos 2021-01-04 Mike Frysinger <vapier (a] gentoo.org>
955 1.1 christos
956 1.1 christos * acinclude.m4 (ACX_BUGURL): Change http:// to https://.
957 1.1 christos * configure: Regenerate.
958 1.1 christos
959 1.1 christos 2021-01-04 Mike Frysinger <vapier (a] gentoo.org>
960 1.1 christos
961 1.1 christos * sim-options.c (sim_print_version): Print out more details when
962 1.1 christos is_command is non-zero.
963 1.1 christos
964 1.1 christos 2021-01-04 Mike Frysinger <vapier (a] gentoo.org>
965 1.1 christos
966 1.1 christos * sim-options.c (standard_option_handler): Call sim_print_version.
967 1.1 christos (sim_print_version): New function.
968 1.1 christos * sim-options.h (sim_print_version): New prototype.
969 1.1 christos
970 1.1 christos 2021-01-04 Mike Frysinger <vapier (a] gentoo.org>
971 1.1 christos
972 1.1 christos * sim-config.c (print_sim_config): Rename to ...
973 1.1 christos (sim_config_print): ... this.
974 1.1 christos * sim-config.h: Likewise.
975 1.1 christos
976 1.1 christos 2021-01-02 Mike Frysinger <vapier (a] gentoo.org>
977 1.1 christos
978 1.1 christos * sim-bits.h (_ALIGNa, _FLOORa, ALIGN_8, ALIGN_16, ALIGN_PAGE,
979 1.1 christos FLOOR_PAGE): Delete unused macros.
980 1.1 christos (align_up, align_down): Define.
981 1.1 christos
982 1.1 christos 2020-08-10 Tom de Vries <tdevries (a] suse.de>
983 1.1 christos
984 1.1 christos * sim-cpu.c: Include stdlib.h for free.
985 1.1 christos
986 1.1 christos 2020-01-19 Simon Marchi <simon.marchi (a] polymtl.ca>
987 1.1 christos
988 1.1 christos * nrun.c: Include stdlib.h.
989 1.1 christos * sim-core.c: Likewise.
990 1.1 christos * sim-engine.c: Likewise.
991 1.1 christos * sim-io.c: Likewise.
992 1.1 christos * sim-module.c: Likewise.
993 1.1 christos * sim-reason.c: Likewise.
994 1.1 christos
995 1.1 christos 2019-12-19 Tom Tromey <tromey (a] adacore.com>
996 1.1 christos
997 1.1 christos PR build/24572:
998 1.1 christos * Makefile.in (install-strip): New target.
999 1.1 christos
1000 1.1 christos 2019-12-01 Pavel I. Kryukov <kryukov (a] frtk.ru>
1001 1.1 christos
1002 1.1 christos * sim-utils.c: Prevent buffer overflow.
1003 1.1 christos
1004 1.1 christos 2019-09-23 Dimitar Dimitrov <dimitar (a] dinux.eu>
1005 1.1 christos
1006 1.1 christos * gennltvals.sh: Add PRU libgloss target.
1007 1.1 christos * nltvals.def: Regenerate from the latest libgloss sources.
1008 1.1 christos
1009 1.1 christos 2019-06-13 Stafford Horne <shorne (a] gmail.com>
1010 1.1 christos
1011 1.1 christos * cgen-accfp.c (unorderedsf, unordereddf): New functions.
1012 1.1 christos (cgen_init_accurate_fpu): Wire up unorderedsf and unordereddf.
1013 1.1 christos * cgen-fpu.h (cgen_fp_ops): Define fields unorderedsf and unordereddf.
1014 1.1 christos
1015 1.1 christos 2019-06-13 Stafford Horne <shorne (a] gmail.com>
1016 1.1 christos
1017 1.1 christos * cgen-accfp.c (floatdidf, fixdfdi): New functions.
1018 1.1 christos (cgen_init_accurate_fpu): Add floatdidf and fixdfdi.
1019 1.1 christos
1020 1.1 christos 2019-04-13 Andrew Burgess <andrew.burgess (a] embecosm.com>
1021 1.1 christos
1022 1.1 christos * cgen-ops.h (SUBWORDXFSI): Compare HOST_BYTE_ORDER not
1023 1.1 christos CURRENT_TARGET_BYTE_ORDER.
1024 1.1 christos (SUBWORDTFSI): Likewise.
1025 1.1 christos (JOINSIDF): Likewise.
1026 1.1 christos (JOINSIXF): Likewise.
1027 1.1 christos (JOINSITF): Likewise.
1028 1.1 christos
1029 1.1 christos 2019-03-28 Andrew Burgess <andrew.burgess (a] embecosm.com>
1030 1.1 christos
1031 1.1 christos * sim-base.h: Add 'sim-assert.h' include.
1032 1.1 christos * sim-basics.h: Add 'libiberty.h' include.
1033 1.1 christos
1034 1.1 christos 2019-03-28 Stafford Horne <shorne (a] gmail.com>
1035 1.1 christos
1036 1.1 christos * sim-options.c: Include "config.h".
1037 1.1 christos Include <stdio.h>.
1038 1.1 christos * sim-watch.c: Include "config.h".
1039 1.1 christos Include <stdio.h>.
1040 1.1 christos * hw-device.c: Include <string.h>.
1041 1.1 christos * hw-events.c: Include <string.h>.
1042 1.1 christos * hw-handles.c: Include <stdlib.h>.
1043 1.1 christos * sim-fpu.c: Include <stdlib.h>.
1044 1.1 christos
1045 1.1 christos 2019-03-28 Stafford Horne <shorne (a] gmail.com>
1046 1.1 christos
1047 1.1 christos * Make-common.in (sim-arange_h): Remove sim-arange.c
1048 1.1 christos * sim-arange.c: Remove SIM_ARANGE_C.
1049 1.1 christos Add ifdef for _SIM_ARANGE_C_.
1050 1.1 christos Include "sim-arange.h".
1051 1.1 christos Remove include for unused "sim-assert.h".
1052 1.1 christos Remove DEFINE_INLINE_P. Remove DEFINE_NON_INLINE_P.
1053 1.1 christos (sim_addr_range_add): Declare as INLINE_SIM_ARANGE.
1054 1.1 christos (sim_addr_range_delete): Declare as INLINE_SIM_ARANGE.
1055 1.1 christos (sim_addr_range_hit_p): Change from SIM_ARANGE_INLINE to
1056 1.1 christos INLINE_SIM_ARANGE.
1057 1.1 christos * sim-arange.h (sim_addr_range_add): Declare as
1058 1.1 christos INLINE_SIM_ARANGE.
1059 1.1 christos (sim_addr_range_delete): Declare as INLINE_SIM_ARANGE.
1060 1.1 christos (sim_addr_range_hit_p) Declare as INLINE_SIM_ARANGE.
1061 1.1 christos Remove definition of SIM_ARANGE_INLINE.
1062 1.1 christos Remove [HAVE_INLINE].
1063 1.1 christos Wrap include "sim-arange.c" in H_REVEALS_MODULE_P.
1064 1.1 christos * sim-base.h: Include "sim-arange.h"
1065 1.1 christos * sim-basics.h: Remove include of "sim-arange.h"
1066 1.1 christos * sim-inline.c: Include "sim-arange.c"
1067 1.1 christos * sim-inline.h: Define INLINE_SIM_ARANGE.
1068 1.1 christos Define SIM_ARANGE_INLINE. Define EXTERN_SIM_ARANGE_P.
1069 1.1 christos Define STATIC_INLINE_SIM_ARANGE. Define STATIC_SIM_ARANGE.
1070 1.1 christos
1071 1.1 christos 2019-01-26 Tom Tromey <tom (a] tromey.com>
1072 1.1 christos
1073 1.1 christos * Make-common.in (version.c): Use sim's create-version.sh.
1074 1.1 christos * create-version.sh: New file.
1075 1.1 christos
1076 1.1 christos 2019-01-16 Pavel I. Kryukov <kryukov (a] frtk.ru>
1077 1.1 christos
1078 1.1 christos * sim-arange.c (DEFINE_INLINE_P, DEFINE_NON_INLINE_P): Remove.
1079 1.1 christos
1080 1.1 christos 2019-01-15 Simon Marchi <simon.marchi (a] ericsson.com>
1081 1.1 christos
1082 1.1 christos * sim-arange.h (SIM_ARANGE_INLINE): Change EXTERN to extern.
1083 1.1 christos
1084 1.1 christos 2018-12-18 Andrew Burgess <andrew.burgess (a] embecosm.com>
1085 1.1 christos
1086 1.1 christos * sim-syscall.c (sim_syscall_multi): Don't update sc->errcode at
1087 1.1 christos this point, it should have already been set in cb_syscall.
1088 1.1 christos
1089 1.1 christos 2018-10-05 Stafford Horne <shorne (a] gmail.com>
1090 1.1 christos
1091 1.1 christos * cgen-ops.h (ADDCFDI): New function, add carry flag DI variant.
1092 1.1 christos (ADDOFDI): New function, add overflow flag DI variant.
1093 1.1 christos (SUBCFDI): New function, subtract carry flag DI variant.
1094 1.1 christos (SUBOFDI): New function, subtract overflow flag DI variant.
1095 1.1 christos
1096 1.1 christos 2018-09-28 , <kompan.vo (a] phystech.edu>
1097 1.1 christos
1098 1.1 christos * sim-core.h (sim_cpu_core): Rename cpu_core.xor to
1099 1.1 christos cpu_core.byte_xor.
1100 1.1 christos * sim-core.c (sim_core_set_xor): Likewise.
1101 1.1 christos (sim_core_xor_read_buffer): Likewise.
1102 1.1 christos (sim_core_xor_write_buffer): Likewise.
1103 1.1 christos
1104 1.1 christos 2017-12-12 Peter Gavin <pgavin (a] gmail.com>
1105 1.1 christos Stafford Horne <shorne (a] gmail.com>
1106 1.1 christos
1107 1.1 christos * cgen-ops.h (MUL2OFSI): New function, 2's complement overflow
1108 1.1 christos flag.
1109 1.1 christos (MUL1OFSI): New function, 1's complement overflow flag.
1110 1.1 christos
1111 1.1 christos 2017-12-12 Peter Gavin <pgavin (a] gmail.com>
1112 1.1 christos Stafford Horne <shorne (a] gmail.com>
1113 1.1 christos
1114 1.1 christos * cgen-accfp.c (remsf, remdf): New function.
1115 1.1 christos (cgen_init_accurate_fpu): Add remsf and remdf.
1116 1.1 christos * cgen-fpu.h (cgen_fp_ops): Add remsf, remdf, remxf and remtf.
1117 1.1 christos * sim-fpu.c (sim_fpu_rem): New function.
1118 1.1 christos * sim-fpu.h (sim_fpu_status_invalid_irx): New enum.
1119 1.1 christos (sim_fpu_rem): New function.
1120 1.1 christos (sim_fpu_print_status): Add case for sim_fpu_status_invalid_irx.
1121 1.1 christos
1122 1.1 christos 2017-09-06 John Baldwin <jhb (a] FreeBSD.org>
1123 1.1 christos
1124 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Honor existing CC_FOR_BUILD in
1125 1.1 christos environment.
1126 1.1 christos
1127 1.1 christos 2017-05-24 Yao Qi <yao.qi (a] linaro.org>
1128 1.1 christos
1129 1.1 christos * sim-trace.c (trace_disasm): Caller update.
1130 1.1 christos
1131 1.1 christos 2016-08-15 Mike Frysinger <vapier (a] gentoo.org>
1132 1.1 christos
1133 1.1 christos * sim-base.h (sim_state_base): Add prog_syms_count.
1134 1.1 christos (STATE_PROG_SYMS_COUNT): Define.
1135 1.1 christos * sim-trace.c (trace_uninstall): Free STATE_PROG_SYMS memory.
1136 1.1 christos (trace_load_symbols): New function.
1137 1.1 christos (trace_sym_value): Likewise.
1138 1.1 christos (trace_prefix): Change STATE_CPU(cpu) to sd. Replace symbol
1139 1.1 christos loading logic with a call to trace_load_symbols.
1140 1.1 christos * sim-trace.h (trace_load_symbols, trace_sym_value): New
1141 1.1 christos prototypes.
1142 1.1 christos
1143 1.1 christos 2016-08-13 Mike Frysinger <vapier (a] gentoo.org>
1144 1.1 christos
1145 1.1 christos * cgen-types.h (mode_names): Mark const.
1146 1.1 christos * cgen-utils.c (mode_names): Likewise.
1147 1.1 christos
1148 1.1 christos 2016-08-13 Mike Frysinger <vapier (a] gentoo.org>
1149 1.1 christos
1150 1.1 christos * cgen-defs.h (struct cgen_state): Delete argv and envp.
1151 1.1 christos (STATE_ARGV, STATE_ENVP): Delete.
1152 1.1 christos
1153 1.1 christos 2016-02-04 Nick Clifton <nickc (a] redhat.com>
1154 1.1 christos
1155 1.1 christos * cgen-scache.c (scache_option_handler): Prevent possible
1156 1.1 christos undefined behaviour computing the size of the scache by using
1157 1.1 christos unsigned integers instead of signed integers.
1158 1.1 christos
1159 1.1 christos 2016-01-17 Joel Brobecker <brobecker (a] adacore.com>
1160 1.1 christos
1161 1.1 christos * sim-fpu.c: Minor comment fixes throughout.
1162 1.1 christos
1163 1.1 christos 2016-01-17 Joel Brobecker <brobecker (a] adacore.com>
1164 1.1 christos
1165 1.1 christos * sim-fpu.c (print_bits): Minor reformatting (no code change).
1166 1.1 christos (sim_fpu_map): Likewise.
1167 1.1 christos
1168 1.1 christos 2016-01-11 Mike Frysinger <vapier (a] gentoo.org>
1169 1.1 christos
1170 1.1 christos * sim-config.c (print_sim_config): Drop extra whitespace before =
1171 1.1 christos in output for byte order, stdio, and msb settings.
1172 1.1 christos
1173 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1174 1.1 christos
1175 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call AC_MSG_CHECKING,
1176 1.1 christos AC_DEFINE_UNQUOTED, and AC_MSG_RESULT for sim-debug. Likewise for
1177 1.1 christos sim-stdio, sim-trace, and sim-profile.
1178 1.1 christos (SIM_AC_OPTION_ENVIRONMENT): Likewise.
1179 1.1 christos (SIM_AC_OPTION_ASSERT): Likewise.
1180 1.1 christos (SIM_AC_OPTION_SMP): Likewise.
1181 1.1 christos (SIM_AC_OPTION_XOR_ENDIAN): Likewise.
1182 1.1 christos * configure: Regenerate.
1183 1.1 christos * Make-common.in (SIM_DEBUG, SIM_TRACE, SIM_PROFILE, SIM_ASSERT,
1184 1.1 christos SIM_ENVIRONMENT, SIM_SMP, SIM_XOR_ENDIAN): Delete.
1185 1.1 christos (CONFIG_CFLAGS): Delete $(SIM_DEBUG), $(SIM_TRACE), $(SIM_PROFILE),
1186 1.1 christos $(SIM_ASSERT), $(SIM_ENVIRONMENT), $(SIM_SMP), and $(SIM_XOR_ENDIAN).
1187 1.1 christos * sim-config.c (sim_config): Change DEFAULT_ENVIRONMENT to
1188 1.1 christos WITH_ENVIRONMENT & USER_ENVIRONMENT.
1189 1.1 christos * sim-config.h (SIM_HAVE_ENVIRONMENT, WITH_ENVIRONMENT,
1190 1.1 christos DEFAULT_ENVIRONMENT, WITH_DEBUG, WITH_TRACE, WITH_PROFILE,
1191 1.1 christos WITH_ASSERT, WITH_STDIO): Delete.
1192 1.1 christos * sim-options.c (standard_options): Delete SIM_HAVE_ENVIRONMENT
1193 1.1 christos check.
1194 1.1 christos
1195 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1196 1.1 christos
1197 1.1 christos * acinclude.m4 (SIM_AC_OPTION_PACKAGES): Delete.
1198 1.1 christos * configure: Regenerate.
1199 1.1 christos * Make-common.in (SIM_PACKAGES): Delete.
1200 1.1 christos (CONFIG_CFLAGS): Delete $(SIM_PACKAGES).
1201 1.1 christos
1202 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1203 1.1 christos
1204 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ENVIRONMENT.
1205 1.1 christos
1206 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1207 1.1 christos
1208 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT.
1209 1.1 christos
1210 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1211 1.1 christos
1212 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and
1213 1.1 christos sim_link_links.
1214 1.1 christos (SIM_AC_OUTPUT): Delete AC_LINK_FILES call.
1215 1.1 christos * gentmap.c: Change targ-vals.def include to nltvals.def.
1216 1.1 christos * Make-common.in (gentmap): Change targ-vals.def to
1217 1.1 christos $(srccom)/nltvals.def.
1218 1.1 christos (distclean): Delete rm -f targ-vals.def.
1219 1.1 christos * Makefile.in: Update comment.
1220 1.1 christos
1221 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1222 1.1 christos
1223 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_INLINE.
1224 1.1 christos (SIM_AC_OPTION_INLINE): Rename default_sim_inline to sim_inline
1225 1.1 christos and always set -DDEFAULT_INLINE. Delete AC_ARG_ENABLE 4th arg.
1226 1.1 christos
1227 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1228 1.1 christos
1229 1.1 christos * acinclude.m4: Delete --enable-sim-regparm and sim_regparm,
1230 1.1 christos and --enable-sim-stdcall and sim_stdcall.
1231 1.1 christos * configure: Regenerate.
1232 1.1 christos * Make-common.in (SIM_REGPARM, SIM_STDCALL): Delete.
1233 1.1 christos (CONFIG_CFLAGS): Delete $(SIM_REGPARM) and $(SIM_STDCALL).
1234 1.1 christos * sim-config.h (WITH_REGPARM, WITH_STDCALL): Delete.
1235 1.1 christos * sim-inline.h (REGPARM_MODULE, REGPARM): Delete.
1236 1.1 christos (REGPARM_*): Delete all regparm defines and their use.
1237 1.1 christos
1238 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org>
1239 1.1 christos
1240 1.1 christos * acinclude.m4: Delete --enable-sim-cflags and sim_cflags.
1241 1.1 christos * Make-common.in (SIM_CFLAGS): Delete.
1242 1.1 christos (CONFIG_CFLAGS): Delete $(SIM_CFLAGS).
1243 1.1 christos * Makefile.in: Likewise.
1244 1.1 christos
1245 1.1 christos 2016-01-09 Mike Frysinger <vapier (a] gentoo.org>
1246 1.1 christos
1247 1.1 christos * configure.ac: Change SIM_AC_COMMON to AC_PROG_CC. Drop 2nd arg
1248 1.1 christos to AC_OUTPUT. Move AC_CHECK_HEADERS, AC_CHECK_FUNCS,
1249 1.1 christos AC_CHECK_MEMBERS, and -AC_CHECK_TYPES ...
1250 1.1 christos * acinclude.m4 (SIM_AC_COMMON): ... here.
1251 1.1 christos * aclocal.m4, configure: Regenerate.
1252 1.1 christos * config.in: Delete file.
1253 1.1 christos * callback.c: Change cconfig.h include to config.h.
1254 1.1 christos * dv-cfi.c, nrun.c, sim-basics.h, sim-load.c, sim-memopt.c,
1255 1.1 christos syscall.c: Likewise.
1256 1.1 christos * Make-common.in (sim-basics_h): Delete ../common/cconfig.h.
1257 1.1 christos * Makefile.in (distclean): Delete rm -f cconfig.h config.h stamp-h.
1258 1.1 christos
1259 1.1 christos 2016-01-06 Mike Frysinger <vapier (a] gentoo.org>
1260 1.1 christos
1261 1.1 christos * sim-config.c (print_sim_config): Delete sim_io_printf of version,
1262 1.1 christos date, and time information.
1263 1.1 christos
1264 1.1 christos 2016-01-06 Mike Frysinger <vapier (a] gentoo.org>
1265 1.1 christos
1266 1.1 christos * sim-options.c (sim_parse_args): Mark argv array const.
1267 1.1 christos * sim-options.h (sim_parse_args): Likewise.
1268 1.1 christos
1269 1.1 christos 2016-01-05 Mike Frysinger <vapier (a] gentoo.org>
1270 1.1 christos
1271 1.1 christos * sim-trace.c: Include dis-asm.h.
1272 1.1 christos (OPTION_TRACE_DISASM): New enum.
1273 1.1 christos (trace_options): Add trace-disasm flag.
1274 1.1 christos (trace_option_handler): Handle OPTION_TRACE_DISASM.
1275 1.1 christos (trace_idx_to_str): Handle TRACE_DISASM_IDX.
1276 1.1 christos (dis_read, dis_printf, trace_disasm): New functions.
1277 1.1 christos * sim-trace.h: Include dis-asm.h.
1278 1.1 christos (TRACE_INSN_IDX): Clarify comment.
1279 1.1 christos (TRACE_DISASM_IDX): New enum.
1280 1.1 christos (TRACE_disasm): New define.
1281 1.1 christos (WITH_TRACE_DISASM_P): New define.
1282 1.1 christos (struct _trace_data): Add dis_bfd, disassembler, and dis_info.
1283 1.1 christos (STRACE_DISASM_P): New define.
1284 1.1 christos (TRACE_DISASM_P): Likewise.
1285 1.1 christos (TRACE_DISASM_P): Likewise.
1286 1.1 christos (TRACE_DISASM): Likewise.
1287 1.1 christos (trace_disasm): New function.
1288 1.1 christos
1289 1.1 christos 2016-01-04 Mike Frysinger <vapier (a] gentoo.org>
1290 1.1 christos
1291 1.1 christos * sim-utils.c (sim_state_free): Change to STATE_MAGIC.
1292 1.1 christos
1293 1.1 christos 2016-01-04 Mike Frysinger <vapier (a] gentoo.org>
1294 1.1 christos
1295 1.1 christos * cgen-scache.c (MAX): Delete.
1296 1.1 christos (scache_init): Change MAX to max.
1297 1.1 christos * cgen-trace.c (min): Delete.
1298 1.1 christos * cgen-utils.c (min): Delete.
1299 1.1 christos * sim-basics.h [!min] (min): Define.
1300 1.1 christos [!max] (max): Define.
1301 1.1 christos
1302 1.1 christos 2016-01-04 Mike Frysinger <vapier (a] gentoo.org>
1303 1.1 christos
1304 1.1 christos * sim-options.c (sim_parse_args): Tweak getopt error message.
1305 1.1 christos
1306 1.1 christos 2016-01-04 Mike Frysinger <vapier (a] gentoo.org>
1307 1.1 christos
1308 1.1 christos * acinclude.m4 (sim-bswap): Delete.
1309 1.1 christos * configure: Regenerate.
1310 1.1 christos * Make-common.in (SIM_BSWAP): Delete.
1311 1.1 christos (CONFIG_CFLAGS): Delete $(SIM_BSWAP).
1312 1.1 christos * sim-config.h (htonl, ntohl): Delete.
1313 1.1 christos (WITH_BSWAP): Delete.
1314 1.1 christos
1315 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org>
1316 1.1 christos
1317 1.1 christos * sim-options.c (sim_parse_args): Declare local save_opterr. Save
1318 1.1 christos opterr state to it before calling getopt_long and restore afterwards.
1319 1.1 christos Set opterr to 0. When optc is '?', call sim_io_eprintf.
1320 1.1 christos
1321 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org>
1322 1.1 christos
1323 1.1 christos * hw-device.h (device): Delete commented typedef.
1324 1.1 christos * sim-basics.h (device): Delete typedef.
1325 1.1 christos
1326 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org>
1327 1.1 christos
1328 1.1 christos * sim-options.c (sim_parse_args): Replace for loop with a call
1329 1.1 christos to countargv.
1330 1.1 christos
1331 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org>
1332 1.1 christos
1333 1.1 christos * nrun.c (myname): Mark const.
1334 1.1 christos (main): Mark name const. Replace myname parsing loop with a
1335 1.1 christos call to lbasename.
1336 1.1 christos
1337 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org>
1338 1.1 christos
1339 1.1 christos (CONFIG_CFLAGS): Delte $(SIM_HOSTENDIAN).
1340 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call AC_C_BIGENDIAN.
1341 1.1 christos (SIM_AC_OPTION_HOSTENDIAN): Delete.
1342 1.1 christos * config.in, configure: Regenerate.
1343 1.1 christos * Make-common.in (SIM_HOSTENDIAN): Delete.
1344 1.1 christos * sim-config.c (current_host_byte_order): Delete.
1345 1.1 christos (sim_config): Delete current_host_byte_order assignments and
1346 1.1 christos CURRENT_HOST_BYTE_ORDER checks.
1347 1.1 christos (print_sim_config): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
1348 1.1 christos * sim-config.h (WITH_HOST_BYTE_ORDER): Change to ...
1349 1.1 christos (HOST_BYTE_ORDER): ... this. Define based on WORDS_BIGENDIAN.
1350 1.1 christos (current_host_byte_order): Delete.
1351 1.1 christos (CURRENT_HOST_BYTE_ORDER): Likewise.
1352 1.1 christos * sim-endian.c (WITH_HOST_BYTE_ORDER): Rename to ...
1353 1.1 christos (HOST_BYTE_ORDER): ... this.
1354 1.1 christos (sim_endian_split_16): Change WITH_HOST_BYTE_ORDER to
1355 1.1 christos HOST_BYTE_ORDER.
1356 1.1 christos (sim_endian_join_16): Likewise.
1357 1.1 christos * sim-n-core.h (sim_core_read_misaligned_N): Change
1358 1.1 christos CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
1359 1.1 christos (sim_core_write_misaligned_N): Likewise.
1360 1.1 christos * sim-n-endian.h (endian_t2h_N): Likewise.
1361 1.1 christos (endian_h2t_N, endian_h2be_N, endian_be2h_N, endian_h2le_N,
1362 1.1 christos endian_le2h_N): Likewise.
1363 1.1 christos (offset_N): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
1364 1.1 christos
1365 1.1 christos 2016-01-02 Mike Frysinger <vapier (a] gentoo.org>
1366 1.1 christos
1367 1.1 christos * acinclude.m4 (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to
1368 1.1 christos BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
1369 1.1 christos BFD_ENDIAN_UNKNOWN.
1370 1.1 christos (SIM_AC_OPTION_HOSTENDIAN): Likewise.
1371 1.1 christos * cgen-ops.h (SUBWORDXFSI): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
1372 1.1 christos (SUBWORDTFSI, JOINSIDF, JOINSIXF, JOINSITF): Likewise.
1373 1.1 christos * nrun.c (main): Likewise.
1374 1.1 christos * sim-config.c (current_host_byte_order): Change type to enum
1375 1.1 christos bfd_endian. Initialize to BFD_ENDIAN_UNKNOWN.
1376 1.1 christos (current_target_byte_order): Likewise.
1377 1.1 christos (config_byte_order_to_a): Likewise. Change BIG_ENDIAN to
1378 1.1 christos BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
1379 1.1 christos BFD_ENDIAN_UNKNOWN.
1380 1.1 christos (sim_config): Change prefered_target_byte_order type to enum
1381 1.1 christos bfd_endian. Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
1382 1.1 christos to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
1383 1.1 christos * sim-config.h: Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
1384 1.1 christos to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
1385 1.1 christos Delete all the various arch/OS endian includes & defines.
1386 1.1 christos (current_host_byte_order): Change type to enum bfd_endian.
1387 1.1 christos (current_target_byte_order): Likewise.
1388 1.1 christos (CURRENT_HOST_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN, not 0.
1389 1.1 christos (CURRENT_TARGET_BYTE_ORDER): Likewise.
1390 1.1 christos * sim-endian.c: Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
1391 1.1 christos * sim-events.c (sim_events_watch_sim): Change BIG_ENDIAN to
1392 1.1 christos BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
1393 1.1 christos BFD_ENDIAN_UNKNOWN.
1394 1.1 christos (sim_events_watch_core): Likewise.
1395 1.1 christos * sim-events.h: Likewise.
1396 1.1 christos * sim-n-core.h (sim_core_read_misaligned_N): Change BIG_ENDIAN to
1397 1.1 christos BFD_ENDIAN_BIG.
1398 1.1 christos (sim_core_write_misaligned_N): Likewise.
1399 1.1 christos * sim-n-endian.h (endian_h2be_N): Likewise.
1400 1.1 christos (endian_be2h_N): Likewise.
1401 1.1 christos (endian_h2le_N): Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
1402 1.1 christos (offset_N): Likewise.
1403 1.1 christos * sim-options.c (standard_option_handler): Change LITTLE_ENDIAN to
1404 1.1 christos BFD_ENDIAN_LITTLE and BIG_ENDIAN to BFD_ENDIAN_BIG.
1405 1.1 christos
1406 1.1 christos 2016-01-02 Mike Frysinger <vapier (a] gentoo.org>
1407 1.1 christos
1408 1.1 christos * cgen-defs.h (current_state): Delete.
1409 1.1 christos * sim-base.h (CURRENT_STATE_REG, CURRENT_STATE): Delete.
1410 1.1 christos * sim-utils.c (current_state): Delete.
1411 1.1 christos
1412 1.1 christos 2015-12-30 Mike Frysinger <vapier (a] gentoo.org>
1413 1.1 christos
1414 1.1 christos * sim-module.c (sim_pre_argv_init): Change STATE_MY_NAME assignment
1415 1.1 christos to use lbasename.
1416 1.1 christos
1417 1.1 christos 2015-12-27 Mike Frysinger <vapier (a] gentoo.org>
1418 1.1 christos
1419 1.1 christos * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-hload.o.
1420 1.1 christos
1421 1.1 christos 2015-12-26 Mike Frysinger <vapier (a] gentoo.org>
1422 1.1 christos
1423 1.1 christos * acinclude.m4 (AH_BOTTOM): Delete tconfig.h appending.
1424 1.1 christos * config.in, configure: Regenerate.
1425 1.1 christos * Make-common.in (sim-basics_h): Delete tconfig.h.
1426 1.1 christos (distclean): Likewise.
1427 1.1 christos * sim-core.c (device_io_read_buffer, device_io_write_buffer): Delete.
1428 1.1 christos (new_sim_core_mapping): Delete WITH_HW and device *device.
1429 1.1 christos (sim_core_map_attach, sim_core_attach): Likewise.
1430 1.1 christos (sim_core_read_buffer): Delete WITH_DEVICES logic.
1431 1.1 christos (sim_core_write_buffer): Likewise.
1432 1.1 christos * sim-core.h (struct _sim_core_mapping): Delete WITH_HW and device
1433 1.1 christos *device.
1434 1.1 christos (sim_core_attach): Likewise.
1435 1.1 christos (device_io_read_buffer, device_io_write_buffer): Delete.
1436 1.1 christos * sim-n-core.h (sim_core_read_aligned_N): Delete WITH_DEVICES logic.
1437 1.1 christos (sim_core_write_aligned_N): Likewise.
1438 1.1 christos * tconfig.h: Delete file.
1439 1.1 christos
1440 1.1 christos 2015-12-26 Mike Frysinger <vapier (a] gentoo.org>
1441 1.1 christos
1442 1.1 christos * sim-core.c (sim_core_read_buffer): Move cia decl to top of func.
1443 1.1 christos Call sim_cpu_hw_io_read_buffer if cpu is valid.
1444 1.1 christos (sim_core_write_buffer): Move cia decl to top of func. Call
1445 1.1 christos sim_cpu_hw_io_write_buffer if cpu is valid.
1446 1.1 christos
1447 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1448 1.1 christos
1449 1.1 christos * hw-properties.c (hw_find_ihandle_runtime_property): Delete
1450 1.1 christos HW_TRACE call.
1451 1.1 christos (hw_find_integer_property): Likewise.
1452 1.1 christos (hw_find_integer_array_property): Likewise.
1453 1.1 christos (hw_add_duplicate_property): Likewise.
1454 1.1 christos
1455 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1456 1.1 christos
1457 1.1 christos * sim-config.h (WITH_ENGINE): Delete.
1458 1.1 christos * sim-module.c (modules): Always include sim_engine_install.
1459 1.1 christos
1460 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1461 1.1 christos
1462 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-model.o.
1463 1.1 christos * cgen-types.h (SIM_HAVE_MODEL): Delete.
1464 1.1 christos * sim-base.h: Always include sim-model.h.
1465 1.1 christos * sim-config.h (WITH_DEFAULT_MODEL): Delete.
1466 1.1 christos * sim-cpu.h (sim_cpu_base): Always declare mach/model members.
1467 1.1 christos * sim-model.c (sim_model_init): Return when !WITH_MODEL_P.
1468 1.1 christos [!WITH_MODEL_P] (sim_machs): Define.
1469 1.1 christos * sim-model.h: Add some developer docs.
1470 1.1 christos [!WITH_DEFAULT_MODEL] (mach_attr, WITH_DEFAULT_MODEL): Define.
1471 1.1 christos (WITH_MODEL_P): Define.
1472 1.1 christos * sim-module.c (modules): Always include sim_model_install.
1473 1.1 christos * sim-profile.h (WITH_PROFILE_MODEL_P): Delete.
1474 1.1 christos
1475 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1476 1.1 christos
1477 1.1 christos * sim-cpu.h: Rename MACH to SIM_MACH and MODEL to SIM_MODEL.
1478 1.1 christos * sim-model.c: Likewise.
1479 1.1 christos * sim-model.h: Likewise. Rename MACH_IMP_PROPERTIES to
1480 1.1 christos SIM_MACH_IMP_PROPERTIES
1481 1.1 christos
1482 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1483 1.1 christos
1484 1.1 christos * sim-core.c (device_error): Delete.
1485 1.1 christos (sim_core_map_attach): Delete calls to device_error.
1486 1.1 christos (sim_core_attach): Likewise.
1487 1.1 christos * sim-core.h (device_error): Delete.
1488 1.1 christos * sim-n-core.h (sim_core_read_aligned_N): Change device_error call
1489 1.1 christos to sim_engine_abort.
1490 1.1 christos (sim_core_write_aligned_N): Likewise.
1491 1.1 christos
1492 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1493 1.1 christos
1494 1.1 christos * sim-config.h (WITH_CALLBACK_MEMORY): Delete.
1495 1.1 christos * sim-core.c (sim_core_write_buffer): Likewise.
1496 1.1 christos * sim-n-core.h (sim_core_read_aligned_N): Likewise.
1497 1.1 christos (sim_core_write_aligned_N): Likewise.
1498 1.1 christos
1499 1.1 christos 2015-12-25 Mike Frysinger <vapier (a] gentoo.org>
1500 1.1 christos
1501 1.1 christos * dv-pal.c: Include config.h and sim-main.h.
1502 1.1 christos (hw_pal_io_read_buffer): Always call CPU_INDEX.
1503 1.1 christos
1504 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org>
1505 1.1 christos
1506 1.1 christos * sim-options.c (standard_options): Always enable load-lma and
1507 1.1 christos load-vma options.
1508 1.1 christos (standard_install): Always set STATE_LOAD_AT_LMA_P(sd) to 1.
1509 1.1 christos
1510 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org>
1511 1.1 christos
1512 1.1 christos * sim-module.c (MODULE_LIST): Delete.
1513 1.1 christos
1514 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org>
1515 1.1 christos
1516 1.1 christos * sim-options.c (OPTION_H8300H, OPTION_H8300S, OPTION_H8300SX):
1517 1.1 christos Move to h8300/compile.c.
1518 1.1 christos [SIM_H8300] (standard_options): Likewise.
1519 1.1 christos (standard_option_handler): Likewise.
1520 1.1 christos
1521 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org>
1522 1.1 christos
1523 1.1 christos * sim-module.c [WITH_WATCHPOINTS] (modules): Always call
1524 1.1 christos sim_watchpoint_install.
1525 1.1 christos
1526 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org>
1527 1.1 christos
1528 1.1 christos * sim-base.h [SIM_HAVE_FLATMEM] (sim_state_base): Delete flatmem code.
1529 1.1 christos * sim-module.c [SIM_HAVE_FLATMEM] (modules): Always call
1530 1.1 christos sim_memopt_install.
1531 1.1 christos * sim-options.c (OPTION_MEM_SIZE): Delete.
1532 1.1 christos [SIM_HAVE_FLATMEM] (standard_options): Delete flatmem code.
1533 1.1 christos (standard_option_handler): Likewise.
1534 1.1 christos
1535 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org>
1536 1.1 christos
1537 1.1 christos * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
1538 1.1 christos
1539 1.1 christos 2015-11-21 Mike Frysinger <vapier (a] gentoo.org>
1540 1.1 christos
1541 1.1 christos PR sim/18762
1542 1.1 christos * Makefile.in (CPPFLAGS, CXXFLAGS, LDFLAGS): Define.
1543 1.1 christos
1544 1.1 christos 2015-11-21 Mike Frysinger <vapier (a] gentoo.org>
1545 1.1 christos
1546 1.1 christos PR sim/19273
1547 1.1 christos * sim-utils.c (sim_do_commandf): Declare ret. Call va_start,
1548 1.1 christos vasprintf, and va_end together. Check ret after va_end call.
1549 1.1 christos
1550 1.1 christos 2015-11-21 Mike Frysinger <vapier (a] gentoo.org>
1551 1.1 christos
1552 1.1 christos * sim-types.h (SIM_PRI_TB): Define.
1553 1.1 christos (PRI_TW, PRIiTW, PRIxTW): New PRI target word defines.
1554 1.1 christos (PRI_TA, PRIiTA, PRIxTA): New PRI target address defines.
1555 1.1 christos (PRI_TC, PRIiTC, PRIxTC): New PRI target cell defines.
1556 1.1 christos (PRI_TF, PRIiTF, PRIxTF): New PRI target floating point defines.
1557 1.1 christos
1558 1.1 christos 2015-11-17 Mike Frysinger <vapier (a] gentoo.org>
1559 1.1 christos
1560 1.1 christos * sim-main.h (WITH_MODULO_MEMORY): Delete.
1561 1.1 christos * sim-core.c (new_sim_core_mapping): Always assign mask to modulo-1.
1562 1.1 christos (sim_core_attach): Delete WITH_MODULO_MEMORY == 0 logic.
1563 1.1 christos (sim_core_translate): Likewise.
1564 1.1 christos * sim-core.h: Delete mention of WITH_MODULO_MEMORY.
1565 1.1 christos
1566 1.1 christos 2015-11-16 Mike Frysinger <vapier (a] gentoo.org>
1567 1.1 christos
1568 1.1 christos * sim-close.c (__cgen_cpu_close, _cgen_cpu_close): Delete.
1569 1.1 christos (cgen_cpu_close): Change to XCONCAT2.
1570 1.1 christos
1571 1.1 christos 2015-11-15 Mike Frysinger <vapier (a] gentoo.org>
1572 1.1 christos
1573 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-reason.o, sim-reg.o,
1574 1.1 christos and sim-stop.o.
1575 1.1 christos
1576 1.1 christos 2015-11-14 Mike Frysinger <vapier (a] gentoo.org>
1577 1.1 christos
1578 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-close.o
1579 1.1 christos * sim-close.c: New file.
1580 1.1 christos
1581 1.1 christos 2015-09-25 Andrew Bennett <andrew.bennett (a] imgtec.com>
1582 1.1 christos Ali Lown <ali.lown (a] imgtec.com>
1583 1.1 christos
1584 1.1 christos * sim-bits.h (EXTEND6): New macro.
1585 1.1 christos (EXTEND12): New macro.
1586 1.1 christos (EXTEND25): New macro.
1587 1.1 christos
1588 1.1 christos 2015-06-24 Mike Frysinger <vapier (a] gentoo.org>
1589 1.1 christos
1590 1.1 christos * sim-trace.c (trace_one_insn): Delete.
1591 1.1 christos * sim-trace.h (trace_one_insn): Delete.
1592 1.1 christos
1593 1.1 christos 2015-06-24 Mike Frysinger <vapier (a] gentoo.org>
1594 1.1 christos
1595 1.1 christos * sim-trace.c (debug_printf): Rename to ...
1596 1.1 christos (sim_debug_printf): ... this.
1597 1.1 christos * sim-trace.h (debug_printf): Delete define.
1598 1.1 christos (debug_printf): Rename to ...
1599 1.1 christos (sim_debug_printf): ... this.
1600 1.1 christos
1601 1.1 christos 2015-06-24 Mike Frysinger <vapier (a] gentoo.org>
1602 1.1 christos
1603 1.1 christos * sim-trace.c (OPTION_TRACE_REGISTER): New enum.
1604 1.1 christos (trace_options): Add trace-register option.
1605 1.1 christos (trace_option_handler): Handle OPTION_TRACE_REGISTER case.
1606 1.1 christos (trace_idx_to_str): Handle TRACE_REGISTER_IDX case and re-indent.
1607 1.1 christos * sim-trace.h (TRACE_REGISTER_IDX): New enum.
1608 1.1 christos (TRACE_register, WITH_TRACE_REGISTER_P, STRACE_REGISTER_P,
1609 1.1 christos TRACE_REGISTER_P, TRACE_REGISTER): Define.
1610 1.1 christos
1611 1.1 christos 2015-06-24 Mike Frysinger <vapier (a] gentoo.org>
1612 1.1 christos
1613 1.1 christos * sim-trace.h (STRACE, STRACE_INSN, STRACE_DECODE, STRACE_EXTRACT,
1614 1.1 christos STRACE_LINENUM, STRACE_MEMORY, STRACE_MODEL, STRACE_ALU, STRACE_CORE,
1615 1.1 christos STRACE_EVENTS, STRACE_FPU, STRACE_VPU, STRACE_BRANCH, STRACE_SYSCALL,
1616 1.1 christos STRACE_DEBUG): Define.
1617 1.1 christos
1618 1.1 christos 2015-06-24 Mike Frysinger <vapier (a] gentoo.org>
1619 1.1 christos
1620 1.1 christos * sim-trace.c (trace_options): Update help text for trace-alu,
1621 1.1 christos trace-fpu, trace-vpu, and trace-semantics.
1622 1.1 christos * sim-trace.h (TRACE_ALU_IDX): Update comment text.
1623 1.1 christos (TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise.
1624 1.1 christos
1625 1.1 christos 2015-06-24 Mike Frysinger <vapier (a] gentoo.org>
1626 1.1 christos
1627 1.1 christos * sim-assert.h (SIM_FILTER_PATH): Delete.
1628 1.1 christos [!SIM_ASSERT, WITH_ASSERT]: Include libiberty.h.
1629 1.1 christos (SIM_ASSERT): Replace SIM_FILTER_PATH with lbasename.
1630 1.1 christos [!ASSERT, WITH_ASSERT]: Include libiberty.h.
1631 1.1 christos (ASSERT): Replace SIM_FILTER_PATH with lbasename.
1632 1.1 christos * sim-events.c: Include libiberty.h.
1633 1.1 christos (ETRACE): Replace SIM_FILTER_PATH with lbasename.
1634 1.1 christos
1635 1.1 christos 2015-06-23 Mike Frysinger <vapier (a] gentoo.org>
1636 1.1 christos
1637 1.1 christos * acinclude.m4 (AC_ARG_ENABLE(sim-bswap)): Call AS_HELP_STRING.
1638 1.1 christos (AC_ARG_ENABLE(sim-cflags)): Likewise.
1639 1.1 christos (AC_ARG_ENABLE(sim-debug)): Likewise.
1640 1.1 christos (AC_ARG_ENABLE(sim-stdio)): Likewise.
1641 1.1 christos (AC_ARG_ENABLE(sim-trace)): Likewise.
1642 1.1 christos (AC_ARG_ENABLE(sim-profile)): Likewise.
1643 1.1 christos (AC_ARG_ENABLE(sim-environment)): Likewise.
1644 1.1 christos (AC_ARG_ENABLE(sim-alignment)): Likewise.
1645 1.1 christos (AC_ARG_ENABLE(sim-assert)): Likewise.
1646 1.1 christos (AC_ARG_ENABLE(sim-bitsize)): Likewise.
1647 1.1 christos (AC_ARG_ENABLE(sim-endian)): Likewise.
1648 1.1 christos (AC_ARG_ENABLE(sim-hostendian)): Likewise.
1649 1.1 christos (AC_ARG_ENABLE(sim-float)): Likewise.
1650 1.1 christos (AC_ARG_ENABLE(sim-scache)): Likewise.
1651 1.1 christos (AC_ARG_ENABLE(sim-default-model)): Likewise.
1652 1.1 christos (AC_ARG_ENABLE(sim-inline)): Likewise.
1653 1.1 christos (AC_ARG_ENABLE(sim-packages)): Likewise.
1654 1.1 christos (AC_ARG_ENABLE(sim-regparm)): Likewise.
1655 1.1 christos (AC_ARG_ENABLE(sim-reserved-bits)): Likewise.
1656 1.1 christos (AC_ARG_ENABLE(sim-smp)): Likewise.
1657 1.1 christos (AC_ARG_ENABLE(sim-stdcall)): Likewise.
1658 1.1 christos (AC_ARG_ENABLE(sim-xor-endian)): Likewise.
1659 1.1 christos (AC_ARG_ENABLE(cgen-maint)): Likewise.
1660 1.1 christos * configure: Regenerate.
1661 1.1 christos
1662 1.1 christos 2015-06-23 Mike Frysinger <vapier (a] gentoo.org>
1663 1.1 christos
1664 1.1 christos * sim-config.h (WITH_TRACE): Define to ~TRACE_debug.
1665 1.1 christos
1666 1.1 christos 2015-06-23 Mike Frysinger <vapier (a] gentoo.org>
1667 1.1 christos
1668 1.1 christos * cgen-trace.c [!__STDC__]: Delete.
1669 1.1 christos * sim-trace.h [!__STDC__]: Likewise.
1670 1.1 christos
1671 1.1 christos 2015-06-21 Mike Frysinger <vapier (a] gentoo.org>
1672 1.1 christos
1673 1.1 christos * sim-model.c (sim_model_init): Assert model is not NULL.
1674 1.1 christos
1675 1.1 christos 2015-06-21 Mike Frysinger <vapier (a] gentoo.org>
1676 1.1 christos
1677 1.1 christos * sim-types.h: Move SIM_TYPES_H define to top of file. Include
1678 1.1 christos stdint.h. Replace all signed/unsigned typedefs with int#_t and
1679 1.1 christos uint#_t.
1680 1.1 christos
1681 1.1 christos 2015-06-21 Mike Frysinger <vapier (a] gentoo.org>
1682 1.1 christos
1683 1.1 christos * sim-alu.h (_SIM_ALU_H_): Rename to ...
1684 1.1 christos (SIM_ALU_H): ... this.
1685 1.1 christos * sim-assert.h (_SIM_ASSERT_H_): Rename to ...
1686 1.1 christos (SIM_ASSERT_H): ... this.
1687 1.1 christos * sim-basics.h (_SIM_BASICS_H_): Rename to ...
1688 1.1 christos (SIM_BASICS_H): ... this.
1689 1.1 christos * sim-bits.h (_SIM_BITS_H_): Rename to ...
1690 1.1 christos (SIM_BITS_H): ... this.
1691 1.1 christos * sim-endian.h (_SIM_ENDIAN_H_): Rename to ...
1692 1.1 christos (SIM_ENDIAN_H): ... this.
1693 1.1 christos
1694 1.1 christos 2015-06-18 Mike Frysinger <vapier (a] gentoo.org>
1695 1.1 christos
1696 1.1 christos * sim-syscall.c (sim_syscall_multi): Change unknown_syscall to a
1697 1.1 christos constant string.
1698 1.1 christos
1699 1.1 christos 2015-06-18 Mike Frysinger <vapier (a] gentoo.org>
1700 1.1 christos
1701 1.1 christos * callback.c (cb_target_map_entry, cb_host_map_entry): Change map to
1702 1.1 christos m for sentinel testing.
1703 1.1 christos
1704 1.1 christos 2015-06-17 Mike Frysinger <vapier (a] gentoo.org>
1705 1.1 christos
1706 1.1 christos * sim-syscall.c: Include errno.h and targ-vals.h.
1707 1.1 christos (sim_syscall_multi, sim_syscall): Define.
1708 1.1 christos * sim-syscall.h (sim_syscall_multi, sim_syscall): Declare.
1709 1.1 christos * syscall.c (cb_syscall): Extend comment.
1710 1.1 christos
1711 1.1 christos 2015-06-17 Mike Frysinger <vapier (a] gentoo.org>
1712 1.1 christos
1713 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-syscall.o.
1714 1.1 christos * sim-syscall.c: New file.
1715 1.1 christos * sim-syscall.h: New file.
1716 1.1 christos
1717 1.1 christos 2015-06-17 Mike Frysinger <vapier (a] gentoo.org>
1718 1.1 christos
1719 1.1 christos * callback.c (cb_target_map_entry, cb_host_map_entry): Define.
1720 1.1 christos (cb_target_to_host_syscall): Rewrite to use cb_target_map_entry.
1721 1.1 christos (cb_host_to_target_errno): Rewrite to use cb_host_map_entry.
1722 1.1 christos (cb_host_str_syscall, cb_host_str_errno, cb_host_str_signal,
1723 1.1 christos cb_target_str_syscall, cb_target_str_errno, cb_target_str_signal):
1724 1.1 christos Define.
1725 1.1 christos * gentmap.c (gen_targ_map_c): Output name field.
1726 1.1 christos
1727 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org>
1728 1.1 christos
1729 1.1 christos * acinclude.m4: Change configure.in to configure.ac.
1730 1.1 christos * sim-config.h: Likewise.
1731 1.1 christos
1732 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org>
1733 1.1 christos
1734 1.1 christos * acinclude.m4 (sim-trace): Delete -DTRACE flags.
1735 1.1 christos * configure: Regenerate.
1736 1.1 christos
1737 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org>
1738 1.1 christos
1739 1.1 christos * sim-trace.h (TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
1740 1.1 christos TRACE_LINENUM, TRACE_MEMORY, TRACE_MODEL, TRACE_ALU, TRACE_CORE,
1741 1.1 christos TRACE_EVENTS, TRACE_FPU, TRACE_VPU, TRACE_BRANCH, TRACE_SYSCALL,
1742 1.1 christos TRACE_DEBUG): Define.
1743 1.1 christos
1744 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org>
1745 1.1 christos
1746 1.1 christos * sim-module.c (modules): Change WITH_TRACE to WITH_TRACE_ANY_P.
1747 1.1 christos * sim-trace.c (trace_option_handler): Likewise.
1748 1.1 christos * sim-trace.h (WITH_TRACE_ANY_P): Define.
1749 1.1 christos (STRACE_ANY_P): Use WITH_TRACE_ANY_P.
1750 1.1 christos (TRACE_ANY_P): Likewise.
1751 1.1 christos
1752 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org>
1753 1.1 christos
1754 1.1 christos * cgen-run.c (sim_resume): Rename TRACE_INSN_FINI to
1755 1.1 christos CGEN_TRACE_INSN_FINI.
1756 1.1 christos * cgen-trace.c: Rename trace_insn to cgen_trace_insn,
1757 1.1 christos trace_result to cgen_trace_result, trace_insn_fini to
1758 1.1 christos cgen_trace_insn_fini, trace_insn_init to cgen_trace_insn_init,
1759 1.1 christos and trace_extract to cgen_trace_extract.
1760 1.1 christos * cgen-trace.h (trace_insn_init): Rename to ...
1761 1.1 christos (cgen_trace_insn_init): ... this.
1762 1.1 christos (trace_insn_fini): Rename to ...
1763 1.1 christos (cgen_trace_insn_fini): ... this.
1764 1.1 christos (trace_insn): Rename to ...
1765 1.1 christos (cgen_trace_insn): ... this.
1766 1.1 christos (trace_extract): Rename to ...
1767 1.1 christos (cgen_trace_extract): ... this.
1768 1.1 christos (trace_result): Rename to ...
1769 1.1 christos (cgen_trace_result): ... this.
1770 1.1 christos (TRACE_RESULT_P): Rename to ...
1771 1.1 christos (CGEN_TRACE_RESULT_P): ... this.
1772 1.1 christos (TRACE_INSN_INIT): Rename to ...
1773 1.1 christos (CGEN_TRACE_INSN_INIT): ... this. Change trace_insn_init to
1774 1.1 christos cgen_trace_insn_init.
1775 1.1 christos (TRACE_INSN_FINI): Rename to ...
1776 1.1 christos (CGEN_TRACE_INSN_FINI): ... this. Change trace_insn_fini to
1777 1.1 christos cgen_trace_insn_fini.
1778 1.1 christos (TRACE_PRINTF): Rename to ...
1779 1.1 christos (CGEN_TRACE_PRINTF): ... this.
1780 1.1 christos (TRACE_INSN): Rename to ...
1781 1.1 christos (CGEN_TRACE_INSN): ... this. Change trace_insn to cgen_trace_insn.
1782 1.1 christos (TRACE_EXTRACT): Rename to ...
1783 1.1 christos (CGEN_TRACE_EXTRACT): ... this. Change trace_extract to
1784 1.1 christos cgen_trace_extract.
1785 1.1 christos (TRACE_RESULT): Rename to ...
1786 1.1 christos (CGEN_TRACE_RESULT): ... this. Change TRACE_RESULT_P to
1787 1.1 christos CGEN_TRACE_RESULT_P and trace_result to cgen_trace_result.
1788 1.1 christos * genmloop.sh (@prefix@_pbb_before): Change TRACE_INSN_FINI to
1789 1.1 christos CGEN_TRACE_INSN_FINI, TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, and
1790 1.1 christos TRACE_INSN to CGEN_TRACE_INSN.
1791 1.1 christos (@prefix@_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
1792 1.1 christos
1793 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org>
1794 1.1 christos
1795 1.1 christos * sim-events.c (ETRACE_P): Delete.
1796 1.1 christos (ETRACE): Change ETRACE_P to STRACE_EVENTS_P(sd).
1797 1.1 christos (update_time_from_event, sim_events_schedule_vtracef): Likewise.
1798 1.1 christos * sim-events.h (struct _sim_events): Delete trace member.
1799 1.1 christos * sim-trace.c (set_trace_option_mask): Delete trace_nr check and
1800 1.1 christos always set STATE_TRACE_FLAGS(sd)[trace_nr] element.
1801 1.1 christos
1802 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org>
1803 1.1 christos
1804 1.1 christos * sim-trace.h (STRACE_ANY_P, STRACE_INSN_P, STRACE_DECODE_P,
1805 1.1 christos STRACE_EXTRACT_P, STRACE_LINENUM_P, STRACE_MEMORY_P, STRACE_MODEL_P,
1806 1.1 christos STRACE_ALU_P, STRACE_CORE_P, STRACE_EVENTS_P, STRACE_FPU_P,
1807 1.1 christos STRACE_VPU_P, STRACE_BRANCH_P, STRACE_SYSCALL_P): Define.
1808 1.1 christos
1809 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org>
1810 1.1 christos
1811 1.1 christos * sim-trace.h (TRACE_USEFUL_MASK): Change to TRACE_xxx defines.
1812 1.1 christos
1813 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org>
1814 1.1 christos
1815 1.1 christos * sim-trace.h (WITH_TRACE_P): New define.
1816 1.1 christos (WITH_TRACE_INSN_P, WITH_TRACE_DECODE_P, WITH_TRACE_EXTRACT_P,
1817 1.1 christos WITH_TRACE_LINENUM_P, WITH_TRACE_MEMORY_P, WITH_TRACE_MODEL_P,
1818 1.1 christos WITH_TRACE_ALU_P, WITH_TRACE_CORE_P, WITH_TRACE_EVENTS_P,
1819 1.1 christos WITH_TRACE_FPU_P, WITH_TRACE_VPU_P, WITH_TRACE_BRANCH_P,
1820 1.1 christos WITH_TRACE_SYSCALL_P, WITH_TRACE_DEBUG_P, STRACE_P, TRACE_P):
1821 1.1 christos Redefine to use WITH_TRACE_P.
1822 1.1 christos
1823 1.1 christos 2015-06-09 Mike Stump <mrs (a] mrs.kithrup.com>
1824 1.1 christos
1825 1.1 christos * sim-events.c (sim_events_schedule_after_signal): Fix spelling
1826 1.1 christos mistake in call to sim_engine_abort.
1827 1.1 christos
1828 1.1 christos 2015-04-29 Nick Clifton <nickc (a] redhat.com>
1829 1.1 christos
1830 1.1 christos PR 18273
1831 1.1 christos * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by
1832 1.1 christos increasing parenthesis around casts to signed values.
1833 1.1 christos
1834 1.1 christos 2015-04-21 Mike Frysinger <vapier (a] gentoo.org>
1835 1.1 christos
1836 1.1 christos * gennltvals.sh: Add mcore support.
1837 1.1 christos * nltvals.def: Regenerate.
1838 1.1 christos
1839 1.1 christos 2015-04-21 Mike Frysinger <vapier (a] gentoo.org>
1840 1.1 christos
1841 1.1 christos * cgen.sh: Add +x permissions.
1842 1.1 christos * genmloop.sh: Likewise.
1843 1.1 christos * gentvals.sh: Likewise.
1844 1.1 christos * gennltvals.sh (newlibroot): New variable to hold the path to newlib.
1845 1.1 christos Change all uses of srcroot for newlib to newlibroot.
1846 1.1 christos
1847 1.1 christos 2015-04-18 Mike Frysinger <vapier (a] gentoo.org>
1848 1.1 christos
1849 1.1 christos * sim-base.h (SIM_CPU): New typedef.
1850 1.1 christos
1851 1.1 christos 2015-04-18 Mike Frysinger <vapier (a] gentoo.org>
1852 1.1 christos
1853 1.1 christos * cgen-engine.h (CIA_ADDR): Delete.
1854 1.1 christos * sim-base.h: Update sim_cia example.
1855 1.1 christos [!CIA_ADDR] (sim_cia): New typedef.
1856 1.1 christos
1857 1.1 christos 2015-04-17 Mike Frysinger <vapier (a] gentoo.org>
1858 1.1 christos
1859 1.1 christos * cgen-utils.c (cgen_rtx_error): Change CIA_GET to CPU_PC_GET.
1860 1.1 christos * sim-core.c (sim_core_read_buffer, sim_core_write_buffer): Likewise.
1861 1.1 christos * sim-engine.h (SIM_ENGINE_HALT_HOOK): Change CIA_SET to CPU_PC_SET.
1862 1.1 christos * sim-run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
1863 1.1 christos CIA_SET to CPU_PC_SET.
1864 1.1 christos
1865 1.1 christos 2015-04-15 Mike Frysinger <vapier (a] gentoo.org>
1866 1.1 christos
1867 1.1 christos * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-cpu.o.
1868 1.1 christos * sim-main.h (STATE_CPU): Remove from comment and define.
1869 1.1 christos
1870 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org>
1871 1.1 christos
1872 1.1 christos * acinclude.m4 (ACX_PKGVERSION): Change GDB to SIM.
1873 1.1 christos * configure: Regenerate.
1874 1.1 christos
1875 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org>
1876 1.1 christos
1877 1.1 christos * sim-options.c: Include version.h.
1878 1.1 christos (OPTIONS_VERSION): New enum.
1879 1.1 christos (standard_options): Add "version".
1880 1.1 christos (standard_option_handler): Handle OPTIONS_VERSION.
1881 1.1 christos
1882 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org>
1883 1.1 christos
1884 1.1 christos * Makefile.in (version.o): Change to using create-version.sh from gdb.
1885 1.1 christos (create-version.sh): Delete.
1886 1.1 christos
1887 1.1 christos 2015-04-06 Mike Frysinger <vapier (a] gentoo.org>
1888 1.1 christos
1889 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-engine.o and sim-hrw.o.
1890 1.1 christos
1891 1.1 christos 2015-04-01 Mike Frysinger <vapier (a] gentoo.org>
1892 1.1 christos
1893 1.1 christos * run-sim.h, run.c: Delete.
1894 1.1 christos * tconfig.h (SIM_HAVE_PROFILE, SIM_HAVE_BIENDIAN): Delete.
1895 1.1 christos
1896 1.1 christos 2015-03-31 Mike Frysinger <vapier (a] gentoo.org>
1897 1.1 christos
1898 1.1 christos * config.in, configure: Regenerate.
1899 1.1 christos * Make-common.in (CSEARCH): Add $(ZLIBINC).
1900 1.1 christos (ZLIB, ZLIBINC): Define.
1901 1.1 christos (BFD_LIB): Add $(ZLIB).
1902 1.1 christos
1903 1.1 christos 2015-03-31 Mike Frysinger <vapier (a] gentoo.org>
1904 1.1 christos
1905 1.1 christos * cgen-mem.h (MEMOPS_INLINE): Change to EXTERN_INLINE.
1906 1.1 christos * cgen-ops.h (SEMOPS_INLINE): Likewise.
1907 1.1 christos
1908 1.1 christos 2015-03-29 Mike Frysinger <vapier (a] gentoo.org>
1909 1.1 christos
1910 1.1 christos * sim-arange.h (SIM_ARANGE_INLINE): Move above sim_addr_range_hit_p.
1911 1.1 christos (sim_addr_range_hit_p): Change INLINE to SIM_ARANGE_INLINE.
1912 1.1 christos * sim-inline.h (INLINE2): Define to gnu_inline when available.
1913 1.1 christos
1914 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org>
1915 1.1 christos
1916 1.1 christos * sim-profile.c (profile_pc_event): Get pc via sim_pc_get. Delete
1917 1.1 christos usage of STATE_WATCHPOINTS.
1918 1.1 christos (profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check. Change
1919 1.1 christos STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia).
1920 1.1 christos
1921 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org>
1922 1.1 christos
1923 1.1 christos * tconfig.h: Note SIM_HAVE_PROFILE is deprecated.
1924 1.1 christos
1925 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org>
1926 1.1 christos
1927 1.1 christos * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.
1928 1.1 christos
1929 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org>
1930 1.1 christos
1931 1.1 christos * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting
1932 1.1 christos of enable_sim_hardware to AC_ARG_ENABLE.
1933 1.1 christos
1934 1.1 christos 2015-03-23 Mike Frysinger <vapier (a] gentoo.org>
1935 1.1 christos
1936 1.1 christos * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Delete SIM_DV_SOCKSER_O.
1937 1.1 christos Add dv-sockser.o to sim_hw_objs.
1938 1.1 christos
1939 1.1 christos 2015-03-23 Mike Frysinger <vapier (a] gentoo.org>
1940 1.1 christos
1941 1.1 christos * dv-sockser.c: Include config.h.
1942 1.1 christos * dv-sockser.h: Include sim-inline.h.
1943 1.1 christos [HAVE_DV_SOCKSER]: Move all prototypes here.
1944 1.1 christos [!HAVE_DV_SOCKSER] (dv_sockser_status, dv_sockser_write,
1945 1.1 christos dv_sockser_write_buffer, dv_sockser_read): New stub functions.
1946 1.1 christos
1947 1.1 christos 2015-03-16 Mike Frysinger <vapier (a] gentoo.org>
1948 1.1 christos
1949 1.1 christos * gentmap.c, run.c: Convert old style prototypes.
1950 1.1 christos
1951 1.1 christos 2015-03-16 Mike Frysinger <vapier (a] gentoo.org>
1952 1.1 christos
1953 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM. Delete logic for
1954 1.1 christos symlinking tconfig.h to tconfig.in.
1955 1.1 christos * config.in, configure: Regenerate.
1956 1.1 christos * nrun.c, run.c, sim-basics.h: Delete tconfig.h include.
1957 1.1 christos * tconfig.in: Rename file ...
1958 1.1 christos * tconfig.h: ... here.
1959 1.1 christos
1960 1.1 christos 2015-03-15 Mike Frysinger <vapier (a] gentoo.org>
1961 1.1 christos
1962 1.1 christos * dv-socker.h (dv_sockser_install): Declare.
1963 1.1 christos * sim-module.c: Include config.h.
1964 1.1 christos [HAVE_DV_SOCKSER]: Include dv-sockser.h.
1965 1.1 christos (modules) [HAVE_DV_SOCKSER]: Add dv_sockser_install.
1966 1.1 christos * sim-module.h: Include gdb/remote-sim.h.
1967 1.1 christos
1968 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org>
1969 1.1 christos
1970 1.1 christos * Make-common.in (BUILT_SRC_FROM_COMMON): Delete.
1971 1.1 christos (sim-inline.c): Delete rule.
1972 1.1 christos
1973 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org>
1974 1.1 christos
1975 1.1 christos * Make-common.in (SIM_RUN_OBJS): Change to nrun.o.
1976 1.1 christos * run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning.
1977 1.1 christos [!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error.
1978 1.1 christos
1979 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org>
1980 1.1 christos
1981 1.1 christos * sim-assert.h [!SIM_ASSERT, WITH_ASSERT]: Include sim-io.h.
1982 1.1 christos [!ASSERT, WITH_ASSERT]: Likewise.
1983 1.1 christos * sim-endian.c: Delete sim-io.h include.
1984 1.1 christos
1985 1.1 christos 2015-02-19 Mike Frysinger <vapier (a] gentoo.org>
1986 1.1 christos
1987 1.1 christos * run-sim.h (sim_kill): Delete unused prototype.
1988 1.1 christos
1989 1.1 christos 2015-02-13 Chen Gang <gang.chen.5i5j (a] gmail.com>
1990 1.1 christos
1991 1.1 christos * gentmap.c: Include "string.h".
1992 1.1 christos
1993 1.1 christos 2015-02-02 Chen Gang <gang.chen.5i5j (a] gmail.com>
1994 1.1 christos
1995 1.1 christos * sim-options.c (sim_args_command): Call freeargv() when failure
1996 1.1 christos occurs.
1997 1.1 christos
1998 1.1 christos 2015-01-07 Joel Brobecker <brobecker (a] adacore.com>
1999 1.1 christos
2000 1.1 christos * aclocal.m4, configure: Regenerate using automake 1.11.1.
2001 1.1 christos
2002 1.1 christos 2014-12-03 Joel Brobecker <brobecker (a] adacore.com>
2003 1.1 christos
2004 1.1 christos * sim-io.c (sim_io_stat, sim_io_fstat): Adjust calls to "stat"
2005 1.1 christos and "fstat" callbacks by calls to "to_stat" and "to_fstat" (resp)
2006 1.1 christos callbacks following renaming in callback.h.
2007 1.1 christos * syscall.c (cb_syscall): Likewise. Adjust calls to "lstat"
2008 1.1 christos callback by call to "to_lstat" callback
2009 1.1 christos
2010 1.1 christos 2014-08-28 Gary Benson <gbenson (a] redhat.com>
2011 1.1 christos
2012 1.1 christos * sim-trace.h (debug_printf): New define.
2013 1.1 christos
2014 1.1 christos 2014-08-19 Alan Modra <amodra (a] gmail.com>
2015 1.1 christos
2016 1.1 christos * configure: Regenerate.
2017 1.1 christos
2018 1.1 christos 2014-08-15 Roland McGrath <mcgrathr (a] google.com>
2019 1.1 christos
2020 1.1 christos * configure: Regenerate.
2021 1.1 christos * config.in: Regenerate.
2022 1.1 christos
2023 1.1 christos 2014-03-10 Mike Frysinger <vapier (a] gentoo.org>
2024 1.1 christos
2025 1.1 christos * sim-command.c (sim_do_command): Add const to cmd.
2026 1.1 christos * sim-options.c (sim_args_command): Add const to cmd.
2027 1.1 christos * sim-options.h (sim_args_command): Add const to cmd.
2028 1.1 christos
2029 1.1 christos 2014-03-05 Mike Frysinger <vapier (a] gentoo.org>
2030 1.1 christos
2031 1.1 christos * sim-hload.c (sim_load): Add const to prog.
2032 1.1 christos * sim-load.c (sim_load_file): Likewise.
2033 1.1 christos * sim-utils.c (sim_analyze_program): Likewise.
2034 1.1 christos * sim-utils.h (sim_analyze_program): Likewise.
2035 1.1 christos (sim_load_file): Likewise.
2036 1.1 christos
2037 1.1 christos 2014-03-04 Mike Frysinger <vapier (a] gentoo.org>
2038 1.1 christos
2039 1.1 christos * acinclude.m4 (build_warnings): Copy from gdb/configure.ac.
2040 1.1 christos * callback.c (system): Delete unused prototype.
2041 1.1 christos (os_init): Likewise.
2042 1.1 christos (os_shutdown): Likewise.
2043 1.1 christos (os_unlink): Likewise.
2044 1.1 christos (os_time): Likewise.
2045 1.1 christos (os_system): Likewise.
2046 1.1 christos (os_rename): Likewise.
2047 1.1 christos (os_write_stdout): Likewise.
2048 1.1 christos (os_flush_stdout): Likewise.
2049 1.1 christos (os_write_stderr): Likewise.
2050 1.1 christos (os_flush_stderr): Likewise.
2051 1.1 christos (os_write): Likewise.
2052 1.1 christos (os_read_stdin): Likewise.
2053 1.1 christos (os_read): Likewise.
2054 1.1 christos (os_open): Likewise.
2055 1.1 christos (os_lseek): Likewise.
2056 1.1 christos (os_isatty): Likewise.
2057 1.1 christos (os_get_errno): Likewise.
2058 1.1 christos (os_close): Likewise.
2059 1.1 christos (os_vprintf_filtered): Likewise.
2060 1.1 christos (os_evprintf_filtered): Likewise.
2061 1.1 christos (os_error): Likewise.
2062 1.1 christos (fdmap): Likewise.
2063 1.1 christos (fdbad): Likewise.
2064 1.1 christos (wrap): Likewise.
2065 1.1 christos (wrap): Change to new style prototype.
2066 1.1 christos (fdbad): Likewise.
2067 1.1 christos (fdmap): Likewise.
2068 1.1 christos (os_close): Likewise.
2069 1.1 christos (os_poll_quit): Likewise.
2070 1.1 christos (os_get_errno): Likewise.
2071 1.1 christos (os_isatty): Likewise.
2072 1.1 christos (os_lseek): Likewise.
2073 1.1 christos (os_open): Likewise.
2074 1.1 christos (os_read): Likewise.
2075 1.1 christos (os_read_stdin): Likewise.
2076 1.1 christos (os_write): Likewise.
2077 1.1 christos (os_write_stdout): Likewise.
2078 1.1 christos (os_flush_stdout): Likewise.
2079 1.1 christos (os_write_stderr): Likewise.
2080 1.1 christos (os_flush_stderr): Likewise.
2081 1.1 christos (os_rename): Likewise.
2082 1.1 christos (os_system): Likewise.
2083 1.1 christos (os_time): Likewise.
2084 1.1 christos (os_unlink): Likewise.
2085 1.1 christos (os_stat): Likewise.
2086 1.1 christos (os_fstat): Likewise.
2087 1.1 christos (os_lstat): Likewise.
2088 1.1 christos (os_ftruncate): Likewise.
2089 1.1 christos (os_truncate): Likewise.
2090 1.1 christos (os_pipe): Likewise.
2091 1.1 christos (os_pipe_empty): Likewise.
2092 1.1 christos (os_pipe_nonempty): Likewise.
2093 1.1 christos (os_shutdown): Likewise.
2094 1.1 christos (os_init): Likewise.
2095 1.1 christos (cb_read_target_syscall_maps): Likewise.
2096 1.1 christos (cb_target_to_host_syscall): Likewise.
2097 1.1 christos (cb_host_to_target_errno): Likewise.
2098 1.1 christos (cb_target_to_host_open): Likewise.
2099 1.1 christos (cb_store_target_endian): Likewise.
2100 1.1 christos (cb_host_to_target_stat): Likewise.
2101 1.1 christos * sim-hload.c (sim_load): Change to new style prototype.
2102 1.1 christos * sim-load.c (sim_load_file): Change to new style prototype.
2103 1.1 christos (report_transfer_performance): Likewise.
2104 1.1 christos (xprintf_bfd_vma): Likewise.
2105 1.1 christos * syscall.c (cb_get_string): Change to new style prototype.
2106 1.1 christos (get_path): Likewise.
2107 1.1 christos (cb_syscall): Likewise.
2108 1.1 christos
2109 1.1 christos 2013-10-15 Hans-Peter Nilsson <hp (a] axis.com>
2110 1.1 christos
2111 1.1 christos * create-version.sh: Align parameters to match those of
2112 1.1 christos ../../gdb/common/create-version.sh.
2113 1.1 christos * Make-common.in (srcsim): New variable.
2114 1.1 christos (version.c): Adjust call to create-version.sh as per above.
2115 1.1 christos
2116 1.1 christos 2013-09-23 Alan Modra <amodra (a] gmail.com>
2117 1.1 christos
2118 1.1 christos * configure: Regenerate.
2119 1.1 christos
2120 1.1 christos 2013-09-03 Mike Stump <mikestump (a] comcast.net>
2121 1.1 christos
2122 1.1 christos * sim-options.c (complete_option_list): Mark text and word const.
2123 1.1 christos
2124 1.1 christos 2013-06-28 Tom Tromey <tromey (a] redhat.com>
2125 1.1 christos
2126 1.1 christos * Make-common.in (version.c): Use version.in, not
2127 1.1 christos common/version.in.
2128 1.1 christos * create-version.sh: Likewise.
2129 1.1 christos
2130 1.1 christos 2013-06-24 Joel Brobecker <brobecker (a] adacore.com>
2131 1.1 christos
2132 1.1 christos * create-version.sh: New script. Adapted from
2133 1.1 christos gdb/commong/create-version.sh.
2134 1.1 christos * Make-common.in (version.c): Update rule dependencies,
2135 1.1 christos and re-implement using create-version.sh.
2136 1.1 christos
2137 1.1 christos 2013-06-21 Nick Clifton <nickc (a] redhat.com>
2138 1.1 christos
2139 1.1 christos * gennltvals.sh: Add msp430 support.
2140 1.1 christos * nltvals.def: Regenerate.
2141 1.1 christos
2142 1.1 christos 2013-06-03 Mike Frysinger <vapier (a] gentoo.org>
2143 1.1 christos
2144 1.1 christos * acinclude.m4: Replace maintainer-mode code with AM_MAINTAINER_MODE.
2145 1.1 christos * aclocal.m4, configure: Regenerate.
2146 1.1 christos
2147 1.1 christos 2013-05-10 Freddie Chopin <freddie_chopin (a] op.pl>
2148 1.1 christos
2149 1.1 christos PR build/15414:
2150 1.1 christos * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use
2151 1.1 christos -Wformat-nonliteral with -Wno-format.
2152 1.1 christos
2153 1.1 christos 2013-03-26 Mike Frysinger <vapier (a] gentoo.org>
2154 1.1 christos
2155 1.1 christos * acinclude.m4: Regenerate.
2156 1.1 christos
2157 1.1 christos 2013-03-23 Joel Sherrill <joel.sherrill (a] oarcorp.com>
2158 1.1 christos
2159 1.1 christos * acinclude.m4: Add SIM_DV_SOCKSER_O which is empty on hosts
2160 1.1 christos which do not support dv-sockser.o. Add always as option to
2161 1.1 christos first argument to SIM_AC_OPTION_HARDWARE. Fail if hardware
2162 1.1 christos is always required to be enabled by simulator.
2163 1.1 christos
2164 1.1 christos 2012-08-28 Kaushik Phatak <kaushik.phatak (a] kpitcummins.com>
2165 1.1 christos
2166 1.1 christos * gennltvals.sh: Use libgloss/syscall.h for cr16.
2167 1.1 christos * nltvals.def: Regenerate.
2168 1.1 christos
2169 1.1 christos 2012-06-16 Joel Brobecker <brobecker (a] adacore.com>
2170 1.1 christos
2171 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
2172 1.1 christos * config.in, configure: Regenerate.
2173 1.1 christos
2174 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
2175 1.1 christos
2176 1.1 christos * sim-signal.h (sim_signal_to_target): Rename to ...
2177 1.1 christos (sim_signal_to_gdb_signal): ... this.
2178 1.1 christos * sim-signal.c (sim_signal_to_target): Rename to ...
2179 1.1 christos (sim_signal_to_gdb_signal): ... this.
2180 1.1 christos * sim-reason.c (sim_stop_reason): Adjust to rename.
2181 1.1 christos
2182 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
2183 1.1 christos
2184 1.1 christos PR gdb/7205
2185 1.1 christos
2186 1.1 christos Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
2187 1.1 christos
2188 1.1 christos 2012-05-24 Pedro Alves <palves (a] redhat.com>
2189 1.1 christos
2190 1.1 christos PR gdb/7205
2191 1.1 christos
2192 1.1 christos Replace target_signal with gdb_signal throughout.
2193 1.1 christos
2194 1.1 christos 2012-05-18 Nick Clifton <nickc (a] redhat.com>
2195 1.1 christos
2196 1.1 christos PR 14072
2197 1.1 christos * callback.c: Include config.h before system header files.
2198 1.1 christos * cgen-trace.c: Likewise.
2199 1.1 christos * cgen-utils.c: Likewise.
2200 1.1 christos * gentmap.c: Likewise.
2201 1.1 christos
2202 1.1 christos 2012-04-02 Mike Frysinger <vapier (a] gentoo.org>
2203 1.1 christos
2204 1.1 christos * hw-ports.c (hw_port_decode): Change "Unreconized" to "Unrecognized".
2205 1.1 christos
2206 1.1 christos 2012-03-28 Rathish C <rathish.c (a] kpitcummins.com>
2207 1.1 christos
2208 1.1 christos * sim-trace.c: Update the function prototype of save_data_size.
2209 1.1 christos Move the enum data_fmt from here...
2210 1.1 christos * sim-trace.h: ...to here.
2211 1.1 christos Add function prototype of save_data.
2212 1.1 christos
2213 1.1 christos 2012-03-25 Mike Frysinger <vapier (a] gentoo.org>
2214 1.1 christos
2215 1.1 christos * sim-core.h (sim_core_trans_addr): Add prototype.
2216 1.1 christos
2217 1.1 christos 2012-03-24 Hans-Peter Nilsson <hp (a] axis.com>
2218 1.1 christos
2219 1.1 christos * nrun.c: Add #ifdef HAVE_CONFIG_H and associated includes stanza
2220 1.1 christos missing in last change.
2221 1.1 christos
2222 1.1 christos 2012-03-24 Mike Frysinger <vapier (a] gentoo.org>
2223 1.1 christos
2224 1.1 christos * acinclude.m4 (SIM_AC_COMMON): Call AC_USE_SYSTEM_EXTENSIONS.
2225 1.1 christos * nrun.c: Include string.h/strings.h.
2226 1.1 christos * aclocal.m4, config.in, configure: Regenerate.
2227 1.1 christos
2228 1.1 christos 2012-03-22 Mike Frysinger <vapier (a] gentoo.org>
2229 1.1 christos
2230 1.1 christos * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Copy AC_ARG_ENABLE(werror),
2231 1.1 christos WERROR_CFLAGS, and build_warnings from gdb/configure.ac. Comment
2232 1.1 christos out -Werror initialization.
2233 1.1 christos
2234 1.1 christos 2012-03-19 Mike Frysinger <vapier (a] gentoo.org>
2235 1.1 christos
2236 1.1 christos * Make-common.in (TAGS): Change a-z to [:lower:].
2237 1.1 christos * acinclude.m4 (sim-trace): Likewise.
2238 1.1 christos * gennltvals.sh: Change A-Z0-9 to [:upper:][:digit:].
2239 1.1 christos Change A-Za-z0-9 to [:alnum:].
2240 1.1 christos
2241 1.1 christos 2012-03-18 Mike Frysinger <vapier (a] gentoo.org>
2242 1.1 christos
2243 1.1 christos * nrun.c (main): Display strsignal of sigrc.
2244 1.1 christos
2245 1.1 christos 2012-01-06 Mike Frysinger <vapier (a] gentoo.org>
2246 1.1 christos
2247 1.1 christos * Makefile.in (abs_srcdir): Declare.
2248 1.1 christos (srcroot): Define in terms of abs_srcdir.
2249 1.1 christos (headers): Change srcdir to abs_srcdir.
2250 1.1 christos
2251 1.1 christos 2012-01-02 Joel Brobecker <brobecker (a] adacore.com>
2252 1.1 christos
2253 1.1 christos * dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright
2254 1.1 christos header.
2255 1.1 christos
2256 1.1 christos 2011-12-19 Joel Brobecker <brobecker (a] adacore.com>
2257 1.1 christos
2258 1.1 christos * Make-common.in (hw-config.h): Work around bug in Solaris 2.8
2259 1.1 christos system bourne shell.
2260 1.1 christos
2261 1.1 christos 2011-12-03 Mike Frysinger <vapier (a] gentoo.org>
2262 1.1 christos
2263 1.1 christos * syscall.c (cb_get_string): Rename from "get_string".
2264 1.1 christos (get_path): Rename get_string call to cb_get_string.
2265 1.1 christos
2266 1.1 christos 2011-12-03 Mike Frysinger <vapier (a] gentoo.org>
2267 1.1 christos
2268 1.1 christos * Make-common.in (VPATH): Add $(srccom).
2269 1.1 christos (DEP): Delete.
2270 1.1 christos (DEPMODE, DEPDIR, depcomp, COMPILE.pre, COMPILE.post, COMPILE,
2271 1.1 christos POSTCOMPILE): New variables.
2272 1.1 christos (.c.o): Replace recipe with call to $(COMPILE) and $(POSTCOMPILE).
2273 1.1 christos Include dependency files, when using GNU Make. Delete all
2274 1.1 christos dependency-only rules.
2275 1.1 christos * aclocal.m4: Include ../../config/depstand.m4. Call
2276 1.1 christos ZW_CREATE_DEPDIR and ZW_PROG_COMPILER_DEPENDENCIES.
2277 1.1 christos (MAKE, GMAKE): New substs.
2278 1.1 christos
2279 1.1 christos 2011-11-07 Mike Frysinger <vapier (a] gentoo.org>
2280 1.1 christos
2281 1.1 christos PR sim/13161
2282 1.1 christos * configure.ac (AC_CHECK_FUNCS): Add posix_fallocate.
2283 1.1 christos * configure, config.in: Regenerate.
2284 1.1 christos * dv-cfi.c (attach_cfi_regs): Check for HAVE_POSIX_FALLOCATE.
2285 1.1 christos
2286 1.1 christos 2011-10-19 Mike Frysinger <vapier (a] gentoo.org>
2287 1.1 christos
2288 1.1 christos * acinclude.m4: Call AC_CHECK_LIB when $hardware contains cfi.
2289 1.1 christos
2290 1.1 christos 2011-10-18 John Wehle <john (a] feith.com> (tiny patch)
2291 1.1 christos
2292 1.1 christos * sim-profile.c (profile_info): Only print the title once.
2293 1.1 christos
2294 1.1 christos 2011-10-17 Mike Frysinger <vapier (a] gentoo.org>
2295 1.1 christos
2296 1.1 christos * acinclude.m4: Rename from aclocal.m4.
2297 1.1 christos * aclocal.m4: Regenerate.
2298 1.1 christos
2299 1.1 christos 2011-10-17 Mike Frysinger <vapier (a] gentoo.org>
2300 1.1 christos
2301 1.1 christos * aclocal.m4: Change AC_PREREQ comment to 2.64.
2302 1.1 christos * common.m4: Delete.
2303 1.1 christos * configure.ac: Change AC_PREREQ to 2.64. Replace AC_CONFIG_HEADER
2304 1.1 christos call and common.m4 include with SIM_AC_COMMON(cconfig.h).
2305 1.1 christos * configure: Regenerate.
2306 1.1 christos
2307 1.1 christos 2011-10-14 Alexey Makhalov <makhaloff (a] gmail.com>
2308 1.1 christos
2309 1.1 christos * sim-alu.h (ALU32_AND): Clear carry flag.
2310 1.1 christos (ALU32_AND): Clear carry flag.
2311 1.1 christos
2312 1.1 christos 2011-10-09 Mike Frysinger <vapier (a] gentoo.org>
2313 1.1 christos
2314 1.1 christos * dv-cfi.c: Include stdbool.h.
2315 1.1 christos
2316 1.1 christos 2011-10-09 Mike Frysinger <vapier (a] gentoo.org>
2317 1.1 christos
2318 1.1 christos * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h.
2319 1.1 christos
2320 1.1 christos 2011-10-04 Mike Frysinger <vapier (a] gentoo.org>
2321 1.1 christos
2322 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Call AM_ZLIB, ACX_PKGVERSION, and
2323 1.1 christos ACX_BUGURL. Define PKGVERSION and REPORT_BUGS_TO.
2324 1.1 christos
2325 1.1 christos 2011-07-12 Mike Frysinger <vapier (a] gentoo.org>
2326 1.1 christos
2327 1.1 christos * sim-command.c: Include sim-options.h.
2328 1.1 christos
2329 1.1 christos 2011-07-12 Mike Frysinger <vapier (a] gentoo.org>
2330 1.1 christos
2331 1.1 christos * aclocal.m4: Move sinclude comment after AC_INIT comment.
2332 1.1 christos
2333 1.1 christos 2011-07-12 Mike Frysinger <vapier (a] gentoo.org>
2334 1.1 christos
2335 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Call AC_REQUIRE on AC_PROG_CC.
2336 1.1 christos Delete direct call to AC_PROG_CC.
2337 1.1 christos
2338 1.1 christos 2011-07-05 Mike Frysinger <vapier (a] gentoo.org>
2339 1.1 christos
2340 1.1 christos * sim-command.c: New file.
2341 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-command.o.
2342 1.1 christos (sim-command.o): New rule.
2343 1.1 christos
2344 1.1 christos 2011-05-27 Mike Frysinger <vapier (a] gentoo.org>
2345 1.1 christos
2346 1.1 christos * sim-options.c (standard_option_handler): Remove arg[0] check
2347 1.1 christos when freeing simulator_sysroot. Only strdup arg when arg[0] is
2348 1.1 christos not an empty string, otherwise assign "" back to it.
2349 1.1 christos
2350 1.1 christos 2011-05-26 Mike Frysinger <vapier (a] gentoo.org>
2351 1.1 christos
2352 1.1 christos * nltvals.def: Regenerate to include Blackfin syscalls again.
2353 1.1 christos
2354 1.1 christos 2011-05-25 Mike Frysinger <vapier (a] gentoo.org>
2355 1.1 christos
2356 1.1 christos * sim-trace.c (OPTION_TRACE_SYSCALL): New enum.
2357 1.1 christos (trace_options): Handle "trace-syscall" with OPTION_TRACE_SYSCALL.
2358 1.1 christos (trace_option_handler): Handle OPTION_TRACE_SYSCALL.
2359 1.1 christos (trace_idx_to_str): Likewise.
2360 1.1 christos * sim-trace.h (TRACE_SYSCALL_IDX): New enum.
2361 1.1 christos (TRACE_syscall): Define.
2362 1.1 christos (WITH_TRACE_SYSCALL_P): Likewise.
2363 1.1 christos (TRACE_SYSCALL_P): Likewise.
2364 1.1 christos
2365 1.1 christos 2011-05-23 Mike Frysinger <vapier (a] gentoo.org>
2366 1.1 christos
2367 1.1 christos * dv-glue.c (hw_glue_finish): Move "name" to function scope and
2368 1.1 christos remove now-unnecessary sub-scope for glue->type setting.
2369 1.1 christos Check to see if the "reg" property exists before we use it, and
2370 1.1 christos if it doesn't exist, error out for "glue" devices.
2371 1.1 christos
2372 1.1 christos 2011-05-23 Mike Frysinger <vapier (a] gentoo.org>
2373 1.1 christos
2374 1.1 christos * dv-glue.c (hw_glue_finish): Set type to glue_or when name is
2375 1.1 christos glue-or, and set type to glue_xor when name is glue-xor.
2376 1.1 christos (hw_glue_port_event): Return immediately when type is glue_io
2377 1.1 christos or unmatched. Handle glue_or and glue_xor types. Move HW_TRACE
2378 1.1 christos and hw_port_event calls from glue_and to end of function.
2379 1.1 christos
2380 1.1 christos 2011-05-11 Mike Frysinger <vapier (a] gentoo.org>
2381 1.1 christos
2382 1.1 christos * callback.c, dv-pal.c, dv-sockser.c, hw-base.c, hw-device.c,
2383 1.1 christos hw-instances.c, hw-ports.c, hw-properties.c, hw-tree.c, sim-abort.c,
2384 1.1 christos sim-arange.c, sim-config.c, sim-core.c, sim-engine.c, sim-events.c,
2385 1.1 christos sim-hw.c, sim-io.c, sim-memopt.c, sim-options.c, sim-profile.c,
2386 1.1 christos sim-resume.c, sim-stop.c, syscall.c: Add space before parenthesis
2387 1.1 christos around function arguments.
2388 1.1 christos
2389 1.1 christos 2011-04-14 Mike Frysinger <vapier (a] gentoo.org>
2390 1.1 christos
2391 1.1 christos * sim-options.c (complete_option_list, sim_complete_command):
2392 1.1 christos New functions.
2393 1.1 christos
2394 1.1 christos 2011-04-02 Mike Frysinger <vapier (a] gentoo.org>
2395 1.1 christos
2396 1.1 christos * dv-glue.c: Fix up style.
2397 1.1 christos
2398 1.1 christos 2011-04-02 Mike Frysinger <vapier (a] gentoo.org>
2399 1.1 christos
2400 1.1 christos * hw-alloc.c (hw_alloc_data): Adjust brace.
2401 1.1 christos * hw-base.c (hw_base_data): Likewise.
2402 1.1 christos (generic_hw_unit_decode): Fix indentation.
2403 1.1 christos * hw-device.h (_hw_unit, enum, hw): Adjust braces.
2404 1.1 christos * hw-events.c (hw_event, hw_event_data): Likewise.
2405 1.1 christos * hw-handles.c (hw_handle_mapping, hw_handle_data): Likewise.
2406 1.1 christos * hw-instances.c (hw_instance_data): Likewise.
2407 1.1 christos * hw-instances.h (hw_instance): Likewise.
2408 1.1 christos * hw-main.h (hw_descriptor, enum): Likewise.
2409 1.1 christos * hw-ports.c (hw_port_edge, hw_port_data, empty_hw_ports): Likewise.
2410 1.1 christos * hw-ports.h (hw_port_descriptor): Likewise.
2411 1.1 christos * hw-properties.c (hw_property_data): Likewise.
2412 1.1 christos * hw-properties.h (enum, hw_property, _ihandle_runtime_property_spec,
2413 1.1 christos _range_property_spec, _reg_property_spec): Likewise.
2414 1.1 christos * hw-tree.c (_name_specifier, printer): Likewise.
2415 1.1 christos (split_device_specifier, parse_string_property, hw_tree_traverse,
2416 1.1 christos print_size, print_reg_property, print_string, print_properties):
2417 1.1 christos Fix indentation.
2418 1.1 christos
2419 1.1 christos 2011-03-29 Mike Frysinger <vapier (a] gentoo.org>
2420 1.1 christos
2421 1.1 christos * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add cfi to default list.
2422 1.1 christos * Make-common.in (dv-cfi.o): New rule.
2423 1.1 christos * dv-cfi.c, dv-cfi.h: New files.
2424 1.1 christos
2425 1.1 christos 2011-03-21 Kevin Buettner <kevinb (a] redhat.com>
2426 1.1 christos
2427 1.1 christos * gennltvals.sh: Search sys/_default_fcntl.h, in addition to
2428 1.1 christos fcntl.h and sys/fcntl.h, for constants.
2429 1.1 christos * nltvals.def: Regenerate.
2430 1.1 christos * sim-io.c (sim_io_stat, sim_io_fstat): New functions.
2431 1.1 christos * sim-io.h (sys/types.h, sys/stat.h): Include.
2432 1.1 christos (sim_io_stat, sim_io_fstat): Declare.
2433 1.1 christos
2434 1.1 christos 2011-03-14 Mike Frysinger <vapier (a] gentoo.org>
2435 1.1 christos
2436 1.1 christos * callback.c, cgen-engine.h, dv-core.c, dv-glue.c, dv-pal.c,
2437 1.1 christos hw-base.c, hw-device.c, hw-device.h, hw-handles.c, hw-instances.c,
2438 1.1 christos hw-ports.c, hw-ports.h, hw-properties.c, hw-tree.c, nrun.c,
2439 1.1 christos run-sim.h, run.c, sim-alu.h, sim-assert.h, sim-base.h, sim-basics.h,
2440 1.1 christos sim-config.c, sim-core.c, sim-core.h, sim-engine.h, sim-events.c,
2441 1.1 christos sim-events.h, sim-fpu.c, sim-hw.c, sim-inline.h, sim-load.c,
2442 1.1 christos sim-memopt.c, sim-n-core.h, sim-options.c, sim-profile.c,
2443 1.1 christos sim-signal.c, sim-trace.c, sim-trace.h, sim-utils.c, sim-watch.c,
2444 1.1 christos syscall.c: Trim trailing whitespace.
2445 1.1 christos
2446 1.1 christos 2011-03-05 Mike Frysinger <vapier (a] gentoo.org>
2447 1.1 christos
2448 1.1 christos * gennltvals.sh: Handle bfin targets.
2449 1.1 christos * nltvals.def: Regenerate.
2450 1.1 christos
2451 1.1 christos 2011-02-25 Kevin Buettner <kevinb (a] redhat.com>
2452 1.1 christos
2453 1.1 christos * callback.c (fdbad): Return EBADF rather than EINVAL for bad
2454 1.1 christos file descriptors.
2455 1.1 christos
2456 1.1 christos 2011-02-14 Mike Frysinger <vapier (a] gentoo.org>
2457 1.1 christos
2458 1.1 christos * hw-alloc.c (hw_alloc_data): Delete zalloc_p.
2459 1.1 christos (hw_zalloc, hw_malloc): Delete zalloc_p reference.
2460 1.1 christos (hw_free): Drop zfree logic and always call free.
2461 1.1 christos * hw-base.c (hw_delete): Change zfree to free.
2462 1.1 christos * hw-handles.c (hw_handle_remove_ihandle): Likewise.
2463 1.1 christos (hw_handle_remove_phandle): Likewise.
2464 1.1 christos * hw-instances.c (hw_instance_delete): Likewise.
2465 1.1 christos * hw-tree.c (parse_reg_property): Likewise.
2466 1.1 christos (parse_ranges_property): Likewise.
2467 1.1 christos (parse_string_property): Likewise.
2468 1.1 christos * sim-core.c (sim_core_uninstall): Likewise.
2469 1.1 christos * sim-cpu.c (sim_cpu_free_all): Likewise.
2470 1.1 christos * sim-hw.c (sim_hw_uninstall): Likewise.
2471 1.1 christos * sim-memopt.c (do_memopt_delete): Likewise.
2472 1.1 christos (sim_memory_uninstall): Likewise.
2473 1.1 christos * sim-module.c (sim_module_uninstall): Likewise.
2474 1.1 christos * sim-options.c (sim_parse_args): Likewise.
2475 1.1 christos * sim-profile.c (profile_pc_cleanup): Likewise.
2476 1.1 christos (profile_uninstall): Likewise.
2477 1.1 christos * sim-watch.c (do_watchpoint_delete): Likewise.
2478 1.1 christos * sim-utils.c (zfree): Delete.
2479 1.1 christos (sim_state_free): Change zfree to free.
2480 1.1 christos * sim-utils.h (zfree): Delete.
2481 1.1 christos
2482 1.1 christos 2011-02-13 Mike Frysinger <vapier (a] gentoo.org>
2483 1.1 christos
2484 1.1 christos * sim-events.h (_sim_events.time_from_event): Change type to signed64.
2485 1.1 christos
2486 1.1 christos 2011-01-12 Mike Frysinger <vapier (a] gentoo.org>
2487 1.1 christos
2488 1.1 christos * sim-hw.c (sim_hw_uninstall): Uncomment hw_tree_delete.
2489 1.1 christos
2490 1.1 christos 2011-01-12 Mike Frysinger <vapier (a] gentoo.org>
2491 1.1 christos
2492 1.1 christos * sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf
2493 1.1 christos fails.
2494 1.1 christos * sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL
2495 1.1 christos when asprintf fails.
2496 1.1 christos * sim-utils.c (sim_do_commandf): Issue an error and return when
2497 1.1 christos asprintf fails.
2498 1.1 christos * sim-watch.c (sim_watchpoint_install): Return SIM_RC_FAIL when
2499 1.1 christos asprintf fails.
2500 1.1 christos
2501 1.1 christos 2011-01-11 Mike Frysinger <vapier (a] gentoo.org>
2502 1.1 christos
2503 1.1 christos * sim-memopt.c (do_memopt_add): Set nr_bytes to s.st_size before
2504 1.1 christos bytes has been calculated and when mmap_next_fd is valid and
2505 1.1 christos nr_bytes is 0.
2506 1.1 christos (memory_option_handler): Allow missing size when mmap_next_fd is
2507 1.1 christos valid.
2508 1.1 christos
2509 1.1 christos 2011-01-10 Mike Frysinger <vapier (a] gentoo.org>
2510 1.1 christos
2511 1.1 christos * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set $hardware to $2 when $2 is
2512 1.1 christos not empty, and always append $3 to $hardware.
2513 1.1 christos
2514 1.1 christos 2011-01-10 Mike Frysinger <vapier (a] gentoo.org>
2515 1.1 christos
2516 1.1 christos * hw-device.h (hw_abort, hw_vabort, hw_halt): Add noreturn attribute.
2517 1.1 christos * sim-hw.h (sim_hw_abort): Likewise.
2518 1.1 christos
2519 1.1 christos 2011-01-05 Mike Frysinger <vapier (a] gentoo.org>
2520 1.1 christos
2521 1.1 christos * sim-load.c (sim_load_file): Change buffer type to unsigned char *.
2522 1.1 christos
2523 1.1 christos 2011-01-05 Joel Brobecker <brobecker (a] adacore.com>
2524 1.1 christos
2525 1.1 christos * run.1: Copyright year update.
2526 1.1 christos
2527 1.1 christos 2010-12-28 Mike Frysinger <vapier (a] gentoo.org>
2528 1.1 christos
2529 1.1 christos * hw-alloc.h (HW_NALLOC): Define.
2530 1.1 christos
2531 1.1 christos 010-12-28 Mike Frysinger <vapier (a] gentoo.org>
2532 1.1 christos
2533 1.1 christos * hw-alloc.h (HW_NZALLOC): Change ME,TYPE,N to me,type,n.
2534 1.1 christos
2535 1.1 christos 2010-12-15 Mike Frysinger <vapier (a] gentoo.org>
2536 1.1 christos
2537 1.1 christos * sim-memopt.c (OPTION_MAP_INFO): Define.
2538 1.1 christos (memory_options): Handle --map-info.
2539 1.1 christos (memory_option_handler): Handle OPTION_MAP_INFO.
2540 1.1 christos
2541 1.1 christos 2010-11-22 Mike Frysinger <vapier (a] gentoo.org>
2542 1.1 christos
2543 1.1 christos * sim-profile.c (PROFILE_PC_FREQ, PROFILE_PC_NR_BUCKETS,
2544 1.1 christos PROFILE_PC_SHIFT, PROFILE_PC_START, PROFILE_PC_END,
2545 1.1 christos PROFILE_INSN_COUNT): Add stubs when profile is disabled.
2546 1.1 christos
2547 1.1 christos 2010-11-22 Mike Frysinger <vapier (a] gentoo.org>
2548 1.1 christos
2549 1.1 christos * sim-core.c (WITH_HW): Add device casts to device_error,
2550 1.1 christos device_io_read_buffer, and device_io_write_buffer.
2551 1.1 christos
2552 1.1 christos 2010-11-16 Mike Frysinger <vapier (a] gentoo.org>
2553 1.1 christos
2554 1.1 christos * dv-sockser.c (dv_sockser_write_buffer): New function.
2555 1.1 christos (dv_sockser_write): Rewrite to use dv_sockser_write_buffer.
2556 1.1 christos * dv-sockser.h (dv_sockser_write_buffer): New prototype.
2557 1.1 christos
2558 1.1 christos 2010-10-07 Hans-Peter Nilsson <hp (a] axis.com>
2559 1.1 christos
2560 1.1 christos * callback.c (os_lseek): Call wrap on lseek result.
2561 1.1 christos
2562 1.1 christos 2010-05-26 Ozkan Sezer <sezeroz (a] gmail.com>
2563 1.1 christos
2564 1.1 christos * dv-sockser.c (dv_sockser_init): Check error return from socket()
2565 1.1 christos call by its equality to -1 not by it being negative.
2566 1.1 christos (connected_p): Likewise for accept() call.
2567 1.1 christos
2568 1.1 christos 2010-04-23 Mike Frysinger <vapier (a] gentoo.org>
2569 1.1 christos
2570 1.1 christos * sim-fpu.c (sim_fpu_zero, sim_fpu_qnan): Add 0 initializers.
2571 1.1 christos
2572 1.1 christos 2010-04-21 Mike Frysinger <vapier (a] gentoo.org>
2573 1.1 christos
2574 1.1 christos * profile.c (sim_profile_print_bar): Add cpu argument.
2575 1.1 christos
2576 1.1 christos 2010-04-21 Mike Frysinger <vapier (a] gentoo.org>
2577 1.1 christos
2578 1.1 christos * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU.
2579 1.1 christos
2580 1.1 christos 2010-04-21 Mike Frysinger <vapier (a] gentoo.org>
2581 1.1 christos
2582 1.1 christos * sim-profile.c (profile_vprintf, profile_printf): New functions.
2583 1.1 christos (profile_print_pc): Convert sim_io_printf to profile_printf.
2584 1.1 christos (profile_print_insn): Likewise.
2585 1.1 christos (profile_print_memory): Likewise.
2586 1.1 christos (profile_print_core): Likewise.
2587 1.1 christos (profile_print_model): Likewise.
2588 1.1 christos (sim_profile_print_bar): Likewise.
2589 1.1 christos (profile_print_speed): Likewise.
2590 1.1 christos (profile_print_addr_ranges): Likewise.
2591 1.1 christos (profile_info): Likewise.
2592 1.1 christos * sim-profile.h (sim_profile_print_bar): Add cpu argument.
2593 1.1 christos
2594 1.1 christos 2010-04-19 Mike Frysinger <vapier (a] gentoo.org>
2595 1.1 christos
2596 1.1 christos * sim-model.c (OPTION_MODEL): Convert to enum.
2597 1.1 christos (OPTION_MODEL_INFO): New enum.
2598 1.1 christos (model_options): Add model-info/info-model entries.
2599 1.1 christos (model_option_handler): Handle OPTION_MODEL_INFO.
2600 1.1 christos
2601 1.1 christos 2010-04-13 Mike Frysinger <vapier (a] gentoo.org>
2602 1.1 christos
2603 1.1 christos * dv-sockser.h (DV_SOCKSER_DISCONNECTED): Define.
2604 1.1 christos * dv-sockser.c (dv_sockser_status): Set DV_SOCKSER_DISCONNECTED
2605 1.1 christos initially.
2606 1.1 christos
2607 1.1 christos 2010-04-13 Mike Frysinger <vapier (a] gentoo.org>
2608 1.1 christos
2609 1.1 christos * sim-hrw.c (sim_write): Add const to buf arg.
2610 1.1 christos * sim-utils.h (sim_write_fn): Likewise.
2611 1.1 christos
2612 1.1 christos 2010-04-12 Mike Frysinger <vapier (a] gentoo.org>
2613 1.1 christos
2614 1.1 christos * sim-profile.h (PROFILE_BRANCH_TAKEN, PROFILE_BRANCH_UNTAKEN): New
2615 1.1 christos defines.
2616 1.1 christos
2617 1.1 christos 2010-04-12 Mike Frysinger <vapier (a] gentoo.org>
2618 1.1 christos
2619 1.1 christos * dv-core.c (dv_core_descriptor): Add NULL initializer.
2620 1.1 christos * dv-glue.c (hw_glue_ports, dv_glue_descriptor): Likewise.
2621 1.1 christos * dv-pal.c (hw_pal_ports, dv_pal_descriptor): Likewise.
2622 1.1 christos * dv-sockser.c (sockser_options): Likewise.
2623 1.1 christos * hw-ports.c (empty_hw_ports): Likewise.
2624 1.1 christos * sim-hw.c (hw_options): Likewise.
2625 1.1 christos * sim-model.c (model_options): Likewise.
2626 1.1 christos * sim-options.c (standard_options): Likewise.
2627 1.1 christos * sim-profile.c (profile_options): Likewise.
2628 1.1 christos * sim-trace.c (trace_options): Likewise.
2629 1.1 christos * sim-watch.c (watchpoint_options): Likewise.
2630 1.1 christos
2631 1.1 christos 2010-04-12 Mike Frysinger <vapier (a] gentoo.org>
2632 1.1 christos
2633 1.1 christos * sim-options.c (dup_arg_p): Add "const" to the "arg" argument,
2634 1.1 christos the local "arg_table" variable, and the xmalloc cast.
2635 1.1 christos
2636 1.1 christos 2010-04-10 Mike Frysinger <vapier (a] gentoo.org>
2637 1.1 christos
2638 1.1 christos * sim-fpu.c (sim_fpu_print_status): Add const markings to local
2639 1.1 christos "prefix" var.
2640 1.1 christos (sim_fpu_print_func): Add const markings to format buffer.
2641 1.1 christos
2642 1.1 christos 2010-04-10 Mike Frysinger <vapier (a] gentoo.org>
2643 1.1 christos
2644 1.1 christos * sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements.
2645 1.1 christos
2646 1.1 christos 2010-04-10 Mike Frysinger <vapier (a] gentoo.org>
2647 1.1 christos
2648 1.1 christos * sim-trace.c (save_data): Add const markings to "buf" argument.
2649 1.1 christos
2650 1.1 christos 2010-04-10 Mike Frysinger <vapier (a] gentoo.org>
2651 1.1 christos
2652 1.1 christos * sim-options.c (standard_option_handler): Add const markings to
2653 1.1 christos local "type" var.
2654 1.1 christos
2655 1.1 christos 2010-04-02 Mike Frysinger <vapier (a] gentoo.org>
2656 1.1 christos
2657 1.1 christos * hw-ports.h: Fix spelling typos.
2658 1.1 christos
2659 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2660 1.1 christos
2661 1.1 christos * configure.ac: Check for socklen_t.
2662 1.1 christos * configure, config.in: Regenerated.
2663 1.1 christos * dv-sockser.c (connected_p): Change addrlen type to socklen_t.
2664 1.1 christos
2665 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2666 1.1 christos
2667 1.1 christos * sim-utils.c (sim_io_eprintf_cpu): Use %s with printf string.
2668 1.1 christos * sim-hw.c (hw_option_handler): Likewise.
2669 1.1 christos
2670 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2671 1.1 christos
2672 1.1 christos * sim-watch.c (watchpoint_type_to_str): Add const to return.
2673 1.1 christos (interrupt_nr_to_str): Likewise.
2674 1.1 christos (default_interrupt_names): Add const to pointer type.
2675 1.1 christos (sim_watchpoint_install): Add const to prefix.
2676 1.1 christos * sim-watch.h (struct _sim_watchpoints): Add const to interrupt_names.
2677 1.1 christos
2678 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2679 1.1 christos
2680 1.1 christos * sim-core.c (sim_core_read_buffer): Change raddr to address_word.
2681 1.1 christos (sim_core_write_buffer): Likewise.
2682 1.1 christos
2683 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2684 1.1 christos
2685 1.1 christos * sim-trace.c (trace_option_handler): Move cpu_nr decl behind
2686 1.1 christos the SIM_HAVE_ADDR_RANGE define.
2687 1.1 christos
2688 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2689 1.1 christos
2690 1.1 christos * sim-core.h (device_error): Add const to message, and add printf
2691 1.1 christos format attribute.
2692 1.1 christos
2693 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2694 1.1 christos
2695 1.1 christos * sim-profile.c (profile_print_addr_ranges): Wrap with the
2696 1.1 christos SIM_HAVE_ADDR_RANGE define.
2697 1.1 christos
2698 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2699 1.1 christos
2700 1.1 christos * dv-glue.c (hw_glue_ports): Swap static and const.
2701 1.1 christos
2702 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org>
2703 1.1 christos
2704 1.1 christos * nrun.c (usage): Use void in definition.
2705 1.1 christos * sim-options.c (dup_arg_p): Convert old-style function definition.
2706 1.1 christos (sim_parse_args): Likewise.
2707 1.1 christos (sim_print_help): Likewise.
2708 1.1 christos * sim-trace.c (set_trace_option_mask): Likewise.
2709 1.1 christos (set_trace_option): Likewise.
2710 1.1 christos * sim-utils.c (sim_analyze_program): Likewise.
2711 1.1 christos (sim_elapsed_time_get): Likewise.
2712 1.1 christos (sim_elapsed_time_since): Likewise.
2713 1.1 christos
2714 1.1 christos 2010-03-22 Mike Frysinger <vapier (a] gentoo.org>
2715 1.1 christos
2716 1.1 christos * sim/common/sim-options.c (enum): Remove SIM_HAVE_BIENDIAN ifdef.
2717 1.1 christos (standard_options): Likewise.
2718 1.1 christos (standard_option_handler): Likewise.
2719 1.1 christos
2720 1.1 christos 2010-03-16 Mike Frysinger <vapier (a] gentoo.org>
2721 1.1 christos
2722 1.1 christos * hw-ports.c (TRACE): Delete.
2723 1.1 christos * hw-properties.c (TRACE): Delete.
2724 1.1 christos (hw_find_ihandle_runtime_property): Change TRACE to HW_TRACE.
2725 1.1 christos (hw_find_integer_property): Likewise.
2726 1.1 christos (hw_find_integer_array_property): Likewise.
2727 1.1 christos (hw_add_duplicate_property): Likewise.
2728 1.1 christos
2729 1.1 christos 2010-03-15 Mike Frysinger <vapier (a] gentoo.org>
2730 1.1 christos
2731 1.1 christos * hw-properties.h (hw_add_boolean_property): Rename "bool" to
2732 1.1 christos "boolean".
2733 1.1 christos
2734 1.1 christos 2010-02-04 Mike Frysinger <vapier (a] gentoo.org>
2735 1.1 christos
2736 1.1 christos * sim-model.c: Include sim-model.h
2737 1.1 christos
2738 1.1 christos 2010-02-04 Mike Frysinger <vapier (a] gentoo.org>
2739 1.1 christos
2740 1.1 christos * sim-base.h: Declare sim_state.cpu as a pointer in the comment. Drop
2741 1.1 christos & from the STATE_CPU() examples.
2742 1.1 christos
2743 1.1 christos 2010-01-24 Doug Evans <dje (a] sebabeach.org>
2744 1.1 christos
2745 1.1 christos * cgen-accfp.c (fextsfdf): New arg how. All callers updated.
2746 1.1 christos (ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi,
2747 1.1 christos ufixsfsi): Ditto.
2748 1.1 christos * cgen-fpu.h (CGEN_FPCONV_KIND): New enum.
2749 1.1 christos (struct cgen_fp_ops): Update signatures of floating point conversion
2750 1.1 christos operations.
2751 1.1 christos
2752 1.1 christos * Make-common.in (CGEN_SIM_DEPS): Define.
2753 1.1 christos (CGEN_INCLUDE_DEPS): Use it.
2754 1.1 christos (CGEN_MAIN_CPU_DEPS): Simplify.
2755 1.1 christos
2756 1.1 christos 2010-01-22 Doug Evans <dje (a] sebabeach.org>
2757 1.1 christos
2758 1.1 christos * cgen-ops.h (SUBWORDXFSI): Fix word ordering.
2759 1.1 christos (SUBWORDTFSI, JOINSIDI): Ditto.
2760 1.1 christos
2761 1.1 christos 2010-01-05 Doug Evans <dje (a] sebabeach.org>
2762 1.1 christos
2763 1.1 christos * cgen-types.h (SETDI): Delete, unused.
2764 1.1 christos
2765 1.1 christos 2009-12-02 Doug Evans <dje (a] sebabeach.org>
2766 1.1 christos
2767 1.1 christos * cgen-engine.h: Remove duplicated comment.
2768 1.1 christos
2769 1.1 christos 2009-11-23 Doug Evans <dje (a] sebabeach.org>
2770 1.1 christos
2771 1.1 christos * cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT.
2772 1.1 christos (EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT.
2773 1.1 christos
2774 1.1 christos 2009-11-22 Doug Evans <dje (a] sebabeach.org>
2775 1.1 christos
2776 1.1 christos * cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.
2777 1.1 christos (EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define.
2778 1.1 christos (EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype
2779 1.1 christos instead of CGEN_INSN_INT.
2780 1.1 christos
2781 1.1 christos * cgen-trace.h (trace_extract): Add cast to fix warning.
2782 1.1 christos
2783 1.1 christos 2009-11-05 Doug Evans <dje (a] sebabeach.org>
2784 1.1 christos
2785 1.1 christos * cgen-mem.h (DECLARE_GETT): Don't inline.
2786 1.1 christos (DECLARE_SETT): Ditto.
2787 1.1 christos
2788 1.1 christos 2009-10-15 Joel Sherrill <joel.sherrill (a] oarcorp.com>
2789 1.1 christos
2790 1.1 christos * sim-inline.h: Fix spelling error.
2791 1.1 christos
2792 1.1 christos 2009-10-02 Ralf Corsepius <ralf.corsepius (a] rtems.org>
2793 1.1 christos
2794 1.1 christos * Make-common.in: Add datarootdir.
2795 1.1 christos
2796 1.1 christos 2009-08-29 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
2797 1.1 christos
2798 1.1 christos * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS)
2799 1.1 christos (SIM_CHECK_MEMBERS_1): Remove.
2800 1.1 christos * configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent
2801 1.1 christos AC_CHECK_MEMBERS one.
2802 1.1 christos * configure: Regenerate.
2803 1.1 christos
2804 1.1 christos * aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn.
2805 1.1 christos * configure: Regenerate.
2806 1.1 christos
2807 1.1 christos 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
2808 1.1 christos
2809 1.1 christos * config.in: Regenerate.
2810 1.1 christos * configure: Likewise.
2811 1.1 christos
2812 1.1 christos * aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
2813 1.1 christos definition of AC_CHECK_MEMBER.
2814 1.1 christos
2815 1.1 christos * aclocal.m4: m4_include toplevel config/override.m4.
2816 1.1 christos * configure: Regenerate.
2817 1.1 christos
2818 1.1 christos 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
2819 1.1 christos
2820 1.1 christos * Makefile.in (datarootdir): New variable.
2821 1.1 christos
2822 1.1 christos 2009-07-07 Doug Evans <dje (a] sebabeach.org>
2823 1.1 christos
2824 1.1 christos * Make-common.in (CPU_DIR): Define.
2825 1.1 christos
2826 1.1 christos 2009-07-06 Doug Evans <dje (a] sebabeach.org>
2827 1.1 christos
2828 1.1 christos * Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
2829 1.1 christos identifiers for file types rather than encoding internal
2830 1.1 christos implementation details of cgen.sh.
2831 1.1 christos (CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto.
2832 1.1 christos * cgen.sh: Add support for parallel makes.
2833 1.1 christos Rewrite cpu/decode handling to avoid generating "extrafiles" twice.
2834 1.1 christos
2835 1.1 christos 2009-05-18 Jon Beniston <jon (a] beniston.com>
2836 1.1 christos
2837 1.1 christos * gennltvals.sh: Add lm32 target.
2838 1.1 christos * nltvals.def: Add lm32 syscall definitions.
2839 1.1 christos
2840 1.1 christos 2009-03-19 J"orn Rennecke <joern.rennecke (a] arc.com> (tiny change)
2841 1.1 christos
2842 1.1 christos Speed up simulator startup:
2843 1.1 christos * sim-utils.c (zalloc): Use xcalloc.
2844 1.1 christos
2845 1.1 christos 2009-01-07 Hans-Peter Nilsson <hp (a] axis.com>
2846 1.1 christos
2847 1.1 christos * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
2848 1.1 christos (MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
2849 1.1 christos (SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
2850 1.1 christos variant; UQI, UHI, USI, UDI, and cast the result to the signed
2851 1.1 christos type, QI, HI, SI, DI.
2852 1.1 christos
2853 1.1 christos * callback.c (os_error): Mark as being a noreturn function.
2854 1.1 christos * sim-io.h (sim_io_error): Similar for sim_io_error.
2855 1.1 christos
2856 1.1 christos 2008-11-12 Joel Sherrill <joel.sherrill (a] oarcorp.com>
2857 1.1 christos
2858 1.1 christos * aclocal.m4: Fix underquoting of function names.
2859 1.1 christos
2860 1.1 christos 2008-10-21 Julian Brown <julian (a] codesourcery.com>
2861 1.1 christos
2862 1.1 christos * Make-common.in (run$(EXEEXT)): Add LDFLAGS.
2863 1.1 christos
2864 1.1 christos 2008-07-11 Hans-Peter Nilsson <hp (a] axis.com>
2865 1.1 christos
2866 1.1 christos * common.m4: Add test for libz and zlib.h.
2867 1.1 christos * configure: Regenerate to track ../common/common.m4 changes.
2868 1.1 christos * config.in: Ditto.
2869 1.1 christos
2870 1.1 christos 2008-06-06 Vladimir Prus <vladimir (a] codesourcery.com>
2871 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com>
2872 1.1 christos Joseph Myers <joseph (a] codesourcery.com>
2873 1.1 christos
2874 1.1 christos * aclocal.m4: Include ../../config/acx.m4.
2875 1.1 christos * common.m4: Use ACX_PKGVERSION and ACX_BUGURL.
2876 1.1 christos * configure, config.in: Regenerate.
2877 1.1 christos * Make-common.in (LIB_OBJS): Add version.o.
2878 1.1 christos (version.c, version.o): New rules.
2879 1.1 christos * run.c: Include version.h.
2880 1.1 christos (usage): Add help parameter. Print output either to stdout or
2881 1.1 christos stderr depending on that parameter.
2882 1.1 christos (print_version): New.
2883 1.1 christos (main): Check for --help and --version.
2884 1.1 christos * run-sim.h (sim_target_display_usage): Add help parameter.
2885 1.1 christos * version.h: New.
2886 1.1 christos
2887 1.1 christos 2008-04-14 Hans Kester <kester.hans (a] gmail.com>
2888 1.1 christos
2889 1.1 christos * sim-signal.c: Define missing signals for _WIN32.
2890 1.1 christos
2891 1.1 christos 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy (a] nsc.com>
2892 1.1 christos
2893 1.1 christos * gennltvals.sh: Add cr16.
2894 1.1 christos * nltvals.def: Rebuild.
2895 1.1 christos
2896 1.1 christos 2007-10-11 Jesper Nilsson <jesper.nilsson (a] axis.com>
2897 1.1 christos
2898 1.1 christos * callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
2899 1.1 christos * syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.
2900 1.1 christos
2901 1.1 christos 2007-08-10 Nick Clifton <nickc (a] redhat.com>
2902 1.1 christos
2903 1.1 christos * sim-memopt.c (memory_options): Mention that the
2904 1.1 christos --memory-size switch accepts suffixes.
2905 1.1 christos (parse_size): Handle a suffix on the size value.
2906 1.1 christos * sim-options.c (standard_options): Mention that the mem-size
2907 1.1 christos switch accepts suffixes.
2908 1.1 christos (standard_option_handler): Handle a suffix on the size value.
2909 1.1 christos
2910 1.1 christos 2006-12-21 Hans-Peter Nilsson <hp (a] axis.com>
2911 1.1 christos
2912 1.1 christos * acconfig.h: Remove.
2913 1.1 christos * config.in: Regenerate.
2914 1.1 christos
2915 1.1 christos 2006-11-07 Thiemo Seufer <ths (a] mips.com>
2916 1.1 christos
2917 1.1 christos * gentmap.c: Fix compile time warning.
2918 1.1 christos
2919 1.1 christos 2006-11-07 Thiemo Seufer <ths (a] mips.com>
2920 1.1 christos
2921 1.1 christos * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
2922 1.1 christos for bfd text addresses.
2923 1.1 christos
2924 1.1 christos 2006-08-29 Thiemo Seufer <ths (a] mips.com>
2925 1.1 christos Nigel Stephens <nigel (a] mips.com>
2926 1.1 christos
2927 1.1 christos * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
2928 1.1 christos SIM_QUIET_NAN_NEGATED.
2929 1.1 christos
2930 1.1 christos 2006-08-29 Nigel Stephens <nigel (a] mips.com>
2931 1.1 christos
2932 1.1 christos * sim-profile.c (profile_pc_init): Initialise default profiling
2933 1.1 christos frequency to a prime number.
2934 1.1 christos (profile_print_pc): Convert gmon.out sample data into target
2935 1.1 christos byte order.
2936 1.1 christos
2937 1.1 christos 2006-06-13 Richard Earnshaw <rearnsha (a] arm.com>
2938 1.1 christos
2939 1.1 christos * aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
2940 1.1 christos * common.m4: Likewise.
2941 1.1 christos * configure: Regenerated.
2942 1.1 christos
2943 1.1 christos 2006-06-05 Daniel Jacobowitz <dan (a] codesourcery.com>
2944 1.1 christos
2945 1.1 christos * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.
2946 1.1 christos * configure: Regenerated.
2947 1.1 christos
2948 1.1 christos 2006-05-31 Daniel Jacobowitz <dan (a] codesourcery.com>
2949 1.1 christos
2950 1.1 christos * Make-common.in: Replace INTLLIBS and INTLDEPS with LIBINTL
2951 1.1 christos and LIBINTL_DEP everywhere.
2952 1.1 christos (CSEARCH): Use INCINTL.
2953 1.1 christos * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR. Include new
2954 1.1 christos gettext macros.
2955 1.1 christos * configure: Regenerated.
2956 1.1 christos
2957 1.1 christos 2006-03-29 Hans-Peter Nilsson <hp (a] axis.com>
2958 1.1 christos
2959 1.1 christos * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
2960 1.1 christos option-contents test.
2961 1.1 christos
2962 1.1 christos 2005-11-28 Mark Mitchell <mark (a] codesourcery.com>
2963 1.1 christos
2964 1.1 christos * sim-signal.c (sim_signal_to_target): Fix typos.
2965 1.1 christos
2966 1.1 christos * sim-reason.c (sim_stop_reason): Use
2967 1.1 christos sim_signal_to_target, not sim_signal_to_host.
2968 1.1 christos * sim-signal.c (sim_signal_to_host): Fix typo.
2969 1.1 christos (sim_signal_to_target): New function.
2970 1.1 christos
2971 1.1 christos 2005-07-10 Hans-Peter Nilsson <hp (a] bitrange.com>
2972 1.1 christos
2973 1.1 christos * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
2974 1.1 christos change.
2975 1.1 christos
2976 1.1 christos 2005-07-08 Ian Lance Taylor <ian (a] airs.com>
2977 1.1 christos
2978 1.1 christos * sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
2979 1.1 christos
2980 1.1 christos * sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
2981 1.1 christos different fraction for a quiet NaN.
2982 1.1 christos (unpack_fpu): Likewise.
2983 1.1 christos
2984 1.1 christos 2005-07-08 Ben Elliston <bje (a] au.ibm.com>
2985 1.1 christos
2986 1.1 christos * callback.c: Remove ANSI_PROTOTYPES conditional code.
2987 1.1 christos * sim-load.c: Likewise.
2988 1.1 christos * syscall.c: Likewise.
2989 1.1 christos
2990 1.1 christos 2005-05-24 Corinna Vinschen <vinschen (a] redhat.com>
2991 1.1 christos
2992 1.1 christos * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
2993 1.1 christos check.
2994 1.1 christos
2995 1.1 christos 2005-05-17 Daniel Jacobowitz <dan (a] codesourcery.com>
2996 1.1 christos
2997 1.1 christos * Make-common.in (install-common, installdirs): Honor $DESTDIR.
2998 1.1 christos
2999 1.1 christos 2005-04-20 Manoj Iyer <manjo (a] austin.ibm.com>
3000 1.1 christos
3001 1.1 christos * sim-types.h: Changed unsigned32 and unsigned64 to signed32
3002 1.1 christos and signed64 for __ALPHA__.
3003 1.1 christos
3004 1.1 christos 2005-03-23 Mark Kettenis <kettenis (a] gnu.org>
3005 1.1 christos
3006 1.1 christos * aclocal.m4 Include ../../gettext.m4.
3007 1.1 christos (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
3008 1.1 christos (AM_LC_MESSAGES): Remove.
3009 1.1 christos * configure: Regenerate.
3010 1.1 christos
3011 1.1 christos 2005-02-28 Jim Blandy <jimb (a] redhat.com>
3012 1.1 christos
3013 1.1 christos * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
3014 1.1 christos -Wuninitialized in the default list of build warnings if CFLAGS is
3015 1.1 christos set, and doesn't include -O. (Using -Wuninitialized without
3016 1.1 christos optimization produces a warning, which interferes with compilation
3017 1.1 christos with -Werror.)
3018 1.1 christos
3019 1.1 christos 2005-02-21 Jim Blandy <jimb (a] redhat.com>
3020 1.1 christos
3021 1.1 christos * callback.c (os_fstat): Don't declare 't' unless it's used.
3022 1.1 christos
3023 1.1 christos 2005-02-09 Jim Blandy <jimb (a] redhat.com>
3024 1.1 christos
3025 1.1 christos * Make-common.in (CGEN): Load guile.scm, and include a trailing
3026 1.1 christos '-s' argument.
3027 1.1 christos (CGEN_FLAGS_TO_PASS): Include single quotes around the reference
3028 1.1 christos to $(CGEN), to ensure that the command substitution happens where
3029 1.1 christos the variable is referenced in the submake, not when the submake's
3030 1.1 christos arguments are expanded.
3031 1.1 christos (cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
3032 1.1 christos (arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
3033 1.1 christos application Scheme script directly after ${cgen}; don't precede it
3034 1.1 christos with a -s.
3035 1.1 christos
3036 1.1 christos 2005-01-28 Hans-Peter Nilsson <hp (a] axis.com>
3037 1.1 christos
3038 1.1 christos * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
3039 1.1 christos * callback.c [HAVE_LIMITS_H]: Include limits.h.
3040 1.1 christos Include libiberty.h.
3041 1.1 christos (os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
3042 1.1 christos being either end of a pipe.
3043 1.1 christos (os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
3044 1.1 christos (os_shutdown): Clear pipe state.
3045 1.1 christos (default_callback): Initialize new members.
3046 1.1 christos
3047 1.1 christos * callback.c (default_callback): Initialize target_endian.
3048 1.1 christos (cb_store_target_endian): Renamed from store, new first parameter
3049 1.1 christos host_callback *cb, drop last parameter big_p. Take endianness
3050 1.1 christos from cb.
3051 1.1 christos (cb_host_to_target_stat): Change to use cb_store_target_endian.
3052 1.1 christos Remove variable big_p.
3053 1.1 christos * nrun.c (main): Initialize default_callback.target_endian.
3054 1.1 christos
3055 1.1 christos 2005-01-14 Andrew Cagney <cagney (a] gnu.org>
3056 1.1 christos
3057 1.1 christos * configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4.
3058 1.1 christos Add explicit call to AC_CONFIG_HEADER.
3059 1.1 christos * common.m4: Delete call to AC_CONFIG_HEADER, update usage.
3060 1.1 christos * configure: Re-generate.
3061 1.1 christos
3062 1.1 christos 2005-01-12 Andrew Cagney <cagney (a] gnu.org>
3063 1.1 christos
3064 1.1 christos * common.m4: New file, based on of aclocal.m4.
3065 1.1 christos
3066 1.1 christos 2005-01-11 Andrew Cagney <cagney (a] localhost.localdomain>
3067 1.1 christos
3068 1.1 christos * aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
3069 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
3070 1.1 christos
3071 1.1 christos 2005-01-07 Andrew Cagney <cagney (a] gnu.org>
3072 1.1 christos
3073 1.1 christos * configure.ac: Rename configure.in, require autoconf 2.59.
3074 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
3075 1.1 christos * configure: Re-generate.
3076 1.1 christos
3077 1.1 christos 2004-12-15 Hans-Peter Nilsson <hp (a] axis.com>
3078 1.1 christos
3079 1.1 christos * syscall.c (cb_syscall) <case CB_SYS_truncate>
3080 1.1 christos <case CB_SYS_ftruncate>: New cases.
3081 1.1 christos
3082 1.1 christos 2004-12-13 Hans-Peter Nilsson <hp (a] axis.com>
3083 1.1 christos
3084 1.1 christos * syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
3085 1.1 christos (cb_syscall) <case CB_SYS_rename>: New case.
3086 1.1 christos * callback.c (os_lstat): New function.
3087 1.1 christos
3088 1.1 christos 2004-12-08 Hans-Peter Nilsson <hp (a] axis.com>
3089 1.1 christos
3090 1.1 christos * run.1: Document --sysroot=filepath.
3091 1.1 christos * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
3092 1.1 christos (standard_options): Support --sysroot=<path>.
3093 1.1 christos (standard_option_handler): Handle OPTION_SYSROOT.
3094 1.1 christos * syscall.c (simulator_sysroot): Define, initialized empty.
3095 1.1 christos (get_path): Prepend simulator_sysroot to absolute file path.
3096 1.1 christos [HAVE_STRING_H]: Include string.h.
3097 1.1 christos [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
3098 1.1 christos * nrun.c [HAVE_UNISTD_H]: Include unistd.h.
3099 1.1 christos (main): If simulator_sysroot is not empty, chdir there.
3100 1.1 christos * sim-config.h (simulator_sysroot): Declare.
3101 1.1 christos
3102 1.1 christos * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
3103 1.1 christos cgen_rtx_error" in a CGEN-generated simulator.
3104 1.1 christos * gdbinit.in: Break on sim_core_signal too. Have autoconf
3105 1.1 christos replacement for CGEN-related breakpoints.
3106 1.1 christos
3107 1.1 christos 2004-12-07 Hans-Peter Nilsson <hp (a] axis.com>
3108 1.1 christos
3109 1.1 christos * Make-common.in (sim-basics_h): Add $(callback_h).
3110 1.1 christos
3111 1.1 christos 2004-12-03 Hans-Peter Nilsson <hp (a] axis.com>
3112 1.1 christos
3113 1.1 christos * configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
3114 1.1 christos st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
3115 1.1 christos st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
3116 1.1 christos * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
3117 1.1 christos (SIM_CHECK_MEMBERS): New macros.
3118 1.1 christos * callback.c (cb_host_to_target_stat): Use temporary macro ST_x
3119 1.1 christos for struct stat member test and write. Add ST_x calls for each
3120 1.1 christos struct stat member tested in configure.in. Wrap each ST_x call in
3121 1.1 christos #ifdef of configure macro for that member.
3122 1.1 christos * configure, config.in: Regenerate.
3123 1.1 christos
3124 1.1 christos 2004-12-01 Hans-Peter Nilsson <hp (a] axis.com>
3125 1.1 christos
3126 1.1 christos * cgen.sh: New thirteenth parameter opcfile, defaulting to
3127 1.1 christos /dev/null.
3128 1.1 christos <case desc>: Pass -OPC opcfile.
3129 1.1 christos * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
3130 1.1 christos parameter to cgen.sh.
3131 1.1 christos
3132 1.1 christos 2004-11-30 Richard Earnshaw <rearnsha (a] arm.com>
3133 1.1 christos
3134 1.1 christos * Make-common.in (sim-basics_h): Correct dependencies on
3135 1.1 christos cconfig.h and tconfig.h
3136 1.1 christos (sim-load.o): Correct typo in sim-basics_h dependency.
3137 1.1 christos
3138 1.1 christos 2004-11-18 Richard Earnshaw <rearnsha (a] arm.com>
3139 1.1 christos
3140 1.1 christos * Make-common.in (sim-*_h): Add macros for all sim headers listing
3141 1.1 christos sub-dependencies for other sim files that they include.
3142 1.1 christos (sim_main_headers): Use sim-*_h macros.
3143 1.1 christos (sim-load.o): Depend on sim-basics_h, not sim_main_headers.
3144 1.1 christos
3145 1.1 christos 2004-11-16 Hans-Peter Nilsson <hp (a] axis.com>
3146 1.1 christos
3147 1.1 christos * sim-config.c (sim_config): Recognize when a bfd has unspecified
3148 1.1 christos endian information.
3149 1.1 christos
3150 1.1 christos * Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
3151 1.1 christos $(remote_sim_h) too.
3152 1.1 christos (sim_main_headers): Add sim-utils.h.
3153 1.1 christos
3154 1.1 christos 2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com>
3155 1.1 christos
3156 1.1 christos * cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
3157 1.1 christos
3158 1.1 christos 2004-07-26 Andrew Cagney <cagney (a] gnu.org>
3159 1.1 christos
3160 1.1 christos Problem from Olaf Hering <olh (a] suse.de>.
3161 1.1 christos * Makefile.in (install-man, installdirs): Add DESTDIR prefix.
3162 1.1 christos
3163 1.1 christos 2004-07-10 Ben Elliston <bje (a] au.ibm.com>
3164 1.1 christos
3165 1.1 christos * hw-tree.c (parse_integer_property): Typo fix in comments.
3166 1.1 christos * sim-options.c (sim_args_command): Likewise.
3167 1.1 christos
3168 1.1 christos 2004-06-28 Andrew Cagney <cagney (a] gnu.org>
3169 1.1 christos
3170 1.1 christos * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
3171 1.1 christos
3172 1.1 christos 2004-06-27 J"orn Rennecke <joern.rennecke (a] superh.com>
3173 1.1 christos
3174 1.1 christos * callback.c (os_shutdown): Fix bug in last change: actually
3175 1.1 christos mark file descriptors as available on startup.
3176 1.1 christos
3177 1.1 christos 2004-06-25 J"orn Rennecke <joern.rennecke (a] superh.com>
3178 1.1 christos
3179 1.1 christos [ include/gdb: * callback.h (host_callback_struct): Replace
3180 1.1 christos members fdopen and alwaysopen with fd_buddy. ]
3181 1.1 christos * callback.c: Changed all users.
3182 1.1 christos
3183 1.1 christos 2004-06-15 Alan Modra <amodra (a] bigpond.net.au>
3184 1.1 christos
3185 1.1 christos * sim-load.c (sim_load_file): Use bfd_get_section_size
3186 1.1 christos instead of bfd_get_section_size_before_reloc.
3187 1.1 christos
3188 1.1 christos 2004-05-18 Daniel Jacobowitz <dan (a] debian.org>
3189 1.1 christos
3190 1.1 christos * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
3191 1.1 christos passing it to printf.
3192 1.1 christos
3193 1.1 christos 2004-05-10 Daniel Jacobowitz <dan (a] debian.org>
3194 1.1 christos
3195 1.1 christos * callback.c: Update copyright dates.
3196 1.1 christos * run.c: Likewise.
3197 1.1 christos * sim-basics.h: Likewise.
3198 1.1 christos * sim-load.c: Likewise.
3199 1.1 christos * syscall.c: Likewise.
3200 1.1 christos
3201 1.1 christos 2004-05-10 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
3202 1.1 christos
3203 1.1 christos * callback.c: Include cconfig.h instead of config.h.
3204 1.1 christos * run.c: Likewise.
3205 1.1 christos * sim-basics.h: Likewise.
3206 1.1 christos * sim-load.c: Likewise.
3207 1.1 christos * syscall.c: Likewise.
3208 1.1 christos
3209 1.1 christos 2004-01-16 Ben Elliston <bje (a] wasabisystems.com>
3210 1.1 christos
3211 1.1 christos * Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty.
3212 1.1 christos
3213 1.1 christos 2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com>
3214 1.1 christos
3215 1.1 christos * sim-core.c (sim_core_trans_addr): Added for m32r-linux-run.
3216 1.1 christos
3217 1.1 christos 2003-11-22 Kazu Hirata <kazu (a] cs.umass.edu>
3218 1.1 christos
3219 1.1 christos * sim-options.c (standard_options): Fix the names of H8
3220 1.1 christos variants.
3221 1.1 christos
3222 1.1 christos 2003-10-30 Andrew Cagney <cagney (a] redhat.com>
3223 1.1 christos
3224 1.1 christos * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry"
3225 1.1 christos with "struct bfd_symbol".
3226 1.1 christos
3227 1.1 christos 2003-10-21 Andrew Cagney <cagney (a] redhat.com>
3228 1.1 christos
3229 1.1 christos * callback.c (os_truncate): Call "truncate", and not "stat".
3230 1.1 christos
3231 1.1 christos 2003-10-20 Andrew Cagney <cagney (a] redhat.com>
3232 1.1 christos
3233 1.1 christos * sim-base.h: Replace "struct sec" with "struct bfd_section".
3234 1.1 christos
3235 1.1 christos 2003-10-15 J"orn Rennecke <joern.rennecke (a] superh.com>
3236 1.1 christos
3237 1.1 christos * callback.c (os_ftruncate, os_truncate): New functions.
3238 1.1 christos (default_callback): Initialize ftruncate and truncate members.
3239 1.1 christos
3240 1.1 christos 2003-09-08 Dave Brolley <brolley (a] redhat.com>
3241 1.1 christos
3242 1.1 christos On behalf of Doug Evans <dje (a] sebabeach.org>
3243 1.1 christos * cgen.sh: New arg archfile.
3244 1.1 christos * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
3245 1.1 christos cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
3246 1.1 christos
3247 1.1 christos 2003-08-28 Andrew Cagney <cagney (a] redhat.com>
3248 1.1 christos
3249 1.1 christos * dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
3250 1.1 christos * sim-options.c (print_help): Cast the format with specifier to
3251 1.1 christos "int".
3252 1.1 christos
3253 1.1 christos 2003-08-20 Michael Snyder <msnyder (a] redhat.com>
3254 1.1 christos Dave Brolley <brolley (a] redhat.com>
3255 1.1 christos
3256 1.1 christos * cgen-par.h (flags, word1): New target-specific
3257 1.1 christos fields of CGEN_WRITE_QUEUE_ELEMENT.
3258 1.1 christos (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
3259 1.1 christos (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
3260 1.1 christos * gennltvals.sh: Add frv target.
3261 1.1 christos * nltvals.def: Add frv target.
3262 1.1 christos
3263 1.1 christos 2003-06-23 Michael Snyder <msnyder (a] redhat.com>
3264 1.1 christos
3265 1.1 christos * nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
3266 1.1 christos * sim-reg.c: Fix cut-and-paste bug in comment.
3267 1.1 christos
3268 1.1 christos 2003-06-22 Andrew Cagney <cagney (a] redhat.com>
3269 1.1 christos
3270 1.1 christos From matthew green <mrg (a] redhat.com>:
3271 1.1 christos * sim-fpu.h: Update copyright.
3272 1.1 christos (sim_fpu_fraction, sim_fpu_guard): New prototypes.
3273 1.1 christos * sim-fpu.c: Update copyright.
3274 1.1 christos (sim_fpu_fraction, sim_fpu_guard): New inline functions.
3275 1.1 christos
3276 1.1 christos 2003-06-17 Frank Ch. Eigler <fche (a] redhat.com>
3277 1.1 christos
3278 1.1 christos From Doug Evans <dje (a] sebabeach.org>:
3279 1.1 christos * cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
3280 1.1 christos with disassemble_info:read_memory_func.
3281 1.1 christos * cgen-trace.c (sim_disasm_read_memory): Ditto.
3282 1.1 christos
3283 1.1 christos 2003-06-04 Michael Snyder <msnyder (a] redhat.com>
3284 1.1 christos
3285 1.1 christos * common/run.c (main): Remove SIM_H8300 ifdef.
3286 1.1 christos (usage): Ditto.
3287 1.1 christos * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX.
3288 1.1 christos (standard_options): Add '-x' for h8/300sx.
3289 1.1 christos (standard_option_handler): Add case for SIM_H8300SX.
3290 1.1 christos
3291 1.1 christos 2003-04-13 Michael Snyder <msnyder (a] redhat.com>
3292 1.1 christos
3293 1.1 christos * Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
3294 1.1 christos
3295 1.1 christos 2003-03-01 Andrew Cagney <cagney (a] redhat.com>
3296 1.1 christos
3297 1.1 christos * sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort.
3298 1.1 christos (sim_engine_vabort): Ditto.
3299 1.1 christos
3300 1.1 christos 2003-02-27 Andrew Cagney <cagney (a] redhat.com>
3301 1.1 christos
3302 1.1 christos * sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
3303 1.1 christos * sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
3304 1.1 christos * nrun.c (main): Ditto.
3305 1.1 christos
3306 1.1 christos 2003-02-26 Andrew Cagney <cagney (a] redhat.com>
3307 1.1 christos
3308 1.1 christos * sim-engine.h (sim_engine_abort): Add noreturn attribute.
3309 1.1 christos (sim_engine_vabort): Ditto.
3310 1.1 christos (sim_engine_halt, sim_engine_restart): Ditto.
3311 1.1 christos
3312 1.1 christos 2003-02-20 Andrew Cagney <ac131313 (a] redhat.com>
3313 1.1 christos
3314 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
3315 1.1 christos (sim-break_h): Delete macro.
3316 1.1 christos (sim-break.o): Delete rule.
3317 1.1 christos * sim-break.c: Delete file.
3318 1.1 christos * sim-break.h: Delete file.
3319 1.1 christos * sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
3320 1.1 christos (STATE_BREAKPOINTS): Delete macro.
3321 1.1 christos (sim_state_base): Delete field breakpoints.
3322 1.1 christos * sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
3323 1.1 christos sim_break_install to array.
3324 1.1 christos
3325 1.1 christos 2003-01-08 Kazu Hirata <kazu (a] cs.umass.edu>
3326 1.1 christos
3327 1.1 christos * run.c (usage): Fix typos.
3328 1.1 christos
3329 1.1 christos 2002-11-27 Richard Sandiford <rsandifo (a] redhat.com>
3330 1.1 christos
3331 1.1 christos * sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
3332 1.1 christos
3333 1.1 christos 2002-11-22 Andrew Cagney <ac131313 (a] redhat.com>
3334 1.1 christos
3335 1.1 christos * dv-core.c: Update copyright. sim/common contributed to the FSF.
3336 1.1 christos * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto.
3337 1.1 christos * hw-device.h, hw-handles.c, hw-handles.h: Ditto.
3338 1.1 christos * hw-instances.c, hw-instances.h, hw-properties.c: Ditto.
3339 1.1 christos * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto.
3340 1.1 christos * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto.
3341 1.1 christos * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto.
3342 1.1 christos * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto.
3343 1.1 christos * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto.
3344 1.1 christos * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
3345 1.1 christos
3346 1.1 christos 2002-11-13 Andrew Cagney <cagney (a] redhat.com>
3347 1.1 christos
3348 1.1 christos * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
3349 1.1 christos
3350 1.1 christos 2002-11-06 Richard Sandiford <rsandifo (a] redhat.com>
3351 1.1 christos
3352 1.1 christos * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
3353 1.1 christos (distclean): Depend on it.
3354 1.1 christos
3355 1.1 christos 2002-10-14 Alan Modra <amodra (a] bigpond.net.au>
3356 1.1 christos
3357 1.1 christos * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
3358 1.1 christos
3359 1.1 christos 2002-08-29 Dave Brolley <brolley (a] redhat.com>
3360 1.1 christos
3361 1.1 christos * Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
3362 1.1 christos
3363 1.1 christos 2002-07-17 Andrew Cagney <cagney (a] redhat.com>
3364 1.1 christos
3365 1.1 christos * run-sim.h: Add #ifdef RUN_SIM_H wrapper.
3366 1.1 christos (sim_set_callbacks, sim_size, sim_trace)
3367 1.1 christos (sim_set_trace, sim_set_profile_size, sim_kill): Declare. Moved
3368 1.1 christos to here from "gdb/remote-sim.h".
3369 1.1 christos
3370 1.1 christos 2002-07-16 Andrew Cagney <ac131313 (a] redhat.com>
3371 1.1 christos
3372 1.1 christos * sim-resume.c (sim_resume): Add local variable sig_to_deliver to
3373 1.1 christos avoid possible longjmp problems with automatic variable siggnal.
3374 1.1 christos
3375 1.1 christos 2002-07-14 Andrew Cagney <ac131313 (a] redhat.com>
3376 1.1 christos
3377 1.1 christos From 2002-07-11 Momchil Velikov <velco (a] fadata.bg>:
3378 1.1 christos * Make-common.in (installdirs): Make $(libdir) too, needed when
3379 1.1 christos installing libsim.a.
3380 1.1 christos
3381 1.1 christos 2002-07-13 Andrew Cagney <ac131313 (a] redhat.com>
3382 1.1 christos
3383 1.1 christos * gennltvals.sh (dir): Mark d30v as obsolete.
3384 1.1 christos * nltvals.def: Remove d30v.
3385 1.1 christos
3386 1.1 christos 2002-06-17 Andrew Cagney <cagney (a] redhat.com>
3387 1.1 christos
3388 1.1 christos * hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
3389 1.1 christos
3390 1.1 christos * sim-memopt.c: Include <unistd.h>.
3391 1.1 christos (do_memopt_add): Fix printf format.
3392 1.1 christos * sim-events.c (sim_events_schedule): Initialize ``dummy''.
3393 1.1 christos
3394 1.1 christos 2002-06-16 Andrew Cagney <ac131313 (a] redhat.com>
3395 1.1 christos
3396 1.1 christos * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Update to match GDB's
3397 1.1 christos --enable-gdb-build-warnings.
3398 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
3399 1.1 christos
3400 1.1 christos 2002-06-09 Aldy Hernandez <aldyh (a] redhat.com>
3401 1.1 christos
3402 1.1 christos * sim-fpu.c (unpack_fpu): Initialize exponent for
3403 1.1 christos sim_fpu_class_zero.
3404 1.1 christos (i2fpu): Same.
3405 1.1 christos (sim_fpu_sqrt): Same.
3406 1.1 christos
3407 1.1 christos 2002-06-08 Andrew Cagney <cagney (a] redhat.com>
3408 1.1 christos
3409 1.1 christos * gentmap.c (gen_targ_map_c): Generate "gdb/callback.h".
3410 1.1 christos * sim-basics.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
3411 1.1 christos * run.c: Ditto.
3412 1.1 christos * sim-load.c: Ditto.
3413 1.1 christos * callback.c: Ditto.
3414 1.1 christos * syscall.c: Ditto.
3415 1.1 christos * Make-common.in (callback_h): Define.
3416 1.1 christos (remote_sim_h): Define.
3417 1.1 christos (run.o): Update.
3418 1.1 christos (callback.o): Update.
3419 1.1 christos (syscall.o): Update.
3420 1.1 christos (sim-load.o):
3421 1.1 christos (nrun.o): Update.
3422 1.1 christos (sim-hload.o): Update.
3423 1.1 christos (sim-io.o): Update.
3424 1.1 christos (sim-reason.o): Update.
3425 1.1 christos (sim-reg.o): Update.
3426 1.1 christos (sim-resume.o): Update.
3427 1.1 christos
3428 1.1 christos 2002-05-30 Kazu Hirata <kazu (a] cs.umass.edu>
3429 1.1 christos
3430 1.1 christos * run.c: Fix formatting.
3431 1.1 christos
3432 1.1 christos 2002-05-20 Nick Clifton <nickc (a] cambridge.redhat.com>
3433 1.1 christos
3434 1.1 christos * run-sim.h: New header. Provide prototypes for functions used
3435 1.1 christos between run() and libsim.a which are not used by GDB.
3436 1.1 christos * run.c: Include run-sim.h.
3437 1.1 christos (main): If SIM_TARGET_SWITCHES is defined call
3438 1.1 christos sim_target_parse_command_line.
3439 1.1 christos (usage): If SIM_TARGET_SWITCHES is defined call
3440 1.1 christos sim_target_display_usage.
3441 1.1 christos
3442 1.1 christos 2002-05-17 Andrey Volkov <avolkov (a] transas.com>
3443 1.1 christos
3444 1.1 christos * run.c: Made h8300s as new target, not h8300h alias.
3445 1.1 christos Added new option -S (h8300s target)
3446 1.1 christos * sim-options.c: Ditto.
3447 1.1 christos
3448 1.1 christos 2002-05-01 Chris Demetriou <cgd (a] broadcom.com>
3449 1.1 christos
3450 1.1 christos * callback.c: Use 'deprecated' rather than 'depreciated.'
3451 1.1 christos
3452 1.1 christos 2002-02-24 Andrew Cagney <ac131313 (a] redhat.com>
3453 1.1 christos
3454 1.1 christos From wiz at danbala:
3455 1.1 christos * sim-fpu.h: Fix grammar and typos.
3456 1.1 christos Fix PR gdb/287.
3457 1.1 christos
3458 1.1 christos 2002-02-10 Chris Demetriou <cgd (a] broadcom.com>
3459 1.1 christos
3460 1.1 christos * callback.c: Fix some spelling errors.
3461 1.1 christos * hw-device.h: Likewise.
3462 1.1 christos * hw-tree.c: Likewise.
3463 1.1 christos * sim-abort.c: Likewise.
3464 1.1 christos * sim-alu.h: Likewise.
3465 1.1 christos * sim-core.h: Likewise.
3466 1.1 christos * sim-events.c: Likewise.
3467 1.1 christos * sim-events.h: Likewise.
3468 1.1 christos * sim-fpu.h: Likewise.
3469 1.1 christos * sim-profile.h: Likewise.
3470 1.1 christos * sim-utils.c: Likewise.
3471 1.1 christos
3472 1.1 christos 2002-01-31 Hans-Peter Nilsson <hp (a] axis.com>
3473 1.1 christos
3474 1.1 christos * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
3475 1.1 christos New functions.
3476 1.1 christos
3477 1.1 christos 2002-01-20 Ben Elliston <bje (a] redhat.com>
3478 1.1 christos
3479 1.1 christos * sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
3480 1.1 christos the comment for this enumerator.
3481 1.1 christos
3482 1.1 christos 2002-01-14 Ben Elliston <bje (a] redhat.com>
3483 1.1 christos
3484 1.1 christos * sim-fpu.h: Fix comment about sim_fpu_* constants.
3485 1.1 christos
3486 1.1 christos 2001-12-20 Kazu Hirata <kazu (a] hxi.com>
3487 1.1 christos
3488 1.1 christos * run.c (usage): Fix a typo.
3489 1.1 christos
3490 1.1 christos 2001-07-05 Ben Elliston <bje (a] redhat.com>
3491 1.1 christos
3492 1.1 christos * Make-common.in (srccgen): Remove.
3493 1.1 christos (CGEN_CPU_DIR): Define.
3494 1.1 christos (CGEN_READ_SCM): Redefine without $(srccgen).
3495 1.1 christos (CGEN_ARCH_SCM): Ditto.
3496 1.1 christos (CGEN_CPU_SCM): Ditto.
3497 1.1 christos (CGEN_DECODE_SCM): Ditto.
3498 1.1 christos (CGEN_DESC_SCM): Ditto.
3499 1.1 christos
3500 1.1 christos 2001-04-25 Frank Ch. Eigler <fche (a] redhat.com>
3501 1.1 christos
3502 1.1 christos * sim-load.c (sim_load_file): Put it back: external now.
3503 1.1 christos * sim-utils.c (sim_analyze_program): Ditto. Nyuk nyuk nyuk.
3504 1.1 christos
3505 1.1 christos 2001-04-21 Andrew Cagney <ac131313 (a] redhat.com>
3506 1.1 christos
3507 1.1 christos * sim-load.c (sim_load_file): Delete call bfd_cache_close. BFD
3508 1.1 christos internal interface.
3509 1.1 christos * sim-utils.c (sim_analyze_program): Ditto.
3510 1.1 christos
3511 1.1 christos 2001-04-19 Frank Ch. Eigler <fche (a] redhat.com>
3512 1.1 christos
3513 1.1 christos * sim-utils.c (sim_analyze_program): Call bfd_cache_close after
3514 1.1 christos we're finished with its immediate use.
3515 1.1 christos * sim-load.c (sim_load_file): Ditto.
3516 1.1 christos
3517 1.1 christos 2001-03-16 Frank Ch. Eigler <fche (a] redhat.com>
3518 1.1 christos
3519 1.1 christos Add support for mmap-based memory regions.
3520 1.1 christos * sim-memopt.c (mmap_next_fd): New global.
3521 1.1 christos (sim_memory_init): Reinitialize it.
3522 1.1 christos (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new
3523 1.1 christos "--memory-mapfile FILE" option. Check for some errors.
3524 1.1 christos (do_memopt_add): Conditionally do mmap instead of malloc for
3525 1.1 christos backing store of simulated memory. Check for more errors.
3526 1.1 christos (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup.
3527 1.1 christos * sim-memopt.h (munmap_length): New member of _sim_memopt.
3528 1.1 christos * configure.in: Look for mmap/fstat related functions and headers.
3529 1.1 christos * config.in, configure: Regenerated.
3530 1.1 christos
3531 1.1 christos 2001-03-15 Frank Ch. Eigler <fche (a] redhat.com>
3532 1.1 christos
3533 1.1 christos * sim-core.c (sim_core_map_attach): Correct overlap-related
3534 1.1 christos error messages.
3535 1.1 christos
3536 1.1 christos 2001-03-07 Michael Meissner <meissner (a] redhat.com>
3537 1.1 christos
3538 1.1 christos * run.c (alloca-conf.h): Delete, no longer provided.
3539 1.1 christos
3540 1.1 christos 2001-02-22 Ben Elliston <bje (a] redhat.com>
3541 1.1 christos
3542 1.1 christos * sim-trace.h (TRACE_VPU_IDX): Add.
3543 1.1 christos (TRACE_vpu): Define.
3544 1.1 christos (WITH_TRACE_VPU_P): Likewise.
3545 1.1 christos (TRACE_VPU_P): Likewise.
3546 1.1 christos * sim-trace.c (OPTION_TRACE_VPU): Define.
3547 1.1 christos (trace_options): Add --trace-vpu.
3548 1.1 christos (trace_option_handler): Handle OPTION_TRACE_VPU.
3549 1.1 christos (trace_option_handler): Include VPU tracing in --trace-semantics.
3550 1.1 christos (trace_idx_to_str): Handle TRACE_VPU_IDX.
3551 1.1 christos
3552 1.1 christos 2001-02-21 Ben Elliston <bje (a] redhat.com>
3553 1.1 christos
3554 1.1 christos * sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
3555 1.1 christos (TRACE_BRANCH_INPUT2): Likewise.
3556 1.1 christos
3557 1.1 christos 2001-02-09 Ben Elliston <bje (a] redhat.com>
3558 1.1 christos
3559 1.1 christos * (profile_print_pc): Write header out in target byte order.
3560 1.1 christos
3561 1.1 christos 2001-02-09 Ben Elliston <bje (a] redhat.com>
3562 1.1 christos
3563 1.1 christos * sim-profile.c (profile_pc_init): Correct bug in loop logic when
3564 1.1 christos adjusting the pc shift value.
3565 1.1 christos
3566 1.1 christos 2001-01-12 Chris Demetriou <cgd (a] sibyte.com>
3567 1.1 christos
3568 1.1 christos * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case
3569 1.1 christos where a numeric value is supplied.
3570 1.1 christos
3571 1.1 christos 2001-01-06 Ben Elliston <bje (a] redhat.com>
3572 1.1 christos
3573 1.1 christos * cgen.sh: Allow extrafiles to include the semantics files when
3574 1.1 christos generating an ISA-specific decoder.
3575 1.1 christos
3576 1.1 christos 2000-12-27 Alexandre Oliva <aoliva (a] redhat.com>
3577 1.1 christos
3578 1.1 christos * Make-common.in (sim-io.o): Depend on targ-vals.h.
3579 1.1 christos
3580 1.1 christos 2000-12-23 Ben Elliston <bje (a] redhat.com>
3581 1.1 christos
3582 1.1 christos * cgen-trace.c (trace_result): Handle 'f' type operands; output
3583 1.1 christos them to the trace stream using sim_fpu_printn_fpu. Include
3584 1.1 christos "sim-fpu.h".
3585 1.1 christos
3586 1.1 christos 2000-12-15 Ben Elliston <bje (a] redhat.com>
3587 1.1 christos
3588 1.1 christos * sim-fpu.h (sim_fpu_printn_fpu): Declare.
3589 1.1 christos * sim-fpu.c (print_bits): Add digits parameter. Print only as many
3590 1.1 christos trailing digits as specified (-1 to print all digits).
3591 1.1 christos (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
3592 1.1 christos (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
3593 1.1 christos to print_bits ().
3594 1.1 christos
3595 1.1 christos 2000-12-13 Ben Elliston <bje (a] redhat.com>
3596 1.1 christos
3597 1.1 christos * cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
3598 1.1 christos sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
3599 1.1 christos (defs): New action.
3600 1.1 christos
3601 1.1 christos 2000-12-12 Geoffrey Keating <geoffk (a] redhat.com>
3602 1.1 christos
3603 1.1 christos * sim-endian.h: Don't have parameters on macro definitions which
3604 1.1 christos are simply renaming functions, to permit use of XCONCAT2 in both
3605 1.1 christos the macro name and the arguments in a use of such a definition.
3606 1.1 christos
3607 1.1 christos 2000-12-11 Ben Elliston <bje (a] redhat.com>
3608 1.1 christos
3609 1.1 christos * cgen-ops.h (SUBWORDDFDI): New function.
3610 1.1 christos
3611 1.1 christos 2000-12-05 Ben Elliston <bje (a] redhat.com>
3612 1.1 christos
3613 1.1 christos * Make-common.in (cgen-defs): New target.
3614 1.1 christos (cgen-decode): Pass $(EXTRAFILES).
3615 1.1 christos
3616 1.1 christos * genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
3617 1.1 christos -outfile-suffix options.
3618 1.1 christos
3619 1.1 christos 2000-12-04 Ben Elliston <bje (a] redhat.com>
3620 1.1 christos
3621 1.1 christos * cgen-ops.h (SUBWORDSIQI): Mask off top bits.
3622 1.1 christos (SUBWORDSIUQI): Likewise.
3623 1.1 christos (SUBWORDDIHI): Likewise.
3624 1.1 christos (SUBWORDDIQI): New function.
3625 1.1 christos
3626 1.1 christos * cgen-trace.c (disassemble_insn): Remove unused declaration.
3627 1.1 christos * cgen-scache.c (scache_option_handler): Remove unused local var.
3628 1.1 christos
3629 1.1 christos 2000-12-03 Ben Elliston <bje (a] redhat.com>
3630 1.1 christos
3631 1.1 christos * sim-profile.c (profile_option_handler): Remove unused prof_nr.
3632 1.1 christos
3633 1.1 christos 2000-11-26 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>
3634 1.1 christos
3635 1.1 christos * hw-events.c (delete_hw_event_data): Remove the scheduled events.
3636 1.1 christos
3637 1.1 christos 2000-11-26 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>
3638 1.1 christos
3639 1.1 christos * dv-core.c (dv_core_attach_address_callback): Don't abort if
3640 1.1 christos space is not zero.
3641 1.1 christos
3642 1.1 christos 2000-11-24 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>
3643 1.1 christos
3644 1.1 christos * hw-base.c (hw_delete): Don't free base_of_hw since it's freed.
3645 1.1 christos (set_hw_delete): Moved the macro as a function.
3646 1.1 christos * hw-base.h (set_hw_delete): Declare as external function.
3647 1.1 christos * hw-alloc.c (delete_hw_alloc_data): Allow to free the memory
3648 1.1 christos allocated using hw_malloc.
3649 1.1 christos
3650 1.1 christos 2000-11-24 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>
3651 1.1 christos
3652 1.1 christos * sim-options.c (sim_parse_args): Free the memory used for
3653 1.1 christos long_options, short_options, handlers, opt_cpu, orig_val.
3654 1.1 christos
3655 1.1 christos 2000-11-20 Ben Elliston <bje (a] redhat.com>
3656 1.1 christos
3657 1.1 christos * cgen-ops.h (SUBBI): New macro.
3658 1.1 christos (SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
3659 1.1 christos (SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
3660 1.1 christos
3661 1.1 christos 2000-11-16 Ben Elliston <bje (a] redhat.com>
3662 1.1 christos
3663 1.1 christos * cgen-types.h (VOID): New type.
3664 1.1 christos
3665 1.1 christos 2000-11-09 Ben Elliston <bje (a] redhat.com>
3666 1.1 christos
3667 1.1 christos * sim-fpu.c (sim_fpu_one): Set exponent to 0.
3668 1.1 christos (sim_fpu_two): Set exponent to 1.
3669 1.1 christos
3670 1.1 christos 2000-10-26 Ben Elliston <bje (a] redhat.com>
3671 1.1 christos
3672 1.1 christos * cgen.sh: Handle an isa argument between cpu and mach. Default to
3673 1.1 christos `all'. Pass `-i' options to cgen applications.
3674 1.1 christos * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
3675 1.1 christos cgen-desc): Pass $(isa) to cgen.sh.
3676 1.1 christos
3677 1.1 christos 2000-10-08 Ben Elliston <bje (a] redhat.com>
3678 1.1 christos
3679 1.1 christos * cgen-utils.c (cgen_rtx_error): New function.
3680 1.1 christos
3681 1.1 christos 2000-10-07 Ben Elliston <bje (a] redhat.com>
3682 1.1 christos
3683 1.1 christos * cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
3684 1.1 christos conditions for sim_core_read_buffer().
3685 1.1 christos
3686 1.1 christos 2000-09-26 Dave Brolley <brolley (a] redhat.com>
3687 1.1 christos
3688 1.1 christos * cgen-utils.c (RORQI): New function.
3689 1.1 christos (ROLQI): New function.
3690 1.1 christos (RORHI): New function.
3691 1.1 christos (ROLHI): New function.
3692 1.1 christos
3693 1.1 christos 2000-08-28 Dave Brolley <brolley (a] redhat.com>
3694 1.1 christos
3695 1.1 christos * cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
3696 1.1 christos in insn_value if it will fit.
3697 1.1 christos
3698 1.1 christos 2000-08-21 Frank Ch. Eigler <fche (a] redhat.com>
3699 1.1 christos
3700 1.1 christos * Make-common.in, cgen.sh: Contribute CGEN-related build targets/rules.
3701 1.1 christos
3702 1.1 christos 2000-08-15 Dave Brolley <brolley (a] redhat.com>
3703 1.1 christos
3704 1.1 christos * sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
3705 1.1 christos
3706 1.1 christos 2000-08-15 Dave Brolley <brolley (a] redhat.com>
3707 1.1 christos
3708 1.1 christos * sim-profile.h (PROFILE_DATA): Add cpu_freq.
3709 1.1 christos (PROFILE_CPU_FREQ): New macro.
3710 1.1 christos * sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
3711 1.1 christos (profile-options): Add profile-cpu-frequency.
3712 1.1 christos (parse_frequency): New function.
3713 1.1 christos (profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
3714 1.1 christos (profile_print_speed): Print cpu frequency and simulated execution time.
3715 1.1 christos Re-indent other items to match.
3716 1.1 christos
3717 1.1 christos 2000-08-09 Andrew Cagney <cagney (a] lulu.cygnus.com>
3718 1.1 christos
3719 1.1 christos * dv-sockser.c (dv_sockser_init): Eliminate MIN macro.
3720 1.1 christos
3721 1.1 christos 2000-07-27 Frank Ch. Eigler <fche (a] redhat.com>
3722 1.1 christos
3723 1.1 christos From Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
3724 1.1 christos * Makefile.in (install): Install run.1 man page.
3725 1.1 christos
3726 1.1 christos Thu Jul 27 21:56:08 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3727 1.1 christos
3728 1.1 christos From 2000-06-23 Doug Evans <dje (a] casey.transmeta.com>:
3729 1.1 christos * Makefile.in (headers,nltvals.def): Merge.
3730 1.1 christos
3731 1.1 christos Thu Jul 27 20:37:47 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3732 1.1 christos
3733 1.1 christos From 2000-06-25 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>:
3734 1.1 christos * nrun.c (main): Print the simulator statistics only in
3735 1.1 christos verbose mode.
3736 1.1 christos * hw-properties.h (hw_find_integer_array_property): Fix
3737 1.1 christos prototype (use signed_cell).
3738 1.1 christos
3739 1.1 christos From 2000-06-25 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>:
3740 1.1 christos * sim-events.c (sim_events_remain_time): New function returning
3741 1.1 christos the time that remains before the event is raised.
3742 1.1 christos * hw-events.c (hw_event_remain_time): Likewise.
3743 1.1 christos * sim-events.h (sim_events_remain_time): Declare.
3744 1.1 christos * hw-events.h (hw_event_remain_time): Declare.
3745 1.1 christos
3746 1.1 christos From 2000-06-25 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>:
3747 1.1 christos * sim-hw.c: Use <errno.h> instead of <sys/errno.h>
3748 1.1 christos (OPTION_HW_LIST): New option --hw-list to list the devices.
3749 1.1 christos (hw_option_handler): List the device tree with 'sim_hw_print'.
3750 1.1 christos
3751 1.1 christos From 2000-06-25 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>:
3752 1.1 christos * sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
3753 1.1 christos (MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
3754 1.1 christos (EXTENDED): Define for 16-bit word size.
3755 1.1 christos * sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
3756 1.1 christos MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
3757 1.1 christos * sim-types.h: Added support for 16-bit targets.
3758 1.1 christos
3759 1.1 christos 2000-06-23 Frank Ch. Eigler <fche (a] redhat.com>
3760 1.1 christos
3761 1.1 christos * cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.
3762 1.1 christos
3763 1.1 christos 2000-06-24 Frank Ch. Eigler <fche (a] redhat.com>
3764 1.1 christos
3765 1.1 christos From Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>:
3766 1.1 christos * Makefile.in (distclean): Clean cconfig.h also.
3767 1.1 christos
3768 1.1 christos Tue May 23 21:39:23 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3769 1.1 christos
3770 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
3771 1.1 christos
3772 1.1 christos Tue May 23 21:35:53 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3773 1.1 christos
3774 1.1 christos * aclocal.m4 (sim-profile): Enable the profiler by default.
3775 1.1 christos
3776 1.1 christos Tue May 23 20:30:12 2000 Andrew Cagney <cagney (a] amy.cygnus.com>
3777 1.1 christos
3778 1.1 christos * run.c (main): Initialize sigrc.
3779 1.1 christos
3780 1.1 christos Wed Apr 26 16:18:44 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3781 1.1 christos
3782 1.1 christos * sim-events.c (update_time_from_event): Add more detailed event
3783 1.1 christos tracing.
3784 1.1 christos
3785 1.1 christos 2000-03-30 Dave Brolley <brolley (a] redhat.com>
3786 1.1 christos
3787 1.1 christos * aclocal.m4 (cgen): Use guile to run cgen.
3788 1.1 christos
3789 1.1 christos 2000-03-23 Dave Brolley <brolley (a] redhat.com>
3790 1.1 christos
3791 1.1 christos * cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to
3792 1.1 christos ftruncdfsf.
3793 1.1 christos * cgen-accfp.c (fextsfdf): New function.
3794 1.1 christos (ftruncdfsf): New function.
3795 1.1 christos (cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.
3796 1.1 christos
3797 1.1 christos 2000-03-13 Jeff Johnston <jjohnstn (a] cygnus.com>
3798 1.1 christos
3799 1.1 christos * cgen-ops.h: Added TRUNCSISI.
3800 1.1 christos
3801 1.1 christos 2000-03-08 Dave Brolley <brolley (a] redhat.com>
3802 1.1 christos
3803 1.1 christos * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
3804 1.1 christos (CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
3805 1.1 christos (sim_queue_fn_si_write): Last argument is has type USI.
3806 1.1 christos (sim_queue_fn_sf_write): New function.
3807 1.1 christos * cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
3808 1.1 christos (sim_queue_fn_sf_write): New function.
3809 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
3810 1.1 christos
3811 1.1 christos Tue Feb 22 16:45:09 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3812 1.1 christos
3813 1.1 christos * run.c (main): When SIM_HAVE_ENVIRONMENT enable tracing with
3814 1.1 christos sim_set_trace and run simulator using sim_resume.
3815 1.1 christos (main): Add option ``-o'' - operating environment. Only continue
3816 1.1 christos after a signal when operating environment.
3817 1.1 christos (main): Always set REASON and SIGRC using sim_stop_reason.
3818 1.1 christos (sim_trace): Delete extern declaration.
3819 1.1 christos
3820 1.1 christos 2000-02-08 Nick Clifton <nickc (a] cygnus.com>
3821 1.1 christos
3822 1.1 christos * callback.c: Fix compile time warning messages.
3823 1.1 christos * run.c: Fix compile time warning messages.
3824 1.1 christos
3825 1.1 christos 1999-12-17 Dave Brolley <brolley (a] cygnus.com>
3826 1.1 christos
3827 1.1 christos * sim-profile.h: (set_profile_option_mask): Add prototype.
3828 1.1 christos * sim-profile.c (set_profile_option_mask): No longer static.
3829 1.1 christos
3830 1.1 christos Wed Dec 8 21:47:13 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
3831 1.1 christos
3832 1.1 christos * sim-arange.c: Include <string.h>
3833 1.1 christos
3834 1.1 christos 1999-12-07 Dave Brolley <brolley (a] cygnus.com>
3835 1.1 christos
3836 1.1 christos * sim-options.c (print_help): '=' required before optional argument.
3837 1.1 christos * cgen-par.h (CGEN_FN_MEM_QI_WRITE): New enumerator.
3838 1.1 christos (CGEN_FN_MEM_HI_WRITE): New enumerator.
3839 1.1 christos (CGEN_FN_MEM_SI_WRITE): New enumerator.
3840 1.1 christos (CGEN_FN_MEM_DI_WRITE): New enumerator.
3841 1.1 christos (CGEN_FN_MEM_DF_WRITE): New enumerator.
3842 1.1 christos (CGEN_FN_MEM_XI_WRITE): New enumerator.
3843 1.1 christos (fn_mem_qi_write): New union members.
3844 1.1 christos (fn_mem_hi_write): New union members.
3845 1.1 christos (fn_mem_si_write): New union members.
3846 1.1 christos (fn_mem_di_write): New union members.
3847 1.1 christos (fn_mem_df_write): New union members.
3848 1.1 christos (fn_mem_xi_write): New union members.
3849 1.1 christos (sim_queue_fn_mem_qi_write): New function.
3850 1.1 christos (sim_queue_fn_mem_hi_write): New function.
3851 1.1 christos (sim_queue_fn_mem_si_write): New function.
3852 1.1 christos (sim_queue_fn_mem_di_write): New function.
3853 1.1 christos (sim_queue_fn_mem_df_write): New function.
3854 1.1 christos (sim_queue_fn_mem_xi_write): New function.
3855 1.1 christos * cgen-par.c (sim_queue_fn_mem_qi_write): New function.
3856 1.1 christos (sim_queue_fn_mem_hi_write): New function.
3857 1.1 christos (sim_queue_fn_mem_si_write): New function.
3858 1.1 christos (sim_queue_fn_mem_di_write): New function.
3859 1.1 christos (sim_queue_fn_mem_df_write): New function.
3860 1.1 christos (sim_queue_fn_mem_xi_write): New function.
3861 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_FN_MEM_QI_WRITE,
3862 1.1 christos CGEN_FN_MEM_HI_WRITE, CGEN_FN_MEM_SI_WRITE, CGEN_FN_MEM_DI_WRITE,
3863 1.1 christos CGEN_FN_MEM_DF_WRITE, CGEN_FN_MEM_XI_WRITE.
3864 1.1 christos
3865 1.1 christos 1999-12-01 Dave Brolley <brolley (a] cygnus.com>
3866 1.1 christos
3867 1.1 christos * cgen-accfp.c (subsf): Check status code.
3868 1.1 christos (mulsf): Ditto.
3869 1.1 christos (negsf): Ditto.
3870 1.1 christos (abssf): Ditto.
3871 1.1 christos (sqrtsf): Ditto.
3872 1.1 christos (invsf): Ditto.
3873 1.1 christos (minsf): Ditto.
3874 1.1 christos (maxsf): Ditto.
3875 1.1 christos (subdf): Ditto.
3876 1.1 christos (muldf): Ditto.
3877 1.1 christos (divdf): Ditto.
3878 1.1 christos (negdf): Ditto.
3879 1.1 christos (absdf): Ditto.
3880 1.1 christos (sqrtdf): Ditto.
3881 1.1 christos (invdf): Ditto.
3882 1.1 christos (mindf): Ditto.
3883 1.1 christos (maxdf): Ditto.
3884 1.1 christos
3885 1.1 christos 1999-11-26 Dave Brolley <brolley (a] cygnus.com>
3886 1.1 christos
3887 1.1 christos * cgen-par.h (fn_df_write): Mode of data is DF.
3888 1.1 christos (sim_queue_fn_df_write): Mode of data is DF.
3889 1.1 christos * cgen-par.c (sim_queue_fn_df_write): Mode of data is DF.
3890 1.1 christos
3891 1.1 christos 1999-11-22 Dave Brolley <brolley (a] cygnus.com>
3892 1.1 christos
3893 1.1 christos * cgen-trace.c (SIZE_TRACE_BUF): Inxrease size of trace buffer.
3894 1.1 christos * cgen-par.h (CGEN_WRITE_QUEUE_SIZE): Increase size of queue.
3895 1.1 christos
3896 1.1 christos 1999-11-04 Dave Brolley <brolley (a] cygnus.com>
3897 1.1 christos
3898 1.1 christos * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_XI_WRITE and
3899 1.1 christos CGEN_MEM_XI_WRITE members.
3900 1.1 christos (CGEN_WRITE_QUEUE_ELEMENT): Add fn_xi_write and mem_xi_write members.
3901 1.1 christos (sim_queue_fn_xi_write): New function.
3902 1.1 christos (sim_queue_mem_xi_write): New function.
3903 1.1 christos
3904 1.1 christos * cgen-par.c (sim_queue_fn_xi_write): New function.
3905 1.1 christos (sim_queue_mem_xi_write): New function.
3906 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_FN_XI_WRITE and
3907 1.1 christos CGEN_MEM_XI_WRITE.
3908 1.1 christos
3909 1.1 christos 1999-10-22 Dave Brolley <brolley (a] cygnus.com>
3910 1.1 christos
3911 1.1 christos * cgen-par.h (insn_address): New field in CGEN_WRITE_QUEUE_ELEMENT.
3912 1.1 christos (CGEN_WRITE_QUEUE_ELEMENT_IADDR): New macro.
3913 1.1 christos * cgen-par.c: Set insn_address for each queued write. Get pc from
3914 1.1 christos cpu when executing queued writes.
3915 1.1 christos
3916 1.1 christos 1999-10-19 Dave Brolley <brolley (a] cygnus.com>
3917 1.1 christos
3918 1.1 christos * cgen-par.h (sim_queue_fn_pc_write): New function.
3919 1.1 christos (CGEN_FN_PC_WRITE): New enumerator.
3920 1.1 christos (fn_pc_write): New union member.
3921 1.1 christos * cgen-par.c (sim_queue_fn_pc_write): New function.
3922 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_FN_PC_WRITE.
3923 1.1 christos
3924 1.1 christos 1999-10-18 Dave Brolley <brolley (a] cygnus.com>
3925 1.1 christos
3926 1.1 christos * cgen-par.h (CGEN_MEM_DI_WRITE): New enumerator.
3927 1.1 christos (CGEN_MEM_DF_WRITE): New enumerator.
3928 1.1 christos (mem_di_write): New union member.
3929 1.1 christos (mem_df_write): New union member.
3930 1.1 christos * cgen-par.c (sim_queue_mem_di_write): New function.
3931 1.1 christos (sim_queue_mem_df_write): New function.
3932 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_MEM_DI_WRITE and
3933 1.1 christos CGEN_MEM_DF_WRITE.
3934 1.1 christos * cgen-accfp.c (divsf): Check for division errors.
3935 1.1 christos
3936 1.1 christos 1999-10-14 Doug Evans <devans (a] casey.cygnus.com>
3937 1.1 christos
3938 1.1 christos * cgen-engine.h (EXTRACT_INT,EXTRACT_UINT): Delete.
3939 1.1 christos
3940 1.1 christos 1999-10-07 Dave Brolley <brolley (a] cygnus.com>
3941 1.1 christos
3942 1.1 christos * cgen-par.h (CGEN_FN_HI_WRITE): New enumerator.
3943 1.1 christos (fn_hi_write): New union member.
3944 1.1 christos (sim_queue_fn_hi_write): New function.
3945 1.1 christos * cgen-par.c (sim_queue_fn_hi_write): New function.
3946 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_FN_HI_WRITE.
3947 1.1 christos
3948 1.1 christos 1999-09-29 Doug Evans <devans (a] casey.cygnus.com>
3949 1.1 christos
3950 1.1 christos * cgen-defs.h (sim_engine_invalid_insn): New arg `vpc'.
3951 1.1 christos Change type of result to SEM_PC.
3952 1.1 christos
3953 1.1 christos Wed Sep 29 14:43:57 1999 Dave Brolley <brolley (a] cygnus.com>
3954 1.1 christos
3955 1.1 christos * cgen-defs.h (sim_engine_invalid_insn): Now returns PC.
3956 1.1 christos
3957 1.1 christos 1999-09-25 Doug Evans <devans (a] casey.cygnus.com>
3958 1.1 christos
3959 1.1 christos * cgen-ops.h (SUBWORD*): Delete cpu arg.
3960 1.1 christos (JOIN*): Delete cpu arg.
3961 1.1 christos
3962 1.1 christos Tue Sep 21 17:14:16 1999 Dave Brolley <brolley (a] cygnus.com>
3963 1.1 christos
3964 1.1 christos * genmloop.sh (@cpu@_scache_lookup): No longer takes last_insn_p
3965 1.1 christos parameter.
3966 1.1 christos (SET_LAST_INSN_P): Set last_insn_p flag in the scache element.
3967 1.1 christos
3968 1.1 christos Mon Sep 20 21:44:06 1999 Geoffrey Keating <geoffk (a] cygnus.com>
3969 1.1 christos
3970 1.1 christos * sim-fpu.c (i2fpu): Keep the guard bits sticky when converting
3971 1.1 christos large values.
3972 1.1 christos
3973 1.1 christos Tue Feb 8 16:33:48 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
3974 1.1 christos
3975 1.1 christos * run.c (main): Check the sim_stop_reason and only halt simulation
3976 1.1 christos when a valid stop condition is identified.
3977 1.1 christos
3978 1.1 christos Wed Sep 15 14:12:37 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
3979 1.1 christos
3980 1.1 christos * hw-tree.c, hw-properties.c, hw-instances.c: Include "sim-io.h".
3981 1.1 christos
3982 1.1 christos Tue Sep 14 14:15:47 1999 Dave Brolley <brolley (a] cygnus.com>
3983 1.1 christos
3984 1.1 christos * cgen-par.h (CGEN_BI_WRITE): New enumerator.
3985 1.1 christos (bi_write): New union element.
3986 1.1 christos (sim_queue_bi_write): New function.
3987 1.1 christos * cgen-par.c (sim_queue_bi_write): New function.
3988 1.1 christos (cgen_write_queue_element_execute): Handle CGEN_BI_WRITE.
3989 1.1 christos
3990 1.1 christos Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
3991 1.1 christos
3992 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
3993 1.1 christos
3994 1.1 christos * aclocal.m4 (WERROR_CFLAGS, WARN_CFLAGS): Merge from
3995 1.1 christos ../gdb/configure.in.
3996 1.1 christos * Make-common.in (WERROR_CFLAGS, WARN_CFLAGS): Define.
3997 1.1 christos (SIM_WERROR_CFLAGS, SIM_WARN_CFLAGS): Define.
3998 1.1 christos (SIM_WARNINGS): Delete
3999 1.1 christos (CONFIG_CFLAGS): Update.
4000 1.1 christos
4001 1.1 christos Tue Aug 31 16:01:42 1999 Dave Brolley <brolley (a] cygnus.com>
4002 1.1 christos
4003 1.1 christos * cgen-par.c: New file.
4004 1.1 christos * cgen-par.h: New file.
4005 1.1 christos * cgen-sim.h (cgen-par.h): #include it.
4006 1.1 christos * cgen-cpu.h (write_queue): New field.
4007 1.1 christos (CPU_WRITE_QUEUE): New access macro.
4008 1.1 christos * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-par.h.
4009 1.1 christos (cgen-par.o): New target.
4010 1.1 christos
4011 1.1 christos 1999-08-28 Doug Evans <devans (a] casey.cygnus.com>
4012 1.1 christos
4013 1.1 christos * cgen-types.h (mode_type,MODE_VOID): Renamed from MODE_VM.
4014 1.1 christos * cgen-utils.c (mode_names): Update.
4015 1.1 christos
4016 1.1 christos 1999-08-20 Doug Evans <devans (a] casey.cygnus.com>
4017 1.1 christos
4018 1.1 christos * genmloop.sh: New args -parallel-generic-write, -parallel-only.
4019 1.1 christos * cgen-engine.h (SEMANTIC_FN): Don't use version with PAREXEC
4020 1.1 christos buffer arg if WITH_PARALLEL_GENWRITE.
4021 1.1 christos (struct insn_sem): Handle WITH_PARALLEL_GENWRITE.
4022 1.1 christos (struct idesc): Ditto.
4023 1.1 christos
4024 1.1 christos Wed Aug 18 18:17:28 1999 Doug Evans <devans (a] canuck.cygnus.com>
4025 1.1 christos
4026 1.1 christos * sim-model.c (model_option_handler): Add \n to error message.
4027 1.1 christos
4028 1.1 christos 1999-08-08 Doug Evans <devans (a] casey.cygnus.com>
4029 1.1 christos
4030 1.1 christos * cgen-engine.h (SEM_FN_NAME,SEMF_FN_NAME): Delete.
4031 1.1 christos (insn_sem): Rewrite.
4032 1.1 christos (sem_fn_desc): New struct.
4033 1.1 christos (idesc): Rewrite.
4034 1.1 christos * genmloop.sh (scache case,@cpu@_scache_lookup): Profile scache hit,
4035 1.1 christos misses if ! FAST_P.
4036 1.1 christos (scache case): Split into non-parallel/parallel versions.
4037 1.1 christos (@cpu@_engine_run_{full,fast}): Call @cpu@_{sem,semf}_init_idesc_table
4038 1.1 christos if not use semantic switch version.
4039 1.1 christos
4040 1.1 christos 1999-08-04 Doug Evans <devans (a] casey.cygnus.com>
4041 1.1 christos
4042 1.1 christos * cgen-defs.h (SEM_BRANCH_TYPE): New enum.
4043 1.1 christos * cgen-engine.h (SEM_BRANCH_UNTAKEN,SEM_BRANCH_UNCACHEABLE): Delete.
4044 1.1 christos (SEM_BRANCH_INIT_EXTRACT): Delete.
4045 1.1 christos (SEM_BRANCH_INIT): Replace npc_ptr with br_type.
4046 1.1 christos (SEM_BRANCH_FINI): Ditto.
4047 1.1 christos (SEM_BRANCH_VIA_ADDR): Ditto.
4048 1.1 christos (SEM_BRANCH_VIA_CACHE): Ditto. Delete cachvarptr arg.
4049 1.1 christos (SEM_BRANCH_ADDR_CACHE): Delete.
4050 1.1 christos (SEM_SKIP_COMPILE,SEM_SKIP_INSN): New macros.
4051 1.1 christos * cgen-scache.h (cpu_scache): Replace member pbb_pr_npc_ptr with
4052 1.1 christos pbb_br_type.
4053 1.1 christos * genmloop.sh (eng.hin): Update prototype of ${cpu}_pbb_cti_chain.
4054 1.1 christos (@cpu@_pbb_begin): Initialize branch_target.
4055 1.1 christos (@cpu@_pbb_cti_chain): Replace arg new_vpc_ptr with br_type.
4056 1.1 christos (@cpu@_engine_run_full): Replace local pbb_br_npc_ptr with
4057 1.1 christos pbb_br_type.
4058 1.1 christos (@cpu@_engine_run_fast): Ditto.
4059 1.1 christos
4060 1.1 christos Fri Jul 16 14:47:53 1999 Dave Brolley <brolley (a] cygnus.com>
4061 1.1 christos
4062 1.1 christos * cgen-utils.c (RORSI): New function.
4063 1.1 christos (ROLSI): New function.
4064 1.1 christos
4065 1.1 christos 1999-07-14 Doug Evans <devans (a] casey.cygnus.com>
4066 1.1 christos
4067 1.1 christos * Makefile.in (TAGS): Tweak TAGS regex.
4068 1.1 christos * cgen-mem.h (*): Add TAGS markers.
4069 1.1 christos
4070 1.1 christos Sun Jul 11 23:47:20 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
4071 1.1 christos
4072 1.1 christos * sim-resume.c (sim_resume): Ensure that the siggnal [sic] is only
4073 1.1 christos passed in when sim_resume is first entered - don't re-pass it
4074 1.1 christos after a restart.
4075 1.1 christos
4076 1.1 christos Sun Jul 11 23:34:44 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
4077 1.1 christos
4078 1.1 christos * sim-options.c (standard_option_handler): Add OPTION_LOAD_VMA and
4079 1.1 christos OPTION_LOAD_LMA but only when is defined.
4080 1.1 christos (standard_options): When SIM_HANDLES_LMA is defined include
4081 1.1 christos options --load-lma and --load-vma.
4082 1.1 christos (standard_install): Initialize STATE_LOAD_AT_LMA_P.
4083 1.1 christos
4084 1.1 christos * sim-base.h (STATE_LOAD_AT_LMA_P): Define.
4085 1.1 christos (struct sim_state_base): Add load_at_lma_p.
4086 1.1 christos * sim-hload.c (sim_load): Replace SIM_HANDLES_LMA with
4087 1.1 christos STATE_LOAD_AT_LMA_P.
4088 1.1 christos
4089 1.1 christos Sun Jul 11 12:03:36 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
4090 1.1 christos
4091 1.1 christos * nrun.c (main): Re-format loop gnu style.
4092 1.1 christos
4093 1.1 christos Wed Jul 7 19:56:03 1999 Andrew Cagney <cagney (a] b1.cygnus.com>
4094 1.1 christos
4095 1.1 christos * dv-sockser.c (connected_p): Initialize addrlen.
4096 1.1 christos
4097 1.1 christos 1999-07-06 Dave Brolley <brolley (a] cygnus.com>
4098 1.1 christos
4099 1.1 christos * cgen-accfp.c (floatsidf): New function.
4100 1.1 christos (fixdfsi): New function.
4101 1.1 christos
4102 1.1 christos 1999-07-06 Doug Evans <devans (a] casey.cygnus.com>
4103 1.1 christos
4104 1.1 christos * sim-model.c (sim_model_init): Issue error if machine is unsupported.
4105 1.1 christos
4106 1.1 christos 1999-07-05 Doug Evans <devans (a] casey.cygnus.com>
4107 1.1 christos
4108 1.1 christos * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-fpu.h.
4109 1.1 christos (cgen-fpu.o,cgen-accfp.o): Add rules for.
4110 1.1 christos * cgen-fpu.c: New file.
4111 1.1 christos * cgen-fpu.h: New file.
4112 1.1 christos * cgen-accfp.c: New file.
4113 1.1 christos * cgen-cpu.h (CGEN_CPU): New member fpu.
4114 1.1 christos * cgen-mem.h: Redo fp support.
4115 1.1 christos * cgen-ops.h: Delete k&r support. Redo fp support.
4116 1.1 christos * cgen-sim.h: Include cgen-fpu.h.
4117 1.1 christos * cgen-types.h (SF,DF,XF,TF): Moved to cgen-fpu.h.
4118 1.1 christos
4119 1.1 christos 1999-06-23 Doug Evans <devans (a] casey.cygnus.com>
4120 1.1 christos
4121 1.1 christos * cgen-engine.h (TARGET_SEM_BRANCH_FINI): Remove cruft at end of
4122 1.1 christos ifndef.
4123 1.1 christos * genmloop.sh (@cpu@_scache_lookup): Delete unused local var.
4124 1.1 christos (@cpu@_pbb_cti_chain): Minor clean up.
4125 1.1 christos
4126 1.1 christos 1999-05-08 Felix Lee <flee (a] cygnus.com>
4127 1.1 christos
4128 1.1 christos * aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT. Delete defn of
4129 1.1 christos AM_CYGWIN32 and AM_EXEEXT.
4130 1.1 christos * configure: Regenerate.
4131 1.1 christos
4132 1.1 christos Fri Apr 16 16:43:22 1999 Doug Evans <devans (a] charmed.cygnus.com>
4133 1.1 christos
4134 1.1 christos * sim-core.c (device_error,device_io_read_buffer,
4135 1.1 christos device_io_write_buffer): Delete decls.
4136 1.1 christos * sim-core.h: Put them here.
4137 1.1 christos
4138 1.1 christos * sim-core.c (sim_core_read_buffer): Pass sd to device_io_read_buffer.
4139 1.1 christos (sim_core_write_buffer): Pass sd to device_io_write_buffer.
4140 1.1 christos * sim-n-core.h (sim_core_read_aligned_N): Ditto.
4141 1.1 christos (sim_core_write_aligned_N): Ditto.
4142 1.1 christos
4143 1.1 christos 1999-04-14 Stephane Carrez <stcarrez (a] worldnet.fr>
4144 1.1 christos
4145 1.1 christos * sim-memopt.c (sim_memory_uninstall): Don't look into
4146 1.1 christos free()d memory.
4147 1.1 christos
4148 1.1 christos 1999-04-14 Doug Evans <devans (a] casey.cygnus.com>
4149 1.1 christos
4150 1.1 christos * cgen-utils.scm (virtual_insn_entries): Update attribute definition.
4151 1.1 christos
4152 1.1 christos 1999-04-13 Doug Evans <devans (a] casey.cygnus.com>
4153 1.1 christos
4154 1.1 christos * sim-core.c (sim_core_read_buffer): Handle NULL cpu when WITH_DEVICES.
4155 1.1 christos (sim_core_write_buffer): Ditto.
4156 1.1 christos
4157 1.1 christos 1999-04-02 Keith Seitz <keiths (a] cygnus.com>
4158 1.1 christos
4159 1.1 christos * sim-io.c (sim_io_poll_quit): Only call the poll_quit callback
4160 1.1 christos after the interval counter has expired.
4161 1.1 christos (POLL_QUIT_INTERVAL): Define. Used to tweak the frequency of
4162 1.1 christos poll_quit callbacks. May be overridden by Makefile.
4163 1.1 christos (poll_quit_counter): New global.
4164 1.1 christos * sim-events.c: Remove all mentions of ui_loop_hook. The
4165 1.1 christos host callback "poll_quit" will serve the purpose.
4166 1.1 christos * run.c: Add definition of ui_loop_hook when NEED_UI_LOOP_HOOK
4167 1.1 christos is defined.
4168 1.1 christos * nrun.c: Remove declaration of ui_loop_hook.
4169 1.1 christos
4170 1.1 christos Wed Mar 31 18:55:41 1999 Doug Evans <devans (a] canuck.cygnus.com>
4171 1.1 christos
4172 1.1 christos * cgen-run.c (sim_resume): Don't tell main loop to run "forever"
4173 1.1 christos if being used by gdb.
4174 1.1 christos
4175 1.1 christos 1999-03-22 Doug Evans <devans (a] casey.cygnus.com>
4176 1.1 christos
4177 1.1 christos * cgen-types.h (XF,TF): Tweak.
4178 1.1 christos * cgen-ops.h: Redo inline support. Delete DI_FN_SUPPORT,
4179 1.1 christos in cgen-types.h.
4180 1.1 christos (SUBWORD*,JOIN*): Define.
4181 1.1 christos * cgen-trace.c (sim_cgen_disassemble_insn): Update, base_insn_bitsize
4182 1.1 christos moved into cpu descriptor.
4183 1.1 christos * sim-model.h (MACH): New member `num'.
4184 1.1 christos
4185 1.1 christos 1999-02-09 Doug Evans <devans (a] casey.cygnus.com>
4186 1.1 christos
4187 1.1 christos * cgen-cpu.h (CGEN_DISASSEMBLER): New type.
4188 1.1 christos (CGEN_CPU): Member opcode renamed to cpu_desc.
4189 1.1 christos New members get_idata,disassembler.
4190 1.1 christos * cgen-defs.h (CGEN_INSN_VIRTUAL_P): CGEN_INSN_ATTR renamed to
4191 1.1 christos CGEN_INSN_ATTR_VALUE.
4192 1.1 christos (CGEN_STATE): Delete member opcode_table.
4193 1.1 christos (sim_disassemble_insn): Delete decl.
4194 1.1 christos * cgen-engine.h (struct insn_sem): Moved to here from <cpu>-decode.c.
4195 1.1 christos (struct idesc): Moved to here from <cpu>-decode.h.
4196 1.1 christos * cgen-run.c (prime_cpu): Call prepare_run callback.
4197 1.1 christos * cgen-trace.h (SFILE): New type.
4198 1.1 christos (sim_disasm_sprintf): Declare.
4199 1.1 christos (sim_disasm_read_memory,sim_disasm_perror_memory): Declare.
4200 1.1 christos (sim_cgen_disassemble_insn): Declare.
4201 1.1 christos * cgen-trace.c: Include errno.h,dis-asm.h. Don't include cpu-opc.h.
4202 1.1 christos (insn_fields): Delete.
4203 1.1 christos (trace_insn_fini): STATE_OPCODE_TABLE (sd) replaced with
4204 1.1 christos CPU_CPU_DESC (cpu).
4205 1.1 christos (trace_insn): Call CPU_DISASSEMBLER hook.
4206 1.1 christos (sim_disasm_sprintf): New function.
4207 1.1 christos (sim_disasm_read_memory): New function.
4208 1.1 christos (sim_disasm_perror_memory): New function.
4209 1.1 christos (sim_cgen_disassemble_insn): New function.
4210 1.1 christos * cgen-utils.c: Don't include cpu-opc.h.
4211 1.1 christos (virtual_insn_entries): New static local.
4212 1.1 christos (cgen_virtual_insn_table): Renamed from cgen_virtual_opcode_table.
4213 1.1 christos (cgen_insn_name): Rewrite.
4214 1.1 christos (disasm_sprintf,sim_disassemble_insn): Moved to cgen-trace.c.
4215 1.1 christos * cgen.sh (desc): New file generator handler.
4216 1.1 christos * genmloop.sh: -parallel changed to -parallel-read/-parallel-write.
4217 1.1 christos Define WITH_PARALLEL_READ/WITH_PARALLEL_WRITE appropriately.
4218 1.1 christos Don't include cpu-opc.h,cpu-sim.h.
4219 1.1 christos * sim-model.c (model_set): Delete SIM_DESC arg.
4220 1.1 christos (sim_model_set): Update.
4221 1.1 christos * sim-model.h (MACH): New member prepare_run.
4222 1.1 christos
4223 1.1 christos 1999-01-28 Frank Ch. Eigler <fche (a] cygnus.com>
4224 1.1 christos
4225 1.1 christos * sim-memopt.c (memory_option_handler): Avoid memset() calls
4226 1.1 christos if redundant with allocator functions.
4227 1.1 christos
4228 1.1 christos Wed Jan 27 17:19:09 1999 Doug Evans <devans (a] canuck.cygnus.com>
4229 1.1 christos
4230 1.1 christos * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.
4231 1.1 christos
4232 1.1 christos * sim-profile.h: Make like sim-trace.h.
4233 1.1 christos (PROFILE_USEFUL_MASK): New macro.
4234 1.1 christos * sim-profile.c (profile_options): Make like trace_options, allow
4235 1.1 christos optional on|off arg where applicable.
4236 1.1 christos (set_profile_option_mask): New function.
4237 1.1 christos (sim_profile_set_option): New function.
4238 1.1 christos (profile_option_handler): Simplify.
4239 1.1 christos Have -p only enable selected things, not everything.
4240 1.1 christos Add missing break to OPTION_PROFILE_PC_RANGE.
4241 1.1 christos * cgen-scache.c (scache_options): Allow optional on|off arg to
4242 1.1 christos --profile-scache.
4243 1.1 christos (scache_option_handler): Use sim_profile_set_option.
4244 1.1 christos
4245 1.1 christos 1999-01-26 Frank Ch. Eigler <fche (a] cygnus.com>
4246 1.1 christos
4247 1.1 christos * sim-memopt.c (memory_options): Add MEMORY_FILL option.
4248 1.1 christos (memory_option_handler): Implement MEMORY_FILL option. Make
4249 1.1 christos MEMORY_CLEAR an alias for MEMORY_FILL=0.
4250 1.1 christos (parse_ulong_value): New function.
4251 1.1 christos (do_memopt_add): Allocate all buffers. Optionally fill them.
4252 1.1 christos
4253 1.1 christos 1999-01-15 Richard Henderson <rth (a] cygnus.com>
4254 1.1 christos
4255 1.1 christos * hw-events.c (hw_event_queue_schedule): _vtracef takes a
4256 1.1 christos va_list, not an integer.
4257 1.1 christos * sim-events.c (sim_events_schedule): Likewise.
4258 1.1 christos
4259 1.1 christos * sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to
4260 1.1 christos the appropriate type.
4261 1.1 christos
4262 1.1 christos 1999-01-14 Doug Evans <devans (a] casey.cygnus.com>
4263 1.1 christos
4264 1.1 christos * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
4265 1.1 christos (sim_disassemble_insn): Update prototype.
4266 1.1 christos (sim_engine_invalid_insn): Ditto.
4267 1.1 christos * cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
4268 1.1 christos (SEM_BRANCH_INIT): PCADDR->IADDR.
4269 1.1 christos (SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
4270 1.1 christos * cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
4271 1.1 christos * cgen-scache.h (*): Ditto.
4272 1.1 christos * cgen-trace.c (*): Ditto.
4273 1.1 christos * cgen-trace.h (*): Ditto.
4274 1.1 christos * cgen-utils.c (*): Ditto.
4275 1.1 christos * cgen-types.h (integer modes): Use signedNN/unsignedNN types.
4276 1.1 christos (insn_t): Delete.
4277 1.1 christos * genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
4278 1.1 christos (simple engine framework): Rewrite.
4279 1.1 christos * sim-module.c (modules): Install model module sooner (and in
4280 1.1 christos particular before the profile module).
4281 1.1 christos
4282 1.1 christos 1999-01-12 Doug Evans <devans (a] casey.cygnus.com>
4283 1.1 christos
4284 1.1 christos * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
4285 1.1 christos * sim-model.c (sim_mach_lookup_bfd_name): New function.
4286 1.1 christos (sim_model_init): Call it.
4287 1.1 christos
4288 1.1 christos * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
4289 1.1 christos
4290 1.1 christos 1999-01-05 Doug Evans <devans (a] casey.cygnus.com>
4291 1.1 christos
4292 1.1 christos * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
4293 1.1 christos * cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
4294 1.1 christos (SEM_BRANCH_INIT_EXTRACT): New macro.
4295 1.1 christos (SEM_BRANCH_INIT): Add taken_p.
4296 1.1 christos (TARGET_SEM_BRANCH_FINI): Provide default definition.
4297 1.1 christos (SEM_BRANCH_FINI): Use it.
4298 1.1 christos (SEM_INSN): Update.
4299 1.1 christos * cgen-run.c (sim_resume): Handle tracing of last insn.
4300 1.1 christos * cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
4301 1.1 christos * cgen-trace.c (current_abuf): New static global.
4302 1.1 christos (trace_insn_init): Initialize it.
4303 1.1 christos (trace_insn_fini): Use it.
4304 1.1 christos (trace_insn): Set it.
4305 1.1 christos * cgen.sh (arch case): Pass -m ${mach} to cgen.
4306 1.1 christos * genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
4307 1.1 christos (@cpu@_emit_after): Ditto.
4308 1.1 christos (simple @cpu@_engine_run_full): New local `pc'. Initialize semantic
4309 1.1 christos labels if WITH_SEM_SWITCH_FULL.
4310 1.1 christos * sim-model.c: Include bfd.h.
4311 1.1 christos (sim_model_init): New function.
4312 1.1 christos (sim_model_install): Record init fn.
4313 1.1 christos * sim-model.h (MACH): New member bfd_name.
4314 1.1 christos * sim-module.c (modules): Initialize model before scache.
4315 1.1 christos
4316 1.1 christos 1998-12-24 Frank Ch. Eigler <fche (a] cygnus.com>
4317 1.1 christos
4318 1.1 christos * dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms.
4319 1.1 christos
4320 1.1 christos * nrun.c (main): Remain in simulation loop for traps and
4321 1.1 christos exceptions when in operating environment mode.
4322 1.1 christos (ui_loop_hook): New stub hook for standalone use.
4323 1.1 christos * sim-events.c (sim_events_process): Call ui_loop_hook
4324 1.1 christos periodically on CYGWIN host.
4325 1.1 christos
4326 1.1 christos * sim-reason.c (sim_stop_reason): Return host signal numbers
4327 1.1 christos to gdb on sim_stopped and sim_signalled cases.
4328 1.1 christos * sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND
4329 1.1 christos hook just before longjmp.
4330 1.1 christos * sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME
4331 1.1 christos hook just before sim_engine_run.
4332 1.1 christos
4333 1.1 christos * sim-n-core.h (sim_core_trace_M): Allay const warning.
4334 1.1 christos * sim-trace.h (trace_generic): Ditto.
4335 1.1 christos * sim-trace.c (trace_generic): Ditto.
4336 1.1 christos
4337 1.1 christos 1998-12-14 Doug Evans <devans (a] casey.cygnus.com>
4338 1.1 christos
4339 1.1 christos * Make-common.in (SIM_MAIN_DEPS): New var.
4340 1.1 christos (CGEN_MAIN_CPU_DEPS): New var.
4341 1.1 christos * aclocal.m4: Add --enable-cgen-maint option.
4342 1.1 christos * cgen-mem.h (GETMEM*): New arg `pc'. Pass to sim_core routine.
4343 1.1 christos (SETMEM*): Ditto.
4344 1.1 christos (GETIMEM*): Pass pc value to sim_core routine.
4345 1.1 christos
4346 1.1 christos Fri Dec 11 16:58:36 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4347 1.1 christos
4348 1.1 christos * hw-handles.c (hw_handle_add_ihandle, hw_handle_add_phandle):
4349 1.1 christos Compare with ZERO not NULL.
4350 1.1 christos
4351 1.1 christos Thu Dec 10 14:14:39 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4352 1.1 christos
4353 1.1 christos * hw-properties.c, hw-instances.c, hw-tree.c: Include
4354 1.1 christos "sim-assert.h".
4355 1.1 christos
4356 1.1 christos 1998-12-09 Doug Evans <devans (a] casey.cygnus.com>
4357 1.1 christos
4358 1.1 christos * sim-arange.c: Include libiberty.h, and stdlib.h if present.
4359 1.1 christos * sim-trace.c: Include stdlib.h if present.
4360 1.1 christos * dv-sockser.c: Include unistd.h if present.
4361 1.1 christos (dv_sockser_init): Add missing arg to call to sim_io_eprintf.
4362 1.1 christos * cgen-scache.c (scache_flush): Delete unused locals i,sc.
4363 1.1 christos
4364 1.1 christos 1998-12-08 James E Wilson <wilson (a] wilson-pc.cygnus.com>
4365 1.1 christos
4366 1.1 christos * gennltvals.sh: Add i960.
4367 1.1 christos * nltvals.def: Rebuild.
4368 1.1 christos
4369 1.1 christos 1998-12-04 Doug Evans <devans (a] casey.cygnus.com>
4370 1.1 christos
4371 1.1 christos * cgen-defs.h: New file, old cgen-sim.h.
4372 1.1 christos * cgen-sim.h: Simple header that includes others.
4373 1.1 christos * sim-arange.c: New file.
4374 1.1 christos * sim-arange.h: New file.
4375 1.1 christos * sim-basics.h: Include it.
4376 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
4377 1.1 christos (sim-arange.o): Add rule for.
4378 1.1 christos * sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
4379 1.1 christos (sim_io_eprintf_cpu): Add prototype.
4380 1.1 christos * sim-inline.h (HAVE_INLINE): Define if GNUC.
4381 1.1 christos (INLINE2): New macro.
4382 1.1 christos (EXTERN_INLINE): New macro.
4383 1.1 christos * sim-module.c (sim_post_argv_init): Initialize cpu backlink
4384 1.1 christos before calling module init fns.
4385 1.1 christos * sim-profile.c (OPTION_PROFILE_*): Move into enum.
4386 1.1 christos (profile_init): New function.
4387 1.1 christos (profile_options): New option --profile-range.
4388 1.1 christos (profile_option_handler): Handle --profile-range.
4389 1.1 christos (profile_print_insn): Qualify address range specific section titles.
4390 1.1 christos (profile_print_addr_ranges): New function.
4391 1.1 christos (profile_info): Print address ranges if specified.
4392 1.1 christos (profile_install): Set profile_init init fn.
4393 1.1 christos * sim-profile.h (PROFILE_DATA): New member `range'.
4394 1.1 christos * sim-trace.c (trace_init): New function.
4395 1.1 christos (trace_options): New option --trace-range.
4396 1.1 christos (trace_option_handler): Handle --trace-range.
4397 1.1 christos (trace_install): Set trace_init init fn.
4398 1.1 christos * sim-trace.h (TRACE_DATA): New member `range'.
4399 1.1 christos * sim-utils.c (sim_cpu_msg_prefix): New function.
4400 1.1 christos (sim_io_eprintf_cpu): New function.
4401 1.1 christos * cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
4402 1.1 christos (PC_IN_PROFILE_RANGE_P): New macro.
4403 1.1 christos * cgen-trace.c (trace_insn_init): Set current_insn to NULL.
4404 1.1 christos (trace_insn_fini): New arg abuf. All callers updated.
4405 1.1 christos Exit early if trace_insn not called. Check ARGBUF_PROFILE_P before
4406 1.1 christos printing cycle counts.
4407 1.1 christos * cgen-trace.h (trace_insn_fini): Update prototype.
4408 1.1 christos (TRACE_RESULT_P): New macro.
4409 1.1 christos (TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf. All callers updated.
4410 1.1 christos (TRACE_INSN): Check ARGBUF_TRACE_P.
4411 1.1 christos (TRACE_EXTRACT,TRACE_RESULT): New arg abuf. All callers updated.
4412 1.1 christos * cgen-types.h (SIM_INLINE): Delete.
4413 1.1 christos (SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
4414 1.1 christos * cgen-utils.c: Don't include cgen-engine.h
4415 1.1 christos * genmloop.sh (@cpu@_fill_argbuf): New function.
4416 1.1 christos (@cpu@_fill_argbuf_tp): New function.
4417 1.1 christos (@cpu@_emit_before,@cpu@_emit_after): New functions.
4418 1.1 christos (@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
4419 1.1 christos (SET_CTI_VPC,SET_INSN_COUNT): Update.
4420 1.1 christos (@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
4421 1.1 christos doing profiling. Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
4422 1.1 christos (@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
4423 1.1 christos doing profiling. Update call to TRACE_INSN_FINI.
4424 1.1 christos
4425 1.1 christos * sim-memopt.c (sim_memory_uninstall): Result type is `void'.
4426 1.1 christos
4427 1.1 christos 1998-12-03 Frank Ch. Eigler <fche (a] cygnus.com>
4428 1.1 christos
4429 1.1 christos * sim-memopt.c (sim_memory_uninstall): Deallocate all memory
4430 1.1 christos regions.
4431 1.1 christos
4432 1.1 christos 1998-12-01 Doug Evans <devans (a] casey.cygnus.com>
4433 1.1 christos
4434 1.1 christos * sim-inline.c (SIM_INLINE_P): Fix typo.
4435 1.1 christos
4436 1.1 christos 1998-11-30 Doug Evans <devans (a] casey.cygnus.com>
4437 1.1 christos
4438 1.1 christos * cgen-utils.c (cgen_virtual_opcode_table): Update.
4439 1.1 christos
4440 1.1 christos Tue Nov 24 18:40:03 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4441 1.1 christos
4442 1.1 christos * gennltvals.sh: Add v850 and d10v. Sort alphabetically.
4443 1.1 christos * nltvals.def: Re-generate.
4444 1.1 christos
4445 1.1 christos Mon Nov 23 13:28:38 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4446 1.1 christos
4447 1.1 christos * sim-core.c (reverse_n, sim_core_uninstall, sim_core_init,
4448 1.1 christos sim_core_map_attach, sim_core_map_detach, next_event_queue,
4449 1.1 christos new_sim_core_mapping): Only define when EXTERN_SIM_CORE_P, pacify
4450 1.1 christos GCC.
4451 1.1 christos * sim-events.c (sim_events_uninstall, sim_events_suspend,
4452 1.1 christos sim_events_resume, sim_events_zalloc, insert_sim_event): Ditto.
4453 1.1 christos
4454 1.1 christos 1998-11-22 Doug Evans <devans (a] tobor.to.cygnus.com>
4455 1.1 christos
4456 1.1 christos * genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
4457 1.1 christos (${cpu}_pbb_cti_chain): Ditto.
4458 1.1 christos
4459 1.1 christos 1998-11-18 Doug Evans <devans (a] casey.cygnus.com>
4460 1.1 christos
4461 1.1 christos * Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
4462 1.1 christos * cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
4463 1.1 christos (EXTRACT_INT,EXTRACT_UINT): New macros.
4464 1.1 christos (SEM_SEM_ARG): New macro.
4465 1.1 christos (SEM_NEXT_VPC): New arg `pc'.
4466 1.1 christos * cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
4467 1.1 christos (sim_disassemble_insn): Update prototype.
4468 1.1 christos * cgen-trace.c (current_insn,insn_fields): New static locals.
4469 1.1 christos (trace_insn): Set them.
4470 1.1 christos * cgen-utils.c: #include cgen-engine.h.
4471 1.1 christos (sim_disassemble_insn): New arg insn_fields.
4472 1.1 christos Handle variable length insns.
4473 1.1 christos * genmloop.sh: Only emit pbb decls if -pbb.
4474 1.1 christos (${cpu}_scache_lookup): New arg `vpc'.
4475 1.1 christos (scache support): Fetch pc before entering loop.
4476 1.1 christos
4477 1.1 christos * gennltvals.sh: Add fr30 support.
4478 1.1 christos * nltvals.def: Rebuild.
4479 1.1 christos
4480 1.1 christos Wed Nov 18 10:22:22 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4481 1.1 christos
4482 1.1 christos * sim-types.h: Re-do type system so that GCC's attribute and mode
4483 1.1 christos are used to specify types. Handle case of ALPHA.
4484 1.1 christos
4485 1.1 christos 1998-11-13 Frank Ch. Eigler <fche (a] elastic.org>
4486 1.1 christos
4487 1.1 christos * aclocal.m4: Add tests for dlopen family.
4488 1.1 christos * config.in: Regenerated.
4489 1.1 christos
4490 1.1 christos Wed Nov 11 14:02:25 1998 Doug Evans <devans (a] canuck.cygnus.com>
4491 1.1 christos
4492 1.1 christos * sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
4493 1.1 christos
4494 1.1 christos Wed Nov 4 23:51:19 1998 Doug Evans <devans (a] seba.cygnus.com>
4495 1.1 christos
4496 1.1 christos * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
4497 1.1 christos HAVE_PARALLEL_INSNS, define as 0 or 1. Emit decls of fns in mloop.cin.
4498 1.1 christos * cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
4499 1.1 christos * cgen-sim.h: ... to here.
4500 1.1 christos
4501 1.1 christos Wed Oct 28 12:00:57 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4502 1.1 christos
4503 1.1 christos * aclocal.m4 (enable-build-warnings): Replace
4504 1.1 christos enable-sim-warnings. Extend =LIST syntax so that prepend and
4505 1.1 christos append of options is possible. Drop -Werror, add
4506 1.1 christos -Wstrict-prototypes for GDB compatibility.
4507 1.1 christos * Make-common.in (SIM_WARNINGS): Update.
4508 1.1 christos
4509 1.1 christos Mon Oct 19 13:56:32 1998 Doug Evans <devans (a] seba.cygnus.com>
4510 1.1 christos
4511 1.1 christos * Make-common.in (CGEN_INCLUDE_DEPS): Define.
4512 1.1 christos (sim-core.o): Delete duplicate dependence on $(SIM_EXTRA_DEPS).
4513 1.1 christos (sim-cpu.o,sim-endian.o,sim-hw.o): Ditto.
4514 1.1 christos (cgen-run.o,cgen-scache.o,cgen-trace.o,cgen-utils.o): Delete
4515 1.1 christos explicit cgen header dependencies, require SIM_EXTRA_DEPS to include
4516 1.1 christos CGEN_INCLUDE_DEPS.
4517 1.1 christos * cgen-cpu.h: New file.
4518 1.1 christos * cgen-engine.h: New file.
4519 1.1 christos * cgen-scache.h: New file.
4520 1.1 christos * cgen-sim.h: Delete portions moved to new files.
4521 1.1 christos * genmloop.sh: Generate two files eng.hin,mloop.cin explicitly,
4522 1.1 christos rather than sending result to stdout.
4523 1.1 christos
4524 1.1 christos Fri Oct 9 14:20:22 1998 Doug Evans <devans (a] seba.cygnus.com>
4525 1.1 christos
4526 1.1 christos * Make-common.in (sim-reg.o): New rule.
4527 1.1 christos (cgen-run.o): New rule.
4528 1.1 christos * cgen-ops.h: Delete many BI macros. Change all UBI -> BI.
4529 1.1 christos * cgen-run.c (prime_cpu): New function.
4530 1.1 christos * cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
4531 1.1 christos (scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
4532 1.1 christos mentioned cpu.
4533 1.1 christos (scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
4534 1.1 christos * cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
4535 1.1 christos (CGEN_INSN_VIRTUAL_P): New macro.
4536 1.1 christos (SEM_PC): New typedef.
4537 1.1 christos (SEMANTIC_FN): Change type of result to SEM_PC.
4538 1.1 christos (SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
4539 1.1 christos (IDESC_CTI_P,IDESC_SKIP_P): New macros.
4540 1.1 christos (SCACHE_MAP): New typedef.
4541 1.1 christos (CPU_SCACHE): Add pbb support.
4542 1.1 christos (scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
4543 1.1 christos (SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
4544 1.1 christos (CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
4545 1.1 christos max_slice_insns.
4546 1.1 christos (INSN_NAME): Delete.
4547 1.1 christos (cgen_insn_name): Declare.
4548 1.1 christos (sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
4549 1.1 christos * cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
4550 1.1 christos (first_insn_p): Make static.
4551 1.1 christos (trace_insn): Handle virtual insns specially.
4552 1.1 christos (cgen_trace_printf): Ensure we haven't overflowed the buffer.
4553 1.1 christos * cgen-types.h (UBI): Delete.
4554 1.1 christos (MODE_TYPE): New enum.
4555 1.1 christos (HOSTINT,HOSTUINT,HOSTPTR): Delete.
4556 1.1 christos * cgen-utils.c (mode_names): Delete UBI. Add INT,UINT,PTR.
4557 1.1 christos (cgen_virtual_opcode_table): New global.
4558 1.1 christos (cgen_insn_name): New function.
4559 1.1 christos (sim_disassemble_insn): Ignore virtual insns.
4560 1.1 christos * genmloop.sh: Delete top level loop generation. Add pbb support.
4561 1.1 christos * sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
4562 1.1 christos (sim_cpu_base): New members max_insns,insn_name,model_data.
4563 1.1 christos (CPU_PC_GET,CPU_PC_SET): New macros.
4564 1.1 christos (sim_pc_get,sim_pc_set): Declare.
4565 1.1 christos * sim-model.c (model_set): Call model init fn.
4566 1.1 christos * sim-model.h (MODEL_FN): New typedef.
4567 1.1 christos (INSN_TIMING): New member model_fn.
4568 1.1 christos (MODEL): New members num,init.
4569 1.1 christos * sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
4570 1.1 christos All callers updated.
4571 1.1 christos (profile_insn_init): New fn.
4572 1.1 christos (profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
4573 1.1 christos Exit early if insn profiling not supported.
4574 1.1 christos (profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
4575 1.1 christos (profile_install): Record profile_insn_init as init fn.
4576 1.1 christos (profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
4577 1.1 christos * sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
4578 1.1 christos (PROFILE_DATA): Delete member exec_time.
4579 1.1 christos Change insn_count to pointer to array, rather than the array.
4580 1.1 christos (sim_profile_print_bar): Declare.
4581 1.1 christos
4582 1.1 christos Wed Oct 7 16:56:42 1998 Doug Evans <devans (a] seba.cygnus.com>
4583 1.1 christos
4584 1.1 christos * cgen-run.c: New file.
4585 1.1 christos * sim-reg.c: New file.
4586 1.1 christos
4587 1.1 christos Mon Sep 14 10:58:19 1998 Frank Ch. Eigler <fche (a] cygnus.com>
4588 1.1 christos
4589 1.1 christos * aclocal.m4: Add checks for -lsocket and -lnsl.
4590 1.1 christos
4591 1.1 christos * dv-sockser.c (dv_sockser_init): Use SO_REUSEADDR to
4592 1.1 christos allow local port reuse on listening socket.
4593 1.1 christos
4594 1.1 christos Tue Sep 1 15:36:52 1998 Frank Ch. Eigler <fche (a] cygnus.com>
4595 1.1 christos
4596 1.1 christos * sim-config.h: Remove reference to linux kernel header.
4597 1.1 christos
4598 1.1 christos Tue Aug 25 12:45:27 1998 Frank Ch. Eigler <fche (a] cygnus.com>
4599 1.1 christos
4600 1.1 christos * dv-sockser.c (sockser_addr): Make variable non-static.
4601 1.1 christos
4602 1.1 christos Mon Aug 24 11:47:37 1998 Joyce Janczyn <janczyn (a] cygnus.com>
4603 1.1 christos
4604 1.1 christos * sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.
4605 1.1 christos
4606 1.1 christos Tue Aug 11 18:12:19 1998 Doug Evans <devans (a] canuck.cygnus.com>
4607 1.1 christos
4608 1.1 christos * sim-events.c (sim_events_elapsed_time): Fix calculation.
4609 1.1 christos
4610 1.1 christos Tue Aug 4 20:36:46 1998 Jeff Holcomb <jeffh (a] cygnus.com>
4611 1.1 christos
4612 1.1 christos * Make-common.in (install-common): Add $(EXEEXT) when installing
4613 1.1 christos run.
4614 1.1 christos
4615 1.1 christos Mon Aug 3 11:46:01 1998 Doug Evans <devans (a] seba.cygnus.com>
4616 1.1 christos
4617 1.1 christos * cgen-sim.h (cgen_state): New member opcode_table.
4618 1.1 christos * cgen-utils.c (sim_disassemble_insn): Use it.
4619 1.1 christos
4620 1.1 christos Fri Jul 24 10:14:18 1998 Doug Evans <devans (a] canuck.cygnus.com>
4621 1.1 christos
4622 1.1 christos * cgen-mem.h (DECLARE_SETT): Fix return type.
4623 1.1 christos * cgen-sim.h (sim_engine_illegal_insn): Declare.
4624 1.1 christos * cgen-scache.c: Include stdlib.h.
4625 1.1 christos * cgen-trace.c (trace_extract): Use %lx for PCADDR.
4626 1.1 christos * sim-model.c (model_option_handler): Remove unused variable `n'.
4627 1.1 christos
4628 1.1 christos Tue Jul 21 16:27:43 1998 Doug Evans <devans (a] seba.cygnus.com>
4629 1.1 christos
4630 1.1 christos * cgen-utils.c: Include bfd.h.
4631 1.1 christos (sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
4632 1.1 christos
4633 1.1 christos Wed Jul 8 18:24:10 1998 Jeffrey A Law (law (a] cygnus.com)
4634 1.1 christos
4635 1.1 christos * sim-bits.h (EXTEND24): Fix typo.
4636 1.1 christos
4637 1.1 christos Wed Jul 8 17:41:47 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4638 1.1 christos
4639 1.1 christos * sim-events.c (ETRACE_P): New macro.
4640 1.1 christos (struct _sim_event): Add member trace.
4641 1.1 christos (sim_events_free): Reclaim trace message.
4642 1.1 christos
4643 1.1 christos * sim-events.c, sim-events.h (sim_events_schedule_vtracef,
4644 1.1 christos sim_events_schedule_tracef): New functions, include printf trace
4645 1.1 christos information in argument list. If tracing, store asprintf'd trace
4646 1.1 christos message in sim_event.
4647 1.1 christos
4648 1.1 christos * hw-events.c, hw-events.h (hw_event_queue_schedule_tracef,
4649 1.1 christos hw_event_queue_schedule_vtracef): New functions, mimic
4650 1.1 christos sim_event_tracef.
4651 1.1 christos
4652 1.1 christos Mon Jul 6 15:51:14 1998 Jeffrey A Law (law (a] cygnus.com)
4653 1.1 christos
4654 1.1 christos * sim-bits.h (EXTEND24): Define.
4655 1.1 christos
4656 1.1 christos Thu Jul 2 17:13:25 1998 Doug Evans <devans (a] seba.cygnus.com>
4657 1.1 christos
4658 1.1 christos * cgen-sim.h (CPU_SCACHE): Make size unsigned.
4659 1.1 christos (CPU_SCACHE_HASH_MASK): New macro.
4660 1.1 christos (SCACHE_HASH_PC): Rewrite.
4661 1.1 christos * genmloop.sh (engine_resume_{full,fast}): Move some of hash
4662 1.1 christos computation out of main loop.
4663 1.1 christos
4664 1.1 christos Wed Jul 1 16:44:12 1998 Doug Evans <devans (a] seba.cygnus.com>
4665 1.1 christos
4666 1.1 christos * cgen-sim.h (RECORD_IADDR): Delete.
4667 1.1 christos * cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
4668 1.1 christos * genmloop.sh (engine_resume_{full,fast}): Delete icount.
4669 1.1 christos
4670 1.1 christos Wed Jun 17 12:25:08 1998 Mark Alexander <marka (a] cygnus.com>
4671 1.1 christos
4672 1.1 christos * gennltvals.def (mn10200): Add entry.
4673 1.1 christos * nltvals.def: Regenerate with MN10200 additions.
4674 1.1 christos
4675 1.1 christos Wed Jun 17 13:18:28 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4676 1.1 christos
4677 1.1 christos * sim-inline.h (EXTERN_*): Replace with EXTERN_*_P. Correct
4678 1.1 christos documentation on how it works.
4679 1.1 christos
4680 1.1 christos * sim-core.h, sim-core.c (sim_core_install, sim_core_attach,
4681 1.1 christos sim_core_detach, sim_core_read_buffer, sim_core_write_buffer,
4682 1.1 christos sim_core_set_xor, sim_core_xor_read_buffer,
4683 1.1 christos sim_core_xor_write_buffer): Update.
4684 1.1 christos
4685 1.1 christos * sim-events.h, sim-events.c (sim_events_install,
4686 1.1 christos sim_events_watch_clock, sim_events_schedule_after_signal,
4687 1.1 christos sim_events_schedule, sim_events_watch_sim, sim_events_watch_core,
4688 1.1 christos sim_events_deschedule): Update.
4689 1.1 christos
4690 1.1 christos * sim-fpu.h, sim-fpu.c (sim_fpu_zero, sim_fpu_one, sim_fpu_two,
4691 1.1 christos sim_fpu_max32, sim_fpu_max64): Update.
4692 1.1 christos
4693 1.1 christos Sat Jun 13 07:45:38 1998 Doug Evans <devans (a] fallis.cygnus.com>
4694 1.1 christos
4695 1.1 christos * cgen-trace.c (trace_insn_fini): Redo cycle handling.
4696 1.1 christos * sim-profile.h (PROFILE_DATA): Rename cycle handling members.
4697 1.1 christos * sim-profile.c (profile_print_model): Update.
4698 1.1 christos
4699 1.1 christos Fri Jun 12 18:35:07 1998 Doug Evans <devans (a] seba.cygnus.com>
4700 1.1 christos
4701 1.1 christos * gennltvals.def (m32r): Use common syscall.h now.
4702 1.1 christos (mn10300): Add entry.
4703 1.1 christos * nltvals.def: Regenerate.
4704 1.1 christos
4705 1.1 christos * sim-engine.c (sim_engine_get_run_state): New function.
4706 1.1 christos * sim-engine.h (sim_engine_get_run_state): Declare it.
4707 1.1 christos
4708 1.1 christos Thu Jun 11 00:50:03 1998 Doug Evans <devans (a] seba.cygnus.com>
4709 1.1 christos
4710 1.1 christos * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
4711 1.1 christos * sim-core.c (sim_core_signal): Make extern, always define.
4712 1.1 christos
4713 1.1 christos Wed Jun 10 16:02:29 1998 Doug Evans <devans (a] seba.cygnus.com>
4714 1.1 christos
4715 1.1 christos * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
4716 1.1 christos * cgen-ops.h (ANDIF): New macro.
4717 1.1 christos (ANDIF[BQHSD]I): Delete.
4718 1.1 christos
4719 1.1 christos Thu Jun 4 13:53:54 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4720 1.1 christos
4721 1.1 christos * hw-events.c (create_hw_event, delete_hw_event): Delete.
4722 1.1 christos (hw_event_queue_schedule, hw_event_queue_deschedule,
4723 1.1 christos bounce_hw_event): Fix hw-event memory corruptions found by Joyce
4724 1.1 christos Janczyn.
4725 1.1 christos
4726 1.1 christos * hw-alloc.h (HW_NZALLOC): Define.
4727 1.1 christos
4728 1.1 christos * Make-common.in (test-hw-events): Add target for testing the
4729 1.1 christos hw-event code.
4730 1.1 christos
4731 1.1 christos Mon May 25 21:11:26 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4732 1.1 christos
4733 1.1 christos * Make-common.in (SIM_COMMON_HW_OBJS): Add hw-handles.o and
4734 1.1 christos hw-instances.o.
4735 1.1 christos hw-handles.c, hw-instances.c, hw-handles.h, hw-instances.h: New
4736 1.1 christos files.
4737 1.1 christos * hw-main.h: Include hw-handles.h, hw-instances.h.
4738 1.1 christos * hw-base.h ({create,delete}_hw_{handles,instances}_data): Declare
4739 1.1 christos * hw-base.c (hw_create, hw_delete): Call same.
4740 1.1 christos
4741 1.1 christos Mon May 25 18:55:35 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4742 1.1 christos
4743 1.1 christos * dv-core.c: Include hw-main.h and sim-main.h.
4744 1.1 christos * dv-pal.c: Include hw-main.h and sim-io.h.
4745 1.1 christos * dv-glue.c: Include hw-main.h.
4746 1.1 christos
4747 1.1 christos * hw-main.h: New file. Move list of includes to here.
4748 1.1 christos * hw-base.h: From here.
4749 1.1 christos * Make-common.in (hw_base_headers): Rename to hw_main_headers.
4750 1.1 christos (hw-*.o, dv-*.o): Update.
4751 1.1 christos * hw-tree.c, hw-base.c, hw-properties.c, hw-ports.c, hw-device.c,
4752 1.1 christos hw-events.c, hw-alloc.c, sim-hw.c: Include hw-main.h instead of
4753 1.1 christos sim-main.h.
4754 1.1 christos
4755 1.1 christos * hw-base.h (do_hw_attach_regs, do_hw_poll_read_method,
4756 1.1 christos do_hw_poll_read): Move declarations from here.
4757 1.1 christos * hw-main.h: To here.
4758 1.1 christos
4759 1.1 christos * hw-base.h (struct hw_device_descriptor, hw_finish_callback):
4760 1.1 christos Move from here.
4761 1.1 christos * hw-main.h (struct hw_descriptor, hw_finish_method): To here,
4762 1.1 christos rename.
4763 1.1 christos * Make-common.in (hw-config.h): Update
4764 1.1 christos * hw-base.c, dv-pal.c, dv-glue.c: Update
4765 1.1 christos
4766 1.1 christos * dv-glue.c, hw-device.h, hw-base.h, hw-ports.c: Rename
4767 1.1 christos `*_callback' to `*_method.
4768 1.1 christos
4769 1.1 christos Mon May 25 18:41:18 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4770 1.1 christos
4771 1.1 christos * hw-base.h (set_*): Move set method macros from here.
4772 1.1 christos * hw-device.h: To here.
4773 1.1 christos
4774 1.1 christos Mon May 25 18:21:38 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4775 1.1 christos
4776 1.1 christos * hw-base.h (create_hw_property_data, delete_hw_property_data):
4777 1.1 christos Declare.
4778 1.1 christos
4779 1.1 christos * hw-base.c (hw_create, hw_delete): Call
4780 1.1 christos * hw-properties.c (create_hw_property_data,
4781 1.1 christos delete_hw_property_data): Define.
4782 1.1 christos
4783 1.1 christos Mon May 25 17:40:46 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4784 1.1 christos
4785 1.1 christos * hw-device.c, hw-properties.c: Include hw-base.h
4786 1.1 christos
4787 1.1 christos * hw-alloc.h, hw-alloc.c: New files. Move alloc code to here.
4788 1.1 christos * hw-device.c: From here.
4789 1.1 christos * hw-base.h: Include "hw-events.h".
4790 1.1 christos
4791 1.1 christos * hw-base.h (create_hw_alloc_data, delete_hw_alloc_data): Declare.
4792 1.1 christos * hw-base.c (hw_create, hw_delete): Call.
4793 1.1 christos * hw-alloc.c (create_hw_alloc_data, delete_hw_alloc_data): Define.
4794 1.1 christos
4795 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o.
4796 1.1 christos (hw-alloc.o): New target.
4797 1.1 christos
4798 1.1 christos Mon May 25 17:14:27 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4799 1.1 christos
4800 1.1 christos * hw-events.h, hw-events.c: New files. Move event code to here.
4801 1.1 christos * sim-hw.c: From here.
4802 1.1 christos * hw-base.h: Include "hw-events.h".
4803 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-events.o.
4804 1.1 christos (hw-events.o): New target.
4805 1.1 christos
4806 1.1 christos * hw-device.h (struct hw): Add struct hw_event_data events_of_hw.
4807 1.1 christos * hw-events.h (struct hw_event): Replace typedef hw_event.
4808 1.1 christos
4809 1.1 christos * hw-base.h (create_hw_event_data, delete_hw_event_data): Declare.
4810 1.1 christos * hw-base.c (hw_create, hw_delete): Call.
4811 1.1 christos * hw-events.c (create_hw_event_data, delete_hw_event_data): Define.
4812 1.1 christos
4813 1.1 christos * dv-pal.c: Update.
4814 1.1 christos
4815 1.1 christos Mon May 25 16:55:16 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4816 1.1 christos
4817 1.1 christos * hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here.
4818 1.1 christos * hw-ports.c: To here.
4819 1.1 christos
4820 1.1 christos * hw-base.h, hw-ports.c (create_hw_port_data,
4821 1.1 christos delete_hw_port_data): New functions.
4822 1.1 christos * hw-base.c (hw_delete, hw_create): Call same.
4823 1.1 christos
4824 1.1 christos * hw-base.h (set_hw_ports, set_hw_port_event): Move set functions
4825 1.1 christos from here.
4826 1.1 christos * hw-ports.h: To here.
4827 1.1 christos
4828 1.1 christos Mon May 25 16:42:48 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4829 1.1 christos
4830 1.1 christos * hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
4831 1.1 christos PROCESSOR and CIA arguments.
4832 1.1 christos
4833 1.1 christos Fri May 22 12:16:27 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4834 1.1 christos
4835 1.1 christos * aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument.
4836 1.1 christos Move common object files from here.
4837 1.1 christos * Make-common.in (SIM_COMMON_HW_OBJS): To here.
4838 1.1 christos
4839 1.1 christos Thu May 21 17:57:16 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4840 1.1 christos
4841 1.1 christos * sim-hw.c: Include ctype.h.
4842 1.1 christos (do_hw_poll_read): Do not assume EAGAIN.
4843 1.1 christos
4844 1.1 christos Wed May 20 04:37:57 1998 Doug Evans <devans (a] seba.cygnus.com>
4845 1.1 christos
4846 1.1 christos * cgen-trace.c (first_insn_p): New static local.
4847 1.1 christos (trace_insn_init): Set it.
4848 1.1 christos (trace_insn_fini): Use TRACE_PREFIX.
4849 1.1 christos (trace_insn): Rewrite to use trace_prefix.
4850 1.1 christos * sim-trace.c (trace_prefix): Don't print filename arg if NULL.
4851 1.1 christos Adjust width accordingly.
4852 1.1 christos
4853 1.1 christos * sim-profile.h (PROFILE_DATA): New member profile_any_p.
4854 1.1 christos (PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
4855 1.1 christos (PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
4856 1.1 christos (PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
4857 1.1 christos (PROFILE_COUNT_CORE): Simplify.
4858 1.1 christos * sim-profile.c (profile_option_handler): Compute profile_any_p.
4859 1.1 christos
4860 1.1 christos Tue May 19 23:55:30 1998 Doug Evans <devans (a] seba.cygnus.com>
4861 1.1 christos
4862 1.1 christos * cgen-ops.h (ADDCFSI): Fix typo.
4863 1.1 christos
4864 1.1 christos Sat May 16 12:44:52 1998 Doug Evans <devans (a] seba.cygnus.com>
4865 1.1 christos
4866 1.1 christos * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
4867 1.1 christos * genmloop.sh: Use them rather than static locals.
4868 1.1 christos
4869 1.1 christos * sim-engine.c (sim_engine_set_run_state): New function.
4870 1.1 christos * sim-engine.h (sim_engine_set_run_state): Declare.
4871 1.1 christos * genmloop.sh (pending_reason,pending_sigrc): New static locals.
4872 1.1 christos (@cpu@_engine_stop): New args reason,sigrc. All callers updated.
4873 1.1 christos (engine_resume): Reorganize. Allow synchronous exit from main loop.
4874 1.1 christos
4875 1.1 christos Fri May 15 16:06:05 1998 Doug Evans <devans (a] seba.cygnus.com>
4876 1.1 christos
4877 1.1 christos * cgen-trace.c (trace_insn_init): New arg first_p.
4878 1.1 christos All callers updated.
4879 1.1 christos (trace_insn_fini): New arg last_p. All callers updated.
4880 1.1 christos * cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
4881 1.1 christos (TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
4882 1.1 christos * genmloop.sh (engine_resume): Update.
4883 1.1 christos
4884 1.1 christos Fri May 15 15:59:00 1998 Joyce Janczyn <janczyn (a] cygnus.com>
4885 1.1 christos
4886 1.1 christos * Make-common.in (install-common): Run ranlib on installed copy of
4887 1.1 christos libsim.a.
4888 1.1 christos
4889 1.1 christos Fri May 15 15:03:00 1998 Joyce Janczyn <janczyn (a] cygnus.com>
4890 1.1 christos
4891 1.1 christos * Make-common.in (install-common): Rename and install libsim.a.
4892 1.1 christos
4893 1.1 christos Tue May 12 15:23:57 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4894 1.1 christos
4895 1.1 christos * sim-io.c (unistd.h): Include.
4896 1.1 christos
4897 1.1 christos Wed May 6 16:04:18 1998 Doug Evans <devans (a] seba.cygnus.com>
4898 1.1 christos
4899 1.1 christos * Make-common (sim_main_headers): Sort.
4900 1.1 christos (cgen-*.o): Add cgen-sim.h dependency.
4901 1.1 christos
4902 1.1 christos * cgen-scache.c (scache_init): Only allocate space if scache element
4903 1.1 christos size is non-zero.
4904 1.1 christos (scache_flush,scache_print_profile): Check if scache in use first.
4905 1.1 christos
4906 1.1 christos * cgen-sim.h (IDESC): Provide forward declaration.
4907 1.1 christos (DECODE): Delete.
4908 1.1 christos (CGEN_CPU): Always define scache member. New members idesc,opcode.
4909 1.1 christos (cgen_cpu_max_extra_bytes): Declare.
4910 1.1 christos * cgen-utils.c (cgen_cpu_max_extra_bytes): New function.
4911 1.1 christos
4912 1.1 christos * sim-cpu.h: New file. sim_cpu_base moved here.
4913 1.1 christos Move sim_cpu_lookup decl here.
4914 1.1 christos * sim-base.h: #include "sim-cpu.h".
4915 1.1 christos * sim-cpu.c: New file.
4916 1.1 christos * Make-common (sim_main_headers): Add sim-cpu.h.
4917 1.1 christos (sim-cpu.o): Add rule for.
4918 1.1 christos
4919 1.1 christos * sim-model.c (set_model): Delete.
4920 1.1 christos (sim_model_set,model_set): New functions.
4921 1.1 christos (sim_model_install): Renamed from model_install.
4922 1.1 christos Don't set default model here.
4923 1.1 christos (model_option_handler): Rewrite --model processing.
4924 1.1 christos (sim_model_lookup,sim_mach_lookup): New functions.
4925 1.1 christos * sim-model.h (MAX_MODELS,MAX_INSNS): Delete.
4926 1.1 christos (insn_timing): Delete.
4927 1.1 christos (INSN_TIMING): New member `num'.
4928 1.1 christos (IMP_PROPERTIES): Always define scache_elm_size member.
4929 1.1 christos (MACH): New member init_cpu.
4930 1.1 christos (sim_machs): Renamed from machs.
4931 1.1 christos (sim_model_install): Renamed from model_install.
4932 1.1 christos (sim_model_set,sim_model_lookup,sim_mach_lookup): Declare.
4933 1.1 christos * sim-module.c (modules): Update.
4934 1.1 christos
4935 1.1 christos * sim-profile.c (profile_print_insn): Add cpu arg to INSN_NAME macro.
4936 1.1 christos
4937 1.1 christos * sim-io.c: #include <errno.h>.
4938 1.1 christos
4939 1.1 christos Wed May 6 12:39:15 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4940 1.1 christos
4941 1.1 christos * dv-pal.c (struct hw_pal_device): Add reader.
4942 1.1 christos (hw_pal_finish): Initialize reader.
4943 1.1 christos (scan_hw_pal): Use reader.
4944 1.1 christos
4945 1.1 christos * hw-base.h, sim-hw.c (do_hw_poll_read): New function.
4946 1.1 christos (HW_IO_EOF, HW_IO_NOT_READY): Define.
4947 1.1 christos * dv-pal.c: Use.
4948 1.1 christos
4949 1.1 christos * sim-io.h, sim-io.c (sim_io_poll_read): New function. Copy from
4950 1.1 christos ../ppc/main.c sim_io_read_stdin.
4951 1.1 christos
4952 1.1 christos Fri May 1 12:11:02 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
4953 1.1 christos
4954 1.1 christos * hw-tree.h (hw_tree_print): Paramaterize with print and file
4955 1.1 christos arguments.
4956 1.1 christos * hw-tree.c: Update.
4957 1.1 christos
4958 1.1 christos * hw-base.h (hw_port_event_callback): Delete CPU/CIA args.
4959 1.1 christos * hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete
4960 1.1 christos CPU/CIA args.
4961 1.1 christos * hw-ports.h (hw_port_event): Ditto.
4962 1.1 christos * hw-ports.c (hw_port_event): Update.
4963 1.1 christos * hw-base.c (panic_hw_io_read_buffer, panic_hw_io_write_buffer):
4964 1.1 christos Update.
4965 1.1 christos * dv-pal.c (hw_pal_io_read_buffer, hw_pal_io_write_buffer):
4966 1.1 christos Update.
4967 1.1 christos (hw_pal_io_write_buffer): Call hw_halt not sim_engine_halt.
4968 1.1 christos (do_counter_event): Update.
4969 1.1 christos * dv-glue.c (hw_glue_io_read_buffer): Update.
4970 1.1 christos (hw_glue_port_event): Update.
4971 1.1 christos
4972 1.1 christos * hw-device.h (SIM_DESC): Replace with struct sim_state.
4973 1.1 christos * hw-base.h (hw_create): Ditto.
4974 1.1 christos * hw-base.c (hw_create): Ditto.
4975 1.1 christos
4976 1.1 christos * hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule,
4977 1.1 christos hw_event_queue_deschedule, hw_event_queue_time): Delete, moved
4978 1.1 christos from here to.
4979 1.1 christos * sim-hw.c: Here.
4980 1.1 christos * hw-device.h (hw_system_cpu): Declare.
4981 1.1 christos * sim-hw.c (hw_system_cpu): New function.
4982 1.1 christos
4983 1.1 christos * sim-core.c (sim_core_map_attach, sim_core_attach): Call
4984 1.1 christos sim_hw_abort not hw_abort.
4985 1.1 christos (sim-hw.h): Include.
4986 1.1 christos (sim_core_read_buffer, sim_core_write_buffer): Call
4987 1.1 christos sim_hw_io_read_buffer and sim_hw_io_write_buffer. Do not pass CPU
4988 1.1 christos argument.
4989 1.1 christos (sim_core_set_xor): Do not pass CPU when aborting.
4990 1.1 christos
4991 1.1 christos * sim-n-core.h (sim_core_read_aligned_N,
4992 1.1 christos sim_core_write_aligned_N): Call sim_hw_abort not hw_abort.
4993 1.1 christos (sim_core_read_aligned_N, sim_core_write_aligned_N): Call
4994 1.1 christos sim_cpu_hw_io_read_buffer and sim_cpu_hw_io_write_buffer. Does not
4995 1.1 christos return length.
4996 1.1 christos
4997 1.1 christos * sim-hw.h: Declare sim_hw_io_{read,write}_buffer. Declare
4998 1.1 christos sim_hw_print.
4999 1.1 christos * sim-hw.c (sim_hw_io_read_buffer, sim_hw_io_write_buffer,
5000 1.1 christos sim_cpu_hw_io_read_buffer, sim_cpu_hw_io_write_buffer): New
5001 1.1 christos functions.
5002 1.1 christos (sim_hw_print): New function.
5003 1.1 christos
5004 1.1 christos * sim-engine.h (sim_engine_vabort): Declare.
5005 1.1 christos * sim-engine.c (sim_engine_vabort): New function.
5006 1.1 christos
5007 1.1 christos Wed Apr 29 23:58:52 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5008 1.1 christos
5009 1.1 christos * sim-trace.c (print_data): For floating-point numbers trace raw
5010 1.1 christos hex value.
5011 1.1 christos (trace_result_fp2): New function.
5012 1.1 christos * sim-trace.h (trace_result_fp2): New declaration.
5013 1.1 christos (TRACE_FP_RESULT2): New macro.
5014 1.1 christos
5015 1.1 christos Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer (a] cygnus.com>
5016 1.1 christos
5017 1.1 christos * common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define
5018 1.1 christos AM_CYGWIN32 and AM_EXEEXT.
5019 1.1 christos * common/Make-common.in: set EXEEXT, add missing EXEEXTs
5020 1.1 christos to run and install-common rules.
5021 1.1 christos * common/configure: regenerate
5022 1.1 christos
5023 1.1 christos Sat Apr 25 17:45:01 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5024 1.1 christos
5025 1.1 christos * sim-types.h (cell_word): New type.
5026 1.1 christos (natural_cell): Delete type.
5027 1.1 christos
5028 1.1 christos Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
5029 1.1 christos
5030 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5031 1.1 christos * config.in: Ditto.
5032 1.1 christos
5033 1.1 christos Sun Apr 26 15:25:07 1998 Tom Tromey <tromey (a] cygnus.com>
5034 1.1 christos
5035 1.1 christos * acconfig.h (NEED_DECLARATION_PRINTF): Removed.
5036 1.1 christos
5037 1.1 christos Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
5038 1.1 christos
5039 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5040 1.1 christos * config.in: Ditto.
5041 1.1 christos
5042 1.1 christos Fri Apr 24 11:38:08 1998 Tom Tromey <tromey (a] cygnus.com>
5043 1.1 christos
5044 1.1 christos * acconfig.h: New file.
5045 1.1 christos * Make-common.in (top_builddir): New macro.
5046 1.1 christos (INTL_LIB): Removed.
5047 1.1 christos (INTLLIBS): New macro.
5048 1.1 christos (INTLDEPS): Likewise.
5049 1.1 christos (LIBDEPS): Use INTLDEPS.
5050 1.1 christos (EXTRA_LIBS): Use INTLLIBS.
5051 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT.
5052 1.1 christos (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST,
5053 1.1 christos AM_LC_MESSAGES): New macros from GNU gettext.
5054 1.1 christos
5055 1.1 christos Fri Apr 24 19:57:59 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5056 1.1 christos
5057 1.1 christos * sim-config.h: Discard leading _ from macros.
5058 1.1 christos * sim-types.h: Ditto.
5059 1.1 christos
5060 1.1 christos Wed Apr 22 14:14:19 1998 Michael Meissner <meissner (a] cygnus.com>
5061 1.1 christos
5062 1.1 christos * Make-common.in (CSEARCH): Add -I to intl directories.
5063 1.1 christos (INTL_LIB): Point to libintl.a.
5064 1.1 christos (LIBDEPS): Add $(INTL_LIB).
5065 1.1 christos (EXTRA_LIBS): Ditto.
5066 1.1 christos
5067 1.1 christos Tue Apr 21 12:44:27 1998 Doug Evans <devans (a] canuck.cygnus.com>
5068 1.1 christos
5069 1.1 christos * cgen-types.h (GETHIDI,MAKEDI): Tweak.
5070 1.1 christos
5071 1.1 christos * cgen-ops.h (ADDCFSI): Fix.
5072 1.1 christos (SUBCFSI): Tweak.
5073 1.1 christos
5074 1.1 christos Tue Apr 21 13:18:41 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5075 1.1 christos
5076 1.1 christos * sim-types.h (signed_address, unsigned_address): Define.
5077 1.1 christos
5078 1.1 christos Mon Apr 20 21:47:54 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5079 1.1 christos
5080 1.1 christos * sim-fpu.c (sim_fpu_2d): Don't return an SNaN, convert it into a
5081 1.1 christos QNaN.
5082 1.1 christos
5083 1.1 christos Thu Apr 16 10:30:14 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5084 1.1 christos
5085 1.1 christos * sim-fpu.c, sim-fpu.h (sim_fpu_fractionto, sim_fpu_tofraction):
5086 1.1 christos New functions, pack / unpack sim_fpu struct using raw values.
5087 1.1 christos (sim_fpu_is): Differentiate between negative and positive
5088 1.1 christos infinity.
5089 1.1 christos
5090 1.1 christos Tue Apr 14 18:49:31 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5091 1.1 christos
5092 1.1 christos * sim-bits.h (EXTEND4): Define.
5093 1.1 christos (EXTEND4, EXTEND15, EXTEND11): Ditto.
5094 1.1 christos
5095 1.1 christos Tue Apr 14 16:31:35 1998 John Metzler <jmetzler (a] cygnus.com>
5096 1.1 christos
5097 1.1 christos * sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol
5098 1.1 christos declared so we need this cast to prevent long long addresses
5099 1.1 christos from being misconfigures. Results in access to unmapped memory.
5100 1.1 christos
5101 1.1 christos Tue Apr 14 13:19:14 1998 Doug Evans <devans (a] canuck.cygnus.com>
5102 1.1 christos
5103 1.1 christos * Make-common.in (RUNTESTFLAGS): Define.
5104 1.1 christos (check): Pass RUNTESTFLAGS to recursive make.
5105 1.1 christos
5106 1.1 christos Tue Apr 14 15:09:19 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5107 1.1 christos
5108 1.1 christos * sim-info.c (sim_info): Be verbose when either VERBOSE or
5109 1.1 christos STATE_VERBOSE_P.
5110 1.1 christos
5111 1.1 christos Sat Apr 4 23:24:17 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5112 1.1 christos
5113 1.1 christos * aclocal.m4 (sim-inline): By default, disable sim-inline when
5114 1.1 christos cross compiling.
5115 1.1 christos
5116 1.1 christos Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5117 1.1 christos
5118 1.1 christos * aclocal.m4 (sim-cflags): Add -fomit-frame-pointer to defaults.
5119 1.1 christos (sim-inline): Update to match sim-inline.[hc]
5120 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5121 1.1 christos
5122 1.1 christos * Make-common.in (sim_main_headers): Add sim-inline.h
5123 1.1 christos
5124 1.1 christos * sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P.
5125 1.1 christos selected.
5126 1.1 christos * sim-endian.h (sim-endian.c): Ditto.
5127 1.1 christos
5128 1.1 christos * sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H.
5129 1.1 christos (sim_events_set_trace): Delete unused prototype.
5130 1.1 christos
5131 1.1 christos * sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H.
5132 1.1 christos * sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C.
5133 1.1 christos
5134 1.1 christos * sim-fpu.h (sim-fpu.c): Include when H_REVEALS_MODULE_P.
5135 1.1 christos (sim_fpu_to232i, sim_fpu_to232u, sim_fpu_i232to, sim_fpu_u232to):
5136 1.1 christos Comment out, not yet implemented in sim-fpu.c.
5137 1.1 christos (sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan,
5138 1.1 christos sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU.
5139 1.1 christos
5140 1.1 christos * sim-inline.h: Rewrite description.
5141 1.1 christos (H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define.
5142 1.1 christos (SIM_MAIN_INLINE): Add inline option.
5143 1.1 christos
5144 1.1 christos * sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not
5145 1.1 christos include generated files. Handled by generator directly.
5146 1.1 christos
5147 1.1 christos Sat Apr 4 01:07:06 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5148 1.1 christos
5149 1.1 christos * sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P
5150 1.1 christos up-to-date.
5151 1.1 christos
5152 1.1 christos * sim-trace.h (TRACE_ANY_P): Define.
5153 1.1 christos (struct _trace_data): Add trace_any_p.
5154 1.1 christos
5155 1.1 christos Mon Mar 30 17:11:55 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5156 1.1 christos
5157 1.1 christos * run.c (main): Handle all alternatives of enum sim_stop.
5158 1.1 christos (main): Delete unused `asection *s'.
5159 1.1 christos
5160 1.1 christos Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5161 1.1 christos
5162 1.1 christos * hw-tree.h, hw-tree.c (hw_tree_vparse): New function
5163 1.1 christos
5164 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5165 1.1 christos
5166 1.1 christos * sim-hw.c: New file.
5167 1.1 christos * sim-hw.h (sim_hw_parse): Declare function.
5168 1.1 christos (hw-tree.h): Do not include.
5169 1.1 christos
5170 1.1 christos * sim-base.h (STATE_HW): Define.
5171 1.1 christos (struct sim_state_base): Add member struct *hw.
5172 1.1 christos
5173 1.1 christos * sim-module.c (sim-hw.h): Include.
5174 1.1 christos (modules): Add sim_hw_install.
5175 1.1 christos
5176 1.1 christos * aclocal.m4 (sim_hw_obj): Add sim-hw.o
5177 1.1 christos
5178 1.1 christos Fri Mar 27 14:55:06 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5179 1.1 christos
5180 1.1 christos * sim-base.h (CPU_INDEX): Define.
5181 1.1 christos
5182 1.1 christos * sim-utils.c (sim_state_alloc): Initialize.
5183 1.1 christos * sim-module.c (sim_post_argv_init): Ditto.
5184 1.1 christos
5185 1.1 christos Thu Mar 26 10:07:57 1998 Stu Grossman <grossman (a] bhuna.cygnus.co.uk>
5186 1.1 christos
5187 1.1 christos * aclocal.m4 (sim_hw_obj): Fix sed expression to generate
5188 1.1 christos properly formatted lists.
5189 1.1 christos
5190 1.1 christos Thu Mar 26 10:37:22 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5191 1.1 christos
5192 1.1 christos * dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was
5193 1.1 christos 0x2f needs to be 0x3f.
5194 1.1 christos
5195 1.1 christos Thu Mar 26 09:10:56 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5196 1.1 christos
5197 1.1 christos * hw-tree.c (hw_tree_find_property): Return NULL when device is
5198 1.1 christos not found.
5199 1.1 christos (hw_tree_find_*_property): Clean up error message when property is
5200 1.1 christos not found.
5201 1.1 christos
5202 1.1 christos * dv-pal.c (hw_pal_io_read_buffer): Check the smp property is
5203 1.1 christos present before looking for it.
5204 1.1 christos
5205 1.1 christos Wed Mar 25 16:17:38 1998 Ian Carmichael <iancarm (a] cygnus.com>
5206 1.1 christos
5207 1.1 christos * aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h.
5208 1.1 christos (AC_CHECK_FUNCS): Add check for __setfpucw.
5209 1.1 christos * configure: Regenerated.
5210 1.1 christos
5211 1.1 christos Wed Mar 25 09:18:34 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5212 1.1 christos
5213 1.1 christos * dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
5214 1.1 christos hw_pal_timer, hw_pal_timer_value): Define.
5215 1.1 christos (hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
5216 1.1 christos (do_counter_event, do_counter_read, do_counter_value,
5217 1.1 christos do_counter_write): new functions.
5218 1.1 christos
5219 1.1 christos Tue Mar 24 12:24:24 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5220 1.1 christos
5221 1.1 christos * hw-tree.c (hw_printf): Send tree dump to stderr, same as other
5222 1.1 christos trace output.
5223 1.1 christos
5224 1.1 christos * hw-base.c (hw_create): Stop searching for a device when one is
5225 1.1 christos found.
5226 1.1 christos
5227 1.1 christos Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5228 1.1 christos
5229 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5230 1.1 christos
5231 1.1 christos Mon Mar 23 10:25:08 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5232 1.1 christos
5233 1.1 christos * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add second argument,
5234 1.1 christos appends extra devices.
5235 1.1 christos (SIM_AC_OPTION_HARDWARE): Substute sim_hw, a non-duplicate list of
5236 1.1 christos the device names.
5237 1.1 christos
5238 1.1 christos * Make-common.in (hw-config.h): New target, create hw-config.h
5239 1.1 christos file.
5240 1.1 christos (SIM_HW): Definition from @sim_hw@.
5241 1.1 christos (hw-base.o): Depend on hw-config.h
5242 1.1 christos
5243 1.1 christos Tue Mar 24 17:41:35 1998 Stu Grossman <grossman (a] bhuna.cygnus.co.uk>
5244 1.1 christos
5245 1.1 christos * Make-common.in: Get SHELL from configure.
5246 1.1 christos * (stamp-tvals sim-inline.c): Use $(SHELL) when invoking
5247 1.1 christos move-if-change. Fixes NT native build problem.
5248 1.1 christos * Makefile.in (nltvals.def): Use $(SHELL) when invoking
5249 1.1 christos move-if-change. Fixes NT native build problem.
5250 1.1 christos * configure: Regenerate with autoconf 2.12.1 to fix shell issues for
5251 1.1 christos NT native builds.
5252 1.1 christos
5253 1.1 christos Sun Mar 22 16:54:40 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5254 1.1 christos
5255 1.1 christos * hw-device.h, hw-device.c (hw_strdup): New function.
5256 1.1 christos
5257 1.1 christos * hw-base.c (hw_create): Use hw_strdup when saving a copy of the
5258 1.1 christos strings name, family and args.
5259 1.1 christos (full_name_of_hw): Use hw_strdup when returning the full path.
5260 1.1 christos
5261 1.1 christos * hw-properties.c: Clean up property not found / wrong type error
5262 1.1 christos messages.
5263 1.1 christos
5264 1.1 christos * hw-tree.c (hw_tree_parse): Finish a devices initialization
5265 1.1 christos before attaching any ports.
5266 1.1 christos
5267 1.1 christos * hw-base.c (hw-config.): Include. Replace hardwired table.
5268 1.1 christos
5269 1.1 christos * dv-glue.c: Copy over ../ppc/hw_glue.c. Update to new framework.
5270 1.1 christos
5271 1.1 christos * Make-common.in: Add rule for dv-glue.o.
5272 1.1 christos
5273 1.1 christos Sun Mar 22 16:45:54 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5274 1.1 christos
5275 1.1 christos * hw-base.c (hw_finish): Move setting of trace level to here.
5276 1.1 christos (hw_create): From here.
5277 1.1 christos
5278 1.1 christos * hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from
5279 1.1 christos ../ppc/device_table.c.
5280 1.1 christos
5281 1.1 christos * dv-pal.c (hw_pal_finish): Attach PAL device to parent bus.
5282 1.1 christos
5283 1.1 christos * hw-tree.c (print_properties): Supress path when printing
5284 1.1 christos properties of root node.
5285 1.1 christos
5286 1.1 christos Sun Mar 22 16:21:15 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5287 1.1 christos
5288 1.1 christos * hw-device.h (HW_TRACE): Define.
5289 1.1 christos (hw_trace): Declare.
5290 1.1 christos * hw-device.c (hw_trace): Implement function.
5291 1.1 christos
5292 1.1 christos * hw-base.c (hw_create): Set hw trace level from "trace?"
5293 1.1 christos property.
5294 1.1 christos
5295 1.1 christos * dv-core.c (dv_core_attach_address_callback): Add trace.
5296 1.1 christos
5297 1.1 christos * dv-pal.c: Replace DTRACE with HW_TRACE.
5298 1.1 christos
5299 1.1 christos Sun Mar 22 15:23:35 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5300 1.1 christos
5301 1.1 christos * hw-device.h (HW_ZALLOC, HW_MALLOC): New macros.
5302 1.1 christos (hw_alloc_data): Delcare.
5303 1.1 christos (struct hw): Add member alloc_of_hw.
5304 1.1 christos
5305 1.1 christos * hw-device.c (hw_zalloc, hw_malloc, hw_free, hw_free_all): New
5306 1.1 christos functions. Assocate memory with a device.
5307 1.1 christos (stdlib.h): Include.
5308 1.1 christos
5309 1.1 christos * hw-base.h (set_hw_delete): Define.
5310 1.1 christos (hw_delete_callback): Declare.
5311 1.1 christos (hw_delete): Declare.
5312 1.1 christos
5313 1.1 christos * hw-base.c (hw_delete): Implement function.
5314 1.1 christos (struct hw_base_data): Add member to_delete.
5315 1.1 christos (ignore_hw_delete): New function, does nothing.
5316 1.1 christos (hw_create): Set the hw_delete method.
5317 1.1 christos (hw_create): Allocate the base type using HW_ZALLOC before setting
5318 1.1 christos any methods.
5319 1.1 christos
5320 1.1 christos * hw-tree.h, hw-tree.c (hw_tree_delete): New function.
5321 1.1 christos
5322 1.1 christos * hw-properties.c: Replace zalloc/zfree with hw_zalloc/hw_free.
5323 1.1 christos
5324 1.1 christos * hw-ports.c: Replace zalloc/zfree with hw_zalloc/hw_free.
5325 1.1 christos (attach_hw_port_edge): Add struct hw argument
5326 1.1 christos
5327 1.1 christos * dv-pal.c (hw_pal_finish): Replace zalloc/zfree with
5328 1.1 christos hw_zalloc/hw_free.
5329 1.1 christos
5330 1.1 christos Sun Mar 22 15:09:52 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5331 1.1 christos
5332 1.1 christos * hw-device.h (hw_attach_address_callback,
5333 1.1 christos hw_detach_address_callback): Attach to a single space not a space
5334 1.1 christos mask. Clarify interpretation of SPACE:ADDR parameters.
5335 1.1 christos
5336 1.1 christos * hw-base.c (passthrough_hw_attach_address,
5337 1.1 christos passthrough_hw_detach_address): Update.
5338 1.1 christos * dv-core.c (dv_core_attach_address_callback): Ditto.
5339 1.1 christos * dv-pal.c (hw_pal_attach_address): Ditto.
5340 1.1 christos
5341 1.1 christos Thu Mar 19 00:41:00 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5342 1.1 christos
5343 1.1 christos * sim-options.h: Document additional CPU arg to OPTION_HANDLER.
5344 1.1 christos
5345 1.1 christos Wed Mar 18 14:13:02 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5346 1.1 christos
5347 1.1 christos * Make-common.in (SIM_HW_OBJS, SIM_HW_SRC, SIM_DV_OBJS): Define.
5348 1.1 christos (hw-base_h, hw-device_h, hw-handles_h, hw-instances_h, hw_ports_h,
5349 1.1 christos hw-properties_h, hw-tree_h): Define, point at corresponding
5350 1.1 christos header.
5351 1.1 christos (hw_base_headers): Define list of headers included by hw-base.h
5352 1.1 christos (hw-base.o, hw-device.o, hw-instances.o, hw-handles.o, hw-ports.o,
5353 1.1 christos hw-properties.o, hw-tree.o): Specify dependencies.
5354 1.1 christos (dv-core.o, dv-pal.o): Ditto.
5355 1.1 christos
5356 1.1 christos * sim-hw.h: New file.
5357 1.1 christos
5358 1.1 christos * hw-device.h, hw-device.c, hw-properties.h, hw-properties.c,
5359 1.1 christos hw-ports.h, hw-ports.c: New files. Copied from ../ppc/device.[ch].
5360 1.1 christos
5361 1.1 christos * hw-tree.h, hw-tree.c: New files. Copied from ../ppc/tree.[hc].
5362 1.1 christos
5363 1.1 christos * hw-base.h, hw-base.c: new files. Copied from
5364 1.1 christos ../ppc/device_table.[hc].
5365 1.1 christos
5366 1.1 christos * dv-core.c, dv-pal.c: New files. Copied from
5367 1.1 christos ../ppc/hw_{core,pal}.c
5368 1.1 christos
5369 1.1 christos * sim-basics.h (struct hw): Declare.
5370 1.1 christos (enum port_direction, enum object_disposition): Declare.
5371 1.1 christos
5372 1.1 christos Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5373 1.1 christos
5374 1.1 christos * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
5375 1.1 christos sim_dv_src in Makefile. Take list of devices as parameter to m4
5376 1.1 christos macro..
5377 1.1 christos
5378 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5379 1.1 christos
5380 1.1 christos Mon Mar 16 12:37:33 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5381 1.1 christos
5382 1.1 christos * sim-trace.h, sim-trace.c (trace_prefix): Pass in sim_cia so that
5383 1.1 christos trace_prefix can abort cleanly.
5384 1.1 christos
5385 1.1 christos Sat Mar 14 18:36:12 1998 Doug Evans <devans (a] seba.cygnus.com>
5386 1.1 christos
5387 1.1 christos * dv-sockser.c, dv-sockser.h: New files.
5388 1.1 christos * Make-common.in (dv-sockser.o): Add rule for.
5389 1.1 christos * aclocal.m4: Check for fcntl.h.
5390 1.1 christos * config.h: Add HAVE_FCNTL_H.
5391 1.1 christos
5392 1.1 christos * sim-break.c (remove_breakpoint): Fix thinko.
5393 1.1 christos
5394 1.1 christos * sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
5395 1.1 christos Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
5396 1.1 christos
5397 1.1 christos 1998-03-13 Fred Fish <fnf (a] cygnus.com>
5398 1.1 christos
5399 1.1 christos * sim-base.h (struct sim_state_base): Add prog_syms and
5400 1.1 christos define macro STATE_PROG_SYMS.
5401 1.1 christos * sim-trace.c (trace_prefix): Add variables abfd, symsize,
5402 1.1 christos symbol_count, and asymbols. Call bfd_get_symtab_upper_bound
5403 1.1 christos and bfd_canonicalize_symtab, to get symbol table on first use
5404 1.1 christos and preserve it via STATE_PROG_SYMS for future calls to
5405 1.1 christos bfd_find_nearest_line.
5406 1.1 christos
5407 1.1 christos Wed Mar 11 14:02:47 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5408 1.1 christos
5409 1.1 christos * sim-core.h, sim-core.c (sim_core_map_to_str): Delete.
5410 1.1 christos
5411 1.1 christos * sim-core.c (sim_core_attach): Handle a generic number of maps -
5412 1.1 christos up to nr_maps, not just access_* maps.
5413 1.1 christos
5414 1.1 christos * sim-profile.h (struct PROFILE_DATA): Track nr_maps different
5415 1.1 christos maps.
5416 1.1 christos
5417 1.1 christos * sim-profile.c (profile_print_core): Make map unsigned. Iterate
5418 1.1 christos over nr_maps not sim_core_nr_maps.
5419 1.1 christos
5420 1.1 christos * sim-events.h, sim-events.c (sim_events_watch_core): Change
5421 1.1 christos core_map argument to unsigned.
5422 1.1 christos (struct _sim_core): Ditto for struct member core_map.
5423 1.1 christos
5424 1.1 christos * sim-core.h (nr_sim_core_maps, sim_core_*_map): Delete
5425 1.1 christos
5426 1.1 christos * sim-basics.h (access_io, access_*_io): Define.
5427 1.1 christos (map_read, map_write, map_exec, map_io): Define.
5428 1.1 christos
5429 1.1 christos * sim-core.c, sim-core.h (sim_core_attach): Replace argument
5430 1.1 christos attach with more generic mapmask.
5431 1.1 christos (sim_core_{read,write}_*): Change map argument to unsigned.
5432 1.1 christos
5433 1.1 christos * sim-core.c (sim_core_uninstall, sim_core_attach,
5434 1.1 christos sim_core_detach): Iterate over nr_maps instead of
5435 1.1 christos sim_core_nr_maps.
5436 1.1 christos
5437 1.1 christos * sim-break.c (insert_breakpoint): Write breakpoints to exec_map
5438 1.1 christos instead of the write_map.
5439 1.1 christos (remove_breakpoint): Ditto.
5440 1.1 christos
5441 1.1 christos * genmloop.sh (engine_resume_full): Replace sim_core_*_map
5442 1.1 christos with read_map, write_map, exec_map resp.
5443 1.1 christos
5444 1.1 christos * cgen-mem.h (DECLARE_GETMEM, DECLARE_SETMEM, DECLARE_GETIMEM):
5445 1.1 christos Ditto.
5446 1.1 christos
5447 1.1 christos * cgen-utils.c (sim_disassemble_insn): Ditto.
5448 1.1 christos
5449 1.1 christos * sim-hrw.c (sim_write, sim_write): Ditto.
5450 1.1 christos
5451 1.1 christos * sim-utils.h, sim-utils.c (access_to_str, map_to_str,
5452 1.1 christos transfer_to_str): New functions.
5453 1.1 christos
5454 1.1 christos Mon Mar 9 12:50:59 1998 Doug Evans <devans (a] seba.cygnus.com>
5455 1.1 christos
5456 1.1 christos * sim-base.h (sim_state_base): New member environment.
5457 1.1 christos (STATE_ENVIRONMENT): New macro.
5458 1.1 christos * sim-config.c (current_environment): Delete.
5459 1.1 christos (sim_config_default): New function.
5460 1.1 christos (sim_config): Set STATE_ENVIRONMENT, not current_environment.
5461 1.1 christos * sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
5462 1.1 christos (sim_config_default): Add prototype.
5463 1.1 christos * sim-module.c (sim_pre_argv_init): Call sim_config_default.
5464 1.1 christos * sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
5465 1.1 christos Set STATE_ENVIRONMENT, not current_environment.
5466 1.1 christos
5467 1.1 christos Mon Mar 9 11:59:03 1998 Jim Wilson <wilson (a] cygnus.com>
5468 1.1 christos
5469 1.1 christos * sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
5470 1.1 christos
5471 1.1 christos Tue Mar 3 10:53:05 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5472 1.1 christos
5473 1.1 christos * sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
5474 1.1 christos
5475 1.1 christos * sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.
5476 1.1 christos
5477 1.1 christos Mon Mar 2 10:20:06 1998 Doug Evans <devans (a] seba.cygnus.com>
5478 1.1 christos
5479 1.1 christos * Make-common.in (TAGS): Make smarter.
5480 1.1 christos * Makefile.in (TAGS): Ditto.
5481 1.1 christos
5482 1.1 christos Fri Feb 27 19:09:57 1998 Doug Evans <devans (a] canuck.cygnus.com>
5483 1.1 christos
5484 1.1 christos * sim-module.c (*): Fix typos in assertion tests.
5485 1.1 christos
5486 1.1 christos Sat Feb 28 13:54:10 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5487 1.1 christos
5488 1.1 christos * sim-module.c (sim_pre_argv_init): String passed to asprintf
5489 1.1 christos can't be constant.
5490 1.1 christos
5491 1.1 christos * sim-options.c (sim_parse_args): Ditto.
5492 1.1 christos (sim_args_command): Return OK, instead of nothing, for an empty
5493 1.1 christos command.
5494 1.1 christos
5495 1.1 christos Fri Feb 27 13:29:13 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5496 1.1 christos
5497 1.1 christos * sim-profile.c (profile_info): Rename from profile_print. Drop
5498 1.1 christos misc and misc_cpu callback arguments. Use
5499 1.1 christos PROFILE_INFO_CPU_CALLBACK and STATE_PROFILE_INFO_CALLBACK instead.
5500 1.1 christos (profile_install): Install profile_info function.
5501 1.1 christos
5502 1.1 christos * sim-profile.h (PROFILE_INFO_CPU_CALLBACK,
5503 1.1 christos STATE_PROFILE_INFO_CALLBACK): Define.
5504 1.1 christos (struct PROFILE_DATA): Add field info_cpu_callback.
5505 1.1 christos (profile_print): Delete function.
5506 1.1 christos
5507 1.1 christos * sim-base.h (STATE_MODULES): Define. Replace individual
5508 1.1 christos STATE_*_LIST with single struct module_list.
5509 1.1 christos
5510 1.1 christos * sim-module.h (MODULE_INFO_FN, MODULE_INFO_LIST): Declare.
5511 1.1 christos (struct module_list): Declare.
5512 1.1 christos
5513 1.1 christos * sim-module.h, sim-module.c (sim_module_add_info_fn,
5514 1.1 christos sim_module_info): New functions.
5515 1.1 christos (sim_module_install): Clean up module data structures.
5516 1.1 christos
5517 1.1 christos * sim-info.c (sim_info): New file. New function. Call
5518 1.1 christos sim_module_info.
5519 1.1 christos
5520 1.1 christos * Make-common.in (sim-info.o): Define rule.
5521 1.1 christos (SIM_NEW_COMMON_OBJS): Add sim-info.o.
5522 1.1 christos
5523 1.1 christos
5524 1.1 christos Fri Feb 27 18:26:16 1998 Doug Evans <devans (a] canuck.cygnus.com>
5525 1.1 christos
5526 1.1 christos * sim-base.h (sim_cpu_base): New members name, options.
5527 1.1 christos (sim_cpu_lookup): Add prototype.
5528 1.1 christos * sim-module.c (sim_pre_argv_init): Provide default names for cpus.
5529 1.1 christos * sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
5530 1.1 christos (sim_add_option_table): Update prototype.
5531 1.1 christos * sim-options.c (sim_add_option_table): New argument `cpu'.
5532 1.1 christos (standard_option_handler,standard_install): Update.
5533 1.1 christos (sim_parse_args): Handle cpu specific options.
5534 1.1 christos (print_help): New static function.
5535 1.1 christos (sim_print_help): Call it. Print cpu specific options.
5536 1.1 christos (find_match): New static function.
5537 1.1 christos (sim_args_command): Call it. Handle cpu specific options.
5538 1.1 christos * sim-utils.c (sim_cpu_lookup): New function.
5539 1.1 christos * sim-memopt.c (memory_option_handler): Update.
5540 1.1 christos (sim_memopt_install): Update.
5541 1.1 christos * sim-model.c (model_option_handler): Update.
5542 1.1 christos (model_install): Update.
5543 1.1 christos * sim-profile.c (profile_option_handler): Update.
5544 1.1 christos (profile_install): Update.
5545 1.1 christos * sim-trace.c (trace_option_handler): Update.
5546 1.1 christos (trace_install): Update.
5547 1.1 christos * sim-watch.c (watchpoint_option_handler): Update.
5548 1.1 christos (sim_watchpoint_install): Update.
5549 1.1 christos * cgen-scache.c (scache_option_handler): Update.
5550 1.1 christos (scache_install): Update.
5551 1.1 christos
5552 1.1 christos Wed Feb 25 11:00:26 1998 Doug Evans <devans (a] canuck.cygnus.com>
5553 1.1 christos
5554 1.1 christos * Make-common.in (check): Run `make check' in testsuite dir.
5555 1.1 christos
5556 1.1 christos Wed Feb 25 14:40:24 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5557 1.1 christos
5558 1.1 christos * sim-trace.c (trace_result0): New function.
5559 1.1 christos
5560 1.1 christos * sim-trace.h (TRACE_FP_*, TRACE_FPU_*): Rename TRACE_FPU_*
5561 1.1 christos macro's to TRACE_FP_*. TRACE_FPU_* should be defined and used when
5562 1.1 christos tracing sim_fpu variables.
5563 1.1 christos (TRACE_ALU_RESULT0): Define.
5564 1.1 christos (TRACE_FP_RESULT_WORD): Define.
5565 1.1 christos (TRACE_FP_INPUT_WORD1): Define.
5566 1.1 christos
5567 1.1 christos * sim-fpu.c, sim-fpu.h (sim_fpu_max32, sim_fpu_max64, sim_fpu_one,
5568 1.1 christos sim_fpu_two): New constants.
5569 1.1 christos (sim_fpu_op1, sim_fpu_op2): New types.
5570 1.1 christos (struct _sim_fpu): Delete member result. Re-order other members.
5571 1.1 christos (sim_fpu_sign, sim_fpu_exp): New functions.
5572 1.1 christos (sim_fpu_max, sim_fpu_min): new functions.
5573 1.1 christos (EXPMAX32, EXPMAX64, NR_PAD32, NR_PAD64, NR_GUARDS32, NR_GUARDS64,
5574 1.1 christos NORMAL_EXPMAX32, NORMAL_EXPMAX64): Define.
5575 1.1 christos
5576 1.1 christos Tue Feb 24 22:45:39 1998 Doug Evans <devans (a] seba.cygnus.com>
5577 1.1 christos
5578 1.1 christos * sim-profile.c (profile_print): Delete duplicate test of
5579 1.1 christos PROFILE_INSN_IDX.
5580 1.1 christos (profile_print_pc): Exit early if data collection not set up.
5581 1.1 christos (profile_print_core): Simplify by calling sim_core_map_to_str.
5582 1.1 christos * sim-core.h (sim_core_map_to_str): Declare.
5583 1.1 christos * sim-core.c (sim_core_map_to_str): Make non-static.
5584 1.1 christos
5585 1.1 christos * genmloop.sh (engine_resume): Update insn_count before exiting.
5586 1.1 christos (engine_resume_full): Keep accurate core profile data.
5587 1.1 christos
5588 1.1 christos * cgen-utils.c (sim_disassemble_insn): Don't use
5589 1.1 christos sim_core_read_aligned_N, it messes up profiling results.
5590 1.1 christos
5591 1.1 christos Mon Feb 23 20:45:57 1998 Mark Alexander <marka (a] cygnus.com>
5592 1.1 christos
5593 1.1 christos * nltvals.def: Regenerate with MN10300 additions.
5594 1.1 christos
5595 1.1 christos Tue Feb 24 13:18:42 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5596 1.1 christos
5597 1.1 christos * sim-trace.h (TRACE_ALU_RESULT2): Define.
5598 1.1 christos
5599 1.1 christos * sim-trace.h, sim-trace.c (trace_result_word2,
5600 1.1 christos trace_input_word4, trace_result_word4): New function.
5601 1.1 christos
5602 1.1 christos Mon Feb 23 13:08:35 1998 Doug Evans <devans (a] canuck.cygnus.com>
5603 1.1 christos
5604 1.1 christos * cgen-sim.h (SEM_NEXT_PC): New arg `len'.
5605 1.1 christos
5606 1.1 christos * sim-xcat.h: Delete.
5607 1.1 christos * cgen-mem.h: Delete inclusion of sim-xcat.h.
5608 1.1 christos * cgen-sim.h: Ditto.
5609 1.1 christos * sim-alu.h: Replace sim-xcat.h with symcat.h.
5610 1.1 christos * sim-n-bits.h: Ditto.
5611 1.1 christos * sim-n-core.h: Ditto.
5612 1.1 christos * sim-n-endian.h: Ditto.
5613 1.1 christos
5614 1.1 christos Mon Feb 23 13:19:58 1998 Michael Meissner <meissner (a] cygnus.com>
5615 1.1 christos
5616 1.1 christos * syscall.c (cb_syscall): Handle short reads, and EOF.
5617 1.1 christos
5618 1.1 christos Tue Feb 24 00:29:57 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5619 1.1 christos
5620 1.1 christos * sim-trace.c (print_data): case trace_fmt_fp missing break. Use
5621 1.1 christos sim_fpu to safely print fp_word values.
5622 1.1 christos (print_data): Add trace_fmt_bool and trace_fmt_addr.
5623 1.1 christos (trace_result_bool1, trace_result_addr1): New functions.
5624 1.1 christos (trace_input_bool1, trace_input_addr1): New functions.
5625 1.1 christos
5626 1.1 christos * sim-trace.h (TRACE_FPU_*): Define.
5627 1.1 christos
5628 1.1 christos Mon Feb 23 13:24:54 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5629 1.1 christos
5630 1.1 christos * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
5631 1.1 christos (sim_fpu_fpto, sim_fpu_tofp): Define.
5632 1.1 christos
5633 1.1 christos Fri Feb 20 18:08:51 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5634 1.1 christos
5635 1.1 christos * sim-fpu.c (sim_fpu_cmp): New function.
5636 1.1 christos
5637 1.1 christos Wed Feb 18 16:29:21 1998 Doug Evans <devans (a] canuck.cygnus.com>
5638 1.1 christos
5639 1.1 christos * cgen-utils.h (sim_disassemble_insn): Use CGEN_INSN_BITSIZE
5640 1.1 christos instead of abuf->length.
5641 1.1 christos * sim-trace.c (trace_options): Have -t only trace a few useful things.
5642 1.1 christos (set_trace_option_mask): Renamed from set_trace_options.
5643 1.1 christos (set_trace_option): New function.
5644 1.1 christos (trace_option_handler): Update calls to set_trace_option{,_mask}.
5645 1.1 christos * sim-trace.h (TRACE_USEFUL_MASK): New macro.
5646 1.1 christos
5647 1.1 christos Wed Feb 18 12:42:15 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5648 1.1 christos
5649 1.1 christos * sim-basics.h: Declare struct _sim_fpu.
5650 1.1 christos
5651 1.1 christos Tue Feb 17 16:27:46 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5652 1.1 christos
5653 1.1 christos * sim-trace.h (TRACE_ALU_INPUT*, TRACE_ALU_RESULT): Define.
5654 1.1 christos (trace_prefix, trace_input*, trace_result*): Declare.
5655 1.1 christos (trace_one_insn): Change declaration, assume trace_prefix called.
5656 1.1 christos (trace_generic): Like trace_one_insn.
5657 1.1 christos (TRACE_ALU_IDX, TRACE_*_IDX): Change #define's to enum.
5658 1.1 christos (TRACE_alu, TRACE_[a-z]*): Update.
5659 1.1 christos
5660 1.1 christos * sim-trace.c (trace_prefix, trace_input*, trace_result*,
5661 1.1 christos trace_insn, save_data, trace_idx_to_str, print_data): New
5662 1.1 christos functions.
5663 1.1 christos (trace_one_insn): Rewrite.
5664 1.1 christos (trace_generic): New function.
5665 1.1 christos
5666 1.1 christos Tue Feb 17 17:27:30 1998 Doug Evans <devans (a] seba.cygnus.com>
5667 1.1 christos
5668 1.1 christos * aclocal.m4 (USE_MAINTAINER_MODE): New variable.
5669 1.1 christos
5670 1.1 christos * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
5671 1.1 christos (SEMANTIC_FN): Rewrite declaration.
5672 1.1 christos (DECODE): Update type of semantic_fast member.
5673 1.1 christos ({EX,SEM}_FN_NAME): Have only one version.
5674 1.1 christos * sim-base.h (sim_state_base): Delete conditionals surrounding
5675 1.1 christos member scache_size.
5676 1.1 christos
5677 1.1 christos Tue Feb 10 18:31:49 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5678 1.1 christos
5679 1.1 christos * sim-load.c (sim_load_file): Print LMA/VMA according to value
5680 1.1 christos used.
5681 1.1 christos
5682 1.1 christos Tue Feb 10 14:56:23 1998 Ian Carmichael <iancarm (a] cygnus.com>
5683 1.1 christos
5684 1.1 christos * sim-core.c: Add missing prototypes for WITH_DEVICES.
5685 1.1 christos Add missing parameters to device_io calls.
5686 1.1 christos * sim-core.h: Add missing parameters to device_io calls.
5687 1.1 christos
5688 1.1 christos Mon Feb 9 14:48:37 1998 Doug Evans <devans (a] canuck.cygnus.com>
5689 1.1 christos
5690 1.1 christos * cgen-sim.h (DECODE): Always use switch for `read' for now.
5691 1.1 christos (PAREXEC): Renamed from PARALLEL_EXEC. All uses updated.
5692 1.1 christos (SEMANTIC{,_CACHE}_FN): Fix return type.
5693 1.1 christos * genmloop.sh (@cpu@_engine_run): Delete `current_state'.
5694 1.1 christos (engine_resume): Likewise. Make `engine' volatile. Save copy
5695 1.1 christos of cpu pointer in volatile object. Initialize read switch if
5696 1.1 christos -parallel.
5697 1.1 christos
5698 1.1 christos Thu Feb 5 13:27:04 1998 Doug Evans <devans (a] seba.cygnus.com>
5699 1.1 christos
5700 1.1 christos * cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
5701 1.1 christos (SEM_INSN): New macro.
5702 1.1 christos
5703 1.1 christos Tue Feb 3 16:31:56 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5704 1.1 christos
5705 1.1 christos * sim-run.c (sim_engine_run): Assume IMEM is 32 bit.
5706 1.1 christos
5707 1.1 christos Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5708 1.1 christos
5709 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5710 1.1 christos
5711 1.1 christos Sun Feb 1 16:16:57 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5712 1.1 christos
5713 1.1 christos * sim-types.h (fp_word): New type, define according to
5714 1.1 christos WITH_TARGET_FLOATING_POINT_BITSIZE.
5715 1.1 christos
5716 1.1 christos * aclocal.m4 (default_sim_floating_point_bitsize): Add
5717 1.1 christos configuration of size of floating point registers.
5718 1.1 christos
5719 1.1 christos Sun Feb 1 14:02:31 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5720 1.1 christos
5721 1.1 christos * sim-profile.c (profile_print): Only print CPU <N> if other
5722 1.1 christos output is going to appear.
5723 1.1 christos
5724 1.1 christos Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5725 1.1 christos
5726 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5727 1.1 christos
5728 1.1 christos Sat Jan 31 18:03:55 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5729 1.1 christos
5730 1.1 christos * sim-types.h (address_word): Typedef according to
5731 1.1 christos WITH_TARGET_ADDRESS_BITSIZE.
5732 1.1 christos (signed_cell, unsigned_cell, natural_cell): Ditto using
5733 1.1 christos WITH_TARGET_CELL_BITSIZE.
5734 1.1 christos
5735 1.1 christos * sim-config.h (WITH_TARGET_ADDRESS_BITSIZE): Define.
5736 1.1 christos (WITH_TARGET_CELL_BITSIZE): Define.
5737 1.1 christos (WITH_HOST_WORD_BITSIZE): Delete.
5738 1.1 christos
5739 1.1 christos * sim-config.c (print_sim_config): Update.
5740 1.1 christos
5741 1.1 christos * aclocal.m4 (SIM_AC_OPTION_BITSIZE): Add support for
5742 1.1 christos configuration of address and OpenFirmware cell sizes.
5743 1.1 christos
5744 1.1 christos Fri Jan 30 09:36:33 1998 Andrew Cagney <cagney (a] b1.cygnus.com>
5745 1.1 christos
5746 1.1 christos * sim-engine.h (sim_engine_run): Add argument nr_cpus.
5747 1.1 christos * sim-run.c (sim_engine_run): Update.
5748 1.1 christos
5749 1.1 christos * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use SET_CPU_CIA instead of
5750 1.1 christos CPU_CIA.
5751 1.1 christos * sim-run.c (sim_engine_run): Ditto.
5752 1.1 christos
5753 1.1 christos * sim-resume.c (sim_resume): Obtain nr_cpus from sim_engine.
5754 1.1 christos (sim_resume): Pass nr_cpus to sim_engine_run.
5755 1.1 christos
5756 1.1 christos * sim-engine.h (struct _sim_engine): Add member nr_cpus.
5757 1.1 christos
5758 1.1 christos * sim-engine.c (sim_engine_init): Hardwire nr_cpus to
5759 1.1 christos MAX_NR_PROCESSORS.
5760 1.1 christos (sim_engine_nr_cpus) sim-engine.c, sim-engine.h: New function
5761 1.1 christos
5762 1.1 christos Fri Jan 23 14:20:54 1998 Doug Evans <devans (a] seba.cygnus.com>
5763 1.1 christos
5764 1.1 christos * Make-common.in (stamp-tvals): New rule.
5765 1.1 christos (targ-vals.h,targ-map.c): Depend on it.
5766 1.1 christos (clean): Remove stamp-tvals.
5767 1.1 christos
5768 1.1 christos Tue Jan 20 21:35:13 1998 Michael Meissner <meissner (a] cygnus.com>
5769 1.1 christos
5770 1.1 christos * sim-utils.c (sim_state_alloc): #if 0 variable that is only used
5771 1.1 christos in code also #if 0'ed.
5772 1.1 christos
5773 1.1 christos Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
5774 1.1 christos
5775 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5776 1.1 christos * aclocal.m4: Recognize --enable-maintainer-mode.
5777 1.1 christos
5778 1.1 christos Mon Jan 19 12:45:45 1998 Doug Evans <devans (a] seba.cygnus.com>
5779 1.1 christos
5780 1.1 christos * cgen-scache.h: Deleted.
5781 1.1 christos * Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.
5782 1.1 christos * cgen-scache.c: Only compile contents if WITH_SCACHE.
5783 1.1 christos (scache_init): Use runtime computed size of SCACHE.
5784 1.1 christos (scache_flush): Likewise.
5785 1.1 christos * cgen-mem.h (GETIMEMU[QHSD]I): Declare.
5786 1.1 christos ([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare.
5787 1.1 christos * cgen-sim.h: Scache support moved here.
5788 1.1 christos (PC): Redo definition.
5789 1.1 christos (ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls.
5790 1.1 christos (DECODE): Add parallel execution support.
5791 1.1 christos Only include semantic label members if using switch.
5792 1.1 christos (SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support.
5793 1.1 christos (CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf.
5794 1.1 christos (IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF,
5795 1.1 christos SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here
5796 1.1 christos from cgen-types.h.
5797 1.1 christos (engine_{stop,run,resume,halt,signal}): Delete decls.
5798 1.1 christos * cgen-types.h (CGEN_{XCAT3,CAT3}): Delete.
5799 1.1 christos (argbuf,scache): Delete forward decls.
5800 1.1 christos (STATE): Delete decl.
5801 1.1 christos * cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h.
5802 1.1 christos Include cgen-mem.h, cgen-ops.h.
5803 1.1 christos (engine_halt,engine_signal): Delete.
5804 1.1 christos ({ex,exc,sem,semc}_illegal): Delete.
5805 1.1 christos (sim_disassemble_insn): Result of extract fn is in bits.
5806 1.1 christos * genmloop.sh: Rewrite.
5807 1.1 christos
5808 1.1 christos * cgen-trace.c (trace_insn): Set printed_result_p=0 if not tracing
5809 1.1 christos line numbers.
5810 1.1 christos
5811 1.1 christos * sim-base.h (sim_state_base): Delete member `model'.
5812 1.1 christos (sim_cpu_base): Add member `model'.
5813 1.1 christos * sim-model.h (IMP_PROPERTIES): New type.
5814 1.1 christos (MACH): New members imp_props, models.
5815 1.1 christos (models): Delete decl.
5816 1.1 christos * sim-model.c (set_model): Update.
5817 1.1 christos * sim-profile.c (profile_print_model): Update.
5818 1.1 christos
5819 1.1 christos * sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.
5820 1.1 christos
5821 1.1 christos Fri Jan 16 12:33:09 1998 Nick Clifton <nickc (a] cygnus.com>
5822 1.1 christos
5823 1.1 christos * cgen-trace.c (trace_insn): Call CGEN_INSN_MNEMONIC() rather than
5824 1.1 christos CGEN_INSN_SYNTAX().
5825 1.1 christos
5826 1.1 christos Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5827 1.1 christos
5828 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5829 1.1 christos * config.in: Ditto.
5830 1.1 christos
5831 1.1 christos Mon Dec 15 23:16:03 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5832 1.1 christos
5833 1.1 christos * aclocal.m4 (AR): Check for sigaction.
5834 1.1 christos
5835 1.1 christos Thu Dec 4 09:21:05 1997 Doug Evans <devans (a] canuck.cygnus.com>
5836 1.1 christos
5837 1.1 christos * Make-common.in (sim-core.o): Depend on $(sim_main_headers).
5838 1.1 christos
5839 1.1 christos * sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
5840 1.1 christos * sim-config.c (sim_config): Replace WITH_DEVICES with
5841 1.1 christos WITH_TREE_PROPERTIES.
5842 1.1 christos
5843 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
5844 1.1 christos
5845 1.1 christos Wed Dec 3 17:56:02 1997 Doug Evans <devans (a] canuck.cygnus.com>
5846 1.1 christos
5847 1.1 christos * Make-common.in (SIM_ENVIRONMENT): New variable.
5848 1.1 christos (CONFIG_CFLAGS): Add it.
5849 1.1 christos * aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
5850 1.1 christos --enable-sim-environment option.
5851 1.1 christos * configure: Regenerated.
5852 1.1 christos * sim-config.h (environment support): Rewrite.
5853 1.1 christos * sim-config.c (current_environment): Define as enum, unconditionally.
5854 1.1 christos (current_alignment): Define unconditionally.
5855 1.1 christos (config_environment_to_a): Update.
5856 1.1 christos (config_alignment_to_a): Fix type of argument. Define unconditionally.
5857 1.1 christos (sim_config): Handle environment and alignment determination
5858 1.1 christos unconditionally. Delete sanity checks of current_environment,
5859 1.1 christos unnecessary.
5860 1.1 christos (print_sim_config): Update.
5861 1.1 christos * sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
5862 1.1 christos (standard_options): Add --environment.
5863 1.1 christos (standard_option_handler): Likewise.
5864 1.1 christos
5865 1.1 christos Fri Nov 28 12:21:25 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5866 1.1 christos
5867 1.1 christos * sim-alu.h: Add notes on carry vs borrow for subtraction.
5868 1.1 christos (ALU{,8,16,32,64}ADD): Redefine ADD macro as add overflowing.
5869 1.1 christos (ALU{,8,16,32,64}ADDC): Define - add carrying.
5870 1.1 christos (ALU{,8,16,32,64}SUB): Redefine SUB macro as subtract overflowing.
5871 1.1 christos (ALU{,8,16,32,64}SUBB): Define - subtract borrowing.
5872 1.1 christos (ALU{,8,16,32,64}SUBC): Define - tract carrying.
5873 1.1 christos (ALU{,8,16,32,64}ADD_CA, ALU{,8,16,32,64}ADDC_C): Replace single
5874 1.1 christos argument ADD_CA macro with two argument ADDC_C - add carrying with
5875 1.1 christos carry in.
5876 1.1 christos (ALU{,8,16,32,64}SUB_CA, ALU{,8,16,32,64}SUBC_X): Replace single
5877 1.1 christos argument SUB_CA macro with two argument SUBC_X - subtract
5878 1.1 christos carrying, extended.
5879 1.1 christos (ALU{,8,16,32,64}SUBB_B): Define - subtract borrowing with
5880 1.1 christos borrow-in.
5881 1.1 christos (ALU{,8,16,32,64}NEGC, ALU{,8,16,32,64}NEGB): Define.
5882 1.1 christos
5883 1.1 christos Sun Nov 30 17:40:57 1997 Michael Meissner <meissner (a] cygnus.com>
5884 1.1 christos
5885 1.1 christos * sim-io.c (sim_io_{syscalls,getstring}): Delete. No longer used.
5886 1.1 christos * sim-io.h (sim_io_syscalls): Delete.
5887 1.1 christos
5888 1.1 christos Fri Nov 28 20:10:09 1997 Michael Meissner <meissner (a] cygnus.com>
5889 1.1 christos
5890 1.1 christos * syscall.c (cb_syscall): Add missing else, so write to stdout
5891 1.1 christos isn't doubled.
5892 1.1 christos
5893 1.1 christos * sim-alu.h (ALU{,8,16,32,64}_SET_CARRY): Provide macros to import
5894 1.1 christos the carry bit from the CPU's psw.
5895 1.1 christos
5896 1.1 christos Fri Nov 28 11:15:05 1997 Doug Evans <devans (a] canuck.cygnus.com>
5897 1.1 christos
5898 1.1 christos * gennltvals.sh: Redo syscall support.
5899 1.1 christos * nltvals.def: Regenerated.
5900 1.1 christos
5901 1.1 christos Wed Nov 26 16:49:38 1997 Michael Meissner <meissner (a] cygnus.com>
5902 1.1 christos
5903 1.1 christos * syscall.c (cb_syscall): If writing to stdout or stderr, flush
5904 1.1 christos the stream immediately.
5905 1.1 christos
5906 1.1 christos Wed Nov 26 12:32:11 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5907 1.1 christos
5908 1.1 christos * sim-io.c (sim_io_getstring): Delete unused len2.
5909 1.1 christos (sim_io_syscalls): Ditto for sys_errno.
5910 1.1 christos
5911 1.1 christos Wed Nov 26 11:18:40 1997 Doug Evans <devans (a] canuck.cygnus.com>
5912 1.1 christos
5913 1.1 christos * syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
5914 1.1 christos
5915 1.1 christos * Make-common.in (run.o): Depend on remote-sim.h.
5916 1.1 christos (nrun.o,sim-hload.o,sim-hrw.o): Likewise.
5917 1.1 christos (sim-io.o,sim-reason.o,sim-resume.o): Likewise.
5918 1.1 christos
5919 1.1 christos Tue Nov 25 20:12:46 1997 Michael Meissner <meissner (a] cygnus.com>
5920 1.1 christos
5921 1.1 christos * sim-io.c (sim_io_syscalls): Disable lseek.
5922 1.1 christos
5923 1.1 christos Tue Nov 25 00:12:38 1997 Doug Evans <devans (a] seba.cygnus.com>
5924 1.1 christos
5925 1.1 christos * gennltvals.sh: Generate syscall values for d30v.
5926 1.1 christos
5927 1.1 christos * gennltvals.sh: Use libgloss/syscall.h for sparc.
5928 1.1 christos * nltvals.def: Regenerate.
5929 1.1 christos
5930 1.1 christos * callback.c (os_stat): Make 3rd arg a host struct stat ptr.
5931 1.1 christos (os_fstat): Likewise. Validate fd argument.
5932 1.1 christos (cb_host_to_target_stat): Delete big_p arg. If HS arg is NULL,
5933 1.1 christos just compute target stat struct length.
5934 1.1 christos * syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
5935 1.1 christos (ENOSYS,ENAMETOOLONG): Provide definitions if missing.
5936 1.1 christos (get_string): Return host errno values so they can be properly
5937 1.1 christos translated later.
5938 1.1 christos (cb_syscall): Likewise.
5939 1.1 christos (cb_syscall, cases open,unlink): Use get_path instead of get_string.
5940 1.1 christos (cb_syscall, case read): Use read_stdin for file descriptor 0.
5941 1.1 christos (cb_syscall, case write): Use write_stderr for file descriptor 2.
5942 1.1 christos (cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
5943 1.1 christos (get_path): New function.
5944 1.1 christos
5945 1.1 christos Mon Nov 24 18:56:07 1997 Michael Meissner <meissner (a] cygnus.com>
5946 1.1 christos
5947 1.1 christos * sim-io.c (sim_io_syscalls): New function to provide system call
5948 1.1 christos emulation. Provide exit, open, close, read, write, lseek, and
5949 1.1 christos unlink.
5950 1.1 christos (sim_io_getstring): New function to return a string from a
5951 1.1 christos simulated memory location.
5952 1.1 christos
5953 1.1 christos * sim-io.h (sim_io_syscalls): Add declaration.
5954 1.1 christos
5955 1.1 christos Mon Nov 24 12:09:59 1997 Doug Evans <devans (a] seba.cygnus.com>
5956 1.1 christos
5957 1.1 christos * sim-core.c (sim_core_signal): Fix spelling error in message.
5958 1.1 christos
5959 1.1 christos * sim-hrw.c (sim_read): Use read map, not write map.
5960 1.1 christos
5961 1.1 christos * Make-common.in (all): Add .gdbinit.
5962 1.1 christos * gdbinit.in: Add dump command.
5963 1.1 christos
5964 1.1 christos * sim-model.c (model_options): Use '\0' for `shortopt'.
5965 1.1 christos
5966 1.1 christos * sim-trace.c (trace_option_handler): Set state trace file
5967 1.1 christos for --trace-file in addition to cpu's values.
5968 1.1 christos (trace_vprintf): If cpu == NULL, try state's trace file.
5969 1.1 christos (trace_options): Reorganize table, reword some descriptions.
5970 1.1 christos
5971 1.1 christos Sun Nov 23 10:57:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5972 1.1 christos
5973 1.1 christos * sim-fpu.c (sim_fpu_abs, sim_fpu_neg, sim_fpu_inv), sim-fpu.h:
5974 1.1 christos New functions.
5975 1.1 christos
5976 1.1 christos Sat Nov 22 19:16:54 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5977 1.1 christos
5978 1.1 christos * sim-reason.c (sim_stop_reason): For sim_signalled, return the
5979 1.1 christos signal untranslated, document problem with this.
5980 1.1 christos
5981 1.1 christos * nrun.c (main): Check for a prog name of `*step'. If present,
5982 1.1 christos step the simulator instead of allowing it to run free.
5983 1.1 christos
5984 1.1 christos * sim-signal.c (SIGQUIT): Define on _MSC_VER hosts.
5985 1.1 christos
5986 1.1 christos * Make-common.in (sim_main_headers): Add sim-signal.h.
5987 1.1 christos
5988 1.1 christos Fri Nov 21 09:32:32 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5989 1.1 christos
5990 1.1 christos * sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE.
5991 1.1 christos
5992 1.1 christos Thu Nov 20 20:35:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
5993 1.1 christos
5994 1.1 christos * sim-signal.h: Start simulator signals at 64 so that host signal
5995 1.1 christos numbers can be detected and reported.
5996 1.1 christos
5997 1.1 christos * sim-signal.h (SIM_SIGFPE), sim-signal.h: Add signal.
5998 1.1 christos
5999 1.1 christos Wed Nov 19 12:02:41 1997 Doug Evans <devans (a] seba.cygnus.com>
6000 1.1 christos
6001 1.1 christos * callback.c (cb_host_to_target_stat): Fix return values.
6002 1.1 christos
6003 1.1 christos * cgen-sim.h (enum_signal_type): Delete.
6004 1.1 christos (engine_signal): Update prototype.
6005 1.1 christos * cgen-utils.c: Don't include <signal.h>.
6006 1.1 christos (sim_signal_to_host): Delete, lives in sim-signal.c now.
6007 1.1 christos (engine_signal): Update.
6008 1.1 christos
6009 1.1 christos * sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
6010 1.1 christos (sim_state_free): Call SIM_STATE_FREE if defined.
6011 1.1 christos
6012 1.1 christos * sim-module.c (sim_module_install): Don't leave any modules
6013 1.1 christos installed if one fails to install.
6014 1.1 christos
6015 1.1 christos Wed Nov 19 13:25:48 1997 Michael Meissner <meissner (a] cygnus.com>
6016 1.1 christos
6017 1.1 christos * sim-options.c: Don't include ../libiberty/alloca-conf.h any
6018 1.1 christos more, since alloca is not used in this file.
6019 1.1 christos
6020 1.1 christos * sim-alu.h (ALU{32,64}_*): Rewrite 32 and 64 bit ALU support to
6021 1.1 christos correctly set the carry and overflow bits for those types.
6022 1.1 christos (ALU{8,16,32,64}_{ADD,SUB}_CA): Take VAL argument to add along
6023 1.1 christos with carry, so carry is correct after doing both adds.
6024 1.1 christos (ALU*): Space out '\' to make it easier to read.
6025 1.1 christos
6026 1.1 christos Tue Nov 18 15:53:45 1997 Doug Evans <devans (a] canuck.cygnus.com>
6027 1.1 christos
6028 1.1 christos * sim-core.c (sim_core_signal): Use sim_stopped instead of
6029 1.1 christos sim_signalled.
6030 1.1 christos
6031 1.1 christos * sim-signal.c, sim-signal.h: New files.
6032 1.1 christos * Make-common.in (sim-signal.o): Add rule for.
6033 1.1 christos (SIM_NEW_COMMON_OBJS): Add sim-signal.o.
6034 1.1 christos * sim-abort.c: Don't include <signal.h>.
6035 1.1 christos * sim-basics.h: #include "sim-signal.h".
6036 1.1 christos * sim-break.c: Don't include <signal.h>.
6037 1.1 christos (sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
6038 1.1 christos * sim-core.c: Don't include <signal.h>.
6039 1.1 christos (SIGBUS): Delete definition.
6040 1.1 christos (sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
6041 1.1 christos * sim-engine.c: Don't include <signal.h>.
6042 1.1 christos (sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
6043 1.1 christos * sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
6044 1.1 christos * sim-resume.c: Don't include <signal.h>.
6045 1.1 christos (SIGTRAP): Delete definition.
6046 1.1 christos (has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
6047 1.1 christos * sim-stop.c: Don't include <signal.h>.
6048 1.1 christos (control_c_simulation): Replace SIGINT with SIM_SIGINT.
6049 1.1 christos * sim-watch.c: Don't include <signal.h>.
6050 1.1 christos (handle_watchpoint): Replace SIGINT with SIM_SIGINT.
6051 1.1 christos
6052 1.1 christos * Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
6053 1.1 christos
6054 1.1 christos * sim-base.h (CIA_ADDR): Provide default definition.
6055 1.1 christos * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
6056 1.1 christos * sim-break.c (sim_handle_breakpoint): Likewise.
6057 1.1 christos
6058 1.1 christos Mon Nov 17 14:15:31 1997 Doug Evans <devans (a] seba.cygnus.com>
6059 1.1 christos
6060 1.1 christos * Make-common.in (srccom): New variable.
6061 1.1 christos
6062 1.1 christos * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
6063 1.1 christos (LIB_OBJS): Add syscall.o.
6064 1.1 christos (gentmap): Pass $(NL_TARGET) to $(CC).
6065 1.1 christos (syscall.o): Add rule for.
6066 1.1 christos (sim_main_headers): Add $(SIM_EXTRA_DEPS).
6067 1.1 christos (sim-bits.o): Depend on $(sim-n-bits_h).
6068 1.1 christos (sim-load.o): Depend on callback.h.
6069 1.1 christos
6070 1.1 christos * Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
6071 1.1 christos cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
6072 1.1 christos * cgen-mem.h, cgen-ops.h: New files.
6073 1.1 christos
6074 1.1 christos * aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".
6075 1.1 christos
6076 1.1 christos * Makefile.in (nltvals.def): Depend on gennltvals.sh.
6077 1.1 christos Rewrite build rule.
6078 1.1 christos * callback.c: #include string.h or strings.h.
6079 1.1 christos #include sys/types.h and sys/stat.h.
6080 1.1 christos (cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
6081 1.1 christos (os_get_errno,os_open): Update.
6082 1.1 christos (os_stat,os_fstat): New functions.
6083 1.1 christos (os_init): Initialize syscall_map, errno_map, open_map.
6084 1.1 christos (default_callback): Add entries for os_stat, os_fstat, syscall_map,
6085 1.1 christos errno_map, open_map, signal_map, stat_map.
6086 1.1 christos (cb_read_target_syscall_maps): New function.
6087 1.1 christos (cb_target_to_host_syscall): New function.
6088 1.1 christos (cb_host_to_target_errno): Renamed from host_to_target_errno.
6089 1.1 christos (cb_target_to_host_open): Renamed from target_to_host_open.
6090 1.1 christos (store): New function.
6091 1.1 christos (cb_host_to_target_stat): New function.
6092 1.1 christos * syscall.c: New file.
6093 1.1 christos * gentmap.c (sys_tdefs): New global.
6094 1.1 christos (gen_targ_vals_h): Output target syscall numbers.
6095 1.1 christos (gen_targ_map_c): Update. Output target syscall translation map.
6096 1.1 christos * gentvals.sh: New first argument `target'. Preface table with
6097 1.1 christos #ifdef NL_TARGET_$target if non-null target passed.
6098 1.1 christos * gennltvals.sh: New file.
6099 1.1 christos * nltvals.def: Regenerated.
6100 1.1 christos
6101 1.1 christos Fri Nov 14 11:33:34 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6102 1.1 christos
6103 1.1 christos * sim-n-core.h (sim_core_read_unaligned_N): Return static
6104 1.1 christos sim_core_dummy_M.
6105 1.1 christos (sim_core_dummy_M): Declare.
6106 1.1 christos
6107 1.1 christos Wed Nov 12 18:16:15 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6108 1.1 christos
6109 1.1 christos * sim-core.c (sim_core_signal): Print the address of the
6110 1.1 christos instruction.
6111 1.1 christos
6112 1.1 christos Thu Nov 13 11:49:41 1997 Doug Evans <devans (a] seba.cygnus.com>
6113 1.1 christos
6114 1.1 christos * sim-base.h (sim_state_base): Move `magic' to end of struct.
6115 1.1 christos
6116 1.1 christos * sim-base.h (sim_state_base): Add member trace_data.
6117 1.1 christos (STATE_TRACE_DATA): New macro.
6118 1.1 christos * sim-trace.h (TRACE_DEBUG_IDX,TRACE_debug): New macros.
6119 1.1 christos ({WITH_,}TRACE_DEBUG_P): New macros.
6120 1.1 christos (STATE_TRACE_FLAGS,STRACE_P,STRACE_DEBUG_P): New macros.
6121 1.1 christos (_sim_cpu): Delete forward reference.
6122 1.1 christos (debug_printf): Update.
6123 1.1 christos * sim-trace.c (OPTION_TRACE_DEBUG): Define.
6124 1.1 christos (trace_options): Add --trace-debug.
6125 1.1 christos (set_trace_options): Handle it.
6126 1.1 christos (trace_option_handler): Likewise.
6127 1.1 christos (trace_install): Init state trace_data struct.
6128 1.1 christos (trace_uninstall): Close state trace file.
6129 1.1 christos * sim-events.c (ETRACE): Only print source file and line number if
6130 1.1 christos --trace-debug.
6131 1.1 christos * sim-n-core.h (sim_core_trace_M): Likewise.
6132 1.1 christos
6133 1.1 christos * sim-core.c (sim_core_signal): Add missing "\n" in message.
6134 1.1 christos
6135 1.1 christos 1997-11-13 Felix Lee <flee (a] cygnus.com>
6136 1.1 christos
6137 1.1 christos * sim-n-core.h (sim_core_read_unaligned_N): illegal empty
6138 1.1 christos initializer.
6139 1.1 christos * sim-types.h (unsigned128,signed128): fix typo for MSVC.
6140 1.1 christos
6141 1.1 christos Wed Nov 12 12:18:08 1997 Doug Evans <devans (a] canuck.cygnus.com>
6142 1.1 christos
6143 1.1 christos * aclocal.m4 (SIM_AC_OPTION_SCACHE): Fix typo.
6144 1.1 christos
6145 1.1 christos * Make-common.in (BUILT_SRC_FROM_COMMON): Remove files no longer
6146 1.1 christos built this way.
6147 1.1 christos (sim-config.o): Remove non-existent $(sim-nconfig_h) dependency.
6148 1.1 christos (clean): Don't delete $(BUILT_SRC_FROM_COMMON) if building in
6149 1.1 christos source tree.
6150 1.1 christos
6151 1.1 christos Tue Nov 11 13:28:02 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6152 1.1 christos
6153 1.1 christos * sim-events.c (sim_events_process): Re-compute the time -
6154 1.1 christos update_time_from_event - as each event is processed. Reverses
6155 1.1 christos previous change.
6156 1.1 christos
6157 1.1 christos Fri Nov 7 00:37:36 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6158 1.1 christos
6159 1.1 christos * callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER.
6160 1.1 christos
6161 1.1 christos Fri Nov 7 00:37:36 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6162 1.1 christos
6163 1.1 christos * sim-events.c (sim_events_process): Delete redundant call to
6164 1.1 christos update_time_from_event.
6165 1.1 christos (sim_events_slip): Always decrement time_from_event.
6166 1.1 christos (sim_events_tick, sim_events_deschedule, update_time_from_event):
6167 1.1 christos Delete assertion that time_from_event >=0 when work in queue, no
6168 1.1 christos longer applicable.
6169 1.1 christos
6170 1.1 christos Thu Nov 6 12:06:46 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6171 1.1 christos
6172 1.1 christos * sim-options.c (STANDARD_OPTIONS): Change OPTION_* to an enum.
6173 1.1 christos (standard_option_handler): Update.
6174 1.1 christos
6175 1.1 christos * sim-options.h: Clarify documentation.
6176 1.1 christos (OPTION_LONG_ONLY_P): Delete definition.
6177 1.1 christos (OPTION_VALID_P): Define.
6178 1.1 christos
6179 1.1 christos * sim-options.c (sim_print_help): Allow short only options.
6180 1.1 christos (sim_parse_args): Ditto.
6181 1.1 christos (sim_args_command): Skip short only options.
6182 1.1 christos (sim_parse_args): Allocate space for NUM_OPTS not just 256. Make
6183 1.1 christos separate entries for short and long options in the HANDLERS and
6184 1.1 christos ORIG_VAL tables.
6185 1.1 christos (sim_parse_args): Disable argument permutation.
6186 1.1 christos
6187 1.1 christos Wed Nov 5 13:40:31 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6188 1.1 christos
6189 1.1 christos * sim-core.h (DECLARE_SIM_CORE_WRITE_N. DECLARE_SIM_CORE_READ_N):
6190 1.1 christos Add argument M, size of data type.
6191 1.1 christos (sim_core_read_misaligned_3, sim_core_write_misaligned_3):
6192 1.1 christos Declare, ditto for 5, 6 & 7 byte transfers.
6193 1.1 christos (sim_core_write_unaligned_1, sim_core_write_unaligned_1): Define
6194 1.1 christos as aligned variant.
6195 1.1 christos
6196 1.1 christos * sim-n-core.h (sim_core_trace_M): Rename from
6197 1.1 christos sim_core_trace_N. Add nr_bytes argument. Replace transfer argument
6198 1.1 christos with transfer type. Print transfer direction. Handle 1 and 2 byte
6199 1.1 christos transfers.
6200 1.1 christos (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Trace
6201 1.1 christos unaligned accesses.
6202 1.1 christos (unsigned_M, T2H_M, H2T_M): Rename from unsigned_N, T2H_N, H2T_N.
6203 1.1 christos Update all functions.
6204 1.1 christos
6205 1.1 christos * sim-core.c: Generate functions starting with 16 not 1.
6206 1.1 christos (sim_core_read_unaligned_3): Generate. Ditto for 3 byte write and
6207 1.1 christos all 5, 6 & 7 byte transfers.
6208 1.1 christos
6209 1.1 christos * sim-n-core.h (sim_core_read_misaligned_N,
6210 1.1 christos sim_core_write_misaligned_N): Implement.
6211 1.1 christos
6212 1.1 christos Mon Nov 3 15:03:04 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6213 1.1 christos
6214 1.1 christos * sim-endian.h (U16_8): Implement
6215 1.1 christos
6216 1.1 christos * sim-endian.c (sim_endian_split_16, sim_endian_join_16): New functions
6217 1.1 christos
6218 1.1 christos * sim-endian.h (VL8_16, VH8_16): Implement.
6219 1.1 christos
6220 1.1 christos * sim-memopt.c (memory_option_handler): Typecast 64bit value to
6221 1.1 christos long in printf.
6222 1.1 christos (memory_option_handler): Only zalloc modulo bytes when non-zero.
6223 1.1 christos (memory_option_handler): Skip comma in alias address list
6224 1.1 christos
6225 1.1 christos Fri Oct 31 13:03:33 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6226 1.1 christos
6227 1.1 christos * sim-memopt.c (do_memopt_add, do_memopt_delete): Add level and
6228 1.1 christos space params.
6229 1.1 christos (parse_size, parse_addr): New functions
6230 1.1 christos (memory_option_handler, memory_options): Parse address & size
6231 1.1 christos using new functions. Pass level, space, modulo to do_memopt_add &
6232 1.1 christos do_memopt_del.
6233 1.1 christos
6234 1.1 christos * sim-memopt.h (struct _sim_memopt): Add level & space fields.
6235 1.1 christos
6236 1.1 christos * sim-core.h (sim_core_arrach, sim_core_detach): Replace
6237 1.1 christos `attach_type attach' argument with `unsigned level' argument.
6238 1.1 christos Document.
6239 1.1 christos
6240 1.1 christos * sim-core.c (new_sim_core_mapping, sim_core_map_attach,
6241 1.1 christos sim_core_attach): Replace argument attach with level. Update
6242 1.1 christos verification of arguments.
6243 1.1 christos (sim_core_map_detach, sim_core_detach): Replace argument attach
6244 1.1 christos with level.
6245 1.1 christos
6246 1.1 christos * sim-basics.h (enum _attach_type): Delete.
6247 1.1 christos
6248 1.1 christos Thu Oct 30 13:45:00 1997 Doug Evans <devans (a] seba.cygnus.com>
6249 1.1 christos
6250 1.1 christos * sim-core.h (sim_core_write_8): Define.
6251 1.1 christos
6252 1.1 christos Tue Oct 28 12:29:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6253 1.1 christos
6254 1.1 christos * sim-bits.h: Document ROTn macro.
6255 1.1 christos
6256 1.1 christos * sim-endian.h (H2T): Handle 16 byte variables.
6257 1.1 christos
6258 1.1 christos * sim-n-core.h (sim_core_read_unaligned_N): Return a dummy when an
6259 1.1 christos error.
6260 1.1 christos
6261 1.1 christos * sim-core.c: Do not generate sim_core_*_word.
6262 1.1 christos
6263 1.1 christos * sim-n-core.h (sim_core_trace_N): Add line_nr argument.
6264 1.1 christos (sim_core_write_aligned_N, sim_core_read_aligned_N): Update.
6265 1.1 christos
6266 1.1 christos * sim-core.h (sim_core_read_unaligned_word,
6267 1.1 christos sim_core_read_aligned_word, sim_core_read_word,
6268 1.1 christos sim_core_write_unaligned_word, sim_core_write_aligned_word,
6269 1.1 christos sim_core_write_word): Change to macros that map onto sim_core_*_N.
6270 1.1 christos
6271 1.1 christos Mon Oct 27 11:25:10 1997 Doug Evans <devans (a] canuck.cygnus.com>
6272 1.1 christos
6273 1.1 christos * sim-n-endian.h: Add TAGS entrys for 16 byte versions.
6274 1.1 christos
6275 1.1 christos * sim-endian.h: Disable 16 byte support.
6276 1.1 christos
6277 1.1 christos Mon Oct 27 12:00:48 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6278 1.1 christos
6279 1.1 christos * sim-endian.c (_SWAP_16): Define. Generate 126 bit swap code.
6280 1.1 christos
6281 1.1 christos * sim-n-core.h (sim_core_trace_N): New function.
6282 1.1 christos (sim_core_read_aligned_N, sim_core_write_aligned_N): Use,
6283 1.1 christos (sim_core_read_unaligned_N): Do not retyrn bogus value wden error.
6284 1.1 christos
6285 1.1 christos * sim-endian.h: Add 128 bit variant.
6286 1.1 christos
6287 1.1 christos * sim-core.h, sim-core.c: Add 128 bit variant.
6288 1.1 christos
6289 1.1 christos * sim-types.h: Add signed128 and unsigned128 types using a struct.
6290 1.1 christos
6291 1.1 christos Fri Oct 24 11:33:07 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6292 1.1 christos
6293 1.1 christos * sim-events.c (sim_events_process): Clear events->work_pending.
6294 1.1 christos (sim_events_tickn, sim_events_tick): Accumulate, instead of
6295 1.1 christos setting, nr_ticks_to_process.
6296 1.1 christos (sim_events_preprocess): Allow nr_ticks_to_process to be non-zero
6297 1.1 christos when the event queue isn't next.
6298 1.1 christos
6299 1.1 christos * sim-events.h, sim-events.c (sim_events_slip): New function.
6300 1.1 christos
6301 1.1 christos Wed Oct 22 14:18:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6302 1.1 christos
6303 1.1 christos * sim-hload.c (sim_load): Pass lma_p==0 and do_load=sim_load.
6304 1.1 christos
6305 1.1 christos * sim-utils.h, sim-load.c (sim_load_file): Add lma_p and do_load
6306 1.1 christos arguments.
6307 1.1 christos
6308 1.1 christos Tue Oct 21 18:37:57 1997 Doug Evans <devans (a] canuck.cygnus.com>
6309 1.1 christos
6310 1.1 christos * nrun.c (main): Remove useless test of name != NULL.
6311 1.1 christos Exit if bfd_openr fails. Call bfd_check_format after bfd_openr.
6312 1.1 christos
6313 1.1 christos Tue Oct 21 10:42:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6314 1.1 christos
6315 1.1 christos * sim-fpu.c (EXPMAX): Type is unsigned.
6316 1.1 christos (MIN_INT, MAX_INT): Type is signed64.
6317 1.1 christos (i2fpu): Type of val is signed64.
6318 1.1 christos
6319 1.1 christos Tue Oct 21 10:42:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6320 1.1 christos
6321 1.1 christos * sim-profile.h (PROFILE_PC_BUCKET_SIZE): Treat a shift of zero as
6322 1.1 christos a bucket size of zero.
6323 1.1 christos
6324 1.1 christos * sim-profile.c (OPTION_PROFILE_PC_GRANULARITY,
6325 1.1 christos OPTION_PROFILE_PC): Define.
6326 1.1 christos (profile_option_handler): Add support for --profile-pc and
6327 1.1 christos --profile-pc-granularity options.
6328 1.1 christos (profile_pc_init): When possible, compute nr buckets from bucket
6329 1.1 christos size.
6330 1.1 christos
6331 1.1 christos * sim-profile.c (profile_pc_init): Align the profile-pc end
6332 1.1 christos address with the profile-pc bucket size.
6333 1.1 christos
6334 1.1 christos * sim-profile.h (PROFILE_PC_NR_BUCKETS): Rename PROFILE_PC_SIZE to
6335 1.1 christos something less ambiguous.
6336 1.1 christos (PROFILE_PC_BUCKET_SIZE): Ditto for PROFILE_PC_SAMPLE_SIZE.
6337 1.1 christos
6338 1.1 christos * sim-profile.c (profile_pc_cleanup): New function. Move
6339 1.1 christos profile_pc_uninstall code to here.
6340 1.1 christos (profile_pc_uninstall): Call.
6341 1.1 christos (profile_pc_init): Call.
6342 1.1 christos
6343 1.1 christos Mon Oct 20 17:23:58 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6344 1.1 christos
6345 1.1 christos * sim-profile.c (profile_print_pc): Dump pc profile to dmon.out
6346 1.1 christos file using BSD gprof format.
6347 1.1 christos
6348 1.1 christos * sim-bits.h (LSBIT, MSBIT, BIT): Force result to type
6349 1.1 christos unsigned_word.
6350 1.1 christos (LSBIT8, LSBIT16, LSBIT32, LSBIT64, MSBIT8, MSBIT16, MSBIT32,
6351 1.1 christos MSBIT64): Force result to unsignedN.
6352 1.1 christos
6353 1.1 christos Thu Oct 16 11:38:56 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6354 1.1 christos
6355 1.1 christos * sim-alu.h (ALU16_BEGIN, ALU32_BEGIN, ALU64_BEGIN): Drop opening
6356 1.1 christos brace from macro.
6357 1.1 christos (ALU8_BEGIN, ALU8_SET, ALU8_ADD, ALU8_SUB, ALU8_NEGATE): Define.
6358 1.1 christos (ALU16_ADD, ALU16_SUB, ALU16_NEGATE): Simplify arrithmetic.
6359 1.1 christos (ALU32_ADD, ALU32_SUB, ALU32_NEGATE): Simplify arrithmetic.
6360 1.1 christos (ALU64_ADD, ALU64_SUB, ALU64_NEGATE): Simplify arrithmetic.
6361 1.1 christos
6362 1.1 christos Wed Oct 15 09:24:19 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6363 1.1 christos
6364 1.1 christos * sim-core.h (struct _sim_core_mapping): Change free_buffer to
6365 1.1 christos type void*.
6366 1.1 christos
6367 1.1 christos * sim-core.c (sim_core_uninstall, new_sim_core_mapping,
6368 1.1 christos sim_core_map_attach, sim_core_map_detach): Change free_buffer to
6369 1.1 christos type void*.
6370 1.1 christos (sim_core_attach): Rename buffer_freed to free_buffer, type
6371 1.1 christos void*. Ensure that allocated buffer is alligned according to
6372 1.1 christos region's address.
6373 1.1 christos
6374 1.1 christos Mon Oct 13 11:34:50 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6375 1.1 christos
6376 1.1 christos * sim-alu.h (ALU64_HAD_OVERFLOW): Define.
6377 1.1 christos (ALU64_SUB): Define.
6378 1.1 christos
6379 1.1 christos * Make-common.in (all): Build SIM_EXTRA_ALL first.
6380 1.1 christos (.gdbinit): Remove dependencies, generate once per build.
6381 1.1 christos
6382 1.1 christos Tue Oct 14 19:20:09 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6383 1.1 christos
6384 1.1 christos * sim-n-core.h (sim_core_read_aligned_N,
6385 1.1 christos sim_core_write_aligned_N): Make xaddr param type address_word not
6386 1.1 christos unsigned_word.
6387 1.1 christos
6388 1.1 christos Fri Oct 3 09:49:18 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6389 1.1 christos
6390 1.1 christos * sim-fpu.h, sim-fpu.c: Rewrite. Change sim_fpu object to an
6391 1.1 christos unpacked floating point struct. Pass sim_fpu object by reference.
6392 1.1 christos Add preliminary support for rounding modes.
6393 1.1 christos
6394 1.1 christos Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6395 1.1 christos
6396 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6397 1.1 christos
6398 1.1 christos Thu Oct 2 19:43:52 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6399 1.1 christos
6400 1.1 christos * aclocal.m4 (sim-bitsize): Fix typo, WITH_TARGET_WORD_BITSIZE not
6401 1.1 christos WITH_TARGET_BITSIZE.
6402 1.1 christos
6403 1.1 christos Thu Sep 25 23:20:20 1997 Felix Lee <flee (a] yin.cygnus.com>
6404 1.1 christos
6405 1.1 christos * sim-profile.c (profile_print_core): label needs empty statement.
6406 1.1 christos
6407 1.1 christos Thu Sep 25 11:20:47 1997 Stu Grossman <grossman (a] babylon-5.cygnus.com>
6408 1.1 christos
6409 1.1 christos * sim-break.c (sim_set_breakpoint sim_clear_breakpoint): Use ZALLOC
6410 1.1 christos and zfree instead of xmalloc and free. Prevents warnings.
6411 1.1 christos
6412 1.1 christos Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6413 1.1 christos
6414 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6415 1.1 christos
6416 1.1 christos Wed Sep 24 17:23:31 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6417 1.1 christos
6418 1.1 christos * Make-common.in (SIM_BITSIZE): Assign from configured value.
6419 1.1 christos (CONFIG_CFLAGS): Add SIM_BITSIZE.
6420 1.1 christos
6421 1.1 christos * aclocal.m4 (--enable-sim-bitsize): Developer option for
6422 1.1 christos controling the bitsize/msb of the target.
6423 1.1 christos
6424 1.1 christos Wed Sep 24 17:41:40 1997 Stu Grossman <grossman (a] babylon-5.cygnus.com>
6425 1.1 christos
6426 1.1 christos * Make-common.in: New files sim-break.c, sim-break.h.
6427 1.1 christos * sim-base.h: Add point to breakpoint list to sim_state_base.
6428 1.1 christos * sim-break.c sim-break.h: New modules that implement intrinsic
6429 1.1 christos breakpoint support.
6430 1.1 christos * sim-module.c: Add breakpoint module.
6431 1.1 christos
6432 1.1 christos Tue Sep 23 00:26:39 1997 Felix Lee <flee (a] yin.cygnus.com>
6433 1.1 christos
6434 1.1 christos * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once
6435 1.1 christos an hour.
6436 1.1 christos * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on
6437 1.1 christos if (0) { 1 % 0; }
6438 1.1 christos * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1.
6439 1.1 christos (SIGBUS) define for Windows.
6440 1.1 christos * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC.
6441 1.1 christos * sim-resume.c: define SIGTRAP for windows.
6442 1.1 christos * sim-xcat.h: use token pasting if ALMOST_STDC.
6443 1.1 christos
6444 1.1 christos Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6445 1.1 christos
6446 1.1 christos * Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign
6447 1.1 christos configured values.
6448 1.1 christos (CONFIG_CFLAGS): Add same.
6449 1.1 christos
6450 1.1 christos Mon Sep 22 17:20:27 1997 Felix Lee <flee (a] cygnus.com>
6451 1.1 christos
6452 1.1 christos * sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32.
6453 1.1 christos (SIGNED32): use ##i32.
6454 1.1 christos
6455 1.1 christos Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6456 1.1 christos
6457 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6458 1.1 christos
6459 1.1 christos Tue Sep 23 10:07:47 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6460 1.1 christos
6461 1.1 christos * aclocal.m4 (sim-endian): Simplify logic determining [default]
6462 1.1 christos endian of target.
6463 1.1 christos
6464 1.1 christos * Make-common.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
6465 1.1 christos SIM_HOSTENDIAN, SIM_RESERVED_BITS, SIM_ASSERT, SIM_FLOAT,
6466 1.1 christos SIM_HARDWARE, SIM_INLINE, SIM_PACKAGES, SIM_REGPARM, SIM_SMP,
6467 1.1 christos SIM_STDCALL, SIM_XOR_ENDIAN): Assign configured values.
6468 1.1 christos (CONFIG_CFLAGS): Add same.
6469 1.1 christos
6470 1.1 christos * aclocal.m4: Perform AC_SUBST on optional options.
6471 1.1 christos
6472 1.1 christos Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6473 1.1 christos
6474 1.1 christos * sim-config.h (WITH_DEFAULT_ALIGNMENT): Don't hardwire any alignment.
6475 1.1 christos
6476 1.1 christos * sim-options.c (standard_option_handler): Typo in warning message.
6477 1.1 christos
6478 1.1 christos * sim-base.h (STATE_MODEL): Make conditional on SIM_HAVE_MODEL.
6479 1.1 christos
6480 1.1 christos * sim-profile.c (profile_print_insn): Check 0 .. MAX_INSN for any
6481 1.1 christos insn count. Make count conditional on there being a valid
6482 1.1 christos INSN_NAME.
6483 1.1 christos (profile_pc_init): Make default PC profile frequency an arbitrary
6484 1.1 christos 256.
6485 1.1 christos
6486 1.1 christos * sim-base.h: Ditto.
6487 1.1 christos
6488 1.1 christos * sim-profile.h (WITH_PROFILE_MODEL_P): Only enable modeling when
6489 1.1 christos SIM_HAVE_MODEL.
6490 1.1 christos
6491 1.1 christos * sim-model.h (struct MACH): Depreciate, to be replaced by bfd
6492 1.1 christos archure struct.
6493 1.1 christos
6494 1.1 christos Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6495 1.1 christos
6496 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6497 1.1 christos
6498 1.1 christos Mon Sep 22 11:45:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6499 1.1 christos
6500 1.1 christos * aclocal.m4 (sim_alignment): Simplify logic for selecting the
6501 1.1 christos configured alignment.
6502 1.1 christos
6503 1.1 christos Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6504 1.1 christos
6505 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6506 1.1 christos
6507 1.1 christos Fri Sep 19 17:26:14 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6508 1.1 christos
6509 1.1 christos * sim-config.c (sim_config): Check for default alignment.
6510 1.1 christos
6511 1.1 christos * sim-options.c (standard_option_handler): Add alignment option.
6512 1.1 christos
6513 1.1 christos * aclocal.m4 (sim_alignment): Allow configuration of hardwired and
6514 1.1 christos default alignment requirements on memory accesses.
6515 1.1 christos
6516 1.1 christos Fri Sep 19 11:51:35 1997 Jeffrey A Law (law (a] cygnus.com)
6517 1.1 christos
6518 1.1 christos * sim-load.c (sim_load_file): Return failure if the executable
6519 1.1 christos had no loadable sections.
6520 1.1 christos
6521 1.1 christos Wed Sep 17 13:33:28 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6522 1.1 christos
6523 1.1 christos * sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
6524 1.1 christos trace output.
6525 1.1 christos
6526 1.1 christos * sim-core.c (sim_core_signal): When bad access halt simulator
6527 1.1 christos SIGSEGV / SIGBUS instead of aborting.
6528 1.1 christos (signal.h): Include.
6529 1.1 christos
6530 1.1 christos * sim-watch.c (sim_watchpoint_install): Handler for watchpoint
6531 1.1 christos options was missing.
6532 1.1 christos
6533 1.1 christos * sim-bits.h (MOVED): Define
6534 1.1 christos
6535 1.1 christos Wed Sep 17 10:33:28 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6536 1.1 christos
6537 1.1 christos * sim-alu.h (ALU32_HAD_OVERFLOW): Pacify GCC, Use MSBIT instead of
6538 1.1 christos BIT.
6539 1.1 christos
6540 1.1 christos * sim-bits.h (LSBIT, MSBIT): Check for overflow of shift value.
6541 1.1 christos
6542 1.1 christos * sim-bits.c: Add 8 bit versions of bit macros.
6543 1.1 christos
6544 1.1 christos * sim-bits.h: Ditto.
6545 1.1 christos
6546 1.1 christos Tue Sep 16 16:15:16 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6547 1.1 christos
6548 1.1 christos * sim-bits.c (LSSEXT, MSSEXT): Replace SEXT.
6549 1.1 christos (LSINSERTED, MSINSERTED): Ditto for INSERTED.
6550 1.1 christos
6551 1.1 christos * sim-n-bits.h (MSSEXTn, LSSEXTn): Replace SEXTn.
6552 1.1 christos (LSINSERTDn, MSINSERTEDN): Ditto for INSERTEDn.
6553 1.1 christos
6554 1.1 christos * sim-bits.h (SEXT*): Define as MSEXT/LSEXT.
6555 1.1 christos (INSERTED*): Ditto for LSINSERTED/MSINSERTED.
6556 1.1 christos
6557 1.1 christos Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6558 1.1 christos
6559 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
6560 1.1 christos configure.in: Output to cconfig.h instead of config.h.
6561 1.1 christos
6562 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6563 1.1 christos
6564 1.1 christos Mon Sep 15 15:39:28 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6565 1.1 christos
6566 1.1 christos * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
6567 1.1 christos BFD if known.
6568 1.1 christos
6569 1.1 christos Tue Sep 9 21:46:46 1997 Felix Lee <flee (a] cygnus.com>
6570 1.1 christos
6571 1.1 christos * callback.c (os_write): divert stdout and stderr to their
6572 1.1 christos respective hooks.
6573 1.1 christos
6574 1.1 christos Thu Sep 11 10:08:48 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6575 1.1 christos
6576 1.1 christos * sim-profile.c (profile_print_speed): Call
6577 1.1 christos sim_events_elapsed_time instead of PROFILE_EXEC_TIME for moment.
6578 1.1 christos
6579 1.1 christos * sim-events.c (sim_events_elapsed_time): New function return nr
6580 1.1 christos host MS consumed by the simulator.
6581 1.1 christos (sim_watch_valid): Use.
6582 1.1 christos
6583 1.1 christos * sim-module.c (modules): Install sim_events very very early.
6584 1.1 christos
6585 1.1 christos * sim-profile.c (profile_print): Call profile_print_pc.
6586 1.1 christos (print_bar):
6587 1.1 christos (profile_pc_init): New function, set up processor for PC
6588 1.1 christos profiling.
6589 1.1 christos (profile_print_pc): New function, print a PC profile.
6590 1.1 christos (profile_pc_event): New function, sample PC.
6591 1.1 christos
6592 1.1 christos * sim-profile.h (PROFILE_PC_COUNT, PROFILE_PC_START,
6593 1.1 christos PROFILE_PC_END, PROFILE_PC_SHIFT, PROFILE_PC_SAMPLE_SIZE): Add to
6594 1.1 christos profile struct.
6595 1.1 christos
6596 1.1 christos * sim-options.c (sim_print_help): Pacify GCC.
6597 1.1 christos
6598 1.1 christos * sim-n-core.h (sim_core_read_aligned_N,
6599 1.1 christos sim_core_write_aligned_N): Add un-conditional profile call.
6600 1.1 christos (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Add
6601 1.1 christos profile call when aligned read/write isn't used.
6602 1.1 christos
6603 1.1 christos * sim-base.h: Include sim-profile, sim-model after sim-core &
6604 1.1 christos sim-events allow sim-core to define useful values.
6605 1.1 christos
6606 1.1 christos * sim-profile.c (OPTION_PROFILE_CORE): Define.
6607 1.1 christos (profile_option_handler, profile_options): Add support for
6608 1.1 christos --profile-core option.
6609 1.1 christos (print_bar): Include when core profiling.
6610 1.1 christos (profile_print_core): New function, print core profile.
6611 1.1 christos
6612 1.1 christos * sim-config.c (print_sim_config): Print profile status.
6613 1.1 christos
6614 1.1 christos * sim-profile.h (PROFILE_NEXT_IDX, PROFILE_core,
6615 1.1 christos WITH_PROFILE_PC_P): Define.
6616 1.1 christos (PROFILE_CORE_COUNT): Count each core-map/size separatly.
6617 1.1 christos (PROFILE_COUNT_CORE): Define.
6618 1.1 christos
6619 1.1 christos Thu Sep 11 08:44:52 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6620 1.1 christos
6621 1.1 christos * sim-watch.c (handle_watchpoint): Pass a char** index into the
6622 1.1 christos interrupt_names array as the data.
6623 1.1 christos (sim-watch.h): Document.
6624 1.1 christos
6625 1.1 christos Wed Sep 10 16:15:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6626 1.1 christos
6627 1.1 christos * sim-options.c (sim_print_help): When the doc string is to long
6628 1.1 christos word wrap it.
6629 1.1 christos
6630 1.1 christos * sim-watch.c (sim_watchpoint_install): Use option.doc_name so
6631 1.1 christos that only the first few the watch options are listed. Generate
6632 1.1 christos meanginful usage messages.
6633 1.1 christos
6634 1.1 christos * sim-options.h (struct OPTION): Clarify use of doc_name field
6635 1.1 christos
6636 1.1 christos Wed Sep 10 13:23:24 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6637 1.1 christos
6638 1.1 christos * sim-options.c (OPTION_ARCHITECTURE_INFO): New option.
6639 1.1 christos (standard_option_handler): Handle --architecture-info.
6640 1.1 christos
6641 1.1 christos Tue Sep 9 21:46:46 1997 Felix Lee <flee (a] cygnus.com>
6642 1.1 christos
6643 1.1 christos * sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid
6644 1.1 christos illegal zero-sized array.
6645 1.1 christos * sim-core.c (sim_core_xor_read_buffer): same.
6646 1.1 christos
6647 1.1 christos Tue Sep 9 11:20:35 1997 Doug Evans <dje (a] canuck.cygnus.com>
6648 1.1 christos
6649 1.1 christos * nltvals.def: Regenerate.
6650 1.1 christos
6651 1.1 christos Tue Sep 9 02:10:36 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6652 1.1 christos
6653 1.1 christos * sim-fpu.c (DP_FRACHIGH2): Define LL using SIGNED64.
6654 1.1 christos
6655 1.1 christos Mon Sep 8 12:22:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6656 1.1 christos
6657 1.1 christos * sim-bits.c (MASKED): Delete.
6658 1.1 christos (EXTRACTED): Delete.
6659 1.1 christos (LSEXTRACTED, MSEXTRACTED): New functions.
6660 1.1 christos
6661 1.1 christos * sim-n-bits.h (MASKEDn): Delete, define as MSMASKED or LSMASKED.
6662 1.1 christos (MSMASKEDn, LSMASKEDn): Add last argument.
6663 1.1 christos (MSMASK*): Ditto.
6664 1.1 christos
6665 1.1 christos * sim-bits.h (EXTEND8, EXTEND16): Define.
6666 1.1 christos (EXTRACTED64): Define as 64 bit extract, not 32 bit.
6667 1.1 christos
6668 1.1 christos * sim-run.c (sim_engine_run): Use CPU_CIA macro.
6669 1.1 christos
6670 1.1 christos * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use CPU_CIA to get at
6671 1.1 christos current instruction address.
6672 1.1 christos
6673 1.1 christos * sim-inline.h (*_ENGINE): Define.
6674 1.1 christos
6675 1.1 christos Fri Sep 5 08:39:02 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6676 1.1 christos
6677 1.1 christos * sim-core.c (sim_core_attach): Fix checks of modulo/mask.
6678 1.1 christos
6679 1.1 christos * sim-watch.c (delete_watchpoint): Delete by ident and type.
6680 1.1 christos (watch_option_handler): Call delete_watchpoint with ident or type.
6681 1.1 christos (sim_watchpoint_install): Create interrupt specific watchpoint
6682 1.1 christos commands on the fly.
6683 1.1 christos (do_watchpoint_create): New function, create a watch point using
6684 1.1 christos type/int-nr info encoded in the option nr.
6685 1.1 christos (do_watchpoint_info): New function. List active watchpoints.
6686 1.1 christos
6687 1.1 christos * sim-watch.h: Change data structure to a list.
6688 1.1 christos
6689 1.1 christos * sim-memopt.c (memory_option_handler): Require explicit "all"
6690 1.1 christos before deleting all memory regions.
6691 1.1 christos
6692 1.1 christos * sim-utils.c (sim_do_commandf): New function, printf version of
6693 1.1 christos sim_do_command.
6694 1.1 christos
6695 1.1 christos * sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32.
6696 1.1 christos
6697 1.1 christos * sim-alu.h (ALU64_ADD): Use explicit MSEXTRACTED64, do not assume
6698 1.1 christos bit endianness.
6699 1.1 christos (SIGNED64, UNSIGNED64): Delete.
6700 1.1 christos (ALU64_ADD): Don't rely on bit endianness.
6701 1.1 christos (ALU64_BEGIN): Define.
6702 1.1 christos
6703 1.1 christos * sim-n-bits.h (MSEXTRACTEDn, LSEXTRACTED): New functions.
6704 1.1 christos (EXTRACTEDn): Delete, define as either LSEXTRACTED or MSEXTRACTED.
6705 1.1 christos
6706 1.1 christos * sim-types.h (SIGNED64, UNSIGNED64): New macros, attach relevant
6707 1.1 christos suffix - u64, LL - to 64 bit constants.
6708 1.1 christos
6709 1.1 christos Thu Sep 4 09:27:54 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6710 1.1 christos
6711 1.1 christos * sim-config.c (sim_config): Add assert for SIM_MAGIC_NUMBER.
6712 1.1 christos
6713 1.1 christos * sim-utils.h (NZALLOC): Define - zalloc * N.
6714 1.1 christos
6715 1.1 christos * sim-hrw.c (sim_read, sim_write): New file. Provide generic
6716 1.1 christos implementation of read/write functions.
6717 1.1 christos
6718 1.1 christos * Make-common.in (sim-hrw.o): New target.
6719 1.1 christos
6720 1.1 christos * sim-base.h (STATE_MEMOPT_P): Delete, simulators _always_ add
6721 1.1 christos memory.
6722 1.1 christos
6723 1.1 christos * sim-memopt.c (memory_option_handler): Implement memory-size
6724 1.1 christos command. Implement memory-alias command. Let memory-delete delete
6725 1.1 christos all memory regions.
6726 1.1 christos (add_memopt): New function. Add a memory region.
6727 1.1 christos (do_memopt_delete): New function. Delete a memory region.
6728 1.1 christos
6729 1.1 christos * sim-utils.c (sim_elapsed_time_get): Never return zero.
6730 1.1 christos
6731 1.1 christos * sim-core.c (sim_core_detach): New function.
6732 1.1 christos (sim_core_map_detach): New function. Perform the actual detach.
6733 1.1 christos (sim_core_init): Move initialization code from here.
6734 1.1 christos (sim_core_install): To here.
6735 1.1 christos (sim_core_uninstall): And here.
6736 1.1 christos
6737 1.1 christos * sim-module.c: Add memopt module.
6738 1.1 christos
6739 1.1 christos * sim-base.h (STATE_MEMOPT, STATE_MEMOPT_P): Add memopt to
6740 1.1 christos simulator base type.
6741 1.1 christos
6742 1.1 christos * Make-common.in (sim_main_headers): Add sim-memopt.h
6743 1.1 christos (sim-memopt.o): New target.
6744 1.1 christos
6745 1.1 christos * sim-core.c (sim_core_install): Add core_options to the option
6746 1.1 christos table.
6747 1.1 christos
6748 1.1 christos * sim-watch.c (watch_options): Make --delete-watch a synonym for
6749 1.1 christos --watch-delete.
6750 1.1 christos
6751 1.1 christos * sim-config.h (WITH_MODULO_MEMORY): Define as 0. Update
6752 1.1 christos comments.
6753 1.1 christos
6754 1.1 christos * sim-core.h (struct _sim_core_mapping): Change nr_bytes to type
6755 1.1 christos address_word, add mask member.
6756 1.1 christos
6757 1.1 christos * sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type
6758 1.1 christos address_word, allow for 64bit targets in 32bit host. Add modulo
6759 1.1 christos argument.
6760 1.1 christos (sim_core_map_attach): Ditto.
6761 1.1 christos (new_sim_core_mapping): Ditto.
6762 1.1 christos (sim_core_translate): Mask address when modulo memory.
6763 1.1 christos
6764 1.1 christos Wed Sep 3 17:32:54 1997 Doug Evans <dje (a] seba.cygnus.com>
6765 1.1 christos
6766 1.1 christos * sim-hload.c (sim_load): Add assert for SIM_MAGIC_NUMBER.
6767 1.1 christos
6768 1.1 christos * gdbinit.in: New file.
6769 1.1 christos * aclocal.m4 (SIM_AC_OUTPUT): Build .gdbinit.
6770 1.1 christos * Make-common.in (distclean): Delete .gdbinit.
6771 1.1 christos (.gdbinit): Add rule for.
6772 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6773 1.1 christos
6774 1.1 christos * Make-common.in (cgen-run.o): Add rule for.
6775 1.1 christos
6776 1.1 christos Wed Sep 3 10:08:21 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6777 1.1 christos
6778 1.1 christos * sim-resume.c (sim_resume): Suspend/resume the simulator.
6779 1.1 christos
6780 1.1 christos * sim-events.c (sim_watch_valid): Compute total elapsed time from
6781 1.1 christos both resumed and previous elapsed time.
6782 1.1 christos (sim_events_init): Set initial_wallclock and current_wallclock to
6783 1.1 christos zero.
6784 1.1 christos (sim_events_install): Install sim_events_suspend and
6785 1.1 christos sim_events_resume.
6786 1.1 christos (sim_events_watch_clock): Allow for suspended simulator when
6787 1.1 christos computing the time of the clock event.
6788 1.1 christos
6789 1.1 christos * sim-events.h (struct _sim_event): Add resume_wallclock, rename
6790 1.1 christos initial_wallclock to elapsed_wallclock, set both to zero.
6791 1.1 christos (sim_events_init, sim_events_uninstall): Delete prototypes.
6792 1.1 christos
6793 1.1 christos * sim-module.h (MODULE_SUSPEND_FN, MODULE_RESUME_FN): Define types.
6794 1.1 christos
6795 1.1 christos * sim-module.c(sim_module_resume, sim_module_suspend): New
6796 1.1 christos functions.
6797 1.1 christos
6798 1.1 christos Wed Sep 3 10:08:21 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6799 1.1 christos
6800 1.1 christos * sim-core.c (sim_core_map_attach): Clarify memory overlap error
6801 1.1 christos message.
6802 1.1 christos
6803 1.1 christos Tue Sep 2 14:57:06 1997 Doug Evans <dje (a] canuck.cygnus.com>
6804 1.1 christos
6805 1.1 christos * Makefile.in (TAGS): Add support for "/* TAGS: foo */" marker.
6806 1.1 christos * Make-common.in (TAGS): Likewise.
6807 1.1 christos * sim-n-bits.h: Add TAGS comments for all functions.
6808 1.1 christos * sim-n-core.h: Likewise.
6809 1.1 christos * sim-n-endian.h: Likewise.
6810 1.1 christos
6811 1.1 christos Mon Sep 1 10:50:11 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6812 1.1 christos
6813 1.1 christos * sim-utils.c (sim_state_alloc): Set CPU backlinks, callback and
6814 1.1 christos kind.
6815 1.1 christos
6816 1.1 christos * sim-base.h (sim_state_alloc): Add callback and kind arguments.
6817 1.1 christos
6818 1.1 christos * sim-base.h (INVALID_INSTRUCTION_ADDRESS): Add default
6819 1.1 christos definition.
6820 1.1 christos
6821 1.1 christos Sat Aug 30 09:47:21 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6822 1.1 christos
6823 1.1 christos * sim-fpu.c (DP_GARDMSB, ...): Make unsigned.
6824 1.1 christos (DP_FRACHIGH, DP_FRACHIGH2, ..): Use MSMASK to avoid LL.
6825 1.1 christos
6826 1.1 christos Fri Aug 29 13:37:44 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6827 1.1 christos
6828 1.1 christos * sim-core.c (sim_core_map_attach): Cast attach enum to int.
6829 1.1 christos (sim_core_xor_read_buffer, sim_core_xor_write_buffer): Make
6830 1.1 christos nr_transfered and nr_this_transfer unsigned.
6831 1.1 christos
6832 1.1 christos * sim-events.c (sim_events_tickn): N is signed, as limited to
6833 1.1 christos MAXINT.
6834 1.1 christos
6835 1.1 christos * sim-n-endian.h (offset_N): Change size to unsigned.
6836 1.1 christos
6837 1.1 christos * callback.c (os_poll_quit): Add prototypes for kbhit and getkey.
6838 1.1 christos
6839 1.1 christos Fri Aug 29 10:10:53 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6840 1.1 christos
6841 1.1 christos * sim-utils.c (sim_copy_argv): Delete, replaced by dupargv.
6842 1.1 christos
6843 1.1 christos * sim-options.c (sim_parse_args): Use dupargv.
6844 1.1 christos
6845 1.1 christos Thu Aug 28 10:36:34 1997 Doug Evans <dje (a] canuck.cygnus.com>
6846 1.1 christos
6847 1.1 christos * sim-options.c (standard_option_handler): Use xstrdup, not strdup.
6848 1.1 christos
6849 1.1 christos Thu Aug 28 12:09:15 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6850 1.1 christos
6851 1.1 christos * sim-base.h (STATE_ARCHITECTURE, STATE_TARGET): Add to simulator
6852 1.1 christos base type.
6853 1.1 christos
6854 1.1 christos * sim-options.c (standard_options): Add --architecture=MACHINE and
6855 1.1 christos --target=TARGET options.
6856 1.1 christos (OPTION_ARCHITECTURE, OPTION_TARGET): Define.
6857 1.1 christos (standard_option_handler): Handle architecture and target options.
6858 1.1 christos (bfd.h): Include.
6859 1.1 christos
6860 1.1 christos * sim-utils.c (sim_analyze_program): Pass STATE_TARGET to
6861 1.1 christos bfd_openr.
6862 1.1 christos (sim_analyze_program): Set prog_bfd architecture from
6863 1.1 christos STATE_ARCHITECTURE if known.
6864 1.1 christos
6865 1.1 christos Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6866 1.1 christos
6867 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6868 1.1 christos * config.in: Ditto.
6869 1.1 christos
6870 1.1 christos Wed Aug 27 18:11:30 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6871 1.1 christos
6872 1.1 christos * aclocal.m4 (enable-sim-warnings): Remove comment stating
6873 1.1 christos that option does not apply to certain files.
6874 1.1 christos
6875 1.1 christos Wed Aug 27 15:13:04 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6876 1.1 christos
6877 1.1 christos * sim-bits.h (LSBIT8, LSBIT16, LSBIT32, LSBIT64, LSBIT, MSBIT8,
6878 1.1 christos MSBIT16, MSBIT32, MSBIT64, MSBIT): New macros - single bit as
6879 1.1 christos offset from MSB/LSB.
6880 1.1 christos
6881 1.1 christos * sim-endian.h (A1_8, A2_8, A4_8, A1_4, A2_4, A1_2): New macro,
6882 1.1 christos access address of sub word quantity of a hosts 16, 32, 64 bit word
6883 1.1 christos type.
6884 1.1 christos (V1_2, V1_4, V2_4, V1_8, V2_8, V4_8): Ditto for values.
6885 1.1 christos (U8_1, U8_2, U8_4, U4_1, U4_2, U2_1): Ditto for set of values.
6886 1.1 christos (V2_H1, V2_L1, V4_H2, V4_L2, V8_L4, V8_H4): Given N byte argument,
6887 1.1 christos return N*2 byte value with argument in Hi/Lo word. Renamed from
6888 1.1 christos V1_H2, V1_L2, V2_H4, V2_L4, V4_H8, V4_L8.
6889 1.1 christos
6890 1.1 christos * sim-alu.h (ALU32_HAD_OVERFLOW): Use 64 bit mask not 32bit.
6891 1.1 christos (ALU16_HAD_CARRY, ALU32_HAD_CARRY, ALU16_HAD_OVERFLOW): Use MSBIT
6892 1.1 christos so that bit offset is explicit.
6893 1.1 christos
6894 1.1 christos Wed Aug 27 11:55:35 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6895 1.1 christos
6896 1.1 christos * sim-utils.c (sim_analyze_program): Add prog_name argument.
6897 1.1 christos Update STATE_PROG_BFD when needed with a dup'd copy of the
6898 1.1 christos program.
6899 1.1 christos
6900 1.1 christos * sim-config.c (sim_config): Delete ABFD argument, use
6901 1.1 christos STATE_PROG_BFD directly.
6902 1.1 christos
6903 1.1 christos Tue Aug 26 12:55:26 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6904 1.1 christos
6905 1.1 christos * run.c (main): Pass the open ABFD to sim_create_inferior.
6906 1.1 christos
6907 1.1 christos * nrun.c (main): Determine prog_bfd. Pass to sim_create_inferior
6908 1.1 christos and sim_load.
6909 1.1 christos (bfd.h): Include.
6910 1.1 christos
6911 1.1 christos * sim-hload.c (sim_load): New file. Implement generic sim_load for
6912 1.1 christos hardware only simulator targets.
6913 1.1 christos
6914 1.1 christos * Make-common.in (sim-hload.o): Add rule.
6915 1.1 christos
6916 1.1 christos Wed Aug 27 09:51:42 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6917 1.1 christos
6918 1.1 christos * sim-utils.c (sim_copy_argv): Rewrite to match malloc strategy
6919 1.1 christos used by copyargv and freeargv.
6920 1.1 christos
6921 1.1 christos * sim-options.c (sim_parse_args): Save a copy of PROG-ARGS in
6922 1.1 christos STATE_PROG_ARGV, not just a pointer.
6923 1.1 christos
6924 1.1 christos Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6925 1.1 christos
6926 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
6927 1.1 christos * config.in: Ditto.
6928 1.1 christos
6929 1.1 christos Mon Aug 25 12:11:06 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6930 1.1 christos
6931 1.1 christos * aclocal.m4 (sim-endian): Add second argument to
6932 1.1 christos SIM_AC_OPTION_ENDIAN. First is hardwired endian, second is
6933 1.1 christos default endian when not hardwired.
6934 1.1 christos
6935 1.1 christos * sim-config.h (WITH_DEFAULT_TARGET_BYTE_ORDER): New macro, if all
6936 1.1 christos else failes value for target byte order.
6937 1.1 christos
6938 1.1 christos * sim-config.c (sim_config): Add abfd arguments. Set
6939 1.1 christos STATE_PROG_BFD accordingly. Determine prefered_target_byte_order
6940 1.1 christos from same.
6941 1.1 christos (sim_config): Return SIM_RC, don't abort.
6942 1.1 christos (bfd.h): Include.
6943 1.1 christos
6944 1.1 christos * run.c (main): Update call to sim_open - add ABFD argument.
6945 1.1 christos * nrun.c (main): Add NULL ABFD argument.
6946 1.1 christos
6947 1.1 christos Thu Aug 14 12:48:57 1997 Doug Evans <dje (a] canuck.cygnus.com>
6948 1.1 christos
6949 1.1 christos * callback.c (os_poll_quit): Make static.
6950 1.1 christos Call sim_cb_eprintf, not p->eprintf.
6951 1.1 christos (sim_cb_printf, sim_cb_eprintf): New functions.
6952 1.1 christos * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Declare.
6953 1.1 christos
6954 1.1 christos * sim-basics.h (zalloc,zfree,sim_add_commas,SIM_ELAPSED_TIME,
6955 1.1 christos sim_elapsed_time_get,sim_elapsed_time_since): Move decls to
6956 1.1 christos sim-utils.h. #include sim-utils.h.
6957 1.1 christos * sim-utils.h: Above decls moved here.
6958 1.1 christos (sim_analyze_program,sim_load_file): Use `struct _bfd', not `bfd'.
6959 1.1 christos
6960 1.1 christos * sim-watch.c (action_watchpoint): Fix thinkos.
6961 1.1 christos
6962 1.1 christos Thu Jul 24 08:48:05 1997 Stu Grossman (grossman (a] critters.cygnus.com)
6963 1.1 christos
6964 1.1 christos * sim-types.h: Fix defs of 64 bit data types for MSVC.
6965 1.1 christos
6966 1.1 christos Tue Jul 22 10:35:37 1997 Doug Evans <dje (a] canuck.cygnus.com>
6967 1.1 christos
6968 1.1 christos * sim-n-core.h (sim_core_write_unaligned_N): Add missing break
6969 1.1 christos to FORCED_ALIGNMENT case.
6970 1.1 christos
6971 1.1 christos Thu Jun 5 13:48:37 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6972 1.1 christos
6973 1.1 christos * callback.c (target_to_host_open): Handle hosts with O_BINARY.
6974 1.1 christos
6975 1.1 christos Thu Jun 5 08:47:10 1997 Jeffrey A Law (law (a] cygnus.com)
6976 1.1 christos
6977 1.1 christos * Make-common.in (libsim.a): Fix typo.
6978 1.1 christos
6979 1.1 christos Thu Jun 5 13:48:37 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6980 1.1 christos
6981 1.1 christos * nrun.c (main): Verify the structure returned before using it.
6982 1.1 christos
6983 1.1 christos Wed Jun 4 11:44:06 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6984 1.1 christos
6985 1.1 christos * sim-config.h (WITH_ENGINE): Enable the sim-engine module by
6986 1.1 christos default.
6987 1.1 christos
6988 1.1 christos * sim-engine.c (sim_engine_install): New function. Install the
6989 1.1 christos engine init functions.
6990 1.1 christos (sim_engine_init): [Re]initialize the simulator engine.
6991 1.1 christos
6992 1.1 christos * sim-module.c: Add sim_engine to list of modules that always
6993 1.1 christos install.
6994 1.1 christos
6995 1.1 christos Tue Jun 3 04:52:04 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
6996 1.1 christos
6997 1.1 christos * sim-watch.c (schedule_watchpoint): Use sim_unschedule_watchpoint
6998 1.1 christos to remove the old watchpoint, not delete_watchpoint.
6999 1.1 christos (watch_option_handler): Action the correct watchpoint, not just
7000 1.1 christos cycles.
7001 1.1 christos
7002 1.1 christos Wed May 28 14:47:41 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7003 1.1 christos
7004 1.1 christos * sim-n-core.h (sim_core_write_aligned_N): For 8byte reads, output
7005 1.1 christos both low and high word.
7006 1.1 christos (sim_core_write_aligned_N): Ditto.
7007 1.1 christos
7008 1.1 christos * sim-trace.c (set_trace_options): Delete code explicitly setting
7009 1.1 christos core->trace.
7010 1.1 christos
7011 1.1 christos * sim-options.c (sim_print_help): Call the list commands if not a
7012 1.1 christos standalone simulator.
7013 1.1 christos (sim_print_help): Advise that some options may not be applicable.
7014 1.1 christos
7015 1.1 christos * sim-trace.c (set_trace_options): Assume core present.
7016 1.1 christos
7017 1.1 christos * sim-events.c (sim_events_schedule_after_signal): Overflow signal
7018 1.1 christos buffer when full not almost full.
7019 1.1 christos
7020 1.1 christos Tue May 27 14:32:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7021 1.1 christos
7022 1.1 christos * sim-events.c (sim_events_process): Don't blat the event queue
7023 1.1 christos when processing watchpoints.
7024 1.1 christos
7025 1.1 christos * sim-watch.h: Make arg unsigned long - stop sign extension.
7026 1.1 christos
7027 1.1 christos * sim-events.c (sim_watch_valid): rewrite so debugable.
7028 1.1 christos
7029 1.1 christos * sim-config.h (WITH_XOR_ENDIAN): Default to zero.
7030 1.1 christos
7031 1.1 christos * sim-watch.c (schedule_watchpoint): Add is_within option so that
7032 1.1 christos inequality test is possible.
7033 1.1 christos (handle_watchpoint): Re-pass is_within arg.
7034 1.1 christos (watch_option_handler): When `!' prefix to pc-watchpoint arg pass
7035 1.1 christos 0 to schedule_watchpoint's is_within arg.
7036 1.1 christos (sim_watchpoint_init): Re-pass is_within arg.
7037 1.1 christos
7038 1.1 christos * sim-options.c (sim_print_help): Add is_command argument. Don't
7039 1.1 christos include -- prefix when called from the command line interpreter.
7040 1.1 christos
7041 1.1 christos * sim-watch.c (schedule_watchpoint): Pass true is_within argument.
7042 1.1 christos
7043 1.1 christos * sim-events.c (sim_events_watch_sim): Add is_within argument,
7044 1.1 christos zero indicates that the test should be reversed.
7045 1.1 christos (sim_events_watch_core): Ditto.
7046 1.1 christos (WATCH_CORE): Compare range against is_within.
7047 1.1 christos (WATCH_SIM): Ditto.
7048 1.1 christos
7049 1.1 christos Tue May 27 12:48:03 1997 Andrew Cagney <cagney (a] b2.cygnus.com>
7050 1.1 christos
7051 1.1 christos * sim-events.c (WATCH_CORE): Pass NULL cpu argument to
7052 1.1 christos sim_core_read_buffer. Check nr-bytes transfered.
7053 1.1 christos
7054 1.1 christos * sim-core.h (sim_core_common): Define a new struct that contains
7055 1.1 christos the common data. to sd and cpu structures.
7056 1.1 christos * sim-core.c (sim_core_attach): Update.
7057 1.1 christos (sim_core_init): Update. Remember to copy initialized data to each
7058 1.1 christos cpu.
7059 1.1 christos (sim_core_find_mapping): Ditto.
7060 1.1 christos
7061 1.1 christos * sim-core.c (sim_core_read_buffer): Add cpu argument.
7062 1.1 christos (sim_core_write_buffer): Ditto.
7063 1.1 christos
7064 1.1 christos * sim-n-core.h (sim_core_read_unaligned_N): When mis-aligned
7065 1.1 christos transfer use xor version of read buffer.
7066 1.1 christos (sim_core_write_unaligned_N): Ditto for write.
7067 1.1 christos
7068 1.1 christos * sim-core.c (sim_core_xor_read_buffer): New function implement
7069 1.1 christos xor-endian data read breaking transfer up into xor-endian sized
7070 1.1 christos blocks.
7071 1.1 christos (sim_core_xor_write_buffer): Ditto for write.
7072 1.1 christos (reverse_n): Reverse order of arbitrary number of bytes in buffer
7073 1.1 christos - needed for xor-endian transfers.
7074 1.1 christos
7075 1.1 christos Fri May 23 14:24:31 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7076 1.1 christos
7077 1.1 christos * sim-inline.h: Review description.
7078 1.1 christos
7079 1.1 christos * sim-core.h, sim-core.c: Reduce number of functions being inlined
7080 1.1 christos to just those involved in data transfers and configuration.
7081 1.1 christos
7082 1.1 christos * sim-xcat.h (XSTRING): New macro, map macro definition onto
7083 1.1 christos string.
7084 1.1 christos * sim-n-core.h (sim_core_read_aligned_N): Use.
7085 1.1 christos (sim_core_read_unaligned_N): Ditto.
7086 1.1 christos (sim_core_read_unaligned_N): Ditto..
7087 1.1 christos (sim_core_write_unaligned_N): Ditto.
7088 1.1 christos
7089 1.1 christos * sim-core.h: Add xor endian bitmap to main structure. *
7090 1.1 christos
7091 1.1 christos sim-n-core.h (sim_core_write_aligned_N): Add suport for xor
7092 1.1 christos endian.
7093 1.1 christos (sim_core_read_aligned_N): Ditto.
7094 1.1 christos
7095 1.1 christos * sim-core.c (sim_core_set_xor_endian): New function.
7096 1.1 christos (sim_core_attach): Don't overwrite the per-cpu xor map when
7097 1.1 christos cloning the global core.
7098 1.1 christos
7099 1.1 christos Fri May 23 10:53:13 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7100 1.1 christos
7101 1.1 christos * sim-engine.h: Update below so that it is using an enumerated
7102 1.1 christos type.
7103 1.1 christos
7104 1.1 christos Thu May 22 09:12:16 1997 Gavin Koch <gavin (a] cygnus.com>
7105 1.1 christos
7106 1.1 christos * sim-engine.c (sim_engine_restart):
7107 1.1 christos * sim-resume.c (sim_resume): Change longjmp param/setjmp
7108 1.1 christos return value used for simulator restart from 0 to 2.
7109 1.1 christos
7110 1.1 christos Wed May 21 08:47:30 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7111 1.1 christos
7112 1.1 christos * cgen-scache.c (scache_option_handler): Add is_command arg.
7113 1.1 christos
7114 1.1 christos * sim-model.c (model_option_handler): Add is_command argument.
7115 1.1 christos
7116 1.1 christos * sim-profile.c (profile_option_handler): Add is_command arg.
7117 1.1 christos
7118 1.1 christos * sim-events.c (sim_watch_valid): Use ub64, lb64 when 64bit value
7119 1.1 christos involved.
7120 1.1 christos
7121 1.1 christos * sim-module.c (sim_module_add_init_fn): Call init fn in the same
7122 1.1 christos order that they are registered.
7123 1.1 christos
7124 1.1 christos * sim-options.h (OPTION_HANDLER): Add argument to differentiate
7125 1.1 christos between option and command line processing.
7126 1.1 christos
7127 1.1 christos * sim-options.c: Include stdlib.h, ctype.h.
7128 1.1 christos
7129 1.1 christos * Make-common.in (sim-watch.o): Add rule.
7130 1.1 christos (sim_main_headers): Assume sim-assert.h included.
7131 1.1 christos (sim-*.o): Simplify make rule.
7132 1.1 christos
7133 1.1 christos * sim-module.c: Add sim_watch_install to module list.
7134 1.1 christos
7135 1.1 christos Tue May 20 14:15:23 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7136 1.1 christos
7137 1.1 christos * sim-base.h (STATE_LOADED_P): New predicate. Set once everything
7138 1.1 christos has been loaded.
7139 1.1 christos
7140 1.1 christos * sim-trace.c (trace_install): Check magic. Include sim-assert.h.
7141 1.1 christos * sim-events.c (sim_events_install): Ditto.
7142 1.1 christos * sim-core.c (sim_core_install): Ditto.
7143 1.1 christos * sim-model.c (model_install): Ditto.
7144 1.1 christos * sim-options.c (standard_install): Ditto.
7145 1.1 christos * sim-profile.c (profile_install): Ditto.
7146 1.1 christos * sim-reason.c (sim_stop_reason): Ditto.
7147 1.1 christos * sim-run.c (sim_engine_run): Ditto.
7148 1.1 christos * sim-utils.c (sim_analyze_program): Ditto.
7149 1.1 christos
7150 1.1 christos * sim-module.c (modules): Make profile_install and trace_install
7151 1.1 christos optional.
7152 1.1 christos
7153 1.1 christos * sim-base.h (STATE_MEM_BASE): Define for flat memory systems.
7154 1.1 christos
7155 1.1 christos * sim-options.c (standard_option_handler): Set the byte order.
7156 1.1 christos
7157 1.1 christos * sim-events.c (sim_events_process): Allow multi tick processing.
7158 1.1 christos (sim_events_tickn): New function - multi cycle tick.
7159 1.1 christos
7160 1.1 christos * sim-events.h (sim_events_tickn, sim_events_timewarp): Add
7161 1.1 christos prototypes. Under development.
7162 1.1 christos (sim_events): Replace processing with nr_ticks_to_process.
7163 1.1 christos
7164 1.1 christos Tue May 20 09:39:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7165 1.1 christos
7166 1.1 christos * nrun.c (main): Pass callbacks to sim_open instead of using
7167 1.1 christos sim_set_callbacks.
7168 1.1 christos
7169 1.1 christos * run.c (main): Ditto.
7170 1.1 christos
7171 1.1 christos Mon May 19 12:07:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7172 1.1 christos
7173 1.1 christos * sim-events.c (sim_events_zalloc): Signal save memory allocator -
7174 1.1 christos stop tk interrupting malloc calls.
7175 1.1 christos (sim_events_zalloc): Converse.
7176 1.1 christos
7177 1.1 christos * Make-common.in (sim_main_headers): Add sim-events.h.
7178 1.1 christos
7179 1.1 christos * sim-events.c (sim_events_schedule_after_signal): Change return
7180 1.1 christos type to void - signal events are strictly internal.
7181 1.1 christos (sim_events_init): Allocate a finite buffer for signal events.
7182 1.1 christos (sim_events_schedule_after_signal): Enter signal events into the
7183 1.1 christos signal buffer.
7184 1.1 christos
7185 1.1 christos * sim-engine.c (sim_engine_halt): Check SIM_DESC magic.
7186 1.1 christos (sim_engine_restart): Ditto.
7187 1.1 christos (sim_engine_abort): Ditto.
7188 1.1 christos * sim-stop.c (sim_stop): Ditto.
7189 1.1 christos (control_c_simulation): Ditto.
7190 1.1 christos * sim-resume.c (sim_resume): Ditto.
7191 1.1 christos (has_stepped): Ditto.
7192 1.1 christos * sim-abort.c (sim_engine_abort): Ditto.
7193 1.1 christos
7194 1.1 christos * sim-basics.h (transfer_type): New type.
7195 1.1 christos
7196 1.1 christos * sim-core.c (sim_core_signal): New function. Print core signal
7197 1.1 christos information.
7198 1.1 christos (sim_core_find_mapping): Add transfer argument.
7199 1.1 christos
7200 1.1 christos * sim-n-core.h (sim_core_{write,write}_unaligned_N): Call
7201 1.1 christos SIM_CORE_SIGNAL if a recoverable abort.
7202 1.1 christos * sim-core.c (sim_core_find_mapping): Ditto.
7203 1.1 christos
7204 1.1 christos Fri May 16 15:13:21 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7205 1.1 christos
7206 1.1 christos * sim-core.c (sim_core_find_mapping): Replace calls to
7207 1.1 christos sim_io_error to more resiliant sim_engine_abort.
7208 1.1 christos
7209 1.1 christos * sim-n-core.h (sim_core_read_unaligned_N): Ditto.
7210 1.1 christos (sim_core_write_unaligned_N): Ditto.
7211 1.1 christos
7212 1.1 christos Tue May 13 13:50:06 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7213 1.1 christos
7214 1.1 christos * sim-module.c: Add sim_events_install to list.
7215 1.1 christos
7216 1.1 christos * sim-events.c (sim_events_install, sim_events_uninstall): Clonse
7217 1.1 christos from sim_core_*.
7218 1.1 christos (sim_events_init): Now returns SIG_RC.
7219 1.1 christos
7220 1.1 christos * sim-run.c: New file. Generic sim_engine_run.
7221 1.1 christos * sim-reason.c: New file. Generic sim_stop_reason.
7222 1.1 christos * sim-stop.c: New file. Generic sim_stop.
7223 1.1 christos * sim-resume.c: New file. Generic sim_resume.
7224 1.1 christos
7225 1.1 christos * Make-common.in (sim-engine.o): Add rule.
7226 1.1 christos (sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto.
7227 1.1 christos
7228 1.1 christos * sim-engine.h, sim-engine.c: New file. Provide generic
7229 1.1 christos implementation of sim_engine_halt, sim_engine_error. et.al.
7230 1.1 christos
7231 1.1 christos * sim-base.h (sim_state_base): Add member halt.
7232 1.1 christos (sim-engine.h): Include.
7233 1.1 christos
7234 1.1 christos * sim-events.h (sim_event_handler): Always pass SIM_DESC to event
7235 1.1 christos handlers.
7236 1.1 christos * sim-events.c (sim_events_poll): Update event handler.
7237 1.1 christos
7238 1.1 christos Tue May 13 09:57:49 1997 Andrew Cagney <cagney (a] b2.cygnus.com>
7239 1.1 christos
7240 1.1 christos * sim-events.h, sim-events.c (sim_events_watch_clock): New
7241 1.1 christos function.
7242 1.1 christos (sim_events_watch_sim): New function.
7243 1.1 christos (sim_events_watch_core): New function.
7244 1.1 christos (sim_watch_valid): New function.
7245 1.1 christos (sim_events_preprocess): New function.
7246 1.1 christos (sim_events_process): Process the watchpoints as well as the timer
7247 1.1 christos queue.
7248 1.1 christos (sim_events_tick): Check WORK_PENDING instead of the hold queue.
7249 1.1 christos (sim_events_deschedule): Check all the queues when removing an
7250 1.1 christos event.
7251 1.1 christos (sim_events_init): Ditto for cleaning.
7252 1.1 christos
7253 1.1 christos Mon May 19 12:07:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7254 1.1 christos
7255 1.1 christos * sim-fpu.c (is_ufpu_number): Comment out - currently unused.
7256 1.1 christos
7257 1.1 christos Mon May 19 11:23:03 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7258 1.1 christos
7259 1.1 christos * callback.c (os_open): Type of arg flags is int.
7260 1.1 christos
7261 1.1 christos Fri May 16 22:26:43 1997 Michael Meissner <meissner (a] cygnus.com>
7262 1.1 christos
7263 1.1 christos * sim-fpu.c (sim_fpu_is_{eq,ne,lt,le,gt,ge}): Compare Infinities
7264 1.1 christos just like normal numbers as per IEEE rules.
7265 1.1 christos
7266 1.1 christos Wed May 14 21:20:38 1997 Bob Manson <manson (a] charmed.cygnus.com>
7267 1.1 christos
7268 1.1 christos * callback.c (os_close): Mark the descriptor as being
7269 1.1 christos available if the close succeeded.
7270 1.1 christos (os_open): Pass 0644 as the mode of the file being created.
7271 1.1 christos
7272 1.1 christos Thu May 15 10:58:52 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7273 1.1 christos
7274 1.1 christos * sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a
7275 1.1 christos float.
7276 1.1 christos
7277 1.1 christos * sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_.
7278 1.1 christos * sim-lnline.h: Update.
7279 1.1 christos
7280 1.1 christos * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp
7281 1.1 christos conversion functions.
7282 1.1 christos (sim_fpu_to{32,64}[iu]): New fp2int functions.
7283 1.1 christos
7284 1.1 christos * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp
7285 1.1 christos compare functions. Replacing.
7286 1.1 christos (sim_fpu_cmp): This. Delete.
7287 1.1 christos
7288 1.1 christos Mon May 12 14:49:05 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7289 1.1 christos
7290 1.1 christos * sim-core.c (sim_core_find_mapping): Call engine_error not
7291 1.1 christos sim_io_error when possible.
7292 1.1 christos
7293 1.1 christos Mon May 12 08:55:07 1997 Andrew Cagney <cagney (a] b2.cygnus.com>
7294 1.1 christos
7295 1.1 christos * sim-endian.h (V1_H2): Add macro's to insert a word into a
7296 1.1 christos high/low double word.
7297 1.1 christos
7298 1.1 christos * sim-trace.h: Remove definition of attribute - defined in
7299 1.1 christos sim_basics.h.
7300 1.1 christos
7301 1.1 christos Mon May 12 08:55:07 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7302 1.1 christos
7303 1.1 christos * sim-options.h (struct OPTION): Add doc_opt as the documenting
7304 1.1 christos name of the option - or family of options.
7305 1.1 christos
7306 1.1 christos * sim-options.c (sim_args_command): Match command `a-b c' with
7307 1.1 christos option `--a-b-c' from option table.
7308 1.1 christos
7309 1.1 christos Thu May 8 12:40:07 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7310 1.1 christos
7311 1.1 christos * sim-options.c (sim_print_help): For optional arguments, wrap
7312 1.1 christos them in [].
7313 1.1 christos
7314 1.1 christos * sim-trace.c (set_trace_options): New function, handle optional
7315 1.1 christos argument and multiple assignment.
7316 1.1 christos (trace_option_handler): Update.
7317 1.1 christos
7318 1.1 christos * sim-trace.c (trace_option_handler): Trace branch and not fpu
7319 1.1 christos when branch tracing selected.
7320 1.1 christos
7321 1.1 christos Wed May 7 15:19:58 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7322 1.1 christos
7323 1.1 christos * sim-trace.c (trace_one_insn): Make a va-args function.
7324 1.1 christos
7325 1.1 christos * sim-trace.c (trace_vprintf): New function, va-arg version of
7326 1.1 christos trace_printf.
7327 1.1 christos
7328 1.1 christos Tue May 6 16:38:16 1997 Doug Evans <dje (a] canuck.cygnus.com>
7329 1.1 christos
7330 1.1 christos * sim-trace.c (trace_uninstall): Don't close a file twice.
7331 1.1 christos * sim-profile.c (profile_uninstall): Likewise.
7332 1.1 christos
7333 1.1 christos Tue May 6 06:14:01 1997 Mike Meissner <meissner (a] cygnus.com>
7334 1.1 christos
7335 1.1 christos * sim-trace.c (toplevel): Include bfd.h.
7336 1.1 christos (trace_options): Note that --trace-linenum also turns on
7337 1.1 christos --trace-insn. Add --trace-{branch,semantics}.
7338 1.1 christos (trace_option_handler): If --trace-linenum, also turn on
7339 1.1 christos --trace-insn. Add --trace-branch support. If --trace-semantics,
7340 1.1 christos turn on ALU, FPU, branch, and memory tracing.
7341 1.1 christos (trace_one_insn): New function to trace an instruction. Support
7342 1.1 christos --trace-linenum.
7343 1.1 christos (OPTION_TRACE_*): Use an enum, rather than lots of defines.
7344 1.1 christos
7345 1.1 christos * sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros.
7346 1.1 christos (MAX_TRACE_VALUES): Use 32, not 12 by default.
7347 1.1 christos (TRACE_branch): Add new mask.
7348 1.1 christos (TRACE_*_P): Define all possible trace_p macros.
7349 1.1 christos (trace_one_insn): Declare function.
7350 1.1 christos
7351 1.1 christos Mon May 5 14:08:34 1997 Mike Meissner <meissner (a] cygnus.com>
7352 1.1 christos
7353 1.1 christos * sim-trace.h (__attribute__): Define as nothing if not GNU C or
7354 1.1 christos GNU C doesn't support __attributes__.
7355 1.1 christos ({trace,debug}_printf): Add attribute's so -Wformat can check the
7356 1.1 christos format strings.
7357 1.1 christos
7358 1.1 christos Mon May 5 11:16:12 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7359 1.1 christos
7360 1.1 christos * sim-config.h (FORCED_ALIGNMENT): New alignment option -
7361 1.1 christos addresses are masked forcing them to be correctly aligned.
7362 1.1 christos (WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default.
7363 1.1 christos * sim-config.c (config_alignment_to_a): Update.
7364 1.1 christos
7365 1.1 christos * sim-core.h (sim_cpu_core): New data type contains cpu specific
7366 1.1 christos core data.
7367 1.1 christos * sim-base.h (CPU_CORE): Add cpu specific core data to cpu base
7368 1.1 christos type.
7369 1.1 christos * sim-core.c (sim_core_attach): Add CPU argument. Ready for
7370 1.1 christos processor specific core maps.
7371 1.1 christos (sim_core_map_attach): Copy the core map data to each of the
7372 1.1 christos processor specific core data structures.
7373 1.1 christos * sim-core.c (sim_core_find_mapping): Update.
7374 1.1 christos
7375 1.1 christos * sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename.
7376 1.1 christos (sim_core_write_aligned_N, sim_core_write_aligned_N): New names.
7377 1.1 christos (sim_core_write_unaligned_N, sim_core_write_unaligned_N): New
7378 1.1 christos alternatives that handle unaligned addresses.
7379 1.1 christos (sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace
7380 1.1 christos with just CPU arg.
7381 1.1 christos * cgen-utils.c (sim_disassemble_insn): Update.
7382 1.1 christos
7383 1.1 christos Mon May 5 13:19:16 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7384 1.1 christos
7385 1.1 christos * sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific
7386 1.1 christos tracing.
7387 1.1 christos
7388 1.1 christos * sim-fpu.h, sim-fpu.c: New files - prototype for generic target
7389 1.1 christos fpu support.
7390 1.1 christos
7391 1.1 christos * sim-inline.h, sim-inline.c: Add support for SIM_FPU.
7392 1.1 christos
7393 1.1 christos Fri May 2 17:59:42 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7394 1.1 christos
7395 1.1 christos * sim-core.c (sim_core_map_to_str): New function ascii equivalent
7396 1.1 christos to map type.
7397 1.1 christos
7398 1.1 christos * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace
7399 1.1 christos statement.
7400 1.1 christos
7401 1.1 christos Fri May 2 17:28:02 1997 Andrew Cagney <cagney (a] b2.cygnus.com>
7402 1.1 christos
7403 1.1 christos * cgen-trace.c: Prepend additional trace_printf argument.
7404 1.1 christos
7405 1.1 christos * cgen-utils.c (sim_disassemble_insn): Add additional core
7406 1.1 christos arguments.
7407 1.1 christos
7408 1.1 christos Fri May 2 11:40:23 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7409 1.1 christos
7410 1.1 christos * nrun.c (main): Catch/report errorenous simulator states.
7411 1.1 christos
7412 1.1 christos * sim-module.c: #include "libiberty.h" so that xmalloc is defined.
7413 1.1 christos * sim-trace.c: #include string.h/strings.h so that memset is
7414 1.1 christos defined.
7415 1.1 christos * sim-utils.c: Ditto.
7416 1.1 christos * sim-profile.c: Ditto. And stdlib.h.
7417 1.1 christos (print_bar): Only define when used by instruction or memory profiler.
7418 1.1 christos
7419 1.1 christos * sim-options.c (standard_option_handler): Make ul more local.
7420 1.1 christos
7421 1.1 christos * sim-load.c (sim_load_file): Make the name constant.
7422 1.1 christos (sim_load_file): Passify gcc.
7423 1.1 christos
7424 1.1 christos * sim-utils.h: New file, pre-declare utilites in corresponding .c
7425 1.1 christos file.
7426 1.1 christos * sim-utils.c, sim-load.c: Include sim-utils.h.
7427 1.1 christos
7428 1.1 christos * sim-base.h (sim_cpu): Pre define here so available to all.
7429 1.1 christos
7430 1.1 christos * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N):
7431 1.1 christos Restore the sim_cpu and instruction_address arguments so that full
7432 1.1 christos information is available to the abort function.
7433 1.1 christos * sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto.
7434 1.1 christos * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
7435 1.1 christos
7436 1.1 christos * sim-trace.h, sim-trace.c (trace_option_handler): Add interim
7437 1.1 christos tracing support for sim-events and sim-core.
7438 1.1 christos (trace_option_handler): Convert #if to if where possible so always
7439 1.1 christos compiled/checked by C compiler.
7440 1.1 christos * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
7441 1.1 christos
7442 1.1 christos * sim-base.h: Adjust comment documenting how to define the cpu
7443 1.1 christos structure.
7444 1.1 christos (sim_state_base): Add sim_core and sim_events to simulator base
7445 1.1 christos object.
7446 1.1 christos
7447 1.1 christos * sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument.
7448 1.1 christos * sim-core.c (sim_core_init, sim_core_attach,
7449 1.1 christos sim_core_find_mapping): Update.
7450 1.1 christos * sim-events.c (ETRACE, sim_events_init, sim_events_time,
7451 1.1 christos update_time_from_event, insert_sim_event,
7452 1.1 christos sim_events_schedule_after_signal, sim_events_deschedule,
7453 1.1 christos sim_events_tick): Ditto.
7454 1.1 christos
7455 1.1 christos * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h,
7456 1.1 christos sim-model.h): Move #includes from here.
7457 1.1 christos * sim-base.h: To here.
7458 1.1 christos (sim-core.h, sim-events.h, sim-io.h): Include also
7459 1.1 christos
7460 1.1 christos Wed Apr 30 15:37:54 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7461 1.1 christos
7462 1.1 christos * callback.c (default_callback): Missing initialisers.
7463 1.1 christos
7464 1.1 christos Thu May 1 10:40:47 1997 Doug Evans <dje (a] canuck.cygnus.com>
7465 1.1 christos
7466 1.1 christos * sim-utils.c (sim_add_commas): New function.
7467 1.1 christos * sim-basics.h (sim_add_commas): Add prototype.
7468 1.1 christos * cgen-scache.c (scache_print_profile): Print commas in numbers.
7469 1.1 christos * sim-profile.c (COMMAS): New macro.
7470 1.1 christos (print_*): Use it to print commas in numbers.
7471 1.1 christos
7472 1.1 christos * configure: Regenerated.
7473 1.1 christos
7474 1.1 christos * cgen-sim.h (sim_signal_type): Add SIM_SIGINT.
7475 1.1 christos (cgen_state): New member run_fast_p.
7476 1.1 christos (cgen_init): Add prototype.
7477 1.1 christos (sim_disassemble_insn): New arg `cpu'.
7478 1.1 christos * cgen-trace.c (trace_insn): Update call to sim_disassemble_insn.
7479 1.1 christos * cgen-utils.c (cgen_init): New function.
7480 1.1 christos (sim_disassemble_insn): New arg `cpu'. Rewrite fetching of insn.
7481 1.1 christos * genmloop.sh: Call engine_halt if loop exits.
7482 1.1 christos
7483 1.1 christos * Makefile.in (sim-options_h): Define.
7484 1.1 christos (sim-{module,options,trace,profile,utils}.o): Clean up dependencies.
7485 1.1 christos (sim-model.o): Add new rule.
7486 1.1 christos (cgen-{scache,trace,utils}.o): Add new rules.
7487 1.1 christos * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add.
7488 1.1 christos * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'.
7489 1.1 christos Indent output by 2 spaces.
7490 1.1 christos * cgen-scache.h (scache_print_profile): Update.
7491 1.1 christos * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces.
7492 1.1 christos Use trace_printf, not fprintf.
7493 1.1 christos (trace_extract): Use trace_printf, not cgen_trace_printf.
7494 1.1 christos * genmloop.sh (!FAST case): Increment `insn_count'.
7495 1.1 christos * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE.
7496 1.1 christos (sim_cpu_base): Rename member `sd' to `state' to be consistent with
7497 1.1 christos access macro's name.
7498 1.1 christos * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it.
7499 1.1 christos Change return type to SIM_RC.
7500 1.1 christos (sim_core_{install,uninstall}): New functions.
7501 1.1 christos * sim-core.h (sim_core_{install,uninstall}): Declare.
7502 1.1 christos (sim_core_init): Use EXTERN_SIM_CORE to define it.
7503 1.1 christos Change return type to SIM_RC.
7504 1.1 christos * sim-model.h (models,machs,model_install): Declare.
7505 1.1 christos * sim-module.c (modules): Add scache_install, model_install.
7506 1.1 christos (sim_post_argv_init): Set cpu->state backlinks.
7507 1.1 christos * sim-options.c (standard_options): Delete --simcache-size,--max-insns.
7508 1.1 christos (standard_option_handler): Likewise.
7509 1.1 christos * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to
7510 1.1 christos sim-profile.h.
7511 1.1 christos (*): Assume ANSI C.
7512 1.1 christos (profile_options): Delete --profile-simcache.
7513 1.1 christos (profile_option_handler): Likewise.
7514 1.1 christos (profile_print_insn): Change `sd' arg to `cpu'. Indent output 2
7515 1.1 christos spaces.
7516 1.1 christos (profile_print_{memory,model}): Likewise.
7517 1.1 christos (profile_print_simcache): Delete.
7518 1.1 christos (profile_print_speed): New function.
7519 1.1 christos (profile_print): Rewrite.
7520 1.1 christos * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache.
7521 1.1 christos (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P.
7522 1.1 christos (PROFILE_DATA): Delete members simcache_{hits,misses}.
7523 1.1 christos (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete.
7524 1.1 christos (PROFILE_{CALLBACK,CPU_CALLBACK}): New types.
7525 1.1 christos (profile_print): Update prototype.
7526 1.1 christos
7527 1.1 christos Wed Apr 30 11:34:14 1997 Doug Evans <dje (a] canuck.cygnus.com>
7528 1.1 christos
7529 1.1 christos * cgen-scache.[ch], cgen-sim.h: New files.
7530 1.1 christos * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
7531 1.1 christos * sim-model.c: New file.
7532 1.1 christos
7533 1.1 christos * Make-common.in (clean targets): Undo patch of Apr. 22.
7534 1.1 christos
7535 1.1 christos Fri Apr 25 15:28:32 1997 Mike Meissner <meissner (a] cygnus.com>
7536 1.1 christos
7537 1.1 christos * sim-n-bits.h (signed): If we have a standard compiler, undef
7538 1.1 christos signed, so that signedN is defined correctly.
7539 1.1 christos
7540 1.1 christos Thu Apr 24 00:00:07 1997 Doug Evans <dje (a] canuck.cygnus.com>
7541 1.1 christos
7542 1.1 christos * sim-module.h, sim-model.h, sim-profile.h: New files.
7543 1.1 christos * sim-module.c, sim-profile.c: New files.
7544 1.1 christos * Make-common.in (SIM_PROFILE): Define
7545 1.1 christos (CONFIG_CFLAGS): Add $(SIM_PROFILE).
7546 1.1 christos (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
7547 1.1 christos (sim_module.o,sim-profile.o): Add rules for.
7548 1.1 christos * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
7549 1.1 christos (--enable-sim-profile): Add.
7550 1.1 christos * configure: Regenerated.
7551 1.1 christos * sim-base.h (sim_state_base): New members init_list, uninstall_list,
7552 1.1 christos model. Move trace and profile support to sim-{trace,profile}.h.
7553 1.1 christos New members trace_data, profile_data.
7554 1.1 christos * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
7555 1.1 christos * sim-config.h: Provide default definition of WITH_PROFILE.
7556 1.1 christos (WITH_TRACE): Change default to -1.
7557 1.1 christos (MAX_NR_PROCESSORS): Always define.
7558 1.1 christos * sim-options.c: Move trace and profile support to
7559 1.1 christos sim-{trace,profile}.h.
7560 1.1 christos (sim_pre_argv_init): Moved to sim-model.c.
7561 1.1 christos (standard_install): New function.
7562 1.1 christos * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
7563 1.1 christos (standard_install): Declare.
7564 1.1 christos * sim-trace.c: Tracing option handling moved here from sim-options.c.
7565 1.1 christos (trace_install, trace_uninstall): New functions.
7566 1.1 christos (trace_printf): Update reference to TRACE_FILE.
7567 1.1 christos * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
7568 1.1 christos (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
7569 1.1 christos (WITH_TRACE_FOO_P): Define.
7570 1.1 christos (trace_install): Declare.
7571 1.1 christos (TRACE_DATA): New struct.
7572 1.1 christos
7573 1.1 christos Wed Apr 23 17:23:15 1997 Doug Evans <dje (a] canuck.cygnus.com>
7574 1.1 christos
7575 1.1 christos * run.c: Undo last exec_bfd patch.
7576 1.1 christos (main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
7577 1.1 christos
7578 1.1 christos Wed Apr 23 17:54:27 1997 Mike Meissner <meissner (a] cygnus.com>
7579 1.1 christos
7580 1.1 christos * run.c (exec_bfd): Add back in.
7581 1.1 christos (main): Set exec_bfd.
7582 1.1 christos
7583 1.1 christos Tue Apr 22 14:43:46 1997 Doug Evans <dje (a] canuck.cygnus.com>
7584 1.1 christos
7585 1.1 christos * sim-load.c (sim_load_file): #include <stdio.h> for NULL.
7586 1.1 christos
7587 1.1 christos Wed Apr 23 02:55:54 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7588 1.1 christos
7589 1.1 christos * sim-events.c (insert_sim_event): Call sim_io_error instead of
7590 1.1 christos less well defined engine_error.
7591 1.1 christos * sim-core.c: Ditto.
7592 1.1 christos
7593 1.1 christos Tue Apr 22 08:48:16 1997 Stu Grossman (grossman (a] critters.cygnus.com)
7594 1.1 christos
7595 1.1 christos * Make-common.in: Change clean targets to use :: so that other
7596 1.1 christos Makefiles can have their own clean targets.
7597 1.1 christos * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of
7598 1.1 christos __STDC__ to control use of stdarg vs. varargs syntax. Some
7599 1.1 christos systems can't use __STDC__, but require stdarg.
7600 1.1 christos
7601 1.1 christos Fri Apr 18 11:14:43 1997 Doug Evans <dje (a] canuck.cygnus.com>
7602 1.1 christos
7603 1.1 christos * sim-options.c (standard_options): Add --endian.
7604 1.1 christos (standard_option_handler): Likewise.
7605 1.1 christos
7606 1.1 christos * nrun.c: #include <signal.h>.
7607 1.1 christos (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
7608 1.1 christos handler that calls sim_stop ().
7609 1.1 christos
7610 1.1 christos Fri Apr 18 13:11:36 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7611 1.1 christos
7612 1.1 christos * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
7613 1.1 christos handler that calls sim_stop (). Simulators may still be
7614 1.1 christos establishing their own handler.
7615 1.1 christos
7616 1.1 christos * sim-events.c (sim_events_poll): Rename from
7617 1.1 christos sim_events_at_large_int. Poll IO.
7618 1.1 christos
7619 1.1 christos * sim-io.c (sim_io_poll_quit): New function - pass on a polling
7620 1.1 christos request.
7621 1.1 christos
7622 1.1 christos * callback.c (os_poll_quit): New function poll for quit signal
7623 1.1 christos where needed.
7624 1.1 christos (default_callback): Include magic number.
7625 1.1 christos
7626 1.1 christos Thu Apr 17 02:25:11 1997 Doug Evans <dje (a] canuck.cygnus.com>
7627 1.1 christos
7628 1.1 christos * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
7629 1.1 christos Check for functions getrusage, time.
7630 1.1 christos * sim-basics.h (SIM_ELAPSED_TIME): New typedef.
7631 1.1 christos (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
7632 1.1 christos * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
7633 1.1 christos (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
7634 1.1 christos
7635 1.1 christos * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
7636 1.1 christos
7637 1.1 christos * sim-options.c, sim-options.h: New files.
7638 1.1 christos * sim-config.h (WITH_DEBUG): Provide default value of zero.
7639 1.1 christos * Make-common.in (nrun.o): Add rules for.
7640 1.1 christos * nrun.c: New file.
7641 1.1 christos
7642 1.1 christos * run.c (main): Check return value of sim_open.
7643 1.1 christos
7644 1.1 christos * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules.
7645 1.1 christos (sim_main_headers): Add sim-trace.h.
7646 1.1 christos * run.c (exec_bfd, target_byte_order): Delete.
7647 1.1 christos (main): Pass -E <endian> to sim_open. Delete code to load sections,
7648 1.1 christos call sim_load instead. Check return code of sim_create_inferior.
7649 1.1 christos * sim-base.h (CURRENT_STATE): Define.
7650 1.1 christos (sim_state_base): Make typedef. New members options, prog_argv,
7651 1.1 christos prog_bfd, text_{section,start,end}, start_addr, simcache_size,
7652 1.1 christos mem_size, memory [+ corresponding access macros].
7653 1.1 christos (sim_cpu_base): New typedef.
7654 1.1 christos * sim-trace.h: New file.
7655 1.1 christos * sim-trace.c: New file.
7656 1.1 christos * sim-basics.h: #include it.
7657 1.1 christos * sim-load.c: New file.
7658 1.1 christos
7659 1.1 christos Tue Apr 15 15:10:13 1997 Ian Lance Taylor <ian (a] cygnus.com>
7660 1.1 christos
7661 1.1 christos * Make-common.in (INSTALL): Set to @INSTALL@.
7662 1.1 christos (INSTALL_XFORM, INSTALL_XFORM1): Remove.
7663 1.1 christos (install-common): Depend upon installdirs. Use
7664 1.1 christos $(program_transform_name) directly, rather than using
7665 1.1 christos $(INSTALL_XFORM).
7666 1.1 christos (installdirs): New target.
7667 1.1 christos * Makefile.in (INSTALL): Set to @INSTALL@.
7668 1.1 christos (INSTALL_XFORM, INSTALL_XFORM1): Remove.
7669 1.1 christos (install-man): Depend upon installdirs. Use
7670 1.1 christos $(program_transform_name) directly, rather than using
7671 1.1 christos $(INSTALL_XFORM).
7672 1.1 christos (installdirs): New target.
7673 1.1 christos
7674 1.1 christos Tue Apr 15 15:08:12 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
7675 1.1 christos
7676 1.1 christos * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to
7677 1.1 christos be overriden.
7678 1.1 christos
7679 1.1 christos Wed Apr 9 16:06:44 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7680 1.1 christos
7681 1.1 christos * sim-basics.h: Only bring in config.h and tconfig.h if
7682 1.1 christos HAVE_CONFIG_H.
7683 1.1 christos
7684 1.1 christos Mon Apr 7 11:39:45 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7685 1.1 christos
7686 1.1 christos * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit
7687 1.1 christos numbering convention of the target.
7688 1.1 christos * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE
7689 1.1 christos and WITH_TARGET_WORD_MSB.
7690 1.1 christos (sim_config): When possible, check for consistency with bitsize
7691 1.1 christos and msb.
7692 1.1 christos
7693 1.1 christos * sim-bits.h: Allow MSB to be other than zero.
7694 1.1 christos * sim-bits.c: Ditto.
7695 1.1 christos * sim-n-bits.h: Ditto.
7696 1.1 christos
7697 1.1 christos * sim-bits.h (MSMASK*): New macros - converce to LSMASK*.
7698 1.1 christos * sim-n-bits.h (MSMASKEDn): Ditto.
7699 1.1 christos
7700 1.1 christos Mon Apr 14 16:29:21 1997 Ian Lance Taylor <ian (a] cygnus.com>
7701 1.1 christos
7702 1.1 christos * Makefile.in (INSTALL): Change install.sh to install-sh.
7703 1.1 christos
7704 1.1 christos Mon Apr 7 10:46:38 1997 Doug Evans <dje (a] canuck.cygnus.com>
7705 1.1 christos
7706 1.1 christos * sim-base.h (sim_state_base): Move `magic' to end of struct.
7707 1.1 christos
7708 1.1 christos Mon Apr 7 15:53:21 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7709 1.1 christos
7710 1.1 christos * run.c (main): Check that a program to run was specified.
7711 1.1 christos
7712 1.1 christos Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7713 1.1 christos
7714 1.1 christos * aclocal.m4 (AC_TYPE_SIGNAL): Add check.
7715 1.1 christos
7716 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
7717 1.1 christos * config.in: Ditto.
7718 1.1 christos
7719 1.1 christos Wed Apr 2 15:06:28 1997 Doug Evans <dje (a] canuck.cygnus.com>
7720 1.1 christos
7721 1.1 christos * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
7722 1.1 christos * sim-config.h: To here.
7723 1.1 christos
7724 1.1 christos * Make-common.in (SIM_EXTRA_DEPS): New config var.
7725 1.1 christos (sim_main_headers): Define.
7726 1.1 christos (sim-*.o): Depend on $(SIM_EXTRA_DEPS).
7727 1.1 christos (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
7728 1.1 christos (clean): Use it.
7729 1.1 christos (sim-utils.o): Add rule for.
7730 1.1 christos * sim-utils.o: New file.
7731 1.1 christos * sim-basics.h: #include sim-base.h.
7732 1.1 christos (zalloc): Make argument unsigned long.
7733 1.1 christos * sim-base.h: New file.
7734 1.1 christos * sim-inline.h (SIM_IO support): Delete.
7735 1.1 christos * sim-io.h: Delete inline support.
7736 1.1 christos * sim-io.c: Likewise. sim-state.h renamed to sim-main.h.
7737 1.1 christos * sim-config.c: sim-state.h renamed to sim-main.h.
7738 1.1 christos * sim-core.c: Likewise.
7739 1.1 christos * sim-events.c: Likewise.
7740 1.1 christos
7741 1.1 christos * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
7742 1.1 christos
7743 1.1 christos * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
7744 1.1 christos (sim-debug): Allow arguments. Define WITH_DEBUG in addition to
7745 1.1 christos -DDEBUG.
7746 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
7747 1.1 christos
7748 1.1 christos Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7749 1.1 christos
7750 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes.
7751 1.1 christos
7752 1.1 christos Wed Apr 2 11:08:11 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7753 1.1 christos
7754 1.1 christos * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT,
7755 1.1 christos WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these
7756 1.1 christos are defined by the configure.
7757 1.1 christos
7758 1.1 christos * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure.
7759 1.1 christos
7760 1.1 christos * aclocal.m4 (floating-point, xor-endian, alignment, smp,
7761 1.1 christos reserved-bits): Always define.
7762 1.1 christos
7763 1.1 christos * sim-config.h, sim-config.c (sim_config): New function - and new
7764 1.1 christos file - co-ordinate the setting/checking of the common simulator
7765 1.1 christos configuration options.
7766 1.1 christos
7767 1.1 christos * Make-common.in (sim-config.o): Add rule.
7768 1.1 christos
7769 1.1 christos Fri Mar 28 15:32:00 1997 Mike Meissner <meissner (a] cygnus.com>
7770 1.1 christos
7771 1.1 christos * callback.c (os_{,e}vprintf_filtered): Change stdarg type to
7772 1.1 christos va_list from void *, since va_list might not be a pointer type.
7773 1.1 christos
7774 1.1 christos Mon Mar 24 15:27:12 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7775 1.1 christos
7776 1.1 christos * sim-n-endian.h (offset_N): Correct assertion - word and sub word
7777 1.1 christos in wrong order.
7778 1.1 christos (offset_N): Correct computation of LE offset.
7779 1.1 christos
7780 1.1 christos * sim-io.c (sim_io_error): Include a new line when reporting
7781 1.1 christos errors.
7782 1.1 christos
7783 1.1 christos * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last
7784 1.1 christos `/'.
7785 1.1 christos
7786 1.1 christos Thu Mar 20 22:31:06 1997 Jeffrey A Law (law (a] cygnus.com)
7787 1.1 christos
7788 1.1 christos * run.c: Include alloca-conf.h.
7789 1.1 christos
7790 1.1 christos * callback.c (os_evprintf_filtered): Fix typo.
7791 1.1 christos
7792 1.1 christos Fri Mar 21 13:36:20 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7793 1.1 christos
7794 1.1 christos * run.c (string.h, strings.h, stdlib.h): Include.
7795 1.1 christos
7796 1.1 christos * sim-events.c (sim_events_tick): Recent cleanup failed to return
7797 1.1 christos 0 when nothing pending.
7798 1.1 christos
7799 1.1 christos * run.c (sim_size, sim_trace): Plicate GCC - these two functions
7800 1.1 christos will soon be going away.
7801 1.1 christos (getopt): Plicate GCC.
7802 1.1 christos
7803 1.1 christos * sim-endian.c (sim-io.h): Plicate GCC.
7804 1.1 christos * sim-bits.c (sim-io.h): Ditto.
7805 1.1 christos * sim-n-bits.h (ROTn): Ditto.
7806 1.1 christos
7807 1.1 christos * sim-io.c (sim_io_error): Correct check for NULL.
7808 1.1 christos
7809 1.1 christos * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering
7810 1.1 christos the __FILE__.
7811 1.1 christos * sim-events.c: Use SIM_FILTER_PATH to filter out the filename
7812 1.1 christos path.
7813 1.1 christos
7814 1.1 christos Wed Mar 19 01:12:06 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7815 1.1 christos
7816 1.1 christos * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of
7817 1.1 christos SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments.
7818 1.1 christos
7819 1.1 christos Tue Mar 18 20:48:12 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7820 1.1 christos
7821 1.1 christos * sim-alu.h: Include sim-xcat.h.
7822 1.1 christos
7823 1.1 christos Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7824 1.1 christos
7825 1.1 christos * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
7826 1.1 christos sim-events.c, sim-inline.c, sim-io.c): Define rules for building
7827 1.1 christos these.
7828 1.1 christos
7829 1.1 christos * sim-events.c (sim_events_at_large_int): New function. Just
7830 1.1 christos schedules an event every large-int ticks.
7831 1.1 christos (sim_events_init): Call.
7832 1.1 christos (sim_events_tick, sim_events_process): Move async handing to
7833 1.1 christos sim_events_process. Move timer decrement so that it occures after
7834 1.1 christos events have been processed.
7835 1.1 christos
7836 1.1 christos * sim-basics.h (struct _engine): Remove declaration.
7837 1.1 christos
7838 1.1 christos * sim-events.h, sim-events.c: Rename type to sim_events. Prefix
7839 1.1 christos everything with same. Rename global struct to SIM_DESC.
7840 1.1 christos * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
7841 1.1 christos * sim-io.h, sim-io.c: Ditto.
7842 1.1 christos
7843 1.1 christos * sim-assert.h: New file. Optional assertion checking macros.
7844 1.1 christos * sim-io.c (sim_io_error): Make just this function tolerant to
7845 1.1 christos null pointers.
7846 1.1 christos
7847 1.1 christos * sim-xcat.h: New file. Define concatenate macros.
7848 1.1 christos * sim-basics.h (XCONCAT*): Move to sim-xcat.h.
7849 1.1 christos * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
7850 1.1 christos concat macros.
7851 1.1 christos
7852 1.1 christos
7853 1.1 christos Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7854 1.1 christos
7855 1.1 christos * sim-bits.h (LSMASK): New macro. Create mask of LS bits.
7856 1.1 christos
7857 1.1 christos Mon Mar 17 18:10:05 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7858 1.1 christos
7859 1.1 christos * sim-inline.h: Add definitions for sim-types.
7860 1.1 christos (ALL_BY_MODULE): New macro, encapsulate full inlining by the
7861 1.1 christos module.
7862 1.1 christos
7863 1.1 christos Mon Mar 17 15:38:27 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7864 1.1 christos
7865 1.1 christos * sim-events.h: Remove defunct reference to callback struct.
7866 1.1 christos
7867 1.1 christos Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7868 1.1 christos
7869 1.1 christos * configure: Re-generate.
7870 1.1 christos
7871 1.1 christos Mon Mar 17 15:04:47 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7872 1.1 christos
7873 1.1 christos * Make-common.in (CSEARCH): Do not include the gdb directory in
7874 1.1 christos the search path.
7875 1.1 christos
7876 1.1 christos Mon Mar 17 13:16:26 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7877 1.1 christos
7878 1.1 christos * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
7879 1.1 christos SIM_WARNING): Drop, requiring the simulator specific Makefile.in
7880 1.1 christos to explicitly incorporate these.
7881 1.1 christos
7882 1.1 christos * aclocal.m4 (--enable-sim-alignment); New option. Strongly
7883 1.1 christos specify the alignment restrictions of the target architecture -
7884 1.1 christos without this option all alignment restrictions are accomodated.
7885 1.1 christos (--enable-sim-assert): New option. Conditionally compile in
7886 1.1 christos assertion statements.
7887 1.1 christos (--enable-sim-float): New option. Strongly specify the target's
7888 1.1 christos floating point support.
7889 1.1 christos (--enable-sim-hardware): New option. Specify the hardware devices
7890 1.1 christos included in the simulation.
7891 1.1 christos (--enable-sim-packages): New option. Specify the hardware
7892 1.1 christos packages included in the simulation.
7893 1.1 christos (--enable-sim-regparm): New option. Specify that parameters be
7894 1.1 christos passed in registers instead of on the stack.
7895 1.1 christos (--enable-sim-reserved-bits): New option. Specify that reserved
7896 1.1 christos bits within an instruction are are correctly set.
7897 1.1 christos (--enable-sim-smp): New option. Specify the level of SMP support
7898 1.1 christos to be included in the simulator.
7899 1.1 christos (--enable-sim-stdcall): New option. Specify an alternative
7900 1.1 christos function call convention.
7901 1.1 christos (--enable-sim-xor-endian): New option. Configure xor-endian
7902 1.1 christos support used by some targets to implement bi-endian support.
7903 1.1 christos
7904 1.1 christos Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7905 1.1 christos
7906 1.1 christos * aclocal.m4 (--enable-sim-hostendian): New option. Allow the
7907 1.1 christos host endianness to be overridden.
7908 1.1 christos (--enable-sim-endian): Allow the target platform's byte order
7909 1.1 christos to be overridden.
7910 1.1 christos (--enable-sim-inline): Control the inlining of common components.
7911 1.1 christos (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
7912 1.1 christos (--enable-sim-warnings): Enable additional GCC compiler checks.
7913 1.1 christos * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
7914 1.1 christos SIM_WARNINGS): Add.
7915 1.1 christos
7916 1.1 christos * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
7917 1.1 christos sim-*-n.h so that the names are uniq on dos machines
7918 1.1 christos * sim-core.c, sim-bits.c, sim-endian.c: Update.
7919 1.1 christos
7920 1.1 christos Thu Mar 13 12:32:42 1997 Doug Evans <dje (a] canuck.cygnus.com>
7921 1.1 christos
7922 1.1 christos * run.c: #include "libiberty.h".
7923 1.1 christos (main): New locals sd,no_args,sim_argv.
7924 1.1 christos Run buildargv on -a option. Pass argv to sim_open, argv[0]
7925 1.1 christos is program name. Update call to sim_set_callbacks.
7926 1.1 christos Record result of sim_open, pass to other sim_foo routines.
7927 1.1 christos
7928 1.1 christos Thu Mar 13 10:24:05 1997 Michael Meissner <meissner (a] cygnus.com>
7929 1.1 christos
7930 1.1 christos * callback.c (os_printf_filtered): Do not call exit(1) or print a
7931 1.1 christos final newline.
7932 1.1 christos
7933 1.1 christos Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7934 1.1 christos
7935 1.1 christos * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
7936 1.1 christos Route stdout through buffered IO.
7937 1.1 christos
7938 1.1 christos * callback.c: Add os_flush_stderr, os_write_stderr,
7939 1.1 christos os_evprintf_filtered functions to route error output through
7940 1.1 christos stderr.
7941 1.1 christos
7942 1.1 christos * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
7943 1.1 christos Correct return type - should be void.
7944 1.1 christos
7945 1.1 christos Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7946 1.1 christos
7947 1.1 christos * sim-basics.h: Clean up. Many macro's moved to sim-inline.h.
7948 1.1 christos
7949 1.1 christos * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do
7950 1.1 christos not provide a default value as undefined indicates disable code.
7951 1.1 christos
7952 1.1 christos Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7953 1.1 christos
7954 1.1 christos * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
7955 1.1 christos directory.
7956 1.1 christos * sim-events.h, sim-events.c: Ditto.
7957 1.1 christos * sim-io.h, sim-io.c: Ditto.
7958 1.1 christos
7959 1.1 christos Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7960 1.1 christos
7961 1.1 christos * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
7962 1.1 christos
7963 1.1 christos * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
7964 1.1 christos extract the tail or least signifiant bits from an integer of the
7965 1.1 christos specified size.
7966 1.1 christos
7967 1.1 christos * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
7968 1.1 christos WITH_TARGET_BITSIZE so that the compilation will fail when an
7969 1.1 christos unsupported bitsize value is defined.
7970 1.1 christos
7971 1.1 christos (INSERTED*): Convert to functions.
7972 1.1 christos (EXTRACTED*): Ditto.
7973 1.1 christos
7974 1.1 christos (SIGN_EXTEND, SEXT): Change to more terse name.
7975 1.1 christos
7976 1.1 christos Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7977 1.1 christos
7978 1.1 christos * sim-inline.h: Allow explicit control over which .c files will be
7979 1.1 christos included by their header.
7980 1.1 christos
7981 1.1 christos * sim-inline.h: Allow explicit control over which .c files use the
7982 1.1 christos alternative - REGPARM - parameter passing mechanism.
7983 1.1 christos
7984 1.1 christos * sim-inline.h, sim-inline.c: Don't attempt to include any of
7985 1.1 christos icache.c, idecode.c, semantics.c or support.c. Those names are
7986 1.1 christos not generally applicable.
7987 1.1 christos
7988 1.1 christos Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7989 1.1 christos
7990 1.1 christos * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
7991 1.1 christos in a fashion similar to sim-endian-n.
7992 1.1 christos
7993 1.1 christos * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
7994 1.1 christos both value and address macro's.
7995 1.1 christos
7996 1.1 christos Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com>
7997 1.1 christos
7998 1.1 christos * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
7999 1.1 christos
8000 1.1 christos * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
8001 1.1 christos generic L_word, H_word macro's.
8002 1.1 christos
8003 1.1 christos Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney (a] critters.cygnus.com>
8004 1.1 christos
8005 1.1 christos * sim-basics.h: Borrow code from ppc directory.
8006 1.1 christos * sim-bits.c: Ditto.
8007 1.1 christos * sim-bits.h: Ditto.
8008 1.1 christos * sim-config.h: Ditto.
8009 1.1 christos * sim-endian-n.h: Ditto.
8010 1.1 christos * sim-endian.c: Ditto.
8011 1.1 christos * sim-endian.h: Ditto.
8012 1.1 christos * sim-inline.c: Ditto.
8013 1.1 christos * sim-inline.h: Ditto.
8014 1.1 christos * sim-types.h: Ditto.
8015 1.1 christos
8016 1.1 christos Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney (a] critters.cygnus.com>
8017 1.1 christos
8018 1.1 christos * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
8019 1.1 christos all the ALU size alternatives and then auto-configure a default.
8020 1.1 christos
8021 1.1 christos * sim-alu.h: Copy ppc/idecode_expression.h.
8022 1.1 christos
8023 1.1 christos Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney (a] critters.cygnus.com>
8024 1.1 christos
8025 1.1 christos * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
8026 1.1 christos sign extend a bit within a value.
8027 1.1 christos
8028 1.1 christos * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
8029 1.1 christos a pointer into the middle of a host word.
8030 1.1 christos * sim-endian.h (MS2W_4, LS2W_4): Use this function.
8031 1.1 christos
8032 1.1 christos Tue Feb 11 13:46:49 1997 Michael Meissner <meissner (a] tiktok.cygnus.com>
8033 1.1 christos
8034 1.1 christos * callback.c: If HAVE_CONFIG_H is defined, include config.h from
8035 1.1 christos autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get
8036 1.1 christos appropriate definitions of read, write, etc. Add prototype for
8037 1.1 christos system.
8038 1.1 christos
8039 1.1 christos Tue Feb 4 13:24:44 1997 Doug Evans <dje (a] canuck.cygnus.com>
8040 1.1 christos
8041 1.1 christos * Makefile.in (libcommon.a): Delete.
8042 1.1 christos (callback.o,targ-map.o): Delete, moved to Make-common.in.
8043 1.1 christos (gentmap,targ-vals.h,targ-map.c): Likewise.
8044 1.1 christos (run-autoconf): Delete.
8045 1.1 christos * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
8046 1.1 christos (common makefile fragment): Moved back into ...
8047 1.1 christos * Make-common.in: Resurrect.
8048 1.1 christos * configure.in (AC_LINK_FILES): Delete, unnecessary now.
8049 1.1 christos * configure: Regenerated.
8050 1.1 christos
8051 1.1 christos Fri Jan 31 07:16:49 1997 Doug Evans <dje (a] canuck.cygnus.com>
8052 1.1 christos
8053 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
8054 1.1 christos (SIM_AC_OUTPUT): To here.
8055 1.1 christos
8056 1.1 christos Fri Jan 24 10:37:17 1997 Stu Grossman (grossman (a] critters.cygnus.com)
8057 1.1 christos
8058 1.1 christos * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in
8059 1.1 christos comments and single quotes. Fixes a problem found on hpux.
8060 1.1 christos
8061 1.1 christos Thu Jan 23 13:35:03 1997 Stu Grossman (grossman (a] critters.cygnus.com)
8062 1.1 christos
8063 1.1 christos * aclocal.m4: Remove Make-common.in from dependencies.
8064 1.1 christos * (distclean): Remove targ-vals.def.
8065 1.1 christos
8066 1.1 christos * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in
8067 1.1 christos into here. Makes insertion into makefiles easier. Also, change
8068 1.1 christos the way that callback.o, gentmap, targ-vals.h, targ-map.c,
8069 1.1 christos targ-map.o, and run are built. They are now built in the
8070 1.1 christos individual simulator directories, taking sources from ../common as
8071 1.1 christos necessary. This replaces the merging of libcommon.a into
8072 1.1 christos linsim.a, which was problematic for the WinGDB build process.
8073 1.1 christos * run.c: Include config.h from . instead of ../common.
8074 1.1 christos * Make-common.in: Remove. It's no longer necessary.
8075 1.1 christos
8076 1.1 christos Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian (a] cygnus.com>
8077 1.1 christos
8078 1.1 christos * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
8079 1.1 christos (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
8080 1.1 christos
8081 1.1 christos Wed Dec 11 11:30:58 1996 Jim Wilson <wilson (a] cygnus.com>
8082 1.1 christos
8083 1.1 christos * run.c (main): Set target_byte_order before call to sim_open.
8084 1.1 christos
8085 1.1 christos Sun Dec 8 18:22:06 1996 Doug Evans <dje (a] canuck.cygnus.com>
8086 1.1 christos
8087 1.1 christos * callback.c: #include <stdlib.h>
8088 1.1 christos (os_error): New function.
8089 1.1 christos (default_callback): Add os_error.
8090 1.1 christos
8091 1.1 christos Mon Nov 25 19:44:35 1996 Doug Evans <dje (a] canuck.cygnus.com>
8092 1.1 christos
8093 1.1 christos * Make-common.in (Makefile): Set CONFIG_HEADERS="".
8094 1.1 christos * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
8095 1.1 christos specific.
8096 1.1 christos (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
8097 1.1 christos
8098 1.1 christos Wed Nov 20 01:11:04 1996 Doug Evans <dje (a] canuck.cygnus.com>
8099 1.1 christos
8100 1.1 christos * run.c: #include ../common/config.h, tconfig.h.
8101 1.1 christos (myname): New static global.
8102 1.1 christos (main): Recognize new options -a, -c. Also recognize -h if h8/300.
8103 1.1 christos Only process -c ifdef SIM_HAVE_SIMCACHE.
8104 1.1 christos Only process -p/-s ifdef SIM_HAVE_PROFILE.
8105 1.1 christos Parse program name from argv[0] and use in error messages.
8106 1.1 christos Pass sim_args to sim_open. Pass prog_args to sim_create_inferior.
8107 1.1 christos Add support for incomplete h8/300 termination indicators.
8108 1.1 christos (usage): Make more verbose.
8109 1.1 christos * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
8110 1.1 christos * Makefile.in,Make-common.in,callback.c: New files.
8111 1.1 christos * nltvals.def,gentmap.c,gentvals.sh: New files.
8112 1.1 christos
8113 1.1 christos Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn (a] cygnus.com>
8114 1.1 christos
8115 1.1 christos * run.c: Include stdarg.h if __STDC__.
8116 1.1 christos
8117 1.1 christos Tue Oct 15 11:16:31 1996 Jeffrey A Law (law (a] cygnus.com)
8118 1.1 christos
8119 1.1 christos * run.c (main): Don't print out anything if the signal
8120 1.1 christos number is zero (ie no signal).
8121 1.1 christos
8122 1.1 christos Tue Oct 15 11:20:44 1996 Michael Meissner <meissner (a] tiktok.cygnus.com>
8123 1.1 christos
8124 1.1 christos * run.c (main): Print out if the program raised a signal.
8125 1.1 christos
8126 1.1 christos Wed Sep 18 09:52:14 1996 Michael Meissner <meissner (a] tiktok.cygnus.com>
8127 1.1 christos
8128 1.1 christos * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
8129 1.1 christos (main): Ditto.
8130 1.1 christos
8131 1.1 christos Tue Sep 17 11:04:50 1996 James G. Smith <jsmith (a] cygnus.co.uk>
8132 1.1 christos
8133 1.1 christos * run.c (main): Explicitly cast malloc() parameter.
8134 1.1 christos
8135 1.1 christos Thu Sep 12 11:27:21 1996 Michael Meissner <meissner (a] tiktok.cygnus.com>
8136 1.1 christos
8137 1.1 christos * run.c (sim_bfd): New global to hold the bfd pointer for the
8138 1.1 christos executable.
8139 1.1 christos (main): Initialize sim_bfd.
8140 1.1 christos
8141 1.1 christos Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian (a] cygnus.com>
8142 1.1 christos
8143 1.1 christos * run.c (main): Use new bfd_big_endian macro.
8144 1.1 christos
8145 1.1 christos Wed Nov 8 15:49:49 1995 James G. Smith <jsmith (a] pasanda.cygnus.co.uk>
8146 1.1 christos
8147 1.1 christos * run.c (main): Removed SH specific comments, so source is
8148 1.1 christos generic. Also updated to only load relevant sections. Moved
8149 1.1 christos sim_open() to after callback attach (to match GDB).
8150 1.1 christos
8151 1.1 christos * run.1: Removed SH specific comments.
8152 1.1 christos
8153 1.1 christos Sat Oct 21 12:31:01 1995 Jim Wilson <wilson (a] chestnut.cygnus.com>
8154 1.1 christos
8155 1.1 christos * run.c (main): Always return sigrc at end.
8156 1.1 christos
8157 1.1 christos Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc (a] rtl.cygnus.com>
8158 1.1 christos
8159 1.1 christos * run.c (main): Print error diagnostic and exit if bfd_openr() or
8160 1.1 christos bfd_check_format() fails.
8161 1.1 christos
8162 1.1 christos Thu Sep 28 15:40:36 1995 steve chamberlain <sac (a] slash.cygnus.com>
8163 1.1 christos
8164 1.1 christos * run.c, run.1: From sh directory.
8165