12004-06-28 Andrew Cagney <cagney@gnu.org> 2 3 * interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook. 4 52003-02-27 Andrew Cagney <cagney@redhat.com> 6 7 * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. 8 92002-06-16 Andrew Cagney <ac131313@redhat.com> 10 11 * configure: Regenerated to track ../common/aclocal.m4 changes. 12 132002-06-09 Andrew Cagney <cagney@redhat.com> 14 15 * Makefile.in (INCLUDE): Update path to callback.h. 16 * mn10200_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h". 17 182001-04-15 J.T. Conklin <jtc@redback.com> 19 20 * Makefile.in (simops.o): Add simops.h to dependency list. 21 22Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> 23 24 * configure: Regenerated to track ../common/aclocal.m4 changes. 25 26Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> 27 28 * configure: Regenerated to track ../common/aclocal.m4 changes. 29 301999-05-08 Felix Lee <flee@cygnus.com> 31 32 * configure: Regenerated to track ../common/aclocal.m4 changes. 33 341999-04-06 Keith Seitz <keiths@cygnus.com> 35 36 * interp.c (sim_stop): Set the sim's exception 37 to SIGINT. 38 391999-04-02 Keith Seitz <keiths@cygnus.com> 40 41 * interp.c (UI_LOOP_POLL_INTERVAL): Define. Used to tweak the 42 frequency at which ui_loop_hook is called. 43 (ui_loop_hook_counter): New global defined when NEED_UI_LOOP_HOOK 44 is defined. 45 (sim_resume): Call ui_loop_hook (if defined) when the interval 46 passes. 47 * Makefile.in (SIM_EXTRA_CFLAGS): Include NEED_UI_LOOP_HOOK. 48 49Wed Jun 17 11:37:59 1998 Mark Alexander <marka@cygnus.com> 50 51 * Makefile.in: Define NL_TARGET so that targ-vals.h will be used 52 instead of syscall.h. 53 * simops.c: Use targ-vals.h instead of syscall.h. 54 55Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> 56 57 * configure: Regenerated to track ../common/aclocal.m4 changes. 58 59Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> 60 61 * configure: Regenerated to track ../common/aclocal.m4 changes. 62 * config.in: Ditto. 63 64Sun Apr 26 15:19:58 1998 Tom Tromey <tromey@cygnus.com> 65 66 * acconfig.h: New file. 67 * configure.in: Reverted change of Apr 24; use sinclude again. 68 69Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> 70 71 * configure: Regenerated to track ../common/aclocal.m4 changes. 72 * config.in: Ditto. 73 74Fri Apr 24 11:19:13 1998 Tom Tromey <tromey@cygnus.com> 75 76 * configure.in: Don't call sinclude. 77 78Thu Apr 23 09:48:14 1998 Tom Tromey <tromey@creche> 79 80 * configure: Regenerated to track ../common/aclocal.m4 changes. 81 82Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> 83 84 * configure: Regenerated to track ../common/aclocal.m4 changes. 85 86Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> 87 88 * configure: Regenerated to track ../common/aclocal.m4 changes. 89 90Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> 91 92 * configure: Regenerated to track ../common/aclocal.m4 changes. 93 94Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> 95 96 * configure: Regenerated to track ../common/aclocal.m4 changes. 97 98Tue Feb 17 12:46:22 1998 Andrew Cagney <cagney@b1.cygnus.com> 99 100 * interp.c (sim_store_register, sim_fetch_register): Pass in 101 length parameter. Return -1. 102 103Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> 104 105 * configure: Regenerated to track ../common/aclocal.m4 changes. 106 107Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> 108 109 * configure: Regenerated to track ../common/aclocal.m4 changes. 110 111Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> 112 113 * configure: Regenerated to track ../common/aclocal.m4 changes. 114 115Tue Jan 13 00:01:40 1998 Jeffrey A Law (law@cygnus.com) 116 117 * simops.c: Stores to abs16 memory addresses zero extend the 118 abs16 address. 119 120Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> 121 122 * configure: Regenerated to track ../common/aclocal.m4 changes. 123 * config.in: Ditto. 124 125Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> 126 127 * configure: Regenerated to track ../common/aclocal.m4 changes. 128 129Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 130 131 * interp.c (sim_load): Pass lma_p and sim_write args to 132 sim_load_file. 133 134Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 135 136 * configure: Regenerated to track ../common/aclocal.m4 changes. 137 138Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> 139 140 * configure: Regenerated to track ../common/aclocal.m4 changes. 141 142Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> 143 144 * configure: Regenerated to track ../common/aclocal.m4 changes. 145 146Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> 147 148 * configure: Regenerated to track ../common/aclocal.m4 changes. 149 150Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> 151 152 * configure: Regenerated to track ../common/aclocal.m4 changes. 153 154Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> 155 156 * configure: Regenerated to track ../common/aclocal.m4 changes. 157 158Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> 159 160 * configure: Regenerated to track ../common/aclocal.m4 changes. 161 162Tue Sep 2 18:41:23 1997 Jeffrey A Law (law@cygnus.com) 163 164 * simops.c: PC relative instructions are relative to the next 165 instruction, not the current instruction. 166 167Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> 168 169 * configure: Regenerated to track ../common/aclocal.m4 changes. 170 * config.in: Ditto. 171 172Tue Aug 26 10:40:45 1997 Andrew Cagney <cagney@b1.cygnus.com> 173 174 * interp.c (sim_kill): Delete. 175 (sim_create_inferior): Add ABFD argument. 176 (sim_load): Move setting of PC from here. 177 (sim_create_inferior): To here. 178 179Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> 180 181 * configure: Regenerated to track ../common/aclocal.m4 changes. 182 * config.in: Ditto. 183 184Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com> 185 186 * interp.c (sim_open): Add ABFD argument. 187 188Tue Jun 24 13:44:08 1997 Jeffrey A Law (law@cygnus.com) 189 190 * interp.c (sim_resume): Clear State.exited. 191 (sim_stop_reason): If State.exited is nonzero, then indicate that 192 the simulator exited instead of stopped. 193 * mn10200_sim.h (struct _state): Add exited field. 194 * simops.c (syscall): Set State.exited for SYS_exit. 195 196Tue May 20 17:45:47 1997 Jeffrey A Law (law@cygnus.com) 197 198 * interp.c: Replace all references to load_mem and store_mem 199 with references to load_byte, load_half, load_3_byte, load_word 200 and store_byte, store_half, store_3_byte, store_word. 201 (INLINE): Delete definition. 202 (load_mem_big): Likewise. 203 (max_mem): Make it global. 204 (dispatch): Make this function inline. 205 (load_mem, store_mem): Delete functions. 206 * mn10200_sim.h (INLINE): Define. 207 (RLW): Delete unused definition. 208 (load_mem, store_mem): Delete declarations. 209 (load_mem_big): New definition. 210 (load_byte, load_half, load_3_byte, load_word): New functions. 211 (store_byte, store_half, store_3_byte, store_word): New functions. 212 * simops.c: Replace all references to load_mem and store_mem 213 with references to load_byte, load_half, load_3_byte, load_word 214 and store_byte, store_half, store_3_byte, store_word. 215 216Tue May 20 10:21:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 217 218 * interp.c (sim_open): Add callback argument. 219 (sim_set_callbacks): Delete SIM_DESC argument. 220 221Sun May 18 16:59:09 1997 Jeffrey A Law (law@cygnus.com) 222 223 * interp.c (compare_simops): New function. 224 (sim_open): Sort the Simops table before inserting entries 225 into the hash table. 226 227Fri May 16 16:29:18 1997 Jeffrey A Law (law@cygnus.com) 228 229 * interp.c (load_mem): Fix formatting/indention problems with 230 last change. If we get a load from an out of range address, 231 abort instead of returning zero. 232 (store_mem): Abort if we try to store to an out of range address. 233 234Wed May 14 21:21:30 1997 Bob Manson <manson@charmed.cygnus.com> 235 236 * simops.c (OP_F010): Fix some arguments to correspond 237 with reality (types of arguments passed to lseek, read, 238 write, open). 239 240 * interp.c (max_mem): New variable. 241 (load_mem): Check memory address against max_mem to 242 avoid some self-destructive behaviors. 243 244Tue May 13 21:45:24 1997 Jeffrey A Law (law@cygnus.com) 245 246 * simops.c: Fix typo in cc0 setting for lsr. 247 248Tue May 6 13:22:12 1997 Jeffrey A Law (law@cygnus.com) 249 250 * interp.c: Random typo/thinko cleanups. 251 252Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> 253 254 * configure: Regenerated to track ../common/aclocal.m4 changes. 255 256Mon Apr 21 10:29:30 1997 Jeffrey A Law (law@cygnus.com) 257 258 * simops.c: Fix typo in "open" syscall emulation. 259 260Fri Apr 18 14:04:31 1997 Andrew Cagney <cagney@b1.cygnus.com> 261 262 * interp.c (sim_stop): Add stub function. 263 264Thu Apr 17 03:23:58 1997 Doug Evans <dje@canuck.cygnus.com> 265 266 * Makefile.in (SIM_OBJS): Add sim-load.o. 267 * interp.c (sim_kind, myname): New static locals. 268 (sim_open): Set sim_kind, myname. Ignore -E arg. 269 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to 270 load file into simulator. Set start address from bfd. 271 (sim_create_inferior): Return SIM_RC. Delete arg start_address. 272 273Wed Apr 16 18:06:50 1997 Andrew Cagney <cagney@b1.cygnus.com> 274 275 * simops.c (OP_F010): SYS_execv, SYS_time, SYS_times, SYS_utime 276 only include if implemented by host. 277 278Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 279 280 * configure: Regenerated to track ../common/aclocal.m4 changes. 281 * config.in: Ditto. 282 283Fri Apr 4 20:01:56 1997 Ian Lance Taylor <ian@cygnus.com> 284 285 * Makefile.in: Change mn10200-opc.o to m10200-opc.o, to match 286 corresponding change in opcodes directory. 287 288Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> 289 290 * interp.c (sim_open): New arg `kind'. 291 292 * configure: Regenerated to track ../common/aclocal.m4 changes. 293 294Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 295 296 * configure: Regenerated to track ../common/aclocal.m4 changes. 297 298Thu Mar 20 20:28:14 1997 Jeffrey A Law (law@cygnus.com) 299 300 * mn10200_sim.h: Protect uses of "signed" to cater to broken 301 non-ansi compilers (HPs). Don't use #error for the same reason. 302 303Tue Mar 18 12:23:31 1997 Jeffrey A Law (law@cygnus.com) 304 305 * simops.c: Don't sign-extend immediate for "mov imm16,an". 306 Simplify "sub" handling. Fix "mul" to properly sign extend 307 operands. Set CF appropriately for btst imm16,dn. Implement "rti". 308 309 * gencode.c: Delete unused "Opcodes" and "curop" variables. 310 311Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 312 313 * configure: Regenerated to track ../common/aclocal.m4 changes. 314 315Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 316 317 * configure: Re-generate. 318 319Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> 320 321 * configure: Regenerate to track ../common/aclocal.m4 changes. 322 323Thu Mar 13 12:53:14 1997 Doug Evans <dje@canuck.cygnus.com> 324 325 * interp.c (sim_open): New SIM_DESC result. Argument is now 326 in argv form. 327 (other sim_*): New SIM_DESC argument. 328 329Wed Mar 12 15:02:35 1997 Jeffrey A Law (law@cygnus.com) 330 331 * simops.c: Fix typo for "bclr". 332 333Wed Feb 26 16:46:13 1997 Jeffrey A Law (law@cygnus.com) 334 335 * simops.c: Handle new calling convention in emulated syscall 336 code. 337 338Mon Feb 24 14:25:11 1997 Jeffrey A Law (law@cygnus.com) 339 340 * interp.c (load_mem_big): Add some missing parens. 341 342Wed Feb 19 23:19:08 1997 Jeffrey A Law (law@cygnus.com) 343 344 * simops.c: Don't use "long long" data types for intermediate 345 values in "divu", "mul" and "mulu" instructions. 346 347Fri Feb 14 02:46:46 1997 Jeffrey A Law (law@cygnus.com) 348 349 * interp.c (hash): Rework to be more efficient. 350 (dispatch): Renamed from lookup_hash. Dispatch to the target 351 function and update the PC here. 352 (load_mem_big): Now a macro. 353 (sim_resume): Restructure code to read an insn, determine its 354 length, call dispatch routines, etc to be much more efficient. 355 356Fri Feb 7 12:59:36 1997 Jeffrey A Law (law@cygnus.com) 357 358 * interp.c (MAX_HASH): Redefine to 127. 359 (struct hash_entry): Add "count" field when HASH_STAT is defined. 360 (hash): Improve hashing for many heavily used opcodes. 361 (lookup_hash): Bump counters if HASH_STAT is defined. 362 (sim_open): Don't put the same opcode in the hash table more 363 than once. Clear counters if HASH_STAT is defined. 364 (sim_resume): After program exits, dump hash table stats if 365 HASH_STAT is defined. 366 367Wed Feb 5 10:28:37 1997 Jeffrey A Law (law@cygnus.com) 368 369 * simops.c: Fix register extraction for "ext dn". 370 371Tue Feb 4 17:27:41 1997 Jeffrey A Law (law@cygnus.com) 372 373 * simops.c: Fix register extractions for "movbu (an), dm". 374 375Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> 376 377 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use 378 COMMON_{PRE,POST}_CONFIG_FRAG instead. 379 * configure.in: sinclude ../common/aclocal.m4. 380 * configure: Regenerated. 381 382Fri Jan 31 01:19:02 1997 Jeffrey A Law (law@cygnus.com) 383 384 * simops.c: Get carry-in bit right for rol. Just clear the 385 NF flag for btst imm8,dn. 386 387Wed Jan 29 15:47:42 1997 Jeffrey A Law (law@cygnus.com) 388 389 * simops.c: Properly compute ZF flag for many insns. 390 391Sat Jan 25 17:06:55 1997 Jeffrey A Law (law@cygnus.com) 392 393 * simops.c: Properly truncate divisor and dividend before 394 performing "divu" operation. 395 396Fri Jan 24 10:47:48 1997 Jeffrey A Law (law@cygnus.com) 397 398 * simops.c (init_system): Allocate 2^19 bytes of space for 399 the simulator. 400 401Thu Jan 23 21:17:33 1997 Jeffrey A Law (law@cygnus.com) 402 403 * simops.c: Rework code to extract arguments for emulated 404 syscalls to handle 24bit pointers. 405 406Thu Jan 23 14:06:04 1997 Stu Grossman (grossman@critters.cygnus.com) 407 408 * configure configure.in Makefile.in: Update to new configure 409 scheme which is more compatible with WinGDB builds. 410 * configure.in: Improve comment on how to run autoconf. 411 * configure: Re-run autoconf to get new ../common/aclocal.m4. 412 * Makefile.in: Use autoconf substitution to install common 413 makefile fragment. 414 415Thu Jan 23 12:04:38 1997 Jeffrey A Law (law@cygnus.com) 416 417 * simops.c: Fix destination register for "mov (abs24),an". 418 419Tue Jan 21 15:59:21 1997 Jeffrey A Law (law@cygnus.com) 420 421 * simops.c: "rts" adds 4 to the stack pointer. 422 423 * simops.c: Fix CF and CX computation for add instructions. 424 425 * simops.c: Leave the upper 8 bits alone for logical ops. 426 Mask off high 8 bits before doing any shifts/rotates. 427 Fix carry bit handling in rotates again. 428 429Mon Jan 20 10:45:08 1997 Jeffrey A Law (law@cygnus.com) 430 431 * simops.c: Don't lose the sign bit for "asr". 432 433Fri Jan 17 01:45:14 1997 Jeffrey A Law (law@cygnus.com) 434 435 * simops.c: Fix overflow computation for "cmp" and "sub" 436 instructions. 437 438 * simops.c: Use the right register for "jmp (an)" and "jsr (an)". 439 440 * interp.c (hash): Improve hashing for 3 byte instructions. 441 442 * simops.c: Fix extraction of 16/24bit immediates for some 443 instructions. "cmp" instructions only modify the PSW. 444 Fix various thinkos when extracting register operands too. 445 446Thu Jan 16 07:47:56 1997 Jeffrey A Law (law@cygnus.com) 447 448 * simops.c: Fix "rol" and "ror". 449 450 * simops.c: Truncate PC to 24bits after modifying it. 451 Closer stab at emulated system calls. 452 453Tue Jan 14 12:33:12 1997 Jeffrey A Law (law@cygnus.com) 454 455 * interp.c (hash): Improve hashing of two byte insns. 456 (store_mem): Handle storing 3 byte quantities. 457 458 * simops.c: Fix various typos/thinkos. 459 460 * interp.c (load_mem_big, load_mem, store_mem): Fix thinko in 461 code to handle 24bit addresses. 462 * simops.c (REG0_8, REG0_16): Fix typo. 463 464Mon Jan 6 16:17:09 1997 Jeffrey A Law (law@cygnus.com) 465 466 * mn10200_sim.h: Various fixes for mixed 16/24bit architecture. 467 * interp.c: Similarly. 468 * simops.c: Similarly. 469 470 * Makefile.in, config.in, configure, configure.in: New files. 471 * gencode.c, interp.c, mn10200_sim.h, simops.c: New files. 472 473