| 1 | Thu May 15 10:58:52 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 2 | |
| 3 | * sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a |
| 4 | float. |
| 5 | |
| 6 | * sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_. |
| 7 | * sim-lnline.h: Update. |
| 8 | |
| 9 | * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp |
| 10 | conversion functions. |
| 11 | (sim_fpu_to{32,64}[iu]): New fp2int functions. |
| 12 | |
| 13 | * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp |
| 14 | compare functions. Replacing. |
| 15 | (sim_fpu_cmp): This. Delete. |
| 16 | |
| 17 | Mon May 12 14:49:05 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 18 | |
| 19 | * sim-core.c (sim_core_find_mapping): Call engine_error not |
| 20 | sim_io_error when possible. |
| 21 | |
| 22 | Mon May 12 08:55:07 1997 Andrew Cagney <cagney@b2.cygnus.com> |
| 23 | |
| 24 | * sim-endian.h (V1_H2): Add macro's to insert a word into a |
| 25 | high/low double word. |
| 26 | |
| 27 | * sim-trace.h: Remove definition of attribute - defined in |
| 28 | sim_basics.h. |
| 29 | |
| 30 | Mon May 12 08:55:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 31 | |
| 32 | * sim-options.h (struct OPTION): Add doc_opt as the documenting |
| 33 | name of the option - or family of options. |
| 34 | |
| 35 | * sim-options.c (sim_args_command): Match command `a-b c' with |
| 36 | option `--a-b-c' from option table. |
| 37 | |
| 38 | Thu May 8 12:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 39 | |
| 40 | * sim-options.c (sim_print_help): For optional arguments, wrap |
| 41 | them in []. |
| 42 | |
| 43 | * sim-trace.c (set_trace_options): New function, handle optional |
| 44 | argument and multiple assignment. |
| 45 | (trace_option_handler): Update. |
| 46 | |
| 47 | * sim-trace.c (trace_option_handler): Trace branch and not fpu |
| 48 | when branch tracing selected. |
| 49 | |
| 50 | Wed May 7 15:19:58 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 51 | |
| 52 | * sim-trace.c (trace_one_insn): Make a va-args function. |
| 53 | |
| 54 | * sim-trace.c (trace_vprintf): New function, va-arg version of |
| 55 | trace_printf. |
| 56 | |
| 57 | Tue May 6 16:38:16 1997 Doug Evans <dje@canuck.cygnus.com> |
| 58 | |
| 59 | * sim-trace.c (trace_uninstall): Don't close a file twice. |
| 60 | * sim-profile.c (profile_uninstall): Likewise. |
| 61 | |
| 62 | Tue May 6 06:14:01 1997 Mike Meissner <meissner@cygnus.com> |
| 63 | |
| 64 | * sim-trace.c (toplevel): Include bfd.h. |
| 65 | (trace_options): Note that --trace-linenum also turns on |
| 66 | --trace-insn. Add --trace-{branch,semantics}. |
| 67 | (trace_option_handler): If --trace-linenum, also turn on |
| 68 | --trace-insn. Add --trace-branch support. If --trace-semantics, |
| 69 | turn on ALU, FPU, branch, and memory tracing. |
| 70 | (trace_one_insn): New function to trace an instruction. Support |
| 71 | --trace-linenum. |
| 72 | (OPTION_TRACE_*): Use an enum, rather than lots of defines. |
| 73 | |
| 74 | * sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros. |
| 75 | (MAX_TRACE_VALUES): Use 32, not 12 by default. |
| 76 | (TRACE_branch): Add new mask. |
| 77 | (TRACE_*_P): Define all possible trace_p macros. |
| 78 | (trace_one_insn): Declare function. |
| 79 | |
| 80 | Mon May 5 14:08:34 1997 Mike Meissner <meissner@cygnus.com> |
| 81 | |
| 82 | * sim-trace.h (__attribute__): Define as nothing if not GNU C or |
| 83 | GNU C doesn't support __attributes__. |
| 84 | ({trace,debug}_printf): Add attribute's so -Wformat can check the |
| 85 | format strings. |
| 86 | |
| 87 | Mon May 5 11:16:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 88 | |
| 89 | * sim-config.h (FORCED_ALIGNMENT): New alignment option - |
| 90 | addresses are masked forcing them to be correctly aligned. |
| 91 | (WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default. |
| 92 | * sim-config.c (config_alignment_to_a): Update. |
| 93 | |
| 94 | * sim-core.h (sim_cpu_core): New data type contains cpu specific |
| 95 | core data. |
| 96 | * sim-base.h (CPU_CORE): Add cpu specific core data to cpu base |
| 97 | type. |
| 98 | * sim-core.c (sim_core_attach): Add CPU argument. Ready for |
| 99 | processor specific core maps. |
| 100 | (sim_core_map_attach): Copy the core map data to each of the |
| 101 | processor specific core data structures. |
| 102 | * sim-core.c (sim_core_find_mapping): Update. |
| 103 | |
| 104 | * sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename. |
| 105 | (sim_core_write_aligned_N, sim_core_write_aligned_N): New names. |
| 106 | (sim_core_write_unaligned_N, sim_core_write_unaligned_N): New |
| 107 | alternatives that handle unaligned addresses. |
| 108 | (sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace |
| 109 | with just CPU arg. |
| 110 | * cgen-utils.c (sim_disassemble_insn): Update. |
| 111 | |
| 112 | Mon May 5 13:19:16 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 113 | |
| 114 | * sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific |
| 115 | tracing. |
| 116 | |
| 117 | * sim-fpu.h, sim-fpu.c: New files - prototype for generic target |
| 118 | fpu support. |
| 119 | |
| 120 | * sim-inline.h, sim-inline.c: Add support for SIM_FPU. |
| 121 | |
| 122 | Fri May 2 17:59:42 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 123 | |
| 124 | * sim-core.c (sim_core_map_to_str): New function ascii equivalent |
| 125 | to map type. |
| 126 | |
| 127 | * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace |
| 128 | statement. |
| 129 | |
| 130 | Fri May 2 17:28:02 1997 Andrew Cagney <cagney@b2.cygnus.com> |
| 131 | |
| 132 | * cgen-trace.c: Prepend additional trace_printf argument. |
| 133 | |
| 134 | * cgen-utils.c (sim_disassemble_insn): Add additional core |
| 135 | arguments. |
| 136 | |
| 137 | Fri May 2 11:40:23 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 138 | |
| 139 | * nrun.c (main): Catch/report errorenous simulator states. |
| 140 | |
| 141 | * sim-module.c: #include "libiberty.h" so that xmalloc is defined. |
| 142 | * sim-trace.c: #include string.h/strings.h so that memset is |
| 143 | defined. |
| 144 | * sim-utils.c: Ditto. |
| 145 | * sim-profile.c: Ditto. And stdlib.h. |
| 146 | (print_bar): Only define when used by instruction or memory profiler. |
| 147 | |
| 148 | * sim-options.c (standard_option_handler): Make ul more local. |
| 149 | |
| 150 | * sim-load.c (sim_load_file): Make the name constant. |
| 151 | (sim_load_file): Passify gcc. |
| 152 | |
| 153 | * sim-utils.h: New file, pre-declare utilites in corresponding .c |
| 154 | file. |
| 155 | * sim-utils.c, sim-load.c: Include sim-utils.h. |
| 156 | |
| 157 | * sim-base.h (sim_cpu): Pre define here so available to all. |
| 158 | |
| 159 | * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N): |
| 160 | Restore the sim_cpu and instruction_address arguments so that full |
| 161 | information is available to the abort function. |
| 162 | * sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto. |
| 163 | * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update. |
| 164 | |
| 165 | * sim-trace.h, sim-trace.c (trace_option_handler): Add interim |
| 166 | tracing support for sim-events and sim-core. |
| 167 | (trace_option_handler): Convert #if to if where possible so always |
| 168 | compiled/checked by C compiler. |
| 169 | * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update. |
| 170 | |
| 171 | * sim-base.h: Adjust comment documenting how to define the cpu |
| 172 | structure. |
| 173 | (sim_state_base): Add sim_core and sim_events to simulator base |
| 174 | object. |
| 175 | |
| 176 | * sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument. |
| 177 | * sim-core.c (sim_core_init, sim_core_attach, |
| 178 | sim_core_find_mapping): Update. |
| 179 | * sim-events.c (ETRACE, sim_events_init, sim_events_time, |
| 180 | update_time_from_event, insert_sim_event, |
| 181 | sim_events_schedule_after_signal, sim_events_deschedule, |
| 182 | sim_events_tick): Ditto. |
| 183 | |
| 184 | * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h, |
| 185 | sim-model.h): Move #includes from here. |
| 186 | * sim-base.h: To here. |
| 187 | (sim-core.h, sim-events.h, sim-io.h): Include also |
| 188 | |
| 189 | Wed Apr 30 15:37:54 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 190 | |
| 191 | * callback.c (default_callback): Missing initialisers. |
| 192 | |
| 193 | Thu May 1 10:40:47 1997 Doug Evans <dje@canuck.cygnus.com> |
| 194 | |
| 195 | * sim-utils.c (sim_add_commas): New function. |
| 196 | * sim-basics.h (sim_add_commas): Add prototype. |
| 197 | * cgen-scache.c (scache_print_profile): Print commas in numbers. |
| 198 | * sim-profile.c (COMMAS): New macro. |
| 199 | (print_*): Use it to print commas in numbers. |
| 200 | |
| 201 | * configure: Regenerated. |
| 202 | |
| 203 | * cgen-sim.h (sim_signal_type): Add SIM_SIGINT. |
| 204 | (cgen_state): New member run_fast_p. |
| 205 | (cgen_init): Add prototype. |
| 206 | (sim_disassemble_insn): New arg `cpu'. |
| 207 | * cgen-trace.c (trace_insn): Update call to sim_disassemble_insn. |
| 208 | * cgen-utils.c (cgen_init): New function. |
| 209 | (sim_disassemble_insn): New arg `cpu'. Rewrite fetching of insn. |
| 210 | * genmloop.sh: Call engine_halt if loop exits. |
| 211 | |
| 212 | * Makefile.in (sim-options_h): Define. |
| 213 | (sim-{module,options,trace,profile,utils}.o): Clean up dependencies. |
| 214 | (sim-model.o): Add new rule. |
| 215 | (cgen-{scache,trace,utils}.o): Add new rules. |
| 216 | * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add. |
| 217 | * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'. |
| 218 | Indent output by 2 spaces. |
| 219 | * cgen-scache.h (scache_print_profile): Update. |
| 220 | * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces. |
| 221 | Use trace_printf, not fprintf. |
| 222 | (trace_extract): Use trace_printf, not cgen_trace_printf. |
| 223 | * genmloop.sh (!FAST case): Increment `insn_count'. |
| 224 | * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE. |
| 225 | (sim_cpu_base): Rename member `sd' to `state' to be consistent with |
| 226 | access macro's name. |
| 227 | * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it. |
| 228 | Change return type to SIM_RC. |
| 229 | (sim_core_{install,uninstall}): New functions. |
| 230 | * sim-core.h (sim_core_{install,uninstall}): Declare. |
| 231 | (sim_core_init): Use EXTERN_SIM_CORE to define it. |
| 232 | Change return type to SIM_RC. |
| 233 | * sim-model.h (models,machs,model_install): Declare. |
| 234 | * sim-module.c (modules): Add scache_install, model_install. |
| 235 | (sim_post_argv_init): Set cpu->state backlinks. |
| 236 | * sim-options.c (standard_options): Delete --simcache-size,--max-insns. |
| 237 | (standard_option_handler): Likewise. |
| 238 | * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to |
| 239 | sim-profile.h. |
| 240 | (*): Assume ANSI C. |
| 241 | (profile_options): Delete --profile-simcache. |
| 242 | (profile_option_handler): Likewise. |
| 243 | (profile_print_insn): Change `sd' arg to `cpu'. Indent output 2 |
| 244 | spaces. |
| 245 | (profile_print_{memory,model}): Likewise. |
| 246 | (profile_print_simcache): Delete. |
| 247 | (profile_print_speed): New function. |
| 248 | (profile_print): Rewrite. |
| 249 | * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache. |
| 250 | (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P. |
| 251 | (PROFILE_DATA): Delete members simcache_{hits,misses}. |
| 252 | (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete. |
| 253 | (PROFILE_{CALLBACK,CPU_CALLBACK}): New types. |
| 254 | (profile_print): Update prototype. |
| 255 | |
| 256 | Wed Apr 30 11:34:14 1997 Doug Evans <dje@canuck.cygnus.com> |
| 257 | |
| 258 | * cgen-scache.[ch], cgen-sim.h: New files. |
| 259 | * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files. |
| 260 | * sim-model.c: New file. |
| 261 | |
| 262 | * Make-common.in (clean targets): Undo patch of Apr. 22. |
| 263 | |
| 264 | Fri Apr 25 15:28:32 1997 Mike Meissner <meissner@cygnus.com> |
| 265 | |
| 266 | * sim-n-bits.h (signed): If we have a standard compiler, undef |
| 267 | signed, so that signedN is defined correctly. |
| 268 | |
| 269 | Thu Apr 24 00:00:07 1997 Doug Evans <dje@canuck.cygnus.com> |
| 270 | |
| 271 | * sim-module.h, sim-model.h, sim-profile.h: New files. |
| 272 | * sim-module.c, sim-profile.c: New files. |
| 273 | * Make-common.in (SIM_PROFILE): Define |
| 274 | (CONFIG_CFLAGS): Add $(SIM_PROFILE). |
| 275 | (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h. |
| 276 | (sim_module.o,sim-profile.o): Add rules for. |
| 277 | * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments. |
| 278 | (--enable-sim-profile): Add. |
| 279 | * configure: Regenerated. |
| 280 | * sim-base.h (sim_state_base): New members init_list, uninstall_list, |
| 281 | model. Move trace and profile support to sim-{trace,profile}.h. |
| 282 | New members trace_data, profile_data. |
| 283 | * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h. |
| 284 | * sim-config.h: Provide default definition of WITH_PROFILE. |
| 285 | (WITH_TRACE): Change default to -1. |
| 286 | (MAX_NR_PROCESSORS): Always define. |
| 287 | * sim-options.c: Move trace and profile support to |
| 288 | sim-{trace,profile}.h. |
| 289 | (sim_pre_argv_init): Moved to sim-model.c. |
| 290 | (standard_install): New function. |
| 291 | * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c. |
| 292 | (standard_install): Declare. |
| 293 | * sim-trace.c: Tracing option handling moved here from sim-options.c. |
| 294 | (trace_install, trace_uninstall): New functions. |
| 295 | (trace_printf): Update reference to TRACE_FILE. |
| 296 | * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h. |
| 297 | (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace. |
| 298 | (WITH_TRACE_FOO_P): Define. |
| 299 | (trace_install): Declare. |
| 300 | (TRACE_DATA): New struct. |
| 301 | |
| 302 | Wed Apr 23 17:23:15 1997 Doug Evans <dje@canuck.cygnus.com> |
| 303 | |
| 304 | * run.c: Undo last exec_bfd patch. |
| 305 | (main): Only pass -E ifdef SIM_HAVE_BIENDIAN. |
| 306 | |
| 307 | Wed Apr 23 17:54:27 1997 Mike Meissner <meissner@cygnus.com> |
| 308 | |
| 309 | * run.c (exec_bfd): Add back in. |
| 310 | (main): Set exec_bfd. |
| 311 | |
| 312 | Tue Apr 22 14:43:46 1997 Doug Evans <dje@canuck.cygnus.com> |
| 313 | |
| 314 | * sim-load.c (sim_load_file): #include <stdio.h> for NULL. |
| 315 | |
| 316 | Wed Apr 23 02:55:54 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 317 | |
| 318 | * sim-events.c (insert_sim_event): Call sim_io_error instead of |
| 319 | less well defined engine_error. |
| 320 | * sim-core.c: Ditto. |
| 321 | |
| 322 | Tue Apr 22 08:48:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
| 323 | |
| 324 | * Make-common.in: Change clean targets to use :: so that other |
| 325 | Makefiles can have their own clean targets. |
| 326 | * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of |
| 327 | __STDC__ to control use of stdarg vs. varargs syntax. Some |
| 328 | systems can't use __STDC__, but require stdarg. |
| 329 | |
| 330 | Fri Apr 18 11:14:43 1997 Doug Evans <dje@canuck.cygnus.com> |
| 331 | |
| 332 | * sim-options.c (standard_options): Add --endian. |
| 333 | (standard_option_handler): Likewise. |
| 334 | |
| 335 | * nrun.c: #include <signal.h>. |
| 336 | (main, cntrl_c): Wrap calls to sim_resume in a SIGINT |
| 337 | handler that calls sim_stop (). |
| 338 | |
| 339 | Fri Apr 18 13:11:36 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 340 | |
| 341 | * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT |
| 342 | handler that calls sim_stop (). Simulators may still be |
| 343 | establishing their own handler. |
| 344 | |
| 345 | * sim-events.c (sim_events_poll): Rename from |
| 346 | sim_events_at_large_int. Poll IO. |
| 347 | |
| 348 | * sim-io.c (sim_io_poll_quit): New function - pass on a polling |
| 349 | request. |
| 350 | |
| 351 | * callback.c (os_poll_quit): New function poll for quit signal |
| 352 | where needed. |
| 353 | (default_callback): Include magic number. |
| 354 | |
| 355 | Thu Apr 17 02:25:11 1997 Doug Evans <dje@canuck.cygnus.com> |
| 356 | |
| 357 | * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h. |
| 358 | Check for functions getrusage, time. |
| 359 | * sim-basics.h (SIM_ELAPSED_TIME): New typedef. |
| 360 | (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes. |
| 361 | * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able. |
| 362 | (sim_elapsed_time_get, sim_elapsed_time_since): New functions. |
| 363 | |
| 364 | * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions. |
| 365 | |
| 366 | * sim-options.c, sim-options.h: New files. |
| 367 | * sim-config.h (WITH_DEBUG): Provide default value of zero. |
| 368 | * Make-common.in (nrun.o): Add rules for. |
| 369 | * nrun.c: New file. |
| 370 | |
| 371 | * run.c (main): Check return value of sim_open. |
| 372 | |
| 373 | * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules. |
| 374 | (sim_main_headers): Add sim-trace.h. |
| 375 | * run.c (exec_bfd, target_byte_order): Delete. |
| 376 | (main): Pass -E <endian> to sim_open. Delete code to load sections, |
| 377 | call sim_load instead. Check return code of sim_create_inferior. |
| 378 | * sim-base.h (CURRENT_STATE): Define. |
| 379 | (sim_state_base): Make typedef. New members options, prog_argv, |
| 380 | prog_bfd, text_{section,start,end}, start_addr, simcache_size, |
| 381 | mem_size, memory [+ corresponding access macros]. |
| 382 | (sim_cpu_base): New typedef. |
| 383 | * sim-trace.h: New file. |
| 384 | * sim-trace.c: New file. |
| 385 | * sim-basics.h: #include it. |
| 386 | * sim-load.c: New file. |
| 387 | |
| 388 | Tue Apr 15 15:10:13 1997 Ian Lance Taylor <ian@cygnus.com> |
| 389 | |
| 390 | * Make-common.in (INSTALL): Set to @INSTALL@. |
| 391 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. |
| 392 | (install-common): Depend upon installdirs. Use |
| 393 | $(program_transform_name) directly, rather than using |
| 394 | $(INSTALL_XFORM). |
| 395 | (installdirs): New target. |
| 396 | * Makefile.in (INSTALL): Set to @INSTALL@. |
| 397 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. |
| 398 | (install-man): Depend upon installdirs. Use |
| 399 | $(program_transform_name) directly, rather than using |
| 400 | $(INSTALL_XFORM). |
| 401 | (installdirs): New target. |
| 402 | |
| 403 | Tue Apr 15 15:08:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 404 | |
| 405 | * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to |
| 406 | be overriden. |
| 407 | |
| 408 | Wed Apr 9 16:06:44 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 409 | |
| 410 | * sim-basics.h: Only bring in config.h and tconfig.h if |
| 411 | HAVE_CONFIG_H. |
| 412 | |
| 413 | Mon Apr 7 11:39:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 414 | |
| 415 | * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit |
| 416 | numbering convention of the target. |
| 417 | * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE |
| 418 | and WITH_TARGET_WORD_MSB. |
| 419 | (sim_config): When possible, check for consistency with bitsize |
| 420 | and msb. |
| 421 | |
| 422 | * sim-bits.h: Allow MSB to be other than zero. |
| 423 | * sim-bits.c: Ditto. |
| 424 | * sim-n-bits.h: Ditto. |
| 425 | |
| 426 | * sim-bits.h (MSMASK*): New macros - converce to LSMASK*. |
| 427 | * sim-n-bits.h (MSMASKEDn): Ditto. |
| 428 | |
| 429 | Mon Apr 14 16:29:21 1997 Ian Lance Taylor <ian@cygnus.com> |
| 430 | |
| 431 | * Makefile.in (INSTALL): Change install.sh to install-sh. |
| 432 | |
| 433 | Mon Apr 7 10:46:38 1997 Doug Evans <dje@canuck.cygnus.com> |
| 434 | |
| 435 | * sim-base.h (sim_state_base): Move `magic' to end of struct. |
| 436 | |
| 437 | Mon Apr 7 15:53:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 438 | |
| 439 | * run.c (main): Check that a program to run was specified. |
| 440 | |
| 441 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 442 | |
| 443 | * aclocal.m4 (AC_TYPE_SIGNAL): Add check. |
| 444 | |
| 445 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 446 | * config.in: Ditto. |
| 447 | |
| 448 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> |
| 449 | |
| 450 | * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here, |
| 451 | * sim-config.h: To here. |
| 452 | |
| 453 | * Make-common.in (SIM_EXTRA_DEPS): New config var. |
| 454 | (sim_main_headers): Define. |
| 455 | (sim-*.o): Depend on $(SIM_EXTRA_DEPS). |
| 456 | (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in. |
| 457 | (clean): Use it. |
| 458 | (sim-utils.o): Add rule for. |
| 459 | * sim-utils.o: New file. |
| 460 | * sim-basics.h: #include sim-base.h. |
| 461 | (zalloc): Make argument unsigned long. |
| 462 | * sim-base.h: New file. |
| 463 | * sim-inline.h (SIM_IO support): Delete. |
| 464 | * sim-io.h: Delete inline support. |
| 465 | * sim-io.c: Likewise. sim-state.h renamed to sim-main.h. |
| 466 | * sim-config.c: sim-state.h renamed to sim-main.h. |
| 467 | * sim-core.c: Likewise. |
| 468 | * sim-events.c: Likewise. |
| 469 | |
| 470 | * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. |
| 471 | |
| 472 | * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h. |
| 473 | (sim-debug): Allow arguments. Define WITH_DEBUG in addition to |
| 474 | -DDEBUG. |
| 475 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 476 | |
| 477 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 478 | |
| 479 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 480 | |
| 481 | Wed Apr 2 11:08:11 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 482 | |
| 483 | * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT, |
| 484 | WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these |
| 485 | are defined by the configure. |
| 486 | |
| 487 | * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure. |
| 488 | |
| 489 | * aclocal.m4 (floating-point, xor-endian, alignment, smp, |
| 490 | reserved-bits): Always define. |
| 491 | |
| 492 | * sim-config.h, sim-config.c (sim_config): New function - and new |
| 493 | file - co-ordinate the setting/checking of the common simulator |
| 494 | configuration options. |
| 495 | |
| 496 | * Make-common.in (sim-config.o): Add rule. |
| 497 | |
| 498 | Fri Mar 28 15:32:00 1997 Mike Meissner <meissner@cygnus.com> |
| 499 | |
| 500 | * callback.c (os_{,e}vprintf_filtered): Change stdarg type to |
| 501 | va_list from void *, since va_list might not be a pointer type. |
| 502 | |
| 503 | Mon Mar 24 15:27:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 504 | |
| 505 | * sim-n-endian.h (offset_N): Correct assertion - word and sub word |
| 506 | in wrong order. |
| 507 | (offset_N): Correct computation of LE offset. |
| 508 | |
| 509 | * sim-io.c (sim_io_error): Include a new line when reporting |
| 510 | errors. |
| 511 | |
| 512 | * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last |
| 513 | `/'. |
| 514 | |
| 515 | Thu Mar 20 22:31:06 1997 Jeffrey A Law (law@cygnus.com) |
| 516 | |
| 517 | * run.c: Include alloca-conf.h. |
| 518 | |
| 519 | * callback.c (os_evprintf_filtered): Fix typo. |
| 520 | |
| 521 | Fri Mar 21 13:36:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 522 | |
| 523 | * run.c (string.h, strings.h, stdlib.h): Include. |
| 524 | |
| 525 | * sim-events.c (sim_events_tick): Recent cleanup failed to return |
| 526 | 0 when nothing pending. |
| 527 | |
| 528 | * run.c (sim_size, sim_trace): Plicate GCC - these two functions |
| 529 | will soon be going away. |
| 530 | (getopt): Plicate GCC. |
| 531 | |
| 532 | * sim-endian.c (sim-io.h): Plicate GCC. |
| 533 | * sim-bits.c (sim-io.h): Ditto. |
| 534 | * sim-n-bits.h (ROTn): Ditto. |
| 535 | |
| 536 | * sim-io.c (sim_io_error): Correct check for NULL. |
| 537 | |
| 538 | * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering |
| 539 | the __FILE__. |
| 540 | * sim-events.c: Use SIM_FILTER_PATH to filter out the filename |
| 541 | path. |
| 542 | |
| 543 | Wed Mar 19 01:12:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 544 | |
| 545 | * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of |
| 546 | SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments. |
| 547 | |
| 548 | Tue Mar 18 20:48:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 549 | |
| 550 | * sim-alu.h: Include sim-xcat.h. |
| 551 | |
| 552 | Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 553 | |
| 554 | * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c, |
| 555 | sim-events.c, sim-inline.c, sim-io.c): Define rules for building |
| 556 | these. |
| 557 | |
| 558 | * sim-events.c (sim_events_at_large_int): New function. Just |
| 559 | schedules an event every large-int ticks. |
| 560 | (sim_events_init): Call. |
| 561 | (sim_events_tick, sim_events_process): Move async handing to |
| 562 | sim_events_process. Move timer decrement so that it occures after |
| 563 | events have been processed. |
| 564 | |
| 565 | * sim-basics.h (struct _engine): Remove declaration. |
| 566 | |
| 567 | * sim-events.h, sim-events.c: Rename type to sim_events. Prefix |
| 568 | everything with same. Rename global struct to SIM_DESC. |
| 569 | * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core. |
| 570 | * sim-io.h, sim-io.c: Ditto. |
| 571 | |
| 572 | * sim-assert.h: New file. Optional assertion checking macros. |
| 573 | * sim-io.c (sim_io_error): Make just this function tolerant to |
| 574 | null pointers. |
| 575 | |
| 576 | * sim-xcat.h: New file. Define concatenate macros. |
| 577 | * sim-basics.h (XCONCAT*): Move to sim-xcat.h. |
| 578 | * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include |
| 579 | concat macros. |
| 580 | |
| 581 | |
| 582 | Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 583 | |
| 584 | * sim-bits.h (LSMASK): New macro. Create mask of LS bits. |
| 585 | |
| 586 | Mon Mar 17 18:10:05 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 587 | |
| 588 | * sim-inline.h: Add definitions for sim-types. |
| 589 | (ALL_BY_MODULE): New macro, encapsulate full inlining by the |
| 590 | module. |
| 591 | |
| 592 | Mon Mar 17 15:38:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 593 | |
| 594 | * sim-events.h: Remove defunct reference to callback struct. |
| 595 | |
| 596 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 597 | |
| 598 | * configure: Re-generate. |
| 599 | |
| 600 | Mon Mar 17 15:04:47 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 601 | |
| 602 | * Make-common.in (CSEARCH): Do not include the gdb directory in |
| 603 | the search path. |
| 604 | |
| 605 | Mon Mar 17 13:16:26 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 606 | |
| 607 | * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, |
| 608 | SIM_WARNING): Drop, requiring the simulator specific Makefile.in |
| 609 | to explicitly incorporate these. |
| 610 | |
| 611 | * aclocal.m4 (--enable-sim-alignment); New option. Strongly |
| 612 | specify the alignment restrictions of the target architecture - |
| 613 | without this option all alignment restrictions are accomodated. |
| 614 | (--enable-sim-assert): New option. Conditionally compile in |
| 615 | assertion statements. |
| 616 | (--enable-sim-float): New option. Strongly specify the target's |
| 617 | floating point support. |
| 618 | (--enable-sim-hardware): New option. Specify the hardware devices |
| 619 | included in the simulation. |
| 620 | (--enable-sim-packages): New option. Specify the hardware |
| 621 | packages included in the simulation. |
| 622 | (--enable-sim-regparm): New option. Specify that parameters be |
| 623 | passed in registers instead of on the stack. |
| 624 | (--enable-sim-reserved-bits): New option. Specify that reserved |
| 625 | bits within an instruction are are correctly set. |
| 626 | (--enable-sim-smp): New option. Specify the level of SMP support |
| 627 | to be included in the simulator. |
| 628 | (--enable-sim-stdcall): New option. Specify an alternative |
| 629 | function call convention. |
| 630 | (--enable-sim-xor-endian): New option. Configure xor-endian |
| 631 | support used by some targets to implement bi-endian support. |
| 632 | |
| 633 | Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 634 | |
| 635 | * aclocal.m4 (--enable-sim-hostendian): New option. Allow the |
| 636 | host endianness to be overridden. |
| 637 | (--enable-sim-endian): Allow the target platform's byte order |
| 638 | to be overridden. |
| 639 | (--enable-sim-inline): Control the inlining of common components. |
| 640 | (--enable-sim-bswap): For compatibility, also define WITH_BSWAP. |
| 641 | (--enable-sim-warnings): Enable additional GCC compiler checks. |
| 642 | * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, |
| 643 | SIM_WARNINGS): Add. |
| 644 | |
| 645 | * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from |
| 646 | sim-*-n.h so that the names are uniq on dos machines |
| 647 | * sim-core.c, sim-bits.c, sim-endian.c: Update. |
| 648 | |
| 649 | Thu Mar 13 12:32:42 1997 Doug Evans <dje@canuck.cygnus.com> |
| 650 | |
| 651 | * run.c: #include "libiberty.h". |
| 652 | (main): New locals sd,no_args,sim_argv. |
| 653 | Run buildargv on -a option. Pass argv to sim_open, argv[0] |
| 654 | is program name. Update call to sim_set_callbacks. |
| 655 | Record result of sim_open, pass to other sim_foo routines. |
| 656 | |
| 657 | Thu Mar 13 10:24:05 1997 Michael Meissner <meissner@cygnus.com> |
| 658 | |
| 659 | * callback.c (os_printf_filtered): Do not call exit(1) or print a |
| 660 | final newline. |
| 661 | |
| 662 | Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 663 | |
| 664 | * callback.c: Add os_flush_stdout and vprintf_filtered callbacks. |
| 665 | Route stdout through buffered IO. |
| 666 | |
| 667 | * callback.c: Add os_flush_stderr, os_write_stderr, |
| 668 | os_evprintf_filtered functions to route error output through |
| 669 | stderr. |
| 670 | |
| 671 | * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout): |
| 672 | Correct return type - should be void. |
| 673 | |
| 674 | Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 675 | |
| 676 | * sim-basics.h: Clean up. Many macro's moved to sim-inline.h. |
| 677 | |
| 678 | * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do |
| 679 | not provide a default value as undefined indicates disable code. |
| 680 | |
| 681 | Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 682 | |
| 683 | * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc |
| 684 | directory. |
| 685 | * sim-events.h, sim-events.c: Ditto. |
| 686 | * sim-io.h, sim-io.c: Ditto. |
| 687 | |
| 688 | Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 689 | |
| 690 | * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation. |
| 691 | |
| 692 | * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's |
| 693 | extract the tail or least signifiant bits from an integer of the |
| 694 | specified size. |
| 695 | |
| 696 | * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if |
| 697 | WITH_TARGET_BITSIZE so that the compilation will fail when an |
| 698 | unsupported bitsize value is defined. |
| 699 | |
| 700 | (INSERTED*): Convert to functions. |
| 701 | (EXTRACTED*): Ditto. |
| 702 | |
| 703 | (SIGN_EXTEND, SEXT): Change to more terse name. |
| 704 | |
| 705 | Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 706 | |
| 707 | * sim-inline.h: Allow explicit control over which .c files will be |
| 708 | included by their header. |
| 709 | |
| 710 | * sim-inline.h: Allow explicit control over which .c files use the |
| 711 | alternative - REGPARM - parameter passing mechanism. |
| 712 | |
| 713 | * sim-inline.h, sim-inline.c: Don't attempt to include any of |
| 714 | icache.c, idecode.c, semantics.c or support.c. Those names are |
| 715 | not generally applicable. |
| 716 | |
| 717 | Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 718 | |
| 719 | * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts |
| 720 | in a fashion similar to sim-endian-n. |
| 721 | |
| 722 | * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include |
| 723 | both value and address macro's. |
| 724 | |
| 725 | Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 726 | |
| 727 | * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in. |
| 728 | |
| 729 | * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more |
| 730 | generic L_word, H_word macro's. |
| 731 | |
| 732 | Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney@critters.cygnus.com> |
| 733 | |
| 734 | * sim-basics.h: Borrow code from ppc directory. |
| 735 | * sim-bits.c: Ditto. |
| 736 | * sim-bits.h: Ditto. |
| 737 | * sim-config.h: Ditto. |
| 738 | * sim-endian-n.h: Ditto. |
| 739 | * sim-endian.c: Ditto. |
| 740 | * sim-endian.h: Ditto. |
| 741 | * sim-inline.c: Ditto. |
| 742 | * sim-inline.h: Ditto. |
| 743 | * sim-types.h: Ditto. |
| 744 | |
| 745 | Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney@critters.cygnus.com> |
| 746 | |
| 747 | * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available |
| 748 | all the ALU size alternatives and then auto-configure a default. |
| 749 | |
| 750 | * sim-alu.h: Copy ppc/idecode_expression.h. |
| 751 | |
| 752 | Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com> |
| 753 | |
| 754 | * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions, |
| 755 | sign extend a bit within a value. |
| 756 | |
| 757 | * sim-endian.h, sim-endian-n.h (offset_N): New functions - return |
| 758 | a pointer into the middle of a host word. |
| 759 | * sim-endian.h (MS2W_4, LS2W_4): Use this function. |
| 760 | |
| 761 | Tue Feb 11 13:46:49 1997 Michael Meissner <meissner@tiktok.cygnus.com> |
| 762 | |
| 763 | * callback.c: If HAVE_CONFIG_H is defined, include config.h from |
| 764 | autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get |
| 765 | appropriate definitions of read, write, etc. Add prototype for |
| 766 | system. |
| 767 | |
| 768 | Tue Feb 4 13:24:44 1997 Doug Evans <dje@canuck.cygnus.com> |
| 769 | |
| 770 | * Makefile.in (libcommon.a): Delete. |
| 771 | (callback.o,targ-map.o): Delete, moved to Make-common.in. |
| 772 | (gentmap,targ-vals.h,targ-map.c): Likewise. |
| 773 | (run-autoconf): Delete. |
| 774 | * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile. |
| 775 | (common makefile fragment): Moved back into ... |
| 776 | * Make-common.in: Resurrect. |
| 777 | * configure.in (AC_LINK_FILES): Delete, unnecessary now. |
| 778 | * configure: Regenerated. |
| 779 | |
| 780 | Fri Jan 31 07:16:49 1997 Doug Evans <dje@canuck.cygnus.com> |
| 781 | |
| 782 | * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here. |
| 783 | (SIM_AC_OUTPUT): To here. |
| 784 | |
| 785 | Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com) |
| 786 | |
| 787 | * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in |
| 788 | comments and single quotes. Fixes a problem found on hpux. |
| 789 | |
| 790 | Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com) |
| 791 | |
| 792 | * aclocal.m4: Remove Make-common.in from dependencies. |
| 793 | * (distclean): Remove targ-vals.def. |
| 794 | |
| 795 | * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in |
| 796 | into here. Makes insertion into makefiles easier. Also, change |
| 797 | the way that callback.o, gentmap, targ-vals.h, targ-map.c, |
| 798 | targ-map.o, and run are built. They are now built in the |
| 799 | individual simulator directories, taking sources from ../common as |
| 800 | necessary. This replaces the merging of libcommon.a into |
| 801 | linsim.a, which was problematic for the WinGDB build process. |
| 802 | * run.c: Include config.h from . instead of ../common. |
| 803 | * Make-common.in: Remove. It's no longer necessary. |
| 804 | |
| 805 | Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian@cygnus.com> |
| 806 | |
| 807 | * Make-common.in (ALL_CLAGS): Put CFLAGS at the end. |
| 808 | (.c.o): Put $(ALL_CFLAGS) before the file being compiled. |
| 809 | |
| 810 | Wed Dec 11 11:30:58 1996 Jim Wilson <wilson@cygnus.com> |
| 811 | |
| 812 | * run.c (main): Set target_byte_order before call to sim_open. |
| 813 | |
| 814 | Sun Dec 8 18:22:06 1996 Doug Evans <dje@canuck.cygnus.com> |
| 815 | |
| 816 | * callback.c: #include <stdlib.h> |
| 817 | (os_error): New function. |
| 818 | (default_callback): Add os_error. |
| 819 | |
| 820 | Mon Nov 25 19:44:35 1996 Doug Evans <dje@canuck.cygnus.com> |
| 821 | |
| 822 | * Make-common.in (Makefile): Set CONFIG_HEADERS="". |
| 823 | * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host |
| 824 | specific. |
| 825 | (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="". |
| 826 | |
| 827 | Wed Nov 20 01:11:04 1996 Doug Evans <dje@canuck.cygnus.com> |
| 828 | |
| 829 | * run.c: #include ../common/config.h, tconfig.h. |
| 830 | (myname): New static global. |
| 831 | (main): Recognize new options -a, -c. Also recognize -h if h8/300. |
| 832 | Only process -c ifdef SIM_HAVE_SIMCACHE. |
| 833 | Only process -p/-s ifdef SIM_HAVE_PROFILE. |
| 834 | Parse program name from argv[0] and use in error messages. |
| 835 | Pass sim_args to sim_open. Pass prog_args to sim_create_inferior. |
| 836 | Add support for incomplete h8/300 termination indicators. |
| 837 | (usage): Make more verbose. |
| 838 | * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files. |
| 839 | * Makefile.in,Make-common.in,callback.c: New files. |
| 840 | * nltvals.def,gentmap.c,gentvals.sh: New files. |
| 841 | |
| 842 | Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com> |
| 843 | |
| 844 | * run.c: Include stdarg.h if __STDC__. |
| 845 | |
| 846 | Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com) |
| 847 | |
| 848 | * run.c (main): Don't print out anything if the signal |
| 849 | number is zero (ie no signal). |
| 850 | |
| 851 | Tue Oct 15 11:20:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
| 852 | |
| 853 | * run.c (main): Print out if the program raised a signal. |
| 854 | |
| 855 | Wed Sep 18 09:52:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
| 856 | |
| 857 | * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name. |
| 858 | (main): Ditto. |
| 859 | |
| 860 | Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk> |
| 861 | |
| 862 | * run.c (main): Explicitly cast malloc() parameter. |
| 863 | |
| 864 | Thu Sep 12 11:27:21 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
| 865 | |
| 866 | * run.c (sim_bfd): New global to hold the bfd pointer for the |
| 867 | executable. |
| 868 | (main): Initialize sim_bfd. |
| 869 | |
| 870 | Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian@cygnus.com> |
| 871 | |
| 872 | * run.c (main): Use new bfd_big_endian macro. |
| 873 | |
| 874 | Wed Nov 8 15:49:49 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> |
| 875 | |
| 876 | * run.c (main): Removed SH specific comments, so source is |
| 877 | generic. Also updated to only load relevant sections. Moved |
| 878 | sim_open() to after callback attach (to match GDB). |
| 879 | |
| 880 | * run.1: Removed SH specific comments. |
| 881 | |
| 882 | Sat Oct 21 12:31:01 1995 Jim Wilson <wilson@chestnut.cygnus.com> |
| 883 | |
| 884 | * run.c (main): Always return sigrc at end. |
| 885 | |
| 886 | Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc@rtl.cygnus.com> |
| 887 | |
| 888 | * run.c (main): Print error diagnostic and exit if bfd_openr() or |
| 889 | bfd_check_format() fails. |
| 890 | |
| 891 | Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com> |
| 892 | |
| 893 | * run.c, run.1: From sh directory. |
| 894 | |
| 895 | |