| 1 | Wed Apr 23 02:55:54 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 2 | |
| 3 | * sim-events.c (insert_sim_event): Call sim_io_error instead of |
| 4 | less well defined engine_error. |
| 5 | * sim-core.c: Ditto. |
| 6 | |
| 7 | Tue Apr 22 08:48:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
| 8 | |
| 9 | * Make-common.in: Change clean targets to use :: so that other |
| 10 | Makefiles can have their own clean targets. |
| 11 | * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of |
| 12 | __STDC__ to control use of stdarg vs. varargs syntax. Some |
| 13 | systems can't use __STDC__, but require stdarg. |
| 14 | |
| 15 | Fri Apr 18 11:14:43 1997 Doug Evans <dje@canuck.cygnus.com> |
| 16 | |
| 17 | * sim-options.c (standard_options): Add --endian. |
| 18 | (standard_option_handler): Likewise. |
| 19 | |
| 20 | * nrun.c: #include <signal.h>. |
| 21 | (main, cntrl_c): Wrap calls to sim_resume in a SIGINT |
| 22 | handler that calls sim_stop (). |
| 23 | |
| 24 | Fri Apr 18 13:11:36 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 25 | |
| 26 | * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT |
| 27 | handler that calls sim_stop (). Simulators may still be |
| 28 | establishing their own handler. |
| 29 | |
| 30 | * sim-events.c (sim_events_poll): Rename from |
| 31 | sim_events_at_large_int. Poll IO. |
| 32 | |
| 33 | * sim-io.c (sim_io_poll_quit): New function - pass on a polling |
| 34 | request. |
| 35 | |
| 36 | * callback.c (os_poll_quit): New function poll for quit signal |
| 37 | where needed. |
| 38 | (default_callback): Include magic number. |
| 39 | |
| 40 | Thu Apr 17 02:25:11 1997 Doug Evans <dje@canuck.cygnus.com> |
| 41 | |
| 42 | * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h. |
| 43 | Check for functions getrusage, time. |
| 44 | * sim-basics.h (SIM_ELAPSED_TIME): New typedef. |
| 45 | (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes. |
| 46 | * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able. |
| 47 | (sim_elapsed_time_get, sim_elapsed_time_since): New functions. |
| 48 | |
| 49 | * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions. |
| 50 | |
| 51 | * sim-options.c, sim-options.h: New files. |
| 52 | * sim-config.h (WITH_DEBUG): Provide default value of zero. |
| 53 | * Make-common.in (nrun.o): Add rules for. |
| 54 | * nrun.c: New file. |
| 55 | |
| 56 | * run.c (main): Check return value of sim_open. |
| 57 | |
| 58 | * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules. |
| 59 | (sim_main_headers): Add sim-trace.h. |
| 60 | * run.c (exec_bfd, target_byte_order): Delete. |
| 61 | (main): Pass -E <endian> to sim_open. Delete code to load sections, |
| 62 | call sim_load instead. Check return code of sim_create_inferior. |
| 63 | * sim-base.h (CURRENT_STATE): Define. |
| 64 | (sim_state_base): Make typedef. New members options, prog_argv, |
| 65 | prog_bfd, text_{section,start,end}, start_addr, simcache_size, |
| 66 | mem_size, memory [+ corresponding access macros]. |
| 67 | (sim_cpu_base): New typedef. |
| 68 | * sim-trace.h: New file. |
| 69 | * sim-trace.c: New file. |
| 70 | * sim-basics.h: #include it. |
| 71 | * sim-load.c: New file. |
| 72 | |
| 73 | Tue Apr 15 15:10:13 1997 Ian Lance Taylor <ian@cygnus.com> |
| 74 | |
| 75 | * Make-common.in (INSTALL): Set to @INSTALL@. |
| 76 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. |
| 77 | (install-common): Depend upon installdirs. Use |
| 78 | $(program_transform_name) directly, rather than using |
| 79 | $(INSTALL_XFORM). |
| 80 | (installdirs): New target. |
| 81 | * Makefile.in (INSTALL): Set to @INSTALL@. |
| 82 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. |
| 83 | (install-man): Depend upon installdirs. Use |
| 84 | $(program_transform_name) directly, rather than using |
| 85 | $(INSTALL_XFORM). |
| 86 | (installdirs): New target. |
| 87 | |
| 88 | Tue Apr 15 15:08:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 89 | |
| 90 | * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to |
| 91 | be overriden. |
| 92 | |
| 93 | Wed Apr 9 16:06:44 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 94 | |
| 95 | * sim-basics.h: Only bring in config.h and tconfig.h if |
| 96 | HAVE_CONFIG_H. |
| 97 | |
| 98 | Mon Apr 7 11:39:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 99 | |
| 100 | * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit |
| 101 | numbering convention of the target. |
| 102 | * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE |
| 103 | and WITH_TARGET_WORD_MSB. |
| 104 | (sim_config): When possible, check for consistency with bitsize |
| 105 | and msb. |
| 106 | |
| 107 | * sim-bits.h: Allow MSB to be other than zero. |
| 108 | * sim-bits.c: Ditto. |
| 109 | * sim-n-bits.h: Ditto. |
| 110 | |
| 111 | * sim-bits.h (MSMASK*): New macros - converce to LSMASK*. |
| 112 | * sim-n-bits.h (MSMASKEDn): Ditto. |
| 113 | |
| 114 | Mon Apr 14 16:29:21 1997 Ian Lance Taylor <ian@cygnus.com> |
| 115 | |
| 116 | * Makefile.in (INSTALL): Change install.sh to install-sh. |
| 117 | |
| 118 | Mon Apr 7 10:46:38 1997 Doug Evans <dje@canuck.cygnus.com> |
| 119 | |
| 120 | * sim-base.h (sim_state_base): Move `magic' to end of struct. |
| 121 | |
| 122 | Mon Apr 7 15:53:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 123 | |
| 124 | * run.c (main): Check that a program to run was specified. |
| 125 | |
| 126 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 127 | |
| 128 | * aclocal.m4 (AC_TYPE_SIGNAL): Add check. |
| 129 | |
| 130 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 131 | * config.in: Ditto. |
| 132 | |
| 133 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> |
| 134 | |
| 135 | * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here, |
| 136 | * sim-config.h: To here. |
| 137 | |
| 138 | * Make-common.in (SIM_EXTRA_DEPS): New config var. |
| 139 | (sim_main_headers): Define. |
| 140 | (sim-*.o): Depend on $(SIM_EXTRA_DEPS). |
| 141 | (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in. |
| 142 | (clean): Use it. |
| 143 | (sim-utils.o): Add rule for. |
| 144 | * sim-utils.o: New file. |
| 145 | * sim-basics.h: #include sim-base.h. |
| 146 | (zalloc): Make argument unsigned long. |
| 147 | * sim-base.h: New file. |
| 148 | * sim-inline.h (SIM_IO support): Delete. |
| 149 | * sim-io.h: Delete inline support. |
| 150 | * sim-io.c: Likewise. sim-state.h renamed to sim-main.h. |
| 151 | * sim-config.c: sim-state.h renamed to sim-main.h. |
| 152 | * sim-core.c: Likewise. |
| 153 | * sim-events.c: Likewise. |
| 154 | |
| 155 | * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. |
| 156 | |
| 157 | * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h. |
| 158 | (sim-debug): Allow arguments. Define WITH_DEBUG in addition to |
| 159 | -DDEBUG. |
| 160 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 161 | |
| 162 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 163 | |
| 164 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 165 | |
| 166 | Wed Apr 2 11:08:11 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 167 | |
| 168 | * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT, |
| 169 | WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these |
| 170 | are defined by the configure. |
| 171 | |
| 172 | * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure. |
| 173 | |
| 174 | * aclocal.m4 (floating-point, xor-endian, alignment, smp, |
| 175 | reserved-bits): Always define. |
| 176 | |
| 177 | * sim-config.h, sim-config.c (sim_config): New function - and new |
| 178 | file - co-ordinate the setting/checking of the common simulator |
| 179 | configuration options. |
| 180 | |
| 181 | * Make-common.in (sim-config.o): Add rule. |
| 182 | |
| 183 | Fri Mar 28 15:32:00 1997 Mike Meissner <meissner@cygnus.com> |
| 184 | |
| 185 | * callback.c (os_{,e}vprintf_filtered): Change stdarg type to |
| 186 | va_list from void *, since va_list might not be a pointer type. |
| 187 | |
| 188 | Mon Mar 24 15:27:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 189 | |
| 190 | * sim-n-endian.h (offset_N): Correct assertion - word and sub word |
| 191 | in wrong order. |
| 192 | (offset_N): Correct computation of LE offset. |
| 193 | |
| 194 | * sim-io.c (sim_io_error): Include a new line when reporting |
| 195 | errors. |
| 196 | |
| 197 | * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last |
| 198 | `/'. |
| 199 | |
| 200 | Thu Mar 20 22:31:06 1997 Jeffrey A Law (law@cygnus.com) |
| 201 | |
| 202 | * run.c: Include alloca-conf.h. |
| 203 | |
| 204 | * callback.c (os_evprintf_filtered): Fix typo. |
| 205 | |
| 206 | Fri Mar 21 13:36:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 207 | |
| 208 | * run.c (string.h, strings.h, stdlib.h): Include. |
| 209 | |
| 210 | * sim-events.c (sim_events_tick): Recent cleanup failed to return |
| 211 | 0 when nothing pending. |
| 212 | |
| 213 | * run.c (sim_size, sim_trace): Plicate GCC - these two functions |
| 214 | will soon be going away. |
| 215 | (getopt): Plicate GCC. |
| 216 | |
| 217 | * sim-endian.c (sim-io.h): Plicate GCC. |
| 218 | * sim-bits.c (sim-io.h): Ditto. |
| 219 | * sim-n-bits.h (ROTn): Ditto. |
| 220 | |
| 221 | * sim-io.c (sim_io_error): Correct check for NULL. |
| 222 | |
| 223 | * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering |
| 224 | the __FILE__. |
| 225 | * sim-events.c: Use SIM_FILTER_PATH to filter out the filename |
| 226 | path. |
| 227 | |
| 228 | Wed Mar 19 01:12:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 229 | |
| 230 | * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of |
| 231 | SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments. |
| 232 | |
| 233 | Tue Mar 18 20:48:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 234 | |
| 235 | * sim-alu.h: Include sim-xcat.h. |
| 236 | |
| 237 | Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 238 | |
| 239 | * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c, |
| 240 | sim-events.c, sim-inline.c, sim-io.c): Define rules for building |
| 241 | these. |
| 242 | |
| 243 | * sim-events.c (sim_events_at_large_int): New function. Just |
| 244 | schedules an event every large-int ticks. |
| 245 | (sim_events_init): Call. |
| 246 | (sim_events_tick, sim_events_process): Move async handing to |
| 247 | sim_events_process. Move timer decrement so that it occures after |
| 248 | events have been processed. |
| 249 | |
| 250 | * sim-basics.h (struct _engine): Remove declaration. |
| 251 | |
| 252 | * sim-events.h, sim-events.c: Rename type to sim_events. Prefix |
| 253 | everything with same. Rename global struct to SIM_DESC. |
| 254 | * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core. |
| 255 | * sim-io.h, sim-io.c: Ditto. |
| 256 | |
| 257 | * sim-assert.h: New file. Optional assertion checking macros. |
| 258 | * sim-io.c (sim_io_error): Make just this function tolerant to |
| 259 | null pointers. |
| 260 | |
| 261 | * sim-xcat.h: New file. Define concatenate macros. |
| 262 | * sim-basics.h (XCONCAT*): Move to sim-xcat.h. |
| 263 | * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include |
| 264 | concat macros. |
| 265 | |
| 266 | |
| 267 | Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 268 | |
| 269 | * sim-bits.h (LSMASK): New macro. Create mask of LS bits. |
| 270 | |
| 271 | Mon Mar 17 18:10:05 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 272 | |
| 273 | * sim-inline.h: Add definitions for sim-types. |
| 274 | (ALL_BY_MODULE): New macro, encapsulate full inlining by the |
| 275 | module. |
| 276 | |
| 277 | Mon Mar 17 15:38:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 278 | |
| 279 | * sim-events.h: Remove defunct reference to callback struct. |
| 280 | |
| 281 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 282 | |
| 283 | * configure: Re-generate. |
| 284 | |
| 285 | Mon Mar 17 15:04:47 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 286 | |
| 287 | * Make-common.in (CSEARCH): Do not include the gdb directory in |
| 288 | the search path. |
| 289 | |
| 290 | Mon Mar 17 13:16:26 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 291 | |
| 292 | * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, |
| 293 | SIM_WARNING): Drop, requiring the simulator specific Makefile.in |
| 294 | to explicitly incorporate these. |
| 295 | |
| 296 | * aclocal.m4 (--enable-sim-alignment); New option. Strongly |
| 297 | specify the alignment restrictions of the target architecture - |
| 298 | without this option all alignment restrictions are accomodated. |
| 299 | (--enable-sim-assert): New option. Conditionally compile in |
| 300 | assertion statements. |
| 301 | (--enable-sim-float): New option. Strongly specify the target's |
| 302 | floating point support. |
| 303 | (--enable-sim-hardware): New option. Specify the hardware devices |
| 304 | included in the simulation. |
| 305 | (--enable-sim-packages): New option. Specify the hardware |
| 306 | packages included in the simulation. |
| 307 | (--enable-sim-regparm): New option. Specify that parameters be |
| 308 | passed in registers instead of on the stack. |
| 309 | (--enable-sim-reserved-bits): New option. Specify that reserved |
| 310 | bits within an instruction are are correctly set. |
| 311 | (--enable-sim-smp): New option. Specify the level of SMP support |
| 312 | to be included in the simulator. |
| 313 | (--enable-sim-stdcall): New option. Specify an alternative |
| 314 | function call convention. |
| 315 | (--enable-sim-xor-endian): New option. Configure xor-endian |
| 316 | support used by some targets to implement bi-endian support. |
| 317 | |
| 318 | Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 319 | |
| 320 | * aclocal.m4 (--enable-sim-hostendian): New option. Allow the |
| 321 | host endianness to be overridden. |
| 322 | (--enable-sim-endian): Allow the target platform's byte order |
| 323 | to be overridden. |
| 324 | (--enable-sim-inline): Control the inlining of common components. |
| 325 | (--enable-sim-bswap): For compatibility, also define WITH_BSWAP. |
| 326 | (--enable-sim-warnings): Enable additional GCC compiler checks. |
| 327 | * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, |
| 328 | SIM_WARNINGS): Add. |
| 329 | |
| 330 | * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from |
| 331 | sim-*-n.h so that the names are uniq on dos machines |
| 332 | * sim-core.c, sim-bits.c, sim-endian.c: Update. |
| 333 | |
| 334 | Thu Mar 13 12:32:42 1997 Doug Evans <dje@canuck.cygnus.com> |
| 335 | |
| 336 | * run.c: #include "libiberty.h". |
| 337 | (main): New locals sd,no_args,sim_argv. |
| 338 | Run buildargv on -a option. Pass argv to sim_open, argv[0] |
| 339 | is program name. Update call to sim_set_callbacks. |
| 340 | Record result of sim_open, pass to other sim_foo routines. |
| 341 | |
| 342 | Thu Mar 13 10:24:05 1997 Michael Meissner <meissner@cygnus.com> |
| 343 | |
| 344 | * callback.c (os_printf_filtered): Do not call exit(1) or print a |
| 345 | final newline. |
| 346 | |
| 347 | Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 348 | |
| 349 | * callback.c: Add os_flush_stdout and vprintf_filtered callbacks. |
| 350 | Route stdout through buffered IO. |
| 351 | |
| 352 | * callback.c: Add os_flush_stderr, os_write_stderr, |
| 353 | os_evprintf_filtered functions to route error output through |
| 354 | stderr. |
| 355 | |
| 356 | * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout): |
| 357 | Correct return type - should be void. |
| 358 | |
| 359 | Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 360 | |
| 361 | * sim-basics.h: Clean up. Many macro's moved to sim-inline.h. |
| 362 | |
| 363 | * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do |
| 364 | not provide a default value as undefined indicates disable code. |
| 365 | |
| 366 | Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 367 | |
| 368 | * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc |
| 369 | directory. |
| 370 | * sim-events.h, sim-events.c: Ditto. |
| 371 | * sim-io.h, sim-io.c: Ditto. |
| 372 | |
| 373 | Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 374 | |
| 375 | * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation. |
| 376 | |
| 377 | * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's |
| 378 | extract the tail or least signifiant bits from an integer of the |
| 379 | specified size. |
| 380 | |
| 381 | * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if |
| 382 | WITH_TARGET_BITSIZE so that the compilation will fail when an |
| 383 | unsupported bitsize value is defined. |
| 384 | |
| 385 | (INSERTED*): Convert to functions. |
| 386 | (EXTRACTED*): Ditto. |
| 387 | |
| 388 | (SIGN_EXTEND, SEXT): Change to more terse name. |
| 389 | |
| 390 | Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 391 | |
| 392 | * sim-inline.h: Allow explicit control over which .c files will be |
| 393 | included by their header. |
| 394 | |
| 395 | * sim-inline.h: Allow explicit control over which .c files use the |
| 396 | alternative - REGPARM - parameter passing mechanism. |
| 397 | |
| 398 | * sim-inline.h, sim-inline.c: Don't attempt to include any of |
| 399 | icache.c, idecode.c, semantics.c or support.c. Those names are |
| 400 | not generally applicable. |
| 401 | |
| 402 | Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 403 | |
| 404 | * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts |
| 405 | in a fashion similar to sim-endian-n. |
| 406 | |
| 407 | * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include |
| 408 | both value and address macro's. |
| 409 | |
| 410 | Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
| 411 | |
| 412 | * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in. |
| 413 | |
| 414 | * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more |
| 415 | generic L_word, H_word macro's. |
| 416 | |
| 417 | Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney@critters.cygnus.com> |
| 418 | |
| 419 | * sim-basics.h: Borrow code from ppc directory. |
| 420 | * sim-bits.c: Ditto. |
| 421 | * sim-bits.h: Ditto. |
| 422 | * sim-config.h: Ditto. |
| 423 | * sim-endian-n.h: Ditto. |
| 424 | * sim-endian.c: Ditto. |
| 425 | * sim-endian.h: Ditto. |
| 426 | * sim-inline.c: Ditto. |
| 427 | * sim-inline.h: Ditto. |
| 428 | * sim-types.h: Ditto. |
| 429 | |
| 430 | Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney@critters.cygnus.com> |
| 431 | |
| 432 | * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available |
| 433 | all the ALU size alternatives and then auto-configure a default. |
| 434 | |
| 435 | * sim-alu.h: Copy ppc/idecode_expression.h. |
| 436 | |
| 437 | Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com> |
| 438 | |
| 439 | * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions, |
| 440 | sign extend a bit within a value. |
| 441 | |
| 442 | * sim-endian.h, sim-endian-n.h (offset_N): New functions - return |
| 443 | a pointer into the middle of a host word. |
| 444 | * sim-endian.h (MS2W_4, LS2W_4): Use this function. |
| 445 | |
| 446 | Tue Feb 11 13:46:49 1997 Michael Meissner <meissner@tiktok.cygnus.com> |
| 447 | |
| 448 | * callback.c: If HAVE_CONFIG_H is defined, include config.h from |
| 449 | autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get |
| 450 | appropriate definitions of read, write, etc. Add prototype for |
| 451 | system. |
| 452 | |
| 453 | Tue Feb 4 13:24:44 1997 Doug Evans <dje@canuck.cygnus.com> |
| 454 | |
| 455 | * Makefile.in (libcommon.a): Delete. |
| 456 | (callback.o,targ-map.o): Delete, moved to Make-common.in. |
| 457 | (gentmap,targ-vals.h,targ-map.c): Likewise. |
| 458 | (run-autoconf): Delete. |
| 459 | * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile. |
| 460 | (common makefile fragment): Moved back into ... |
| 461 | * Make-common.in: Resurrect. |
| 462 | * configure.in (AC_LINK_FILES): Delete, unnecessary now. |
| 463 | * configure: Regenerated. |
| 464 | |
| 465 | Fri Jan 31 07:16:49 1997 Doug Evans <dje@canuck.cygnus.com> |
| 466 | |
| 467 | * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here. |
| 468 | (SIM_AC_OUTPUT): To here. |
| 469 | |
| 470 | Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com) |
| 471 | |
| 472 | * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in |
| 473 | comments and single quotes. Fixes a problem found on hpux. |
| 474 | |
| 475 | Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com) |
| 476 | |
| 477 | * aclocal.m4: Remove Make-common.in from dependencies. |
| 478 | * (distclean): Remove targ-vals.def. |
| 479 | |
| 480 | * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in |
| 481 | into here. Makes insertion into makefiles easier. Also, change |
| 482 | the way that callback.o, gentmap, targ-vals.h, targ-map.c, |
| 483 | targ-map.o, and run are built. They are now built in the |
| 484 | individual simulator directories, taking sources from ../common as |
| 485 | necessary. This replaces the merging of libcommon.a into |
| 486 | linsim.a, which was problematic for the WinGDB build process. |
| 487 | * run.c: Include config.h from . instead of ../common. |
| 488 | * Make-common.in: Remove. It's no longer necessary. |
| 489 | |
| 490 | Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian@cygnus.com> |
| 491 | |
| 492 | * Make-common.in (ALL_CLAGS): Put CFLAGS at the end. |
| 493 | (.c.o): Put $(ALL_CFLAGS) before the file being compiled. |
| 494 | |
| 495 | Wed Dec 11 11:30:58 1996 Jim Wilson <wilson@cygnus.com> |
| 496 | |
| 497 | * run.c (main): Set target_byte_order before call to sim_open. |
| 498 | |
| 499 | Sun Dec 8 18:22:06 1996 Doug Evans <dje@canuck.cygnus.com> |
| 500 | |
| 501 | * callback.c: #include <stdlib.h> |
| 502 | (os_error): New function. |
| 503 | (default_callback): Add os_error. |
| 504 | |
| 505 | Mon Nov 25 19:44:35 1996 Doug Evans <dje@canuck.cygnus.com> |
| 506 | |
| 507 | * Make-common.in (Makefile): Set CONFIG_HEADERS="". |
| 508 | * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host |
| 509 | specific. |
| 510 | (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="". |
| 511 | |
| 512 | Wed Nov 20 01:11:04 1996 Doug Evans <dje@canuck.cygnus.com> |
| 513 | |
| 514 | * run.c: #include ../common/config.h, tconfig.h. |
| 515 | (myname): New static global. |
| 516 | (main): Recognize new options -a, -c. Also recognize -h if h8/300. |
| 517 | Only process -c ifdef SIM_HAVE_SIMCACHE. |
| 518 | Only process -p/-s ifdef SIM_HAVE_PROFILE. |
| 519 | Parse program name from argv[0] and use in error messages. |
| 520 | Pass sim_args to sim_open. Pass prog_args to sim_create_inferior. |
| 521 | Add support for incomplete h8/300 termination indicators. |
| 522 | (usage): Make more verbose. |
| 523 | * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files. |
| 524 | * Makefile.in,Make-common.in,callback.c: New files. |
| 525 | * nltvals.def,gentmap.c,gentvals.sh: New files. |
| 526 | |
| 527 | Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com> |
| 528 | |
| 529 | * run.c: Include stdarg.h if __STDC__. |
| 530 | |
| 531 | Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com) |
| 532 | |
| 533 | * run.c (main): Don't print out anything if the signal |
| 534 | number is zero (ie no signal). |
| 535 | |
| 536 | Tue Oct 15 11:20:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
| 537 | |
| 538 | * run.c (main): Print out if the program raised a signal. |
| 539 | |
| 540 | Wed Sep 18 09:52:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
| 541 | |
| 542 | * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name. |
| 543 | (main): Ditto. |
| 544 | |
| 545 | Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk> |
| 546 | |
| 547 | * run.c (main): Explicitly cast malloc() parameter. |
| 548 | |
| 549 | Thu Sep 12 11:27:21 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
| 550 | |
| 551 | * run.c (sim_bfd): New global to hold the bfd pointer for the |
| 552 | executable. |
| 553 | (main): Initialize sim_bfd. |
| 554 | |
| 555 | Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian@cygnus.com> |
| 556 | |
| 557 | * run.c (main): Use new bfd_big_endian macro. |
| 558 | |
| 559 | Wed Nov 8 15:49:49 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> |
| 560 | |
| 561 | * run.c (main): Removed SH specific comments, so source is |
| 562 | generic. Also updated to only load relevant sections. Moved |
| 563 | sim_open() to after callback attach (to match GDB). |
| 564 | |
| 565 | * run.1: Removed SH specific comments. |
| 566 | |
| 567 | Sat Oct 21 12:31:01 1995 Jim Wilson <wilson@chestnut.cygnus.com> |
| 568 | |
| 569 | * run.c (main): Always return sigrc at end. |
| 570 | |
| 571 | Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc@rtl.cygnus.com> |
| 572 | |
| 573 | * run.c (main): Print error diagnostic and exit if bfd_openr() or |
| 574 | bfd_check_format() fails. |
| 575 | |
| 576 | Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com> |
| 577 | |
| 578 | * run.c, run.1: From sh directory. |
| 579 | |
| 580 | |