ChangeLog 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618
  1. 2015-07-14 Nick Clifton <nickc@redhat.com>
  2. * armcopro.c: Remove extraneous whitespace.
  3. * armdefs.h: Likewise.
  4. * armfpe.h: Likewise.
  5. * arminit.c: Likewise.
  6. * armopts.h: Likewise.
  7. * armos.c: Likewise.
  8. * armos.h: Likewise.
  9. * armrdi.c: Likewise.
  10. * armsupp.c: Likewise.
  11. * armvirt.c: Likewise.
  12. * bag.c: Likewise.
  13. * bag.h: Likewise.
  14. * communicate.c: Likewise.
  15. * communicate.h: Likewise.
  16. * dbg_conf.h: Likewise.
  17. * dbg_cp.h: Likewise.
  18. * dbg_hif.h: Likewise.
  19. * dbg_rdi.h: Likewise.
  20. * gdbhost.c: Likewise.
  21. * gdbhost.h: Likewise.
  22. * iwmmxt.c: Likewise.
  23. * iwmmxt.h: Likewise.
  24. * kid.c: Likewise.
  25. * main.c: Likewise.
  26. * maverick.c: Likewise.
  27. * parent.c: Likewise.
  28. * thumbemu.c: Likewise.
  29. * wrapper.c: Likewise.
  30. 2015-07-02 Nick Clifton <nickc@redhat.com>
  31. * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
  32. (SIM_EXTRA_LIBS): Add -lm.
  33. 2015-06-28 Nick Clifton <nickc@redhat.com>
  34. * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
  35. * armdefs.h (ARMdval, ARMfval): New types.
  36. (ARM_VFP_reg): New union.
  37. (struct ARMul_State): Add VFP_Reg and FPSCR fields.
  38. (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
  39. macros for the new VFP_Reg field.
  40. * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
  41. QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
  42. USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
  43. instructions.
  44. (handle_VFP_move): New function.
  45. (ARMul_Emulate16): Add checks for newly supported v6
  46. instructions. Add support for VMRS, VMOV and MRC instructions.
  47. (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
  48. operating in v6 mode.
  49. * armemu.h (t_resolved): Define.
  50. * armsupp.c: Include math.h.
  51. (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
  52. VSTM, VLDM and VPOP instructions.
  53. (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
  54. new handle_VFP_xfer function.
  55. (ARMul_STC): Likewise.
  56. (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
  57. VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
  58. VCMPE and VCVT instructions.
  59. (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
  60. new handle_VFP_op function.
  61. * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
  62. (test_cond): New function. Tests a condition and returns non-zero
  63. if the condition has been met.
  64. (handle_IT_block): New function.
  65. (in_IT_block): New function.
  66. (IT_block_allow): New function.
  67. (ThumbExpandImm): New function.
  68. (handle_T2_insn): New function. Handles T2 thumb instructions.
  69. (handle_v6_thumb_insn): Add next_instr and pc parameters.
  70. (ARMul_ThumbDecode): Add support for IT blocks. Add support for
  71. v6 instructions.
  72. * wrapper.c (sim_create_inferior): Detect a thumb address and call
  73. SETT appropriately.
  74. 2015-06-23 Mike Frysinger <vapier@gentoo.org>
  75. * configure: Regenerate.
  76. 2015-06-23 Mike Frysinger <vapier@gentoo.org>
  77. * armdefs.h: Always include stdint.h.
  78. [!__STDC__]: Delete.
  79. [!HAVE_STDINT_H]: Delete.
  80. * dbg_hif.h [!__STDC__]: Delete.
  81. 2015-06-12 Mike Frysinger <vapier@gentoo.org>
  82. * configure: Regenerate.
  83. 2015-06-12 Mike Frysinger <vapier@gentoo.org>
  84. * configure: Regenerate.
  85. 2015-04-18 Mike Frysinger <vapier@gentoo.org>
  86. * sim-main.h (SIM_CPU): Delete.
  87. 2015-04-18 Mike Frysinger <vapier@gentoo.org>
  88. * sim-main.h (sim_cia): Delete.
  89. 2015-04-17 Mike Frysinger <vapier@gentoo.org>
  90. * sim-main.h (CIA_GET, CIA_SET): Delete.
  91. 2015-04-17 Mike Frysinger <vapier@gentoo.org>
  92. * wrapper.c (arm_pc_get, arm_pc_set): New functions.
  93. (sim_open): Declare new local var i. Call CPU_PC_FETCH &
  94. CPU_PC_STORE for all cpus.
  95. 2015-04-15 Mike Frysinger <vapier@gentoo.org>
  96. * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
  97. * sim-main.h (STATE_CPU): Delete.
  98. 2015-04-13 Mike Frysinger <vapier@gentoo.org>
  99. * configure: Regenerate.
  100. 2015-04-12 Mike Frysinger <vapier@gentoo.org>
  101. * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
  102. 2015-04-06 Mike Frysinger <vapier@gentoo.org>
  103. * Makefile.in (SIM_OBJS): Delete sim-engine.o.
  104. 2015-04-01 Mike Frysinger <vapier@gentoo.org>
  105. * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
  106. armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
  107. * tconfig.h: Delete file.
  108. 2015-03-31 Mike Frysinger <vapier@gentoo.org>
  109. * config.in, configure: Regenerate.
  110. 2015-03-30 Mike Frysinger <vapier@gentoo.org>
  111. * Makefile.in (SIM_RUN_OBJS): Delete.
  112. (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
  113. -DSIM_USE_DEPRECATED_RUN_FRONTEND.
  114. (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
  115. * sim-main.h: New file.
  116. * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
  117. Add sim-main.h and sim-options.h includes.
  118. (sim_callback, mem_size, trace): Add TODO comments.
  119. (state): Delete static and add TODO comment.
  120. (sim_kind, myname, big_endian): Delete.
  121. (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
  122. (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
  123. sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
  124. (sim_target_parse_command_line): Mark static.
  125. (free_state): New function.
  126. (sim_open): Rewrite to use new common logic.
  127. (sim_close): Delete body.
  128. 2015-03-30 Mike Frysinger <vapier@gentoo.org>
  129. * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
  130. * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
  131. ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
  132. (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
  133. 2015-03-30 Mike Frysinger <vapier@gentoo.org>
  134. * armemu.c [MODE32] (handle_v6_insn): Move definition.
  135. (ARMul_Emulate26): Initialize do_int after label target.
  136. * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
  137. UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
  138. UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
  139. UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
  140. UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
  141. UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
  142. UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
  143. UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
  144. * armsupp.c (ARMul_Align): Convert old style prototype.
  145. * bag.c (addtolist, killwholelist): Mark static.
  146. (BAG_newbag): Convert old style prototype.
  147. * maverick.c (mv_compute_host_endianness): Delete.
  148. * wrapper.c (verbosity, sim_set_verbose): Delete.
  149. (init): Set state->verbose to 0.
  150. 2015-03-30 Mike Frysinger <vapier@gentoo.org>
  151. * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
  152. SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
  153. SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
  154. * config.in, configure: Regenerate.
  155. 2015-03-30 Mike Frysinger <vapier@gentoo.org>
  156. * Makefile.in (COPRO): Delete.
  157. (SIM_OBJS): Expand COPRO.
  158. * configure.ac: Deletd stdint.h check.
  159. (COPRO): Delete.
  160. * configure: Regenerate.
  161. 2015-03-16 Mike Frysinger <vapier@gentoo.org>
  162. * config.in, configure: Regenerate.
  163. * tconfig.in: Rename file ...
  164. * tconfig.h: ... here.
  165. 2015-03-14 Mike Frysinger <vapier@gentoo.org>
  166. * Makefile.in (SIM_EXTRA_CFLAGS): Add
  167. -DSIM_USE_DEPRECATED_RUN_FRONTEND.
  168. (SIM_RUN_OBJS): Set to run.o.
  169. 2015-03-14 Mike Frysinger <vapier@gentoo.org>
  170. * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
  171. * aclocal.m4, configure: Regenerate.
  172. 2014-08-19 Alan Modra <amodra@gmail.com>
  173. * configure: Regenerate.
  174. 2014-08-15 Roland McGrath <mcgrathr@google.com>
  175. * configure: Regenerate.
  176. * config.in: Regenerate.
  177. 2014-03-18 Nick Clifton <nickc@redhat.com>
  178. * wrapper.c: Convert function declarations to ISO C format.
  179. (sim_open): Delete code for handling t,d and z command line
  180. options.
  181. 2014-03-14 Nick Clifton <nickc@redhat.com>
  182. * wrapper.c (op_print): New function.
  183. (sim_dis_read): New function.
  184. (print_insn): New function - disassembles the given instruction.
  185. (sim_trace): Note that tracing is now allowed.
  186. (sim_create_inferior): Default to emulating v6.
  187. Initialise the disassembler machinery.
  188. (sim_target_parse_command_line): Add support for -t -d and -z
  189. options.
  190. (sim_target_display_usage): Note existence of -d and -z options.
  191. (sim_open): Parse -t -d and -z options.
  192. * armemu.h: Add exports of trace, disas and trace_funcs.
  193. Add prototype for print_insn.
  194. * armemu.c (ARMul_Emulate26): Add tracing code.
  195. Delete unused variables.
  196. * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
  197. Move Rm variable into switch cases.
  198. Add tracing code.
  199. * armcopro.c (XScale_cp15_init): Add a return value.
  200. (XScale_cp13_init): Likewise.
  201. (XScale_cp14_init): Likewise.
  202. (XScale_cp15_LDC): Delete unused function.
  203. (XScale_cp15_STC): Likewise.
  204. * maverick.c: Delete comment inside comment.
  205. (DSPInit): Delete unused function.
  206. (DSPMCR4): Fix compile time warning about missing parenthesis.
  207. (DSPMCR5): Likewise.
  208. (DSPCDP6): Delete unused variable opcode2.
  209. 2014-03-14 David McQuillan <dmcq@tao-group.com>
  210. PR sim/8388
  211. * armemu.c (WriteR15Load): New function. Determines if the state
  212. can be changed upon a write to R15.
  213. (LoadMult): Use WriteR15Load.
  214. * armemu.h (WRITEDESTB): Use WriteR15Load.
  215. 2014-03-10 Mike Frysinger <vapier@gentoo.org>
  216. * wrapper.c (sim_do_command): Add const to cmd.
  217. 2014-03-05 Mike Frysinger <vapier@gentoo.org>
  218. * wrapper.c (sim_load): Add const to prog.
  219. 2013-09-23 Alan Modra <amodra@gmail.com>
  220. * configure: Regenerate.
  221. 2013-06-03 Mike Frysinger <vapier@gentoo.org>
  222. * aclocal.m4, configure: Regenerate.
  223. 2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
  224. Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
  225. * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
  226. 2012-12-19 Joel Brobecker <brobecker@adacore.com>
  227. * COPYING: Update to GPL version 3.
  228. 2012-09-03 Nick Clifton <nickc@redhat.com>
  229. PR sim/14540
  230. * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
  231. is denied.
  232. 2012-08-01 Kevin Buettner <kevinb@redhat.com>
  233. * wrapper.c (libiberty.h): Include.
  234. (sim_store_register, sim_fetch_register): On success, return
  235. length, instead of -1.
  236. 2012-06-15 Joel Brobecker <brobecker@adacore.com>
  237. * config.in, configure: Regenerate.
  238. 2012-06-13 Nick Clifton <nickc@redhat.com>
  239. * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
  240. binaries (for now).
  241. 2012-05-24 Pedro Alves <palves@redhat.com>
  242. PR gdb/7205
  243. Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
  244. 2012-05-18 Nick Clifton <nickc@redhat.com>
  245. PR 14072
  246. * wrapper.c: Include config.h before system header files.
  247. 2012-03-24 Mike Frysinger <vapier@gentoo.org>
  248. * aclocal.m4, config.in, configure: Regenerate.
  249. 2011-12-03 Mike Frysinger <vapier@gentoo.org>
  250. * aclocal.m4: New file.
  251. * configure: Regenerate.
  252. 2011-10-17 Mike Frysinger <vapier@gentoo.org>
  253. * configure.ac: Change include to common/acinclude.m4.
  254. 2011-10-17 Mike Frysinger <vapier@gentoo.org>
  255. * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
  256. call. Replace common.m4 include with SIM_AC_COMMON.
  257. * configure: Regenerate.
  258. 2011-07-01 Nick Clifton <nickc@redhat.com>
  259. PR sim/12737
  260. * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
  261. signed compare.
  262. (WMAC): Extend computed result before adding to result register.
  263. (WRSA): Sign extend 32-bit values before shifting.
  264. 2011-04-16 Mike Frysinger <vapier@gentoo.org>
  265. * wrapper.c (sim_complete_command): New stub function.
  266. 2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
  267. * communicate.c (MYread_char): Check error return from accept() call
  268. by its equality to -1 not by it being negative.
  269. (MYread_charwait): Likewise.
  270. * main.c (main): Likewise for both socket() and accept() calls.
  271. 2010-04-14 Mike Frysinger <vapier@gentoo.org>
  272. * wrapper.c (sim_write): Add const to buffer arg.
  273. 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  274. * configure: Regenerate.
  275. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  276. * config.in: Regenerate.
  277. * configure: Likewise.
  278. * configure: Regenerate.
  279. 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
  280. * arminit.c, iwmmxt.c: Include <string.h> to
  281. eliminate warning.
  282. 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
  283. * configure: Regenerate to track ../common/common.m4 changes.
  284. * config.in: Ditto.
  285. 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
  286. Daniel Jacobowitz <dan@codesourcery.com>
  287. Joseph Myers <joseph@codesourcery.com>
  288. * configure: Regenerate.
  289. * wrapper.c (sim_target_display_usage): Add help parameter.
  290. 2007-02-27 Mark Mitchell <mark@codesourcery.com>
  291. * armos.c (SWIflen): Do not treate file descriptor zero as
  292. special.
  293. 2007-02-15 Nick Clifton <nickc@redhat.com>
  294. * armemu.c (handle_v6_insn): Fix typo in sign extension test of
  295. the sext and sxtah instructions.
  296. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  297. Reported by timeless@gmail.com:
  298. * wrapper.c (sim_target_parse_arg_array): Do not return void value.
  299. 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
  300. * acconfig.h: Remove.
  301. * config.in: Regenerate.
  302. 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
  303. * configure: Regenerated.
  304. 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
  305. * configure: Regenerated.
  306. 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
  307. * configure: Regenerated.
  308. 2006-03-07 Paul Brook <paul@codesourcery.com>
  309. * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
  310. 2006-02-01 Shaun Jackman <sjackman@gmail.com>
  311. * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
  312. call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
  313. 2005-11-23 Mark Mitchell <mark@codesourcery.com>
  314. * wrapper.c (gdb/signals.h): Include it.
  315. (SIGTRAP): Don't define.
  316. (SIGBUS): Likewise.
  317. (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
  318. 2005-11-16 Shaun Jackman <sjackman@gmail.com>
  319. * armos.c: Include limits.h
  320. (unlink): Remove this macro. It is unused in this file and
  321. conflicts with sim_callback->unlink.
  322. (PATH_MAX): Define as 1024 if not already defined.
  323. (ReadFileName): New function.
  324. (SWIopen): Fix a potential buffer overflow.
  325. (SWIremove): New function.
  326. (SWIrename): Ditto.
  327. (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
  328. SWI_Remove, and SWI_Rename, as well as the RDI calls
  329. AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
  330. AngelSWI_Reason_Rename.
  331. 2005-09-19 Paul Brook <paul@codesourcery.com>
  332. * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
  333. available.
  334. * armemu.c: Use them.
  335. * armvirt.c (ARMul_MemoryInit): Use correct type for size.
  336. * configure.ac: Check for stdint.h.
  337. * config.in: Regenerate.
  338. * configure: Regenerate.
  339. 2005-05-24 Nick Clifton <nickc@redhat.com>
  340. * thumbemu.c (handle_v6_thumb_insn): New function.
  341. (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
  342. instruction binary is encountered.
  343. 2005-05-12 Nick Clifton <nickc@redhat.com>
  344. * Update the address and phone number of the FSF organization in
  345. the GPL notices in the following files:
  346. COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
  347. armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
  348. armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
  349. communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
  350. gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
  351. maverick.c, parent.c, thumbemu.c, wrapper.c
  352. 2005-04-20 Nick Clifton <nickc@redhat.com>
  353. * armemu.c (handle_v6_insn): New function - emulate a few of the
  354. v6 instructions - the ones now generated by GCC.
  355. (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
  356. found.
  357. * armdefs.h (struct ARMul_State): Add new field: is_v6.
  358. (ARM_v6_Prop): Define.
  359. * arminit.c (ARMul_NewState): Initialise the v6 flag.
  360. (ARMul_SelectProcessor): Determine if the v6 flag should be
  361. set.
  362. * wrapper.c (sim_create_inferior): For unknown architectures,
  363. default to allowing the v6 instructions.
  364. 2005-04-18 Nick Clifton <nickc@redhat.com>
  365. * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
  366. operator to the RHS.
  367. (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
  368. indicate an unsigned long long constant.
  369. 2005-03-23 Mark Kettenis <kettenis@gnu.org>
  370. * configure: Regenerate.
  371. 2005-01-14 Andrew Cagney <cagney@gnu.org>
  372. * configure.ac: Sinclude aclocal.m4 before common.m4. Add
  373. explicit call to AC_CONFIG_HEADER.
  374. * configure: Regenerate.
  375. 2005-01-12 Andrew Cagney <cagney@gnu.org>
  376. * configure.ac: Update to use ../common/common.m4.
  377. * configure: Re-generate.
  378. 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
  379. * configure: Regenerated to track ../common/aclocal.m4 changes.
  380. 2005-01-07 Andrew Cagney <cagney@gnu.org>
  381. * configure.ac: Rename configure.in, require autoconf 2.59.
  382. * configure: Re-generate.
  383. 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
  384. * configure: Regenerate for ../common/aclocal.m4 update.
  385. 2004-06-28 Andrew Cagney <cagney@gnu.org>
  386. * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
  387. 2003-12-29 Mark Mitchell <mark@codesourcery.com>
  388. * armos.c (fcntl.h): Do not include it.
  389. (O_RDONLY): Do not define.
  390. (O_WRONLY): Likewise.
  391. (O_RDWR): Likewise.
  392. (targ-vals.h): Include it.
  393. (translate_open_mode): Use TARGET_O_* instead of O_*.
  394. (SWIopen): Likewise.
  395. * Makefile.in (armos.o): Depend on targ-vals.h.
  396. 2003-04-13 Nick Clifton <nickc@redhat.com>
  397. * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
  398. mode.
  399. (PutWord): Likewise.
  400. 2003-03-30 Nick Clifton <nickc@redhat.com>
  401. * configure.in (CON_FLAGS): Remove.
  402. (COPRO): Unconditionally include iwmmxt.o.
  403. * configure: Regenerate.
  404. * Makefile.in (CON_FLAGS): Remove.
  405. * armcopro.c: Remove use of __IWMMXT__ flag.
  406. * wrapper.c: Likewise.
  407. * armemu.c: Likewise.
  408. Add explanatory comment for suppressed code.
  409. 2003-03-27 Nick Clifton <nickc@redhat.com>
  410. * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
  411. 2003-03-27 Nick Clifton <nickc@redhat.com>
  412. * configure.in: (CON_FLAGS): Define and intialise.
  413. (COPRO): Add iwmmxt.o if configuring for XScale.
  414. * configure: Regenerate.
  415. * Makefile.in (iwmmxt.o): Add rule to build.
  416. (COM_FLAGS): Define.
  417. (ALL_FLAGS): Add CON_FLAGS.
  418. * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
  419. * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
  420. (ARM_iWMMXt_Prop): Define.
  421. * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
  422. pass to coprocessor.
  423. * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
  424. (ARMul_Abort): Catch branches through uninitialised vectors.
  425. * armos.c (softevtorcode): Update comment.
  426. (ARMul_OsInit): Use ARMUndefinedInstrV.
  427. * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
  428. (sim_store_register): Handle iWMMXt registers.
  429. (sim_fetch_register): Handle iWMMXt registers.
  430. * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
  431. functions.
  432. * iwmmxt.c: New file: iWMMXt emulator.
  433. 2003-03-20 Nick Clifton <nickc@redhat.com>
  434. * Contribute support for Cirrus Maverick ARM co-processor,
  435. written by Aldy Hernandez <aldyh@redhat.com> and
  436. Andrew Cagney <cagney@redhat.com>:
  437. * maverick.c: New file: Support for Maverick floating point
  438. co-processor.
  439. * Makefile.in: Add maverick.o target.
  440. * configure.in (COPRO): Add maverick.o.
  441. * configure: Regenerate.
  442. * armcopro.c (ARMul_CoProInit): Only initialise co-processors
  443. available on target processor. Add code to initialse Maverick
  444. co-processor support code.
  445. * armdefs.h (ARMul_state): Add is_ep9312 field.
  446. (ARM_ep9312_Prop): Define.
  447. * armemu.h: Add prototypes for Maverick co-processor
  448. functions.
  449. * arminit.c (ARMul_SelectProcessor): Initialise the
  450. co-processor support once the chip has been selected.
  451. * wrapper.c: Add support for Maverick co-processor.
  452. (init): Do not call ARMul_CoProInit. Delays this until the
  453. chip has been selected.
  454. 2003-03-02 Nick Clifton <nickc@redhat.com>
  455. * armos.c (SWIWrite0): Catch big-endian bug when printing
  456. characters.
  457. 2003-02-27 Andrew Cagney <cagney@redhat.com>
  458. * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
  459. 2003-01-10 Ben Elliston <bje@redhat.com>
  460. * README.Cygnus: Rename from this ..
  461. * README: .. to this.
  462. 2002-09-27 Andrew Cagney <ac131313@redhat.com>
  463. * wrapper.c (sim_open): Add support for -m<mem-size>.
  464. (mem_size): Reduce to 2MB.
  465. Fix PR gdb/433.
  466. 2002-08-15 Nick Clifton <nickc@redhat.com>
  467. * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
  468. can be caused by an interrupted system call being resumed by GDB.
  469. 2002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
  470. * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
  471. and MIAxy instructions.
  472. 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
  473. * armos.h (ADP_Stopped_RunTimeError): Set correct value.
  474. 2002-06-16 Andrew Cagney <ac131313@redhat.com>
  475. * configure: Regenerated to track ../common/aclocal.m4 changes.
  476. 2002-06-12 Andrew Cagney <ac131313@redhat.com>
  477. * Makefile.in: Update copyright.
  478. (wrapper.o): Specify dependencies.
  479. * wrapper.c: Include "gdb/sim-arm.h".
  480. (sim_store_register, sim_fetch_register): Rewrite using `enum
  481. arm_sim_regs' and a switch.
  482. 2002-06-09 Andrew Cagney <cagney@redhat.com>
  483. * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
  484. * armos.c: Include "gdb/callback.h".
  485. 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
  486. * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
  487. if a Data Abort is detected.
  488. 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
  489. * armvirt.c (GetWord): Only perform access checks if 'check'
  490. is set.
  491. (PutWord): Likewise.
  492. * wrapper.c (sim_create_inferior): Report unknown machine
  493. numbers.
  494. * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
  495. 2, it has already been advanced.
  496. 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
  497. * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
  498. instruction do not add in the second bit of the base address -
  499. this has already been accounted for.
  500. 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
  501. * armcopro.c (check_cp13_access): Allow access to register 1 when
  502. CRm is 1.
  503. (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
  504. 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
  505. * Makefile.in (SIM_TARGET_SWITCHES): Define.
  506. * armos.c (swi_mask): Define. Initialise to supporting all
  507. SWI emulations.
  508. (ARMul_OSInit): For XScale targets, only support the ANGEL
  509. SWI interface. (This is at the request if Intel).
  510. (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
  511. SWI call should be emulated.
  512. Do not fall through from AngelSWI_Reason_WriteC.
  513. Propagate exit code from RedBoot Exit SWI.
  514. * rdi-dgb.h (swi_mask): Prototype.
  515. (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
  516. * wrapper.c (sim_target_parse_command_line): New function.
  517. Look for and handle --swi-support switch.
  518. (sim_target_parse_arg_array): New function. Process an argv
  519. array for parsing by sim_target_parse_command_line.
  520. (sim_target_display_usage): New function. Describe syntax of
  521. --swi-suppoort switch.
  522. (sim_open): Add call to sim_target_parse_arg_array).
  523. 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
  524. * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
  525. mode and some of its system calls.
  526. 2002-03-17 Anthony Green <green@redhat.com>
  527. * wrapper.c (mem_size): Increase the default target memory to 8MB.
  528. 2002-02-21 Keith Seitz <keiths@redhat.com>
  529. * armos.c (SWIWrite0): Use generic host_callback mechanism
  530. for supported OS functions "open", "close", "write", etc.
  531. (SWIopen): Likewise.
  532. (SWIread): Likewise.
  533. (SWIwrite): Likewise.
  534. (SWIflen): Likewise.
  535. (ARMul_OSHandleSWI): Likewise.
  536. 2002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
  537. * wrapper.c (sim_create_inferior): Modify previous patch so that
  538. it is only triggered for COFF format executables.
  539. 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
  540. * wrapper.c (sin_create_inferior): If a v5 architecture is
  541. detected, assume it might be an XScale binary, since there is no
  542. way to distinguish between the two in the COFF file format.
  543. 2002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
  544. * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
  545. * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
  546. and CPRead[14].
  547. Fix formatting. Improve layout.
  548. * armemu.h: Fix formatting. Improve layout.
  549. 2002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
  550. * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
  551. return zeroes in the other words.
  552. General formatting tidy ups.
  553. 2001-11-16 Ben Harris <bjh21@netbsd.org>
  554. * Makefile.in (armemu32.o): Replace $< with autoconf recommended
  555. $(srcdir)/....
  556. (armemu26.o): Ditto.
  557. 2001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
  558. * armemu.h (CP_ACCESS_ALLOWED): New macro.
  559. Fix formatting.
  560. * armcopro.c (read_cp14_reg): Make static.
  561. (write_cp14_reg): Make static.
  562. (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
  563. Fix formatting.
  564. * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
  565. (ARMul_STC): Check CP_ACCESS_ALLOWED.
  566. (ARMul_MCR): Check CP_ACCESS_ALLOWED.
  567. (ARMul_MRC): Check CP_ACCESS_ALLOWED.
  568. (ARMul_CDP): Check CP_ACCESS_ALLOWED.
  569. Fix formatting.
  570. * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
  571. equal to 15.
  572. (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
  573. Fix formatting.
  574. 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
  575. * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
  576. instructions with post indexed addressing modes.
  577. 2001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
  578. * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
  579. determine rocesor mode.
  580. 2001-04-18 matthew green <mrg@redhat.com>
  581. * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
  582. (read_cp15_reg): Make non-static.
  583. (XScale_cp15_LDC): Update for write_cp15_reg() change.
  584. (XScale_cp15_MCR): Likewise.
  585. (XScale_cp15_write_reg): Likewise.
  586. (XScale_check_memacc): New function. Check for breakpoints being
  587. activated by memory accesses. Does not support the Branch Target
  588. Buffer.
  589. (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
  590. (XScale_debug_moe): New function. Set the debug Method Of Entry,
  591. if configured.
  592. (write_cp14_reg): Reset count counter if requested.
  593. * armdefs.h (struct ARMul_State): New members `LastTime' and
  594. `CP14R0_CCD' used for the timer/counters.
  595. (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
  596. ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
  597. ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
  598. ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
  599. ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
  600. ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
  601. ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
  602. ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
  603. defines for XScale registers.
  604. (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
  605. (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
  606. (ARMul_Emulate32): Handle the clock counter and hardware instruction
  607. breakpoints. Call XScale_set_fsr_far() for software breakpoints and
  608. software interrupts.
  609. (LoadMult): Call XScale_set_fsr_far() for data aborts.
  610. (LoadSMult): Likewise.
  611. (StoreMult): Likewise.
  612. (StoreSMult): Likewise.
  613. * armemu.h (write_cp15_reg): Update prototype.
  614. * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
  615. (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
  616. register 0.
  617. * armvirt.c (GetWord): Call XScale_check_memacc().
  618. (PutWord): Likewise.
  619. 2001-03-20 Nick Clifton <nickc@redhat.com>
  620. * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
  621. when loading unaligned thumb instructions.
  622. 2001-03-06 Nick Clifton <nickc@redhat.com>
  623. * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
  624. Compute destination address of BLX(1) instruction by
  625. taking bit 1 from PC and not from bit 0 of the offset.
  626. 2001-02-27 Nick Clifton <nickc@redhat.com>
  627. * armvirt.c (GetWord): Add new parameter - check - to enable or
  628. disable the alignment checking.
  629. (PutWord): Add new parameter - check - to enable or disable the
  630. alignment checking.
  631. (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
  632. (ARMul_ReadWord): Pass extra parameter to GetWord.
  633. (ARMul_WriteWord): Pass extra parameter to PutWord.
  634. (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
  635. (ARMul_WriteByte): Pass extra parameter to GetWord.
  636. (ARMul_SwapWord): Pass extra parameter to PutWord.
  637. (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
  638. (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
  639. * armdefs.h: Add prototypes for ARMul_SafeReadByte and
  640. ARMul_SafeWriteByte.
  641. * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
  642. (sim_read): Use ARMul_SafeReadByte.
  643. * armos.c (in_SWI_handler): Remove.
  644. (SWIWrite0): Use ARMul_SafeReadByte.
  645. (WriteCommandLineTo): Use ARMul_SafeWriteByte.
  646. (SWIopen): Use ARMul_SafeReadByte.
  647. (SWIread): Use ARMul_SafeWriteByte.
  648. (SWIwrite): Use ARMul_SafeReadByte.
  649. (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
  650. (ARMul_OSException): Remove use of is_SWI_handler.
  651. 2001-02-16 Nick Clifton <nickc@redhat.com>
  652. * armemu.c: Remove Prefetch abort for breakpoints. Instead set
  653. the state to RESUME.
  654. 2001-02-14 Nick Clifton <nickc@redhat.com>
  655. * armemu.c: Add code to preserve processor mode when a prefetch
  656. abort is signalled after processing a breakpoint.
  657. * wrapper.c (sim_create_inferior): Reset processor into ARM mode
  658. for any machine type except the early ARMs.
  659. 2001-02-13 Nick Clifton <nickc@redhat.com>
  660. * armos.c (in_SWI_handler): New static variable.
  661. (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
  662. (ARMul_OSException): Ignore exceptions generated whilst emulating
  663. a SWI.
  664. 2001-02-12 Nick Clifton <nickc@redhat.com>
  665. * armemu.h (NEGBRANCH): Fix defintion.
  666. 2001-02-01 Nick Clifton <nickc@redhat.com>
  667. * armemu.c (LoadSMult): Update base address register after
  668. restoring register bank.
  669. (StoreMult): Update base address register after restoring register
  670. bank.
  671. 2001-01-31 Nick Clifton <nickc@redhat.com>
  672. * armvirt.c (PutWord): Detect installation of SWI vector.
  673. (SWI_vector_installed): Define.
  674. * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
  675. * armos.h (SWI_vector_installed): Declare.
  676. * wrapper.c (SWI_vector_installed): Remove definition.
  677. (sim_write): Remove check of SWI vector installation
  678. 2000-12-18 Nick Clifton <nickc@redhat.com>
  679. * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
  680. instruction.
  681. 2000-12-10 Nick Clifton <nickc@redhat.com>
  682. * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
  683. 2000-12-07 Nick Clifton <nickc@redhat.com>
  684. * armemu.c (ARMul_Emulate26): Detect double word load and
  685. store instructions and call emulation routines.
  686. (Handle_Load_Double): Emulate a double word load instruction.
  687. (Handle_Store_Double): Emulate a double word store
  688. instruction.
  689. 2000-12-03 Nick Clifton <nickc@redhat.com>
  690. * armos.c: Fix formatting.
  691. (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
  692. mode.
  693. 2000-11-29 Nick Clifton <nickc@redhat.com>
  694. * armdefs.h (State): Add 'v5e' and 'xscale' fields.
  695. (ARM_v5e_Prop): Define.
  696. (ARM_XScale_Prop): Define.
  697. * wrapper.c (sim_create_inferior): Select processor based on
  698. machine number.
  699. (SWI_vector_installed): New boolean. Set to true if the SWI
  700. vector address is written to by the executable.
  701. * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
  702. (ARMul_SelectProcessor): Initialise v5e and xscale signals.
  703. (ARMul_Abort): Fix calculation of LR address.
  704. * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
  705. and a SWI is not handled by the simulator, pass the SWI off to the
  706. vector, otherwise issue a warning message and continue.
  707. * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
  708. * thumbemu.c: Add v5 instruction simulation.
  709. * armemu.c: Add v5, XScale and El Segundo instruction simulation.
  710. * armcopro.c: Add XScale co-processor emulation.
  711. * armemu.h: Add exported XScale co-processor functions.
  712. 2000-09-15 Nick Clifton <nickc@redhat.com>
  713. * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
  714. property. Delete unnecessary processor names.
  715. (ARM_Strong_Prop): Delete.
  716. (STRONGARM): Delete.
  717. (ARM_v4_Prop): Add.
  718. (ARM_v5_Prop): Add
  719. (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
  720. booleans.
  721. * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
  722. (BUSUSEDINCPCN): Use is_v4 boolean.
  723. * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
  724. (ARMul_SelectProcessor): Change second parameter from 'processor'
  725. to 'properties'. Set is_v4 and is_v5 booleans in State.
  726. * armrdi.c: Remove use of ARM processor names. Replace with ARM
  727. processor properties.
  728. * wrapper.c (sim_create_inferior): Choose properties passed to
  729. ARMul_SelectProcessor based on machine number.
  730. 2000-08-14 Nick Clifton <nickc@redhat.com>
  731. * armemu.c (LHPOSTDOWN): Compute write back value before
  732. performing load in case the offset register is overwritten.
  733. (LHPOSTUP): Ditto.
  734. 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
  735. * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
  736. 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
  737. * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
  738. new inferior.
  739. 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
  740. * armvirt.c (ABORTS): Do not define.
  741. * armdefs.h (struct ARMul_State): Add is_StrongARM.
  742. (ARM_Strong_Prop, STRONGARM): Define.
  743. * arminit.c (ARMul_NewState): Reset is_StrongARM.
  744. (ARMul_SelectProcessor): Set is_StrongARM.
  745. * wrapper.c (sim_create_inferior): Use bfd machine type to
  746. determine processor type to emulate.
  747. * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
  748. when emulating StrongARM.
  749. * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
  750. * armemu.h (INSN_SIZE): New macro.
  751. (SET_ABORT): Save CPSR in SPSR and set LR.
  752. * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
  753. (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
  754. * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
  755. * armemu.c (LoadSMult): Use WriteR15() to discard the least
  756. significant bits of PC.
  757. * armemu.h (WRITEDESTB): New macro.
  758. * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
  759. modify PC. Moved the existing logic...
  760. (WriteR15Branch): ... here. New function.
  761. (WriteR15, WriteSR15): Drop the two least significant bits.
  762. (LoadSMult): Use WriteR15Branch() to modify PC.
  763. (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
  764. * armemu.h (GETSPSR): Call ARMul_GetSPSR().
  765. * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
  766. extracted from state->Cpsr, but preserve the unused bits.
  767. (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
  768. (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
  769. get the full CPSR word.
  770. * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
  771. (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
  772. (SETPSR, SET_INTMODE, SETCC): Removed.
  773. * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
  774. mask. Use SETPSR_* to modify PSR.
  775. (ARMul_SetCPSR): Load all bits from value.
  776. * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
  777. * armemu.c (ARMul_Emulate): Compute writeback value before
  778. loading, since the offset register may be the destination
  779. register.
  780. * armdefs.h (SYSTEMBANK): Define as USERBANK.
  781. * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
  782. 2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
  783. * armemu.c (Multiply64): Fix computation of flag N.
  784. * armemu.c (MultiplyAdd64): Fix computation of flag N.
  785. 2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
  786. * armemu.h (NEGBRANCH): Do not overwrite the two most significant
  787. bits of the offset.
  788. 2000-05-25 Nick Clifton <nickc@cygnus.com>
  789. * armcopro.c (MMUMCR): Only indicate mode change if a singal has
  790. really changed.
  791. (MMUWrite): Only indicate mode change if a singal has really
  792. changed.
  793. * armdefs.h (SYSTEMMODE): Define.
  794. (BANK_CAN_ACEESS_SPSR): Define.
  795. * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
  796. to advance before stopping the emulation.
  797. * arminit.c (ARMul_Reset): Ensure Mode field of State is set
  798. correctly.
  799. * armos.c (ARMul_OSInit): Create a initial stack pointer for
  800. System mode.
  801. * armsupp.c (ModeToBank): Remove unused first parameter.
  802. Add support for System Mode.
  803. (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
  804. (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
  805. (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
  806. (ARMulSwitchMode): Add support for System Mode.
  807. Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  808. * configure: Regenerated to track ../common/aclocal.m4 changes.
  809. 2000-05-23 Nick Clifton <nickc@cygnus.com>
  810. * wrapper.c (sim_store_register): Special handling for CPSR
  811. register.
  812. 2000-03-11 Philip Blundell <philb@gnu.org>
  813. * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
  814. Patch from Allan Skillman <Allan.Skillman@arm.com>.
  815. Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
  816. * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
  817. 2000-02-08 Nick Clifton <nickc@cygnus.com>
  818. * wrapper.c: Fix compile time warning messages.
  819. * armcopro.c: Fix compile time warning messages.
  820. * armdefs.h: Fix compile time warning messages.
  821. * armemu.c: Fix compile time warning messages.
  822. * armemu.h: Fix compile time warning messages.
  823. * armos.c: Fix compile time warning messages.
  824. * armsupp.c: Fix compile time warning messages.
  825. * armvirt.c: Fix compile time warning messages.
  826. * bag.c: Fix compile time warning messages.
  827. 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
  828. * *.[ch]: Use indent to make readable.
  829. 1999-11-22 Nick Clifton <nickc@cygnus.com>
  830. * armos.c (SWIread): Generate an error message if a huge read is
  831. performed.
  832. (SWIwrite): Generate an error message if a huge write is
  833. performed.
  834. 1999-10-27 Nick Clifton <nickc@cygnus.com>
  835. * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
  836. breakpoint.
  837. 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
  838. * armos.c (SWIopen): Always pass third parameter with 0666 since
  839. otherwise uninitialized memory gets access if the O_CREAT bit is
  840. set and so we possibly cannot access the file afterwards.
  841. 1999-09-29 Doug Evans <devans@casey.cygnus.com>
  842. * armos.c (SWIWrite0): Send output to stdout instead of stderr.
  843. (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
  844. Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
  845. * configure: Regenerated to track ../common/aclocal.m4 changes.
  846. 1999-05-08 Felix Lee <flee@cygnus.com>
  847. * configure: Regenerated to track ../common/aclocal.m4 changes.
  848. 1999-04-06 Keith Seitz <keiths@cygnus.com>
  849. * wrapper.c (stop_simulator): New global.
  850. (sim_stop): Set sim state to STOP and set
  851. stop_simulator.
  852. (sim_resume): Reset stop_simulator.
  853. (sim_stop_reason): If stop_simulator is set, tell gdb
  854. that the we took SIGINT.
  855. * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
  856. stop_simulator is set.
  857. 1999-04-02 Keith Seitz <keiths@cygnus.com>
  858. * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
  859. whenever the counter expires.
  860. * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
  861. 1999-03-24 Nick Clifton <nickc@cygnus.com>
  862. * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
  863. * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
  864. Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
  865. * wrapper.c (sim_open): Set endianness according to BFD or command
  866. line switch.
  867. * tconfig.in: Define SIM_HAVE_BIENDIAN.
  868. Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
  869. * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
  870. the same as either RdHi or RdLo.
  871. Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
  872. * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
  873. Set Reg[0] based on reason for for the exception.
  874. Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
  875. * armos.c (SWIwrite0): New function.
  876. (WriteCommandLineTo): New function.
  877. (SWIopen): New function.
  878. (SWIread): New function.
  879. (SWIwrite): New function.
  880. (SWIflen): New function.
  881. (ARMul_OSHandleSWI): Call new functions instead of handling
  882. these here.
  883. (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
  884. (*): Reformat spacing to be a bit more GNUly.
  885. Most code taken from a patch by Anthony Thompson
  886. (athompso@cambridge.arm.com)
  887. Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
  888. * armos.h: Add Angel SWI and its reason codes.
  889. * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
  890. Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
  891. * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
  892. of ":tt" to catch stdin in addition to stdout.
  893. (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
  894. or success of lseek().
  895. Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
  896. * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
  897. to open stdout.
  898. Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
  899. * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
  900. SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
  901. seek from offset 0 and not to use R2 for whence since it is
  902. not passed as part of the SWI call.
  903. Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
  904. * configure: Regenerated to track ../common/aclocal.m4 changes.
  905. Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
  906. * configure: Regenerated to track ../common/aclocal.m4 changes.
  907. * config.in: Ditto.
  908. Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
  909. * acconfig.h: New file.
  910. * configure.in: Reverted change of Apr 24; use sinclude again.
  911. Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
  912. * configure: Regenerated to track ../common/aclocal.m4 changes.
  913. * config.in: Ditto.
  914. Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
  915. * configure.in: Don't call sinclude.
  916. Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
  917. * configure: Regenerated to track ../common/aclocal.m4 changes.
  918. Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
  919. * configure: Regenerated to track ../common/aclocal.m4 changes.
  920. Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
  921. * configure: Regenerated to track ../common/aclocal.m4 changes.
  922. Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
  923. * configure: Regenerated to track ../common/aclocal.m4 changes.
  924. Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
  925. * armopts.h: Remove definition of LITTLEND - it is not used.
  926. Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
  927. * wrapper.c (sim_store_register, sim_fetch_register): Pass in
  928. length parameter. Return -1.
  929. Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
  930. * configure: Regenerated to track ../common/aclocal.m4 changes.
  931. Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
  932. * configure: Regenerated to track ../common/aclocal.m4 changes.
  933. Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
  934. * configure: Regenerated to track ../common/aclocal.m4 changes.
  935. Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
  936. * configure: Regenerated to track ../common/aclocal.m4 changes.
  937. * config.in: Ditto.
  938. Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
  939. * Makefile.in: Updated with changes from branch.
  940. * armdefs.h: ditto
  941. * armemu.c: ditto these changes
  942. * armemu.h: ditto add support for
  943. * armos.c: ditto the Thumb instruction
  944. * armsupp.c: ditto set and the new v4
  945. * armvirt.c: ditto architecture.
  946. * wrapper.c: ditto
  947. * thumbemu.c: New file from branch.
  948. Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
  949. * configure: Regenerated to track ../common/aclocal.m4 changes.
  950. Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
  951. * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
  952. from Tony Thompson at ARM: athompso@arm.com
  953. * wrapper.c (sim_create_inferior): Add code to create an execution
  954. environment. Patch from Tony Thompson at ARM: athompso@arm.com
  955. Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
  956. * wrapper.c (sim_load): Pass lma_p and sim_write args to
  957. sim_load_file.
  958. Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
  959. * configure: Regenerated to track ../common/aclocal.m4 changes.
  960. Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
  961. * configure: Regenerated to track ../common/aclocal.m4 changes.
  962. Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
  963. * configure: Regenerated to track ../common/aclocal.m4 changes.
  964. Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
  965. * configure: Regenerated to track ../common/aclocal.m4 changes.
  966. Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
  967. * configure: Regenerated to track ../common/aclocal.m4 changes.
  968. Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
  969. * configure: Regenerated to track ../common/aclocal.m4 changes.
  970. Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
  971. * configure: Regenerated to track ../common/aclocal.m4 changes.
  972. Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
  973. * configure: Regenerated to track ../common/aclocal.m4 changes.
  974. * config.in: Ditto.
  975. Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
  976. * wrapper.c (sim_kill): Delete.
  977. (sim_create_inferior): Add ABFD argument.
  978. (sim_load): Move setting of PC from here.
  979. (sim_create_inferior): To here.
  980. Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
  981. * configure: Regenerated to track ../common/aclocal.m4 changes.
  982. * config.in: Ditto.
  983. Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
  984. * wrapper.c (sim_open): Add ABFD argument.
  985. Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
  986. * wrapper.c (sim_open): Add callback argument.
  987. (sim_set_callbacks): Drop SIM_DESC argument.
  988. Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
  989. * configure: Regenerated to track ../common/aclocal.m4 changes.
  990. Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
  991. * wrapper.c (sim_stop): Stub sim_stop function.
  992. Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
  993. * arminit.c (ARMul_NewState): Preinitialize the state to
  994. all zero/NULL.
  995. Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
  996. * Makefile.in (SIM_OBJS): Add sim-load.o.
  997. * wrapper.c (sim_kind,myname): New static locals.
  998. (sim_open): Set sim_kind, myname.
  999. (sim_load): Call sim_load_file to do work. Set start address from bfd.
  1000. (sim_create_inferior): Return SIM_RC. Delete start_address arg.
  1001. Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
  1002. * wrapper.c (sim_trace): Update so that it matches prototype.
  1003. Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
  1004. * configure: Regenerated to track ../common/aclocal.m4 changes.
  1005. * config.in: Ditto.
  1006. Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
  1007. * Makefile.in (armemu32.o): Replace $< with autoconf recommended
  1008. $(srcdir)/....
  1009. (armemu26.o): Ditto.
  1010. Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
  1011. * wrapper.c (sim_open): New arg `kind'.
  1012. * configure: Regenerated to track ../common/aclocal.m4 changes.
  1013. Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
  1014. * COPYING: Update FSF address.
  1015. Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
  1016. * configure: Regenerated to track ../common/aclocal.m4 changes.
  1017. Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
  1018. * configure: Regenerated to track ../common/aclocal.m4 changes.
  1019. Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
  1020. * configure: Re-generate.
  1021. Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
  1022. * configure: Regenerate to track ../common/aclocal.m4 changes.
  1023. Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
  1024. * wrapper.c (sim_open): Has result now.
  1025. (sim_*): New SIM_DESC argument.
  1026. Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
  1027. * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
  1028. COMMON_{PRE,POST}_CONFIG_FRAG instead.
  1029. * configure.in: sinclude ../common/aclocal.m4.
  1030. * configure: Regenerated.
  1031. Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
  1032. * configure configure.in Makefile.in: Update to new configure
  1033. scheme which is more compatible with WinGDB builds.
  1034. * configure.in: Improve comment on how to run autoconf.
  1035. * configure: Re-run autoconf to get new ../common/aclocal.m4.
  1036. * Makefile.in: Use autoconf substitution to install common
  1037. makefile fragment.
  1038. Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
  1039. * run.c: Deleted, use one in ../common now.
  1040. * Makefile.in: Delete everything that's been moved to
  1041. ../common/Make-common.in.
  1042. (SIM_OBJS): Define.
  1043. * configure.in: Simplify using macros in ../common/aclocal.m4.
  1044. * configure: Regenerated.
  1045. * config.in: New file.
  1046. * armos.c: #include config.h.
  1047. * wrapper.c (mem_size): Value is in bytes now.
  1048. (sim_callback): New global.
  1049. (arm_sim_set_profile{,_size}): Delete.
  1050. (arm_sim_set_mem_size): Rename to sim_size.
  1051. (sim_do_command): Call printf_filtered via callback.
  1052. (sim_set_callbacks): Record callback.
  1053. Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  1054. * Makefile.in (mostlyclean): Remove config.log.
  1055. Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  1056. * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
  1057. INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
  1058. (docdir): Removed.
  1059. * configure.in (AC_PREREQ): autoconf 2.5 or higher.
  1060. (AC_PROG_INSTALL): Added.
  1061. * configure: Rebuilt.
  1062. Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
  1063. * configure: Regenerate with autoconf 2.7.
  1064. Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
  1065. * run.c (main): Use new bfd_big_endian macro.
  1066. Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
  1067. * run.c: Include "getopt.h".
  1068. (verbose): Delete.
  1069. (usage): Make static.
  1070. (main): Call arm_sim_set_verbosity.
  1071. Only load sections marked SEC_LOAD.
  1072. * wrapper.c (mem_size, verbosity): New static global.
  1073. (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
  1074. (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
  1075. Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
  1076. * armdefs.h (ARMul_State): New member `verbose'.
  1077. * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
  1078. * run.c (verbose): Make global.
  1079. * wrapper.c (init): Set state->verbose.
  1080. (ARMul_ConsolePrint): Don't print anything if !verbose.
  1081. Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
  1082. * armos.c: #include dbg_rdi.h.
  1083. (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
  1084. * armos.h (SWI_Breakpoint): Define.
  1085. * wrapper.c: #include armemu.h, dbg_rdi.h.
  1086. (rc): Delete.
  1087. (sim_resume): Use state->EndCondition to record stop state.
  1088. Call FLUSHPIPE before returning.
  1089. (sim_stop_reason): Determine reason from state->EndCondition.
  1090. Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
  1091. * wrapper.c (sim_set_callbacks): New.
  1092. Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
  1093. * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
  1094. number of bytes not read/written (or -1).
  1095. Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
  1096. * Makefile.in (maintainer-clean): New synonym for realclean.
  1097. Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
  1098. * configure.in: Remove AC_PROG_INSTALL.
  1099. * configure: Rebuild.
  1100. * Makefile.in (INSTALL): Revert to using install.sh.
  1101. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
  1102. (INSTALL_XFORM, INSTALL_XFORM1): Restore.
  1103. (mostlyclean): Make the same as clean, not distclean.
  1104. (clean): Remove config.log.
  1105. (install): Don't install in $(tooldir).
  1106. Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
  1107. (Try to) Update to new bfd autoconf scheme.
  1108. * run.c: Don't include sysdep.h.
  1109. * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
  1110. (CC, CFLAGS, AR, RANLIB): Likewise.
  1111. (HDEFINES, TDEFINES): Define.
  1112. (CC_FOR_BUILD): Delete.
  1113. (host_makefile_frag): Delete.
  1114. (Makefile): Don't depend on frags.
  1115. * configure.in (sysdep.h): Don't create symlink.
  1116. (host_makefile_frag, frags): Deleted.
  1117. (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
  1118. * configure: Regenerated.
  1119. Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
  1120. * Update all FSF addresses except those in COPYING* files.
  1121. Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1122. * Makefile.in (clean): Remove run, libsim.a.
  1123. * Makefile.in, configure.in: converted to autoconf.
  1124. * configure: New file, generated with autconf 2.4.
  1125. * arm.mt: Removed.
  1126. Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
  1127. * wrapper.c (sim_do_command): New function.
  1128. Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
  1129. * armos.c (ARMul_OSHandleSWI): New version to work with
  1130. newlib simply.
  1131. Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
  1132. * run.c (main): Grab return value from right register.
  1133. Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
  1134. * New.