ChangeLog-2021 40 KB

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