1 1.1 christos 2021-06-22 Mike Frysinger <vapier (a] gentoo.org> 2 1.1 christos 3 1.1 christos * configure.ac: Removed. 4 1.1 christos * aclocal.m4: Removed. 5 1.1 christos * configure: Removed. 6 1.1 christos 7 1.1 christos 2021-06-21 Mike Frysinger <vapier (a] gentoo.org> 8 1.1 christos 9 1.1 christos * aclocal.m4: Regenerate. 10 1.1 christos * configure: Regenerate. 11 1.1 christos 12 1.1 christos 2021-06-21 Mike Frysinger <vapier (a] gentoo.org> 13 1.1 christos 14 1.1 christos * Makefile.in (SIM_EXTRA_HW_DEVICES): Define. 15 1.1 christos * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call. 16 1.1 christos * configure: Regenerate. 17 1.1 christos 18 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org> 19 1.1 christos 20 1.1 christos * configure.ac (SIM_AC_COMMON): Delete. 21 1.1 christos * aclocal.m4, configure: Regenerate. 22 1.1 christos 23 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org> 24 1.1 christos 25 1.1 christos * aclocal.m4: Regenerate. 26 1.1 christos * configure: Regenerate. 27 1.1 christos 28 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org> 29 1.1 christos 30 1.1 christos * sim-main.h: Add UNUSED to all STATIC_INLINE functions. 31 1.1 christos 32 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org> 33 1.1 christos 34 1.1 christos * aclocal.m4: Regenerate. 35 1.1 christos * configure: Regenerate. 36 1.1 christos 37 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org> 38 1.1 christos 39 1.1 christos * aclocal.m4: Regenerate. 40 1.1 christos * configure: Regenerate. 41 1.1 christos 42 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org> 43 1.1 christos 44 1.1 christos * configure: Regenerate. 45 1.1 christos 46 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org> 47 1.1 christos 48 1.1 christos * aclocal.m4, configure: Regenerate. 49 1.1 christos 50 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org> 51 1.1 christos 52 1.1 christos * configure: Regenerate. 53 1.1 christos 54 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org> 55 1.1 christos 56 1.1 christos * dv-m68hc11eepr.c: Include sim-signal.h. 57 1.1 christos * interrupts.c, m68hc11_sim.c: Likewise. 58 1.1 christos * sim-main.h: Delete sim-signal.h include. 59 1.1 christos 60 1.1 christos 2021-06-17 Mike Frysinger <vapier (a] gentoo.org> 61 1.1 christos 62 1.1 christos * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. 63 1.1 christos * interp.c (sim_open): Set current_target_byte_order. 64 1.1 christos * aclocal.m4, configure: Regenerate. 65 1.1 christos 66 1.1 christos 2021-06-17 Mike Frysinger <vapier (a] gentoo.org> 67 1.1 christos 68 1.1 christos * sim-main.h: Delete sim/callback.h include. 69 1.1 christos 70 1.1 christos 2021-06-16 Mike Frysinger <vapier (a] gentoo.org> 71 1.1 christos 72 1.1 christos * configure: Regenerate. 73 1.1 christos 74 1.1 christos 2021-06-16 Mike Frysinger <vapier (a] gentoo.org> 75 1.1 christos 76 1.1 christos * configure: Regenerate. 77 1.1 christos * config.in: Removed. 78 1.1 christos 79 1.1 christos 2021-06-15 Mike Frysinger <vapier (a] gentoo.org> 80 1.1 christos 81 1.1 christos * config.in, configure: Regenerate. 82 1.1 christos 83 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org> 84 1.1 christos 85 1.1 christos * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. 86 1.1 christos 87 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org> 88 1.1 christos 89 1.1 christos * aclocal.m4, config.in, configure: Regenerate. 90 1.1 christos 91 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org> 92 1.1 christos 93 1.1 christos * config.in, configure: Regenerate. 94 1.1 christos 95 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org> 96 1.1 christos 97 1.1 christos * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. 98 1.1 christos 99 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org> 100 1.1 christos 101 1.1 christos * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. 102 1.1 christos (struct sim_state): Delete. 103 1.1 christos 104 1.1 christos 2021-05-16 Mike Frysinger <vapier (a] gentoo.org> 105 1.1 christos 106 1.1 christos * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c, 107 1.1 christos dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c, 108 1.1 christos interrupts.c, m68hc11_sim.c: Include defs.h. 109 1.1 christos 110 1.1 christos 2021-05-16 Mike Frysinger <vapier (a] gentoo.org> 111 1.1 christos 112 1.1 christos * config.in, configure: Regenerate. 113 1.1 christos 114 1.1 christos 2021-05-14 Mike Frysinger <vapier (a] gentoo.org> 115 1.1 christos 116 1.1 christos * sim-main.h: Update include path. 117 1.1 christos 118 1.1 christos 2021-05-07 Mike Frysinger <vapier (a] gentoo.org> 119 1.1 christos 120 1.1 christos * dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes. 121 1.1 christos Merge two sprintf buf calls. 122 1.1 christos 123 1.1 christos 2021-05-06 Mike Frysinger <vapier (a] gentoo.org> 124 1.1 christos 125 1.1 christos * interp.c (sim_hw_configure): Change %lx to %x in format strings. 126 1.1 christos * configure.ac: Delete SIM_AC_OPTION_WARNINGS call. 127 1.1 christos * configure: Regenerate. 128 1.1 christos 129 1.1 christos 2021-05-06 Mike Frysinger <vapier (a] gentoo.org> 130 1.1 christos 131 1.1 christos * emulos.c: Include errno.h & stdio.h. 132 1.1 christos (emul_write): Print a warning when the write fails. 133 1.1 christos 134 1.1 christos 2021-05-04 Mike Frysinger <vapier (a] gentoo.org> 135 1.1 christos 136 1.1 christos * dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int. 137 1.1 christos * dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*. 138 1.1 christos 139 1.1 christos 2021-05-04 Mike Frysinger <vapier (a] gentoo.org> 140 1.1 christos 141 1.1 christos * configure: Regenerate. 142 1.1 christos 143 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org> 144 1.1 christos 145 1.1 christos * config.in, configure: Regenerate. 146 1.1 christos 147 1.1 christos 2021-04-23 Mike Frysinger <vapier (a] gentoo.org> 148 1.1 christos 149 1.1 christos * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args. 150 1.1 christos * configure: Regenerate. 151 1.1 christos 152 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 153 1.1 christos 154 1.1 christos * configure, config.in: Rebuild. 155 1.1 christos 156 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 157 1.1 christos 158 1.1 christos * Makefile.in (INCLUDE): Remove. 159 1.1 christos 160 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 161 1.1 christos 162 1.1 christos * Makefile.in (interp.o): Remove. 163 1.1 christos 164 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 165 1.1 christos 166 1.1 christos * configure: Rebuild. 167 1.1 christos 168 1.1 christos 2021-04-21 Mike Frysinger <vapier (a] gentoo.org> 169 1.1 christos 170 1.1 christos * aclocal.m4: Regenerate. 171 1.1 christos 172 1.1 christos 2021-04-21 Simon Marchi <simon.marchi (a] polymtl.ca> 173 1.1 christos 174 1.1 christos * configure: Regenerate. 175 1.1 christos 176 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org> 177 1.1 christos 178 1.1 christos * configure: Regenerate. 179 1.1 christos 180 1.1 christos 2021-04-12 Mike Frysinger <vapier (a] gentoo.org> 181 1.1 christos 182 1.1 christos * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. 183 1.1 christos 184 1.1 christos 2021-04-02 Mike Frysinger <vapier (a] gentoo.org> 185 1.1 christos 186 1.1 christos * aclocal.m4, configure: Regenerate. 187 1.1 christos 188 1.1 christos 2021-03-13 Mike Frysinger <vapier (a] gentoo.org> 189 1.1 christos 190 1.1 christos * Makefile.in (gencode.o): New rule. 191 1.1 christos (gencode): Call LINK_FOR_BUILD. 192 1.1 christos 193 1.1 christos 2021-02-28 Mike Frysinger <vapier (a] gentoo.org> 194 1.1 christos 195 1.1 christos * configure: Regenerate. 196 1.1 christos 197 1.1 christos 2021-02-21 Mike Frysinger <vapier (a] gentoo.org> 198 1.1 christos 199 1.1 christos * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. 200 1.1 christos * aclocal.m4, configure: Regenerate. 201 1.1 christos 202 1.1 christos 2021-02-13 Mike Frysinger <vapier (a] gentoo.org> 203 1.1 christos 204 1.1 christos * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. 205 1.1 christos * aclocal.m4, configure: Regenerate. 206 1.1 christos 207 1.1 christos 2021-02-06 Mike Frysinger <vapier (a] gentoo.org> 208 1.1 christos 209 1.1 christos * configure: Regenerate. 210 1.1 christos 211 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org> 212 1.1 christos 213 1.1 christos * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64. 214 1.1 christos 215 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org> 216 1.1 christos 217 1.1 christos * m68hc11_sim.c (cpu_set_sp): Add static markings. 218 1.1 christos (cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg, 219 1.1 christos cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise. 220 1.1 christos 221 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org> 222 1.1 christos 223 1.1 christos * interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse. 224 1.1 christos 225 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org> 226 1.1 christos 227 1.1 christos * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h. 228 1.1 christos 229 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org> 230 1.1 christos 231 1.1 christos * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables. 232 1.1 christos * configure: Regenerate. 233 1.1 christos 234 1.1 christos 2021-01-11 Mike Frysinger <vapier (a] gentoo.org> 235 1.1 christos 236 1.1 christos * config.in, configure: Regenerate. 237 1.1 christos 238 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org> 239 1.1 christos 240 1.1 christos * configure: Regenerate. 241 1.1 christos 242 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org> 243 1.1 christos 244 1.1 christos * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". 245 1.1 christos * configure: Regenerate. 246 1.1 christos 247 1.1 christos 2021-01-08 Mike Frysinger <vapier (a] gentoo.org> 248 1.1 christos 249 1.1 christos * configure: Regenerate. 250 1.1 christos 251 1.1 christos 2021-01-04 Mike Frysinger <vapier (a] gentoo.org> 252 1.1 christos 253 1.1 christos * configure: Regenerate. 254 1.1 christos 255 1.1 christos 2017-09-06 John Baldwin <jhb (a] FreeBSD.org> 256 1.1 christos 257 1.1 christos * configure: Regenerate. 258 1.1 christos 259 1.1 christos 2017-02-13 Mike Frysinger <vapier (a] gentoo.org> 260 1.1 christos 261 1.1 christos * gencode.c: Include libiberty.h. 262 1.1 christos (TABLE_SIZE): Delete. 263 1.1 christos (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE. 264 1.1 christos (gen_interpreter): Likewise. 265 1.1 christos * interrupts.c (TableSize): Delete. 266 1.1 christos (interrupts_update_pending): Change TableSize to ARRAY_SIZE. 267 1.1 christos 268 1.1 christos 2016-08-16 Mike Frysinger <vapier (a] gentoo.org> 269 1.1 christos 270 1.1 christos * sim-main.h (inline): Delete define. 271 1.1 christos (phys_to_virt): Change inline to STATIC_INLINE. 272 1.1 christos (memory_read8, memory_write8, memory_read16, memory_write16, 273 1.1 christos cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16, 274 1.1 christos cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16, 275 1.1 christos cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16, 276 1.1 christos cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8, 277 1.1 christos cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8, 278 1.1 christos cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise. 279 1.1 christos 280 1.1 christos 2016-08-15 Mike Frysinger <vapier (a] gentoo.org> 281 1.1 christos 282 1.1 christos * interp.c (sim_get_bank_parameters): Delete abfd arg. 283 1.1 christos Replace all symbol lookup code with calls to trace_sym_value. 284 1.1 christos (sim_prepare_for_program): Update sim_get_bank_parameters call. 285 1.1 christos 286 1.1 christos 2016-08-13 Mike Frysinger <vapier (a] gentoo.org> 287 1.1 christos 288 1.1 christos * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style. 289 1.1 christos * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise. 290 1.1 christos * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise. 291 1.1 christos * emulos.c (emul_bench): Likewise. 292 1.1 christos (emul_write): Likewise. Also rename state to cpu. 293 1.1 christos (emul_os): Rename proc to cpu. 294 1.1 christos * gencode.c: Rename proc to cpu. 295 1.1 christos * interrupts.c (interrupts_initialize): Likewise. 296 1.1 christos * interrupts.h (interrupts): Adjust cpu type. 297 1.1 christos (interrupts_initialize): Likewise. 298 1.1 christos * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style. 299 1.1 christos (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg, 300 1.1 christos cpu_get_indexed_operand_addr, cpu_get_indexed_operand8, 301 1.1 christos cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise. 302 1.1 christos (cpu_ccr_update_tst8): Rename proc to cpu. 303 1.1 christos * sim-main.h: Rename PROC and proc to cpu. 304 1.1 christos 305 1.1 christos 2016-08-13 Mike Frysinger <vapier (a] gentoo.org> 306 1.1 christos 307 1.1 christos * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with 308 1.1 christos return value of hw_malloc. 309 1.1 christos * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static. 310 1.1 christos (m68hc11sio_tx_poll): Likewise. 311 1.1 christos * dv-m68hc11spi.c (m68hc11spi_clock): Likewise. 312 1.1 christos * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise. 313 1.1 christos * dv-nvram.c (attach_nvram_regs): Drop cast with 314 1.1 christos return value of hw_malloc. 315 1.1 christos * emulos.c (emul_bench): Mark static. 316 1.1 christos (emul_write): Likewise. 317 1.1 christos (emul_exit): Likewise. 318 1.1 christos * gencode.c: Include stdio.h. 319 1.1 christos (gen_function_entry): Unify two print lines. 320 1.1 christos (cmp_opcode): Mark args const. 321 1.1 christos 322 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 323 1.1 christos 324 1.1 christos * config.in, configure: Regenerate. 325 1.1 christos 326 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 327 1.1 christos 328 1.1 christos * configure: Regenerate. 329 1.1 christos 330 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 331 1.1 christos 332 1.1 christos * configure: Regenerate. 333 1.1 christos 334 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 335 1.1 christos 336 1.1 christos * configure: Regenerate. 337 1.1 christos 338 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 339 1.1 christos 340 1.1 christos * configure: Regenerate. 341 1.1 christos 342 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 343 1.1 christos 344 1.1 christos * configure.ac (SIM_AC_OPTION_INLINE): Delete call. 345 1.1 christos * configure: Regenerate. 346 1.1 christos 347 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 348 1.1 christos 349 1.1 christos * configure: Regenerate. 350 1.1 christos 351 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 352 1.1 christos 353 1.1 christos * configure: Regenerate. 354 1.1 christos 355 1.1 christos 2016-01-09 Mike Frysinger <vapier (a] gentoo.org> 356 1.1 christos 357 1.1 christos * config.in, configure: Regenerate. 358 1.1 christos 359 1.1 christos 2016-01-06 Mike Frysinger <vapier (a] gentoo.org> 360 1.1 christos 361 1.1 christos * interp.c (sim_open): Mark argv const. 362 1.1 christos (sim_create_inferior): Mark argv and env const. 363 1.1 christos 364 1.1 christos 2016-01-04 Mike Frysinger <vapier (a] gentoo.org> 365 1.1 christos 366 1.1 christos * configure: Regenerate. 367 1.1 christos 368 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org> 369 1.1 christos 370 1.1 christos * interp.c (sim_open): Update sim_parse_args comment. 371 1.1 christos 372 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org> 373 1.1 christos 374 1.1 christos * sim-main.h (sim_state): Delete devices member. 375 1.1 christos 376 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org> 377 1.1 christos 378 1.1 christos * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. 379 1.1 christos * configure: Regenerate. 380 1.1 christos 381 1.1 christos 2016-01-02 Mike Frysinger <vapier (a] gentoo.org> 382 1.1 christos 383 1.1 christos * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG. 384 1.1 christos * configure: Regenerate. 385 1.1 christos 386 1.1 christos 2015-12-30 Mike Frysinger <vapier (a] gentoo.org> 387 1.1 christos 388 1.1 christos * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN. 389 1.1 christos * configure: Regenerate. 390 1.1 christos 391 1.1 christos 2015-12-30 Mike Frysinger <vapier (a] gentoo.org> 392 1.1 christos 393 1.1 christos * imterp.c (sim_open): Delete current_alignment and 394 1.1 christos current_target_byte_order assignments. 395 1.1 christos * configure.ac: Call SIM_AC_OPTION_ENDIAN. 396 1.1 christos * configure: Regenerate. 397 1.1 christos 398 1.1 christos 2015-12-30 Mike Frysinger <vapier (a] gentoo.org> 399 1.1 christos 400 1.1 christos * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define. 401 1.1 christos (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. 402 1.1 christos (sim_store_register): Rename to ... 403 1.1 christos (m68hc11_reg_store): ... this. Delete local cpu var. 404 1.1 christos (sim_fetch_register): Rename to ... 405 1.1 christos (m68hc11_reg_fetch): ... this. Delete local cpu var. 406 1.1 christos 407 1.1 christos 2015-12-27 Mike Frysinger <vapier (a] gentoo.org> 408 1.1 christos 409 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-hload.o. 410 1.1 christos 411 1.1 christos 2015-12-26 Mike Frysinger <vapier (a] gentoo.org> 412 1.1 christos 413 1.1 christos * config.in, configure: Regenerate. 414 1.1 christos 415 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org> 416 1.1 christos 417 1.1 christos * sim-main.h (SIM_HANDLES_LMA): Delete. 418 1.1 christos 419 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org> 420 1.1 christos 421 1.1 christos * sim-main.h (WITH_WATCHPOINTS): Delete. 422 1.1 christos 423 1.1 christos 2015-11-17 Mike Frysinger <vapier (a] gentoo.org> 424 1.1 christos 425 1.1 christos * sim-main.h (WITH_MODULO_MEMORY): Delete. 426 1.1 christos 427 1.1 christos 2015-11-15 Mike Frysinger <vapier (a] gentoo.org> 428 1.1 christos 429 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. 430 1.1 christos 431 1.1 christos 2015-11-14 Mike Frysinger <vapier (a] gentoo.org> 432 1.1 christos 433 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-load.o. 434 1.1 christos 435 1.1 christos 2015-11-14 Mike Frysinger <vapier (a] gentoo.org> 436 1.1 christos 437 1.1 christos * interp.c (sim_close): Delete. 438 1.1 christos 439 1.1 christos 2015-06-23 Mike Frysinger <vapier (a] gentoo.org> 440 1.1 christos 441 1.1 christos * configure: Regenerate. 442 1.1 christos 443 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org> 444 1.1 christos 445 1.1 christos * configure: Regenerate. 446 1.1 christos 447 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org> 448 1.1 christos 449 1.1 christos * configure: Regenerate. 450 1.1 christos 451 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org> 452 1.1 christos 453 1.1 christos * interp.c (interrupt_names): Delete. 454 1.1 christos 455 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org> 456 1.1 christos 457 1.1 christos * Makefile.in (SIM_OBJS): Add sim-resume.o 458 1.1 christos * interp.c (has_stepped, sim_resume): Delete. 459 1.1 christos 460 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org> 461 1.1 christos 462 1.1 christos * interp.c (INLINE): Delete define. 463 1.1 christos 464 1.1 christos 2015-04-29 Nick Clifton <nickc (a] redhat.com> 465 1.1 christos 466 1.1 christos PR 18273 467 1.1 christos * gencode.c (gen_fetch_operands): Remove unreachable code. 468 1.1 christos 469 1.1 christos 2015-04-18 Mike Frysinger <vapier (a] gentoo.org> 470 1.1 christos 471 1.1 christos * sim-main.h (SIM_CPU): Delete. 472 1.1 christos 473 1.1 christos 2015-04-18 Mike Frysinger <vapier (a] gentoo.org> 474 1.1 christos 475 1.1 christos * sim-main.h (sim_cia): Delete. 476 1.1 christos 477 1.1 christos 2015-04-17 Mike Frysinger <vapier (a] gentoo.org> 478 1.1 christos 479 1.1 christos * sim-main.h (CIA_GET, CIA_SET): Delete. 480 1.1 christos 481 1.1 christos 2015-04-15 Mike Frysinger <vapier (a] gentoo.org> 482 1.1 christos 483 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-cpu.o. 484 1.1 christos * sim-main.h (STATE_CPU): Delete. 485 1.1 christos 486 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org> 487 1.1 christos 488 1.1 christos * configure: Regenerate. 489 1.1 christos 490 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org> 491 1.1 christos 492 1.1 christos * Makefile.in (SIM_OBJS): Add sim-cpu.o. 493 1.1 christos * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions. 494 1.1 christos (sim_open): Declare new local var i. Call sim_cpu_alloc_all. 495 1.1 christos Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. 496 1.1 christos (sim_pc_get): Delete. 497 1.1 christos * sim-main.h (SIM_CPU): Define. 498 1.1 christos (STATE_CPU): Drop &. 499 1.1 christos (struct sim_state): Change cpu to an array of pointers. 500 1.1 christos 501 1.1 christos 2015-04-06 Mike Frysinger <vapier (a] gentoo.org> 502 1.1 christos 503 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. 504 1.1 christos 505 1.1 christos 2015-03-31 Mike Frysinger <vapier (a] gentoo.org> 506 1.1 christos 507 1.1 christos * m68hc11_sim.c (cpu_get_indexed_operand_addr, 508 1.1 christos cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict 509 1.1 christos variable to restricted. 510 1.1 christos * sim-main.h (cpu_get_indexed_operand_addr): Likewise. 511 1.1 christos 512 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org> 513 1.1 christos 514 1.1 christos * interp.c (sim_pc_get): New function. 515 1.1 christos 516 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org> 517 1.1 christos 518 1.1 christos * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks, 519 1.1 christos sim_size, sim_trace): Delete. 520 1.1 christos * sim-main.h (sim_set_profile, sim_set_profile_size): Delete. 521 1.1 christos 522 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org> 523 1.1 christos 524 1.1 christos * configure: Regenerate. 525 1.1 christos 526 1.1 christos 2015-03-23 Mike Frysinger <vapier (a] gentoo.org> 527 1.1 christos 528 1.1 christos * configure: Regenerate. 529 1.1 christos 530 1.1 christos 2015-03-23 Mike Frysinger <vapier (a] gentoo.org> 531 1.1 christos 532 1.1 christos * configure: Regenerate. 533 1.1 christos * configure.ac (m68hc11_extra_objs): Delete. 534 1.1 christos * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS. 535 1.1 christos (SIM_EXTRA_OBJS): Delete. 536 1.1 christos 537 1.1 christos 2015-03-16 Mike Frysinger <vapier (a] gentoo.org> 538 1.1 christos 539 1.1 christos * config.in, configure: Regenerate. 540 1.1 christos 541 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org> 542 1.1 christos 543 1.1 christos * Makefile.in (SIM_RUN_OBJS): Delete. 544 1.1 christos 545 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org> 546 1.1 christos 547 1.1 christos * configure.ac (AC_CHECK_HEADERS): Delete. 548 1.1 christos * aclocal.m4, configure: Regenerate. 549 1.1 christos 550 1.1 christos 2014-08-19 Alan Modra <amodra (a] gmail.com> 551 1.1 christos 552 1.1 christos * configure: Regenerate. 553 1.1 christos 554 1.1 christos 2014-08-15 Roland McGrath <mcgrathr (a] google.com> 555 1.1 christos 556 1.1 christos * configure: Regenerate. 557 1.1 christos * config.in: Regenerate. 558 1.1 christos 559 1.1 christos 2014-03-04 Mike Frysinger <vapier (a] gentoo.org> 560 1.1 christos 561 1.1 christos * configure: Regenerate. 562 1.1 christos 563 1.1 christos 2013-09-23 Alan Modra <amodra (a] gmail.com> 564 1.1 christos 565 1.1 christos * configure: Regenerate. 566 1.1 christos 567 1.1 christos 2013-06-03 Mike Frysinger <vapier (a] gentoo.org> 568 1.1 christos 569 1.1 christos * aclocal.m4, configure: Regenerate. 570 1.1 christos 571 1.1 christos 2013-05-10 Freddie Chopin <freddie_chopin (a] op.pl> 572 1.1 christos 573 1.1 christos * configure: Rebuild. 574 1.1 christos 575 1.1 christos 2013-03-26 Mike Frysinger <vapier (a] gentoo.org> 576 1.1 christos 577 1.1 christos * configure: Regenerate. 578 1.1 christos 579 1.1 christos 2013-03-23 Joel Sherrill <joel.sherrill (a] oarcorp.com> 580 1.1 christos 581 1.1 christos * configure.ac: Use $SIM_DV_SOCKSER_O. 582 1.1 christos * configure: Regenerated. 583 1.1 christos 584 1.1 christos 2012-06-15 Joel Brobecker <brobecker (a] adacore.com> 585 1.1 christos 586 1.1 christos * config.in, configure: Regenerate. 587 1.1 christos 588 1.1 christos 2012-03-24 Mike Frysinger <vapier (a] gentoo.org> 589 1.1 christos 590 1.1 christos * aclocal.m4, config.in, configure: Regenerate. 591 1.1 christos 592 1.1 christos 2011-12-03 Mike Frysinger <vapier (a] gentoo.org> 593 1.1 christos 594 1.1 christos * aclocal.m4: New file. 595 1.1 christos * configure: Regenerate. 596 1.1 christos 597 1.1 christos 2011-10-19 Mike Frysinger <vapier (a] gentoo.org> 598 1.1 christos 599 1.1 christos * configure: Regenerate after common/acinclude.m4 update. 600 1.1 christos 601 1.1 christos 2011-10-17 Mike Frysinger <vapier (a] gentoo.org> 602 1.1 christos 603 1.1 christos * configure.ac: Change include to common/acinclude.m4. 604 1.1 christos 605 1.1 christos 2011-10-17 Mike Frysinger <vapier (a] gentoo.org> 606 1.1 christos 607 1.1 christos * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER 608 1.1 christos call. Replace common.m4 include with SIM_AC_COMMON. 609 1.1 christos * configure: Regenerate. 610 1.1 christos 611 1.1 christos 2011-07-05 Mike Frysinger <vapier (a] gentoo.org> 612 1.1 christos 613 1.1 christos * interp.c (sim_do_command): Delete. 614 1.1 christos 615 1.1 christos 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 616 1.1 christos 617 1.1 christos * configure: Regenerate. 618 1.1 christos 619 1.1 christos 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 620 1.1 christos 621 1.1 christos * config.in: Regenerate. 622 1.1 christos * configure: Likewise. 623 1.1 christos 624 1.1 christos * configure: Regenerate. 625 1.1 christos 626 1.1 christos 2008-07-11 Hans-Peter Nilsson <hp (a] axis.com> 627 1.1 christos 628 1.1 christos * configure: Regenerate to track ../common/common.m4 changes. 629 1.1 christos * config.in: Ditto. 630 1.1 christos 631 1.1 christos 2008-06-06 Vladimir Prus <vladimir (a] codesourcery.com> 632 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com> 633 1.1 christos Joseph Myers <joseph (a] codesourcery.com> 634 1.1 christos 635 1.1 christos * configure: Regenerate. 636 1.1 christos 637 1.1 christos 2006-12-21 Hans-Peter Nilsson <hp (a] axis.com> 638 1.1 christos 639 1.1 christos * config.in: Regenerate. 640 1.1 christos 641 1.1 christos 2006-06-13 Richard Earnshaw <rearnsha (a] arm.com> 642 1.1 christos 643 1.1 christos * configure: Regenerated. 644 1.1 christos 645 1.1 christos 2006-06-05 Daniel Jacobowitz <dan (a] codesourcery.com> 646 1.1 christos 647 1.1 christos * configure: Regenerated. 648 1.1 christos 649 1.1 christos 2006-05-31 Daniel Jacobowitz <dan (a] codesourcery.com> 650 1.1 christos 651 1.1 christos * configure: Regenerated. 652 1.1 christos 653 1.1 christos 2006-03-29 Hans-Peter Nilsson <hp (a] axis.com> 654 1.1 christos 655 1.1 christos * configure: Regenerate. 656 1.1 christos 657 1.1 christos 2005-03-23 Mark Kettenis <kettenis (a] gnu.org> 658 1.1 christos 659 1.1 christos * configure: Regenerate. 660 1.1 christos 661 1.1 christos 2005-01-14 Andrew Cagney <cagney (a] gnu.org> 662 1.1 christos 663 1.1 christos * configure.ac: Sinclude aclocal.m4 before common.m4. Add 664 1.1 christos explicit call to AC_CONFIG_HEADER. 665 1.1 christos * configure: Regenerate. 666 1.1 christos 667 1.1 christos 2005-01-11 Andrew Cagney <cagney (a] localhost.localdomain> 668 1.1 christos 669 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 670 1.1 christos 671 1.1 christos 2005-01-07 Andrew Cagney <cagney (a] gnu.org> 672 1.1 christos 673 1.1 christos * configure.ac: Rename configure.in, require autoconf 2.59. 674 1.1 christos * configure: Re-generate. 675 1.1 christos 676 1.1 christos 2004-12-08 Hans-Peter Nilsson <hp (a] axis.com> 677 1.1 christos 678 1.1 christos * configure: Regenerate for ../common/aclocal.m4 update. 679 1.1 christos 680 1.1 christos 2004-06-15 Alan Modra <amodra (a] bigpond.net.au> 681 1.1 christos 682 1.1 christos * interp.c (sim_prepare_for_program): Use bfd_get_section_size 683 1.1 christos instead of bfd_get_section_size_before_reloc. 684 1.1 christos 685 1.1 christos 2003-08-08 Stephane Carrez <stcarrez (a] nerim.fr> 686 1.1 christos 687 1.1 christos * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better 688 1.1 christos control the translation. 689 1.1 christos (m68hc11tim_print_timer): Update cycle_to_string conversion. 690 1.1 christos (m68hc11tim_timer_event): Fix handling of output 691 1.1 christos compare register with its interrupts. 692 1.1 christos (m68hc11tim_io_write_buffer): Check output compare 693 1.1 christos after setting M6811_TMSK1. 694 1.1 christos (m68hc11tim_io_read_buffer): Fix compilation warning. 695 1.1 christos * dv-m68hc11.c (m68hc11_option_handler): Likewise. 696 1.1 christos * dv-m68hc11spi.c (m68hc11spi_info): Likewise. 697 1.1 christos * dv-m68hc11sio.c (m68hc11sio_info): Likewise. 698 1.1 christos * interrupts.c (interrupts_info): Likewise. 699 1.1 christos (interrupts_reset): Recognize bootstrap mode. 700 1.1 christos * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines. 701 1.1 christos (_sim_cpu): Add cpu_start_mode. 702 1.1 christos (cycle_to_string): Add flags member. 703 1.1 christos * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option. 704 1.1 christos (cpu_options): Declare new option bootstrap. 705 1.1 christos (cpu_option_handler): Handle it. 706 1.1 christos (cpu_info): Update call to cycle_to_string. 707 1.1 christos 708 1.1 christos 2003-08-08 Stephane Carrez <stcarrez (a] nerim.fr> 709 1.1 christos 710 1.1 christos * sim-main.h (phys_to_virt): Use memory bank parameters to translate 711 1.1 christos the physical address in virtual address. 712 1.1 christos (struct _sim_cpu): Add memory bank members. 713 1.1 christos * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters. 714 1.1 christos * interp.c (sim_hw_configure): Create memory bank according to memory 715 1.1 christos bank parameters. 716 1.1 christos (sim_get_bank_parameters): New function to obtain memory bank config 717 1.1 christos from the symbol table. 718 1.1 christos (sim_prepare_for_program): Call it to obtain the memory bank parameters. 719 1.1 christos (sim_open): Call sim_prepare_for_program. 720 1.1 christos * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters 721 1.1 christos to check if address is within bank window. 722 1.1 christos (m68hc11cpu_io_read_buffer): Likewise. 723 1.1 christos (attach_m68hc11_regs): Map the memory bank according to memory bank 724 1.1 christos parameters. 725 1.1 christos 726 1.1 christos 2003-08-08 Stephane Carrez <stcarrez (a] nerim.fr>, 727 1.1 christos 728 1.1 christos * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb. 729 1.1 christos 730 1.1 christos 2003-08-08 Stephane Carrez <stcarrez (a] nerim.fr>, 731 1.1 christos Gary Piercey <gpiercey (a] northstar-technical.com> 732 1.1 christos 733 1.1 christos * m68hc11_sim.c (print_io_word): New function to print 16-bit value. 734 1.1 christos * sim-main.h (print_io_word): Declare. 735 1.1 christos * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1. 736 1.1 christos (tflg1_desc): Likewise for TFLG1. 737 1.1 christos (m68hc11tim_info): Print input and output compare registers 738 1.1 christos 739 1.1 christos 2003-03-02 Stephane Carrez <stcarrez (a] nerim.fr> 740 1.1 christos 741 1.1 christos * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE 742 1.1 christos to 32 to support memory bank switching; temporarily use 32-bit for 743 1.1 christos WORD_BITSIZE to avoid a bug in sim-common. 744 1.1 christos 745 1.1 christos 2003-03-01 Stephane Carrez <stcarrez (a] nerim.fr> 746 1.1 christos 747 1.1 christos * interp.c (sim_fetch_register): Only store a single byte for 748 1.1 christos 1 byte registers. 749 1.1 christos 750 1.1 christos 2003-02-27 Andrew Cagney <cagney (a] redhat.com> 751 1.1 christos 752 1.1 christos * interp.c (sim_prepare_for_program, sim_open) 753 1.1 christos (sim_create_inferior): Rename _bfd to bfd. 754 1.1 christos 755 1.1 christos 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 756 1.1 christos 757 1.1 christos * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename. 758 1.1 christos 759 1.1 christos 2002-08-13 Marko Kohtala <marko.kohtala (a] luukku.com> 760 1.1 christos 761 1.1 christos * interp.c (sim_prepare_for_program): Look up the image for the 762 1.1 christos reset vector and set cpu_use_elf_start to 1 if not found. 763 1.1 christos (sim_open): Do not set cpu_use_elf_start. 764 1.1 christos 765 1.1 christos 2002-08-13 Marko Kohtala <marko.kohtala (a] luukku.com> 766 1.1 christos 767 1.1 christos * interp.c (sim_hw_configure): Return 1 for success. 768 1.1 christos (sim_prepare_for_program): Use the sim_hw_configure exit code to 769 1.1 christos return SIM_RC_FAIL. 770 1.1 christos 771 1.1 christos 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 772 1.1 christos 773 1.1 christos * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory 774 1.1 christos bank window to some virtual address to read from extended memory. 775 1.1 christos (m68hc11cpu_io_write_buffer): Likewise for writing. 776 1.1 christos (attach_m68hc11_regs): When use_bank property is defined, attach 777 1.1 christos to the 68HC12 16K memory bank window. 778 1.1 christos * interp.c (sim_hw_configure): Create memory region for banked 779 1.1 christos memory. 780 1.1 christos 781 1.1 christos 2002-08-13 Stephane Carrez <Stephane.Carrez (a] nerim.fr> 782 1.1 christos 783 1.1 christos * interp.c (sim_hw_configure): Connect port-X to cpu-write-port. 784 1.1 christos * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input. 785 1.1 christos (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event. 786 1.1 christos 787 1.1 christos 2002-08-13 Marko Kohtala <marko.kohtala (a] luukku.com> 788 1.1 christos 789 1.1 christos * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping 790 1.1 christos when IO mapping changed, not when internal RAM mapping is changed. 791 1.1 christos 792 1.1 christos 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 793 1.1 christos 794 1.1 christos * m68hc11_sim.c (cpu_special): Handle call and rtc instructions. 795 1.1 christos * sim-main.h (M6812_CALL_INDIRECT): Add to enum. 796 1.1 christos (m6811_regs): Add page register. 797 1.1 christos (cpu_set_page, cpu_get_page): New macros. 798 1.1 christos (phys_to_virt): New function. 799 1.1 christos (cpu_get_indexed_operand_addr, cpu_return): Declare. 800 1.1 christos * gencode.c: Identify indirect addressing mode for call and fix daa. 801 1.1 christos (gen_function_entry): New param to tell if src8/dst8 locals are 802 1.1 christos necessary. 803 1.1 christos (gen_interpreter): Use it to avoid generation of unused variables. 804 1.1 christos * interp.c (sim_fetch_register): Allow to read page register; page 805 1.1 christos register, A, B and CCR are only 1 byte wide. 806 1.1 christos (sim_store_register): Likewise for writing. 807 1.1 christos 808 1.1 christos 2002-06-16 Andrew Cagney <ac131313 (a] redhat.com> 809 1.1 christos 810 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 811 1.1 christos 812 1.1 christos 2002-06-09 Andrew Cagney <cagney (a] redhat.com> 813 1.1 christos 814 1.1 christos * Makefile.in (INCLUDE): Update path to callback.h. 815 1.1 christos * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h". 816 1.1 christos 817 1.1 christos 2002-03-07 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 818 1.1 christos 819 1.1 christos * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case. 820 1.1 christos (cpu_move16): Likewise. 821 1.1 christos (sim_memory_error): Use sim_io_printf. 822 1.1 christos (cpu_option_handler): Fix compilation warning. 823 1.1 christos * interp.c (sim_hw_configure): Fix compilation warning; 824 1.1 christos remove m68hc12sio@2 device. 825 1.1 christos (sim_open): Likewise. 826 1.1 christos * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2 827 1.1 christos flags when reset. 828 1.1 christos (cycle_to_string): Improve convertion of cpu cycle number. 829 1.1 christos (m68hc11tim_info): Print info about PACNT. 830 1.1 christos (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle 831 1.1 christos TCTL1 and TCTL2 registers. 832 1.1 christos * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode. 833 1.1 christos 834 1.1 christos 2002-03-07 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 835 1.1 christos 836 1.1 christos * interp.c (sim_hw_configure): Save the HW cpu pointer in the 837 1.1 christos cpu struct. 838 1.1 christos (sim_hw_configure): Connect the capture input/output events. 839 1.1 christos * sim-main.h (_sim_cpu): New member hw_cpu. 840 1.1 christos (m68hc11cpu_set_oscillator): Declare. 841 1.1 christos (m68hc11cpu_clear_oscillator): Declare. 842 1.1 christos (m68hc11cpu_set_port): Declare. 843 1.1 christos * dv-m68hc11.c (m68hc11_options): New for oscillator commands. 844 1.1 christos (m68hc11cpu_ports): New input ports and output ports to reflect 845 1.1 christos the HC11 IOs. 846 1.1 christos (m68hc11_delete): Cleanup any running oscillator. 847 1.1 christos (attach_m68hc11_regs): Create the input oscillators. 848 1.1 christos (make_oscillator): New function. 849 1.1 christos (find_oscillator): New function. 850 1.1 christos (oscillator_handler): New function. 851 1.1 christos (reset_oscillators): New function. 852 1.1 christos (m68hc11cpu_port_event): Handle the new input ports. 853 1.1 christos (m68hc11cpu_set_oscillator): New function. 854 1.1 christos (m68hc11cpu_clear_oscillator): New function. 855 1.1 christos (get_frequency): New function. 856 1.1 christos (m68hc11_option_handler): New function. 857 1.1 christos (m68hc11cpu_set_port): New function. 858 1.1 christos (m68hc11cpu_io_write): Post the port output events. 859 1.1 christos * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set 860 1.1 christos the output port value. 861 1.1 christos * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event 862 1.1 christos by latching the TCNT value in the register. 863 1.1 christos 864 1.1 christos 2002-03-07 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 865 1.1 christos 866 1.1 christos * sim-main.h (cpu_frame, cpu_frame_list): Remove. 867 1.1 christos (cpu_frame_reg, cpu_print_frame): Remove. 868 1.1 christos (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup. 869 1.1 christos (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise. 870 1.1 christos (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise. 871 1.1 christos (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise. 872 1.1 christos * m68hc11_sim.c (cpu_find_frame): Remove. 873 1.1 christos (cpu_create_frame_list): Remove. 874 1.1 christos (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove. 875 1.1 christos (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove. 876 1.1 christos (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above. 877 1.1 christos (cpu_update_frame): Likewise. 878 1.1 christos (cpu_return): Likewise. 879 1.1 christos (cpu_reset): Likewise. 880 1.1 christos (cpu_initialize): Likewise. 881 1.1 christos * interp.c (sim_do_command): Remove call to cpu_print_frame. 882 1.1 christos 883 1.1 christos 2002-03-07 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 884 1.1 christos 885 1.1 christos * interrupts.c (interrupts_reset): New function, setup interrupt 886 1.1 christos vector address according to cpu mode. 887 1.1 christos (interrupts_initialize): Move reset portion to the above. 888 1.1 christos (interrupt_names): New table to give a name to interrupts. 889 1.1 christos (idefs): Handle pulse accumulator interrupts. 890 1.1 christos (interrupts_info): Print the interrupt history. 891 1.1 christos (interrupt_option_handler): New function. 892 1.1 christos (interrupt_options): New table of options. 893 1.1 christos (interrupts_update_pending): Keep track of when interrupts are 894 1.1 christos raised and implement breakpoint-on-raise-interrupt. 895 1.1 christos (interrupts_process): Keep track of when interrupts are taken 896 1.1 christos and implement breakpoint-on-interrupt. 897 1.1 christos * interrupts.h (struct interrupt_history): Define. 898 1.1 christos (struct interrupt): Keep track of the interrupt history. 899 1.1 christos (interrupts_reset): Declare. 900 1.1 christos (interrupts_initialize): Update prototype. 901 1.1 christos * m68hc11_sim.c (cpu_reset): Reset interrupts. 902 1.1 christos (cpu_initialize): Cleanup. 903 1.1 christos 904 1.1 christos 2001-07-28 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 905 1.1 christos 906 1.1 christos * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write 907 1.1 christos address. 908 1.1 christos (m68hc11eepr_port_event): Fix detach/attach logic. 909 1.1 christos 910 1.1 christos 2001-07-22 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 911 1.1 christos 912 1.1 christos * Makefile.in (SIM_OBJS): Remove sim-resume.o 913 1.1 christos * interp.c (sim_resume): New function from sim-resume.c, install 914 1.1 christos the stepping event after having processed the pending ticks. 915 1.1 christos (has_stepped): Likewise. 916 1.1 christos (sim_info): Produce an output only if verbose or STATE_VERBOSE_P. 917 1.1 christos 918 1.1 christos 2001-07-10 Andrew Cagney <ac131313 (a] redhat.com> 919 1.1 christos 920 1.1 christos * Makefile.in (gencode): Provide explicit path to gencode.c. 921 1.1 christos 922 1.1 christos 2001-05-20 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 923 1.1 christos 924 1.1 christos * Makefile.in (M68HC11_OBJS): Add m68hc12int.o. 925 1.1 christos (m68hc12int.c): Generate using gencode -m6812. 926 1.1 christos (m68hc11int.c): Likewise with -m6811. 927 1.1 christos 928 1.1 christos * gencode.c (m6811_opcode_patterns): New patterns for 68HC12. 929 1.1 christos (m6811_page1_opcodes): Remove duplicate entries. 930 1.1 christos (m6811_page2_opcodes): Likewise. 931 1.1 christos (m6811_page3_opcodes): Likewise. 932 1.1 christos (m6811_page4_opcodes): Likewise. 933 1.1 christos (m6812_page1_opcodes): New table for 68HC12 instructions. 934 1.1 christos (m6812_page2_opcodes): Likewise. 935 1.1 christos (gen_fetch_operands): New modes [] and &[] for 68HC12 operands. 936 1.1 christos (gen_save_result): Likewise. 937 1.1 christos (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes. 938 1.1 christos (cmp_opcode): New function for opcode comparision. 939 1.1 christos (prepare_table): Sort the opcodes. 940 1.1 christos (gen_interpreter): Prepare all the tables and generate either 941 1.1 christos a 68HC11 or a 68HC12 simulator. 942 1.1 christos (main): New options -m6811 and -m6812. 943 1.1 christos 944 1.1 christos * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor. 945 1.1 christos (cpu_special): Simulation of some 68HC12 instructions. 946 1.1 christos (cpu_exg): New function. 947 1.1 christos (cpu_dbcc): Likewise. 948 1.1 christos (cpu_fetch_relbranch16): Likewise. 949 1.1 christos (cpu_push_all): Push according to 68HC11 or 68HC12. 950 1.1 christos (cpu_move16): Likewise. 951 1.1 christos (cpu_move8): Likewise. 952 1.1 christos (cpu_get_indexed_operand16): Likewise. 953 1.1 christos (cpu_get_indexed_operand8): Likewise. 954 1.1 christos (cpu_get_indexed_operand_addr): Likewise. 955 1.1 christos (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise. 956 1.1 christos (cpu_reset): Setup INIT register according to architecture. 957 1.1 christos 958 1.1 christos * sim-main.h (M6811_Special): Add 68HC12 specific instructions. 959 1.1 christos (_sim_cpu): Keep track of the cpu being simulated. 960 1.1 christos (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New. 961 1.1 christos (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx. 962 1.1 christos (cpu_m68hc11_pop_uint8): Likewise. 963 1.1 christos (cpu_m68hc12_push_uintxx): New functions for 68HC12. 964 1.1 christos (cpu_m68hc12_pop_uintxx): Likewise. 965 1.1 christos (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise, 966 1.1 christos (cpu_fetch_relbranch16): Likewise. 967 1.1 christos (cpu_interp_m6811): Rename of cpu_interp. 968 1.1 christos (cpu_interp_m6812): New function. 969 1.1 christos * interp.c (free_state): New function. 970 1.1 christos (dev_list_68hc12): New table. 971 1.1 christos (sim_board_reset): Reset depending on the cpu (HC11 or HC12). 972 1.1 christos (sim_hw_configure): New function. 973 1.1 christos (sim_prepare_for_program): New function. 974 1.1 christos (sim_open): Use above new functions. 975 1.1 christos (sim_close): Call free_state(). 976 1.1 christos (sim_info): Print info according to cpu. 977 1.1 christos (sim_create_inferior): Use sim_prepare_for_program. 978 1.1 christos (sim_do_command): Configure the hardware after a change of the 979 1.1 christos architecture. 980 1.1 christos 981 1.1 christos 2001-05-20 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 982 1.1 christos 983 1.1 christos * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for 984 1.1 christos pending interrupts. 985 1.1 christos * interrupts.c (interrupts_process): Keep track of the last number 986 1.1 christos of masked insn cycles. 987 1.1 christos (interrupts_initialize): Clear last number of masked insn cycles. 988 1.1 christos (interrupts_info): Report them. 989 1.1 christos (interrupts_update_pending): Compute clear and set masks of 990 1.1 christos interrupts and clear the interrupt bits before setting them 991 1.1 christos (due to SCI interrupt sharing). 992 1.1 christos * interrupts.h (struct interrupts): New members last_mask_cycles 993 1.1 christos and xirq_last_mask_cycles. 994 1.1 christos 995 1.1 christos 2000-11-26 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 996 1.1 christos 997 1.1 christos * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size 998 1.1 christos instead of a hard-coded value. 999 1.1 christos (m68hc11cpu_io_write_buffer): Likewise. 1000 1.1 christos (dv_m68hc11_descriptor): Define a 68hc12 device. 1001 1.1 christos * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise. 1002 1.1 christos * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise. 1003 1.1 christos * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise. 1004 1.1 christos * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise. 1005 1.1 christos 1006 1.1 christos 2000-11-22 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1007 1.1 christos 1008 1.1 christos * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler. 1009 1.1 christos (m68hc11cpu_delete): Delete handler to detach the address space. 1010 1.1 christos 1011 1.1 christos 2000-11-24 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1012 1.1 christos 1013 1.1 christos * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc. 1014 1.1 christos * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc 1015 1.1 christos instead of free and malloc. 1016 1.1 christos 1017 1.1 christos 2000-09-11 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1018 1.1 christos 1019 1.1 christos * Makefile.in: Was missing from initial patch. 1020 1.1 christos 1021 1.1 christos 2000-09-10 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1022 1.1 christos 1023 1.1 christos * interp.c (sim_store_register): Remove soft register hack. 1024 1.1 christos (sim_fetch_register): Likewise. 1025 1.1 christos (sim_create_inferior): Likewise. 1026 1.1 christos * sim-main.h: Likewise. 1027 1.1 christos 1028 1.1 christos 2000-09-10 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1029 1.1 christos 1030 1.1 christos * interrupts.c (interrupts_update_pending): Clear the mask of 1031 1.1 christos pending interrupts here. 1032 1.1 christos (interrupts_get_current): Don't clear the mask of pending interrupts. 1033 1.1 christos 1034 1.1 christos 2000-09-10 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1035 1.1 christos 1036 1.1 christos * sim-main.h: Define cycle_to_string. 1037 1.1 christos * dv-m68hc11tim.c (cycle_to_string): New function to translate 1038 1.1 christos the cpu cycle into some formatted time string. 1039 1.1 christos (m68hc11tim_print_timer): Use it. 1040 1.1 christos * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string. 1041 1.1 christos * dv-m68hc11spi.c (m68hc11spi_info): Likewise. 1042 1.1 christos * interrupts.c (interrupts_info): Likewise. 1043 1.1 christos * m68hc11_sim.c (cpu_info): Likewise. 1044 1.1 christos 1045 1.1 christos 2000-09-06 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1046 1.1 christos 1047 1.1 christos * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow 1048 1.1 christos interrupt and compare events accurately. Take into account the 1049 1.1 christos pending ticks not processed by the simulator yet (introduced a shift). 1050 1.1 christos (m68hc11_port_event): Reset the timer interrupt delays. 1051 1.1 christos (m68hc11tim_io_read_buffer): Be able to read several bytes. 1052 1.1 christos (m68hc11tim_io_write_buffer): Likewise for write. 1053 1.1 christos (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt. 1054 1.1 christos 1055 1.1 christos 2000-09-06 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1056 1.1 christos 1057 1.1 christos * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts. 1058 1.1 christos (m68hc11spi_io_write_buffer): Likewise and fix the spi frame. 1059 1.1 christos (m68hc11spi_info): Clarify the status report 1060 1.1 christos of the SPI when a byte is being sent. 1061 1.1 christos (m68hc11spi_clock): Fix the spi send frame. 1062 1.1 christos 1063 1.1 christos 2000-08-11 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1064 1.1 christos 1065 1.1 christos * sim-main.h (m68hc11_map_level): Define level of address mappings. 1066 1.1 christos * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate 1067 1.1 christos whether the eeprom is currently mapped or not. 1068 1.1 christos (m68hc11eepr_port_event): Use the flag to see if we must unmap 1069 1.1 christos or map the eeprom. Update the flag to reflect the current state. 1070 1.1 christos Use M6811_EEPROM_LEVEL when mapping the eeprom. 1071 1.1 christos (m68hc11eepr_finish): Remove overlap hack. 1072 1.1 christos (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the 1073 1.1 christos config and control registers. 1074 1.1 christos * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack. 1075 1.1 christos (attach_m68hc11_regs): Use M6811_IO_LEVEL. 1076 1.1 christos (m68hc11cpu_io_write): Likewise when unmapping and re-mapping. 1077 1.1 christos * dv-m68hc11spi.c (m68hc11spi_finish): Likewise. 1078 1.1 christos (attach_m68hc11spi_regs): Likewise. 1079 1.1 christos * dv-m68hc11tim.c (m68hc11tim_finish): Likewise. 1080 1.1 christos (attach_m68hc11tim_regs): Likewise. 1081 1.1 christos * dv-m68hc11sio.c (m68hc11sio_finish): Likewise. 1082 1.1 christos (attach_m68hc11sio_regs): Likewise. 1083 1.1 christos * interp.c (sim_open): Likewise. 1084 1.1 christos * dv-nvram.c (attach_nvram_regs): Likewise. 1085 1.1 christos 1086 1.1 christos Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney (a] b1.cygnus.com> 1087 1.1 christos 1088 1.1 christos * configure, config.in: Regenerate. 1089 1.1 christos 1090 1.1 christos 2000-06-25 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1091 1.1 christos 1092 1.1 christos * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c 1093 1.1 christos * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback. 1094 1.1 christos (dv_m6811_detach_address_callback): New function to detach a 1095 1.1 christos device from an address space. 1096 1.1 christos * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize 1097 1.1 christos config register according to --cpu-config option. 1098 1.1 christos * sim-main.h (_sim_cpu): Add cpu_config member. 1099 1.1 christos * interp.c (sim_open): Delete specific simulator options. 1100 1.1 christos * m68hc11_sim.c (cpu_option_handler): New options 1101 1.1 christos --emulos and -cpu-config <val> to configure the simulator. 1102 1.1 christos (cpu_initialize): Initialize cpu_config member. 1103 1.1 christos 1104 1.1 christos 2000-06-24 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1105 1.1 christos 1106 1.1 christos * emulos.c: Fix indentation and comments. 1107 1.1 christos * gencode.c: Likewise. 1108 1.1 christos * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT. 1109 1.1 christos (m68hc11tim_io_write_buffer): Write compare registers and 1110 1.1 christos setup compare event. 1111 1.1 christos * interp.c: Remove unused global variables. 1112 1.1 christos * interrupts.c (idefs): New compare interrupts. 1113 1.1 christos Fix indentation and comments. 1114 1.1 christos * interrupts.h: Likewise. 1115 1.1 christos 1116 1.1 christos 2000-06-18 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1117 1.1 christos 1118 1.1 christos * dv-m68hc11sio.c: Fix indentation and comments. 1119 1.1 christos Remove INT_PORT. 1120 1.1 christos * dv-m68hc11.c: Fix indentation and comments. 1121 1.1 christos (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here. 1122 1.1 christos * m68hc11_sim.c (cpu_reset): To here. 1123 1.1 christos * dv-m68hc11eepr.c: Fix indentation and comments. 1124 1.1 christos 1125 1.1 christos 2000-06-17 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1126 1.1 christos 1127 1.1 christos * dv-nvram.c: New file, rename from dv-pram.c. 1128 1.1 christos * dv-pram.c: Delete file. 1129 1.1 christos * sim-main.h: Incorporate m68hc11_sim.h. 1130 1.1 christos * m68hc11_sim.h: Delete file. 1131 1.1 christos * configure.in: Rename pram into nvram. 1132 1.1 christos * interp.c (sim_open): Likewise in creation of device tree. 1133 1.1 christos 1134 1.1 christos 2000-05-31 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1135 1.1 christos 1136 1.1 christos * interp.c (sim_open): Create the SPI device. 1137 1.1 christos * dv-m68hc11spi.c: New file for SPI device simulation. 1138 1.1 christos * configure.in (hw_extra_devices): Add SPI device. 1139 1.1 christos 1140 1.1 christos 2000-05-28 Stephane Carrez <Stephane.Carrez (a] worldnet.fr> 1141 1.1 christos 1142 1.1 christos * interrupts.c (interrupts_initialize): Clear XIRQ accounting. 1143 1.1 christos (interrupts_process): Separate IRQ and XIRQ accounting. 1144 1.1 christos (interrupts_info): Report XIRQ accounting. 1145 1.1 christos * interrupts.h (struct interrupts): Added accounting for XIRQ. 1146 1.1 christos 1147 1.1 christos 2000-04-16 Stephane Carrez <stcarrez (a] worldnet.fr> 1148 1.1 christos 1149 1.1 christos * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode. 1150 1.1 christos * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode. 1151 1.1 christos * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB 1152 1.1 christos configuration from the 'mode' device tree property. 1153 1.1 christos (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB 1154 1.1 christos configuration. 1155 1.1 christos 1156 1.1 christos 2000-02-24 Stephane Carrez <stcarrez (a] worldnet.fr> 1157 1.1 christos 1158 1.1 christos * sim-main.h: Remove WITH_TARGET_* defines. 1159 1.1 christos * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags. 1160 1.1 christos 1161 1.1 christos 2000-02-08 Stephane Carrez <stcarrez (a] worldnet.fr> 1162 1.1 christos 1163 1.1 christos * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to 1164 1.1 christos 1200 baud when cpu is in bootstrap mode. 1165 1.1 christos 1166 1.1 christos * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to 1167 1.1 christos write in the TCTN timer register. 1168 1.1 christos 1169 1.1 christos * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock 1170 1.1 christos by 4 to obtain the E clock frequency. 1171 1.1 christos (sccr2_desc): Use M6811_TIE for TIE bit. 1172 1.1 christos (m68hc11sio_info): Fix baud rate report. 1173 1.1 christos 1174 1.1 christos * dv-m68hc11tim.c (to_realtime): Likewise. 1175 1.1 christos 1176 1.1 christos * interp.c (sim_open): When building device tree, only provide 1177 1.1 christos devices that do not exist yet. 1178 1.1 christos 1179 1.1 christos * emulos.c: Fix compilation pb under Windows. 1180 1.1 christos 1181 1.1 christos * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency 1182 1.1 christos from the 'clock' property. 1183 1.1 christos 1184 1.1 christos 2000-01-02 Stephane Carrez <stcarrez (a] worldnet.fr> 1185 1.1 christos 1186 1.1 christos * m68hc11_sim.h (*_REGNUM): Define. 1187 1.1 christos (_sim_cpu): New member cpu_page0_reg table. 1188 1.1 christos * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with 1189 1.1 christos addresses of soft registers in .page0. 1190 1.1 christos (sim_fetch_register, sim_store_register): Use cpu_page0_reg table 1191 1.1 christos to get/set soft registers. 1192 1.1 christos 1193 1.1 christos 1999-12-31 Stephane Carrez <stcarrez (a] worldnet.fr> 1194 1.1 christos 1195 1.1 christos * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid 1196 1.1 christos returning random values. 1197 1.1 christos 1198 1.1 christos 1999-12-17 Stephane Carrez <stcarrez (a] worldnet.fr> 1199 1.1 christos 1200 1.1 christos * gencode.c: Fix "subb N,x" that used a instead of b. 1201 1.1 christos 1202 1.1 christos 1999-09-09 Stephane Carrez <stcarrez (a] worldnet.fr> 1203 1.1 christos 1204 1.1 christos * gencode.c: Fixed sbc8 and adc8 when there was a initial carry. 1205 1.1 christos 1206 1.1 christos 1999-09-01 Stephane Carrez <stcarrez (a] worldnet.fr> 1207 1.1 christos 1208 1.1 christos * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma. 1209 1.1 christos 1210 1.1 christos 1999-08-14 Stephane Carrez <stcarrez (a] worldnet.fr> 1211 1.1 christos 1212 1.1 christos * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the 1213 1.1 christos register region in the m68hc11cpu struct. 1214 1.1 christos (m68hc11cpu_io_write): When the IO mapping addres changes, 1215 1.1 christos detach the register region and re-attach it at the new address. 1216 1.1 christos (m68hc11cpu_io_read_buffer): Renamed base_address into 1217 1.1 christos attach_address. 1218 1.1 christos (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer 1219 1.1 christos to m68hc11cpu_io_write. 1220 1.1 christos 1221 1.1 christos 1999-08-13 Stephane Carrez <stcarrez (a] worldnet.fr> 1222 1.1 christos 1223 1.1 christos * gencode.c: For sbc8, check the carry and increment the source 1224 1.1 christos before trying to set the carry for the result. 1225 1.1 christos 1226 1.1 christos 1999-05-24 John S. Kallal <kallal (a] voicenet.com> 1227 1.1 christos 1228 1.1 christos * interp.c (sim_get_info): Don't crash if the command line is 0. 1229 1.1 christos Define prototype for sim_get_info() and init_system(). 1230 1.1 christos (sim_info): Correct call to sim_get_info(). 1231 1.1 christos 1232 1.1 christos 1999-05-16 Stephane Carrez <stcarrez (a] worldnet.fr> 1233 1.1 christos 1234 1.1 christos * configure.in: Recognize m6811-*-*. 1235 1.1 christos * configure: Regenerate. 1236 1.1 christos * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16, 1237 1.1 christos cpu_ccr_update_sub8, cpu_ccr_update_sub16): 1238 1.1 christos Correct the computation of carry of 8 and 16-bits add and subtract. 1239 1.1 christos * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and 1240 1.1 christos overflow set in a different manner than add). 1241 1.1 christos 1242 1.1 christos 1999-05-14 Stephane Carrez <stcarrez (a] worldnet.fr> 1243 1.1 christos 1244 1.1 christos * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a 1245 1.1 christos trace message. 1246 1.1 christos * interp.c (sim_open, sim_create_inferior): Initialize the 1247 1.1 christos cpu_elf_start from the ELF header. 1248 1.1 christos * m68hc11_sim.c (cpu_initialize): Clear the new data members. 1249 1.1 christos (cpu_restart): Use cpu_elf_start as the starting address when 1250 1.1 christos the flag is set. 1251 1.1 christos (cpu_special): When cpu_use_elf_start is set, the WAI instruction 1252 1.1 christos exits the simulator (exit status is in D). 1253 1.1 christos * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and 1254 1.1 christos cpu_elf_star to start execution at address specified in ELF file. 1255 1.1 christos 1256 1.1 christos 1999-05-02 Stephane Carrez <stcarrez (a] worldnet.fr> 1257 1.1 christos 1258 1.1 christos * Makefile.in, config.in, configure, configure.in: New files. 1259 1.1 christos * gencode.c: New file, generation of 68HC11 interpreter. 1260 1.1 christos * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations 1261 1.1 christos for interpreter. 1262 1.1 christos * interrupts.c, interrupts.h: New files, management of interrupts. 1263 1.1 christos * interp.c, sim-main.h, 1264 1.1 christos * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, 1265 1.1 christos dv-m68hc11tim.c, dv-pram.c: New files representing devices for 1266 1.1 christos 68HC11 (dv-pram.c is generic and could probably migrate to common). 1267 1.1 christos * emulos.c: New file, basic emulation of some os. 1268