1*4b169a6bSchristos2021-06-22 Mike Frysinger <vapier@gentoo.org> 2*4b169a6bSchristos 3*4b169a6bSchristos * configure.ac: Removed. 4*4b169a6bSchristos * aclocal.m4: Removed. 5*4b169a6bSchristos * configure: Removed. 6*4b169a6bSchristos 7*4b169a6bSchristos2021-06-21 Mike Frysinger <vapier@gentoo.org> 8*4b169a6bSchristos 9*4b169a6bSchristos * aclocal.m4: Regenerate. 10*4b169a6bSchristos * configure: Regenerate. 11*4b169a6bSchristos 12*4b169a6bSchristos2021-06-21 Mike Frysinger <vapier@gentoo.org> 13*4b169a6bSchristos 14*4b169a6bSchristos * configure: Regenerate. 15*4b169a6bSchristos 16*4b169a6bSchristos2021-06-20 Mike Frysinger <vapier@gentoo.org> 17*4b169a6bSchristos 18*4b169a6bSchristos * configure.ac (SIM_AC_COMMON): Delete. 19*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 20*4b169a6bSchristos 21*4b169a6bSchristos2021-06-20 Mike Frysinger <vapier@gentoo.org> 22*4b169a6bSchristos 23*4b169a6bSchristos * aclocal.m4: Regenerate. 24*4b169a6bSchristos * configure: Regenerate. 25*4b169a6bSchristos 26*4b169a6bSchristos2021-06-19 Mike Frysinger <vapier@gentoo.org> 27*4b169a6bSchristos 28*4b169a6bSchristos * aclocal.m4: Regenerate. 29*4b169a6bSchristos * configure: Regenerate. 30*4b169a6bSchristos 31*4b169a6bSchristos2021-06-19 Mike Frysinger <vapier@gentoo.org> 32*4b169a6bSchristos 33*4b169a6bSchristos * configure: Regenerate. 34*4b169a6bSchristos 35*4b169a6bSchristos2021-06-18 Mike Frysinger <vapier@gentoo.org> 36*4b169a6bSchristos 37*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 38*4b169a6bSchristos 39*4b169a6bSchristos2021-06-18 Mike Frysinger <vapier@gentoo.org> 40*4b169a6bSchristos 41*4b169a6bSchristos * Makefile.in (SIM_WERROR_CFLAGS): New variable. 42*4b169a6bSchristos * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS. 43*4b169a6bSchristos * configure: Regenerate. 44*4b169a6bSchristos 45*4b169a6bSchristos2021-06-17 Mike Frysinger <vapier@gentoo.org> 46*4b169a6bSchristos 47*4b169a6bSchristos * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. 48*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 49*4b169a6bSchristos 50*4b169a6bSchristos2021-06-16 Mike Frysinger <vapier@gentoo.org> 51*4b169a6bSchristos 52*4b169a6bSchristos * configure: Regenerate. 53*4b169a6bSchristos 54*4b169a6bSchristos2021-06-16 Mike Frysinger <vapier@gentoo.org> 55*4b169a6bSchristos 56*4b169a6bSchristos * configure: Regenerate. 57*4b169a6bSchristos * config.in: Removed. 58*4b169a6bSchristos 59*4b169a6bSchristos2021-06-15 Mike Frysinger <vapier@gentoo.org> 60*4b169a6bSchristos 61*4b169a6bSchristos * config.in, configure: Regenerate. 62*4b169a6bSchristos 63*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 64*4b169a6bSchristos 65*4b169a6bSchristos * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. 66*4b169a6bSchristos * interp.c (sim_open): Set current_alignment. 67*4b169a6bSchristos 68*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 69*4b169a6bSchristos 70*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 71*4b169a6bSchristos 72*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 73*4b169a6bSchristos 74*4b169a6bSchristos * config.in, configure: Regenerate. 75*4b169a6bSchristos 76*4b169a6bSchristos2021-05-29 Mike Frysinger <vapier@gentoo.org> 77*4b169a6bSchristos 78*4b169a6bSchristos * interp.c (SET_RC): Add parenthesis. 79*4b169a6bSchristos (sim_open): Add const to p. 80*4b169a6bSchristos 81*4b169a6bSchristos2021-05-17 Mike Frysinger <vapier@gentoo.org> 82*4b169a6bSchristos 83*4b169a6bSchristos * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. 84*4b169a6bSchristos 85*4b169a6bSchristos2021-05-17 Mike Frysinger <vapier@gentoo.org> 86*4b169a6bSchristos 87*4b169a6bSchristos * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. 88*4b169a6bSchristos (struct sim_state): Delete. 89*4b169a6bSchristos 90*4b169a6bSchristos2021-05-16 Mike Frysinger <vapier@gentoo.org> 91*4b169a6bSchristos 92*4b169a6bSchristos * interp.c: Replace config.h include with defs.h. 93*4b169a6bSchristos 94*4b169a6bSchristos2021-05-16 Mike Frysinger <vapier@gentoo.org> 95*4b169a6bSchristos 96*4b169a6bSchristos * config.in, configure: Regenerate. 97*4b169a6bSchristos 98*4b169a6bSchristos2021-05-14 Mike Frysinger <vapier@gentoo.org> 99*4b169a6bSchristos 100*4b169a6bSchristos * interp.c: Update include path. 101*4b169a6bSchristos 102*4b169a6bSchristos2021-05-04 Mike Frysinger <vapier@gentoo.org> 103*4b169a6bSchristos 104*4b169a6bSchristos * configure: Regenerate. 105*4b169a6bSchristos 106*4b169a6bSchristos2021-05-01 Mike Frysinger <vapier@gentoo.org> 107*4b169a6bSchristos 108*4b169a6bSchristos * config.in, configure: Regenerate. 109*4b169a6bSchristos 110*4b169a6bSchristos2021-04-26 Mike Frysinger <vapier@gentoo.org> 111*4b169a6bSchristos 112*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 113*4b169a6bSchristos 114*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 115*4b169a6bSchristos 116*4b169a6bSchristos * interp.c: Update includes. 117*4b169a6bSchristos * configure, config.in: Rebuild. 118*4b169a6bSchristos 119*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 120*4b169a6bSchristos 121*4b169a6bSchristos * Makefile.in (SIM_EXTRA_DEPS): New variable. 122*4b169a6bSchristos (interp.o): Remove. 123*4b169a6bSchristos 124*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 125*4b169a6bSchristos 126*4b169a6bSchristos * configure: Rebuild. 127*4b169a6bSchristos 128*4b169a6bSchristos2021-04-21 Mike Frysinger <vapier@gentoo.org> 129*4b169a6bSchristos 130*4b169a6bSchristos * aclocal.m4: Regenerate. 131*4b169a6bSchristos 132*4b169a6bSchristos2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> 133*4b169a6bSchristos 134*4b169a6bSchristos * configure: Regenerate. 135*4b169a6bSchristos 136*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 137*4b169a6bSchristos 138*4b169a6bSchristos * configure: Regenerate. 139*4b169a6bSchristos 140*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 141*4b169a6bSchristos 142*4b169a6bSchristos * Makefile.in (NL_TARGET): Define. 143*4b169a6bSchristos * interp.c: Change syscall.h include to targ-vals.h. 144*4b169a6bSchristos (trap): Add TARGET_ prefix to all SYS_ constants. 145*4b169a6bSchristos * syscall.h: Removed. 146*4b169a6bSchristos 147*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 148*4b169a6bSchristos 149*4b169a6bSchristos * configure: Regenerate. 150*4b169a6bSchristos 151*4b169a6bSchristos2021-04-12 Mike Frysinger <vapier@gentoo.org> 152*4b169a6bSchristos 153*4b169a6bSchristos * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. 154*4b169a6bSchristos 155*4b169a6bSchristos2021-04-02 Mike Frysinger <vapier@gentoo.org> 156*4b169a6bSchristos 157*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 158*4b169a6bSchristos 159*4b169a6bSchristos2021-03-13 Mike Frysinger <vapier@gentoo.org> 160*4b169a6bSchristos 161*4b169a6bSchristos * Makefile.in (gencode.o): New rule. 162*4b169a6bSchristos (gencode): Call LINK_FOR_BUILD. 163*4b169a6bSchristos 164*4b169a6bSchristos2021-02-28 Mike Frysinger <vapier@gentoo.org> 165*4b169a6bSchristos 166*4b169a6bSchristos * configure: Regenerate. 167*4b169a6bSchristos 168*4b169a6bSchristos2021-02-21 Mike Frysinger <vapier@gentoo.org> 169*4b169a6bSchristos 170*4b169a6bSchristos * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. 171*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 172*4b169a6bSchristos 173*4b169a6bSchristos2021-02-13 Mike Frysinger <vapier@gentoo.org> 174*4b169a6bSchristos 175*4b169a6bSchristos * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. 176*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 177*4b169a6bSchristos 178*4b169a6bSchristos2021-02-06 Mike Frysinger <vapier@gentoo.org> 179*4b169a6bSchristos 180*4b169a6bSchristos * configure: Regenerate. 181*4b169a6bSchristos 182*4b169a6bSchristos2021-01-11 Mike Frysinger <vapier@gentoo.org> 183*4b169a6bSchristos 184*4b169a6bSchristos * config.in, configure: Regenerate. 185*4b169a6bSchristos * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, 186*4b169a6bSchristos HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include. 187*4b169a6bSchristos 188*4b169a6bSchristos2021-01-09 Mike Frysinger <vapier@gentoo.org> 189*4b169a6bSchristos 190*4b169a6bSchristos * configure: Regenerate. 191*4b169a6bSchristos 192*4b169a6bSchristos2021-01-09 Mike Frysinger <vapier@gentoo.org> 193*4b169a6bSchristos 194*4b169a6bSchristos * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". 195*4b169a6bSchristos * configure: Regenerate. 196*4b169a6bSchristos 197*4b169a6bSchristos2021-01-08 Mike Frysinger <vapier@gentoo.org> 198*4b169a6bSchristos 199*4b169a6bSchristos * configure: Regenerate. 200*4b169a6bSchristos 201*4b169a6bSchristos2021-01-04 Mike Frysinger <vapier@gentoo.org> 202*4b169a6bSchristos 203*4b169a6bSchristos * configure: Regenerate. 204*4b169a6bSchristos 205*4b169a6bSchristos2017-09-06 John Baldwin <jhb@FreeBSD.org> 206*4b169a6bSchristos 207*4b169a6bSchristos * configure: Regenerate. 208*4b169a6bSchristos 209*4b169a6bSchristos2017-02-13 Mike Frysinger <vapier@gentoo.org> 210*4b169a6bSchristos 211*4b169a6bSchristos * gencode.c: Include libiberty.h. 212*4b169a6bSchristos (conflict_warn): Use ARRAY_SIZE. 213*4b169a6bSchristos * interp.c (init_dsp): Likewise. 214*4b169a6bSchristos 215*4b169a6bSchristos2016-04-10 Oleg Endo <olegendo@gcc.gnu.org> 216*4b169a6bSchristos 217*4b169a6bSchristos * interp.c (dmul): Split into dmul_s and dmul_u. Use explicit integer 218*4b169a6bSchristos width types and simplify implementation. 219*4b169a6bSchristos * gencode.c (dmuls.l, dmulu.l): Use new functions dmul_s and dmul_u. 220*4b169a6bSchristos 221*4b169a6bSchristos2016-04-09 Oleg Endo <olegendo@gcc.gnu.org> 222*4b169a6bSchristos 223*4b169a6bSchristos * interp.c (sim_memory_size): Default init to 30. 224*4b169a6bSchristos (parse_and_set_memory_size): Adjust upper bound to 31. 225*4b169a6bSchristos 226*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 227*4b169a6bSchristos 228*4b169a6bSchristos * config.in, configure: Regenerate. 229*4b169a6bSchristos 230*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 231*4b169a6bSchristos 232*4b169a6bSchristos * configure: Regenerate. 233*4b169a6bSchristos 234*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 235*4b169a6bSchristos 236*4b169a6bSchristos * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call. 237*4b169a6bSchristos * configure: Regenerate. 238*4b169a6bSchristos 239*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 240*4b169a6bSchristos 241*4b169a6bSchristos * configure: Regenerate. 242*4b169a6bSchristos 243*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 244*4b169a6bSchristos 245*4b169a6bSchristos * configure: Regenerate. 246*4b169a6bSchristos 247*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 248*4b169a6bSchristos 249*4b169a6bSchristos * configure.ac (SIM_AC_OPTION_INLINE): Delete call. 250*4b169a6bSchristos * configure: Regenerate. 251*4b169a6bSchristos 252*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 253*4b169a6bSchristos 254*4b169a6bSchristos * configure: Regenerate. 255*4b169a6bSchristos 256*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 257*4b169a6bSchristos 258*4b169a6bSchristos * configure: Regenerate. 259*4b169a6bSchristos 260*4b169a6bSchristos2016-01-09 Mike Frysinger <vapier@gentoo.org> 261*4b169a6bSchristos 262*4b169a6bSchristos * config.in, configure: Regenerate. 263*4b169a6bSchristos 264*4b169a6bSchristos2016-01-06 Mike Frysinger <vapier@gentoo.org> 265*4b169a6bSchristos 266*4b169a6bSchristos * interp.c (sim_open): Mark argv const. 267*4b169a6bSchristos (sim_create_inferior): Mark argv and env const. 268*4b169a6bSchristos 269*4b169a6bSchristos2016-01-04 Mike Frysinger <vapier@gentoo.org> 270*4b169a6bSchristos 271*4b169a6bSchristos * configure: Regenerate. 272*4b169a6bSchristos 273*4b169a6bSchristos2016-01-03 Mike Frysinger <vapier@gentoo.org> 274*4b169a6bSchristos 275*4b169a6bSchristos * interp.c (sim_open): Update sim_parse_args comment. 276*4b169a6bSchristos 277*4b169a6bSchristos2016-01-03 Mike Frysinger <vapier@gentoo.org> 278*4b169a6bSchristos 279*4b169a6bSchristos * interp.c (count_argc): Delete. 280*4b169a6bSchristos (trap): Change count_argc to countargv. 281*4b169a6bSchristos 282*4b169a6bSchristos2016-01-03 Mike Frysinger <vapier@gentoo.org> 283*4b169a6bSchristos 284*4b169a6bSchristos * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. 285*4b169a6bSchristos * configure: Regenerate. 286*4b169a6bSchristos * interp.c (host_little_endian): Change CURRENT_HOST_BYTE_ORDER 287*4b169a6bSchristos to HOST_BYTE_ORDER. 288*4b169a6bSchristos 289*4b169a6bSchristos2016-01-02 Mike Frysinger <vapier@gentoo.org> 290*4b169a6bSchristos 291*4b169a6bSchristos * configure: Regenerate. 292*4b169a6bSchristos * interp.c (target_little_endian): Change LITTLE_ENDIAN to 293*4b169a6bSchristos BFD_ENDIAN_LITTLE. 294*4b169a6bSchristos (host_little_endian): Likewise. 295*4b169a6bSchristos 296*4b169a6bSchristos2015-12-30 Mike Frysinger <vapier@gentoo.org> 297*4b169a6bSchristos 298*4b169a6bSchristos * wrapper.c (sim_store_register): Rename to ... 299*4b169a6bSchristos (sh_reg_store): ... this. 300*4b169a6bSchristos (sim_fetch_register): Rename to ... 301*4b169a6bSchristos (sh_reg_fetch): ... this. 302*4b169a6bSchristos (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. 303*4b169a6bSchristos 304*4b169a6bSchristos2015-12-27 Mike Frysinger <vapier@gentoo.org> 305*4b169a6bSchristos 306*4b169a6bSchristos * Makefile.in (SIM_OBJS): Delete sim-hload.o. 307*4b169a6bSchristos 308*4b169a6bSchristos2015-12-26 Mike Frysinger <vapier@gentoo.org> 309*4b169a6bSchristos 310*4b169a6bSchristos * config.in, configure: Regenerate. 311*4b169a6bSchristos 312*4b169a6bSchristos2015-11-21 Mike Frysinger <vapier@gentoo.org> 313*4b169a6bSchristos 314*4b169a6bSchristos * gencode.c (tab): Pass sd into trap calls. 315*4b169a6bSchristos * interp.c (prog_argv, callback): Delete. 316*4b169a6bSchristos (parse_and_set_memory_size): Add SIM_DESC arg. 317*4b169a6bSchristos (trap): Declare callback and prog_argv. 318*4b169a6bSchristos (sim_resume): Declare callback. 319*4b169a6bSchristos (sim_info): Change callback->printf_filtered calls to sim_io_printf. 320*4b169a6bSchristos (sim_open): Delete callback assignment. Pass sd to 321*4b169a6bSchristos parse_and_set_memory_size. 322*4b169a6bSchristos (parse_and_set_memory_size): Change callback->printf_filtered call 323*4b169a6bSchristos to sim_io_printf. 324*4b169a6bSchristos (sim_create_inferior): Delete prog_argv assignment. 325*4b169a6bSchristos (sim_do_command): Change callback->printf_filtered calls to 326*4b169a6bSchristos sim_io_printf. Pass sd to parse_and_set_memory_size. 327*4b169a6bSchristos 328*4b169a6bSchristos2015-11-15 Mike Frysinger <vapier@gentoo.org> 329*4b169a6bSchristos 330*4b169a6bSchristos * Makefile.in (SIM_OBJS): Delete sim-stop.o. 331*4b169a6bSchristos 332*4b169a6bSchristos2015-11-14 Mike Frysinger <vapier@gentoo.org> 333*4b169a6bSchristos 334*4b169a6bSchristos * interp.c (sim_close): Delete. 335*4b169a6bSchristos 336*4b169a6bSchristos2015-06-23 Mike Frysinger <vapier@gentoo.org> 337*4b169a6bSchristos 338*4b169a6bSchristos * configure: Regenerate. 339*4b169a6bSchristos 340*4b169a6bSchristos2015-06-12 Mike Frysinger <vapier@gentoo.org> 341*4b169a6bSchristos 342*4b169a6bSchristos * configure: Regenerate. 343*4b169a6bSchristos 344*4b169a6bSchristos2015-06-12 Mike Frysinger <vapier@gentoo.org> 345*4b169a6bSchristos 346*4b169a6bSchristos * configure: Regenerate. 347*4b169a6bSchristos 348*4b169a6bSchristos2015-04-18 Mike Frysinger <vapier@gentoo.org> 349*4b169a6bSchristos 350*4b169a6bSchristos * sim-main.h (SIM_CPU): Delete. 351*4b169a6bSchristos 352*4b169a6bSchristos2015-04-18 Mike Frysinger <vapier@gentoo.org> 353*4b169a6bSchristos 354*4b169a6bSchristos * sim-main.h (sim_cia): Delete. 355*4b169a6bSchristos 356*4b169a6bSchristos2015-04-17 Mike Frysinger <vapier@gentoo.org> 357*4b169a6bSchristos 358*4b169a6bSchristos * sim-main.h (CIA_GET, CIA_SET): Delete. 359*4b169a6bSchristos 360*4b169a6bSchristos2015-04-17 Mike Frysinger <vapier@gentoo.org> 361*4b169a6bSchristos 362*4b169a6bSchristos * interp.c (sh_pc_get, sh_pc_set): New functions. 363*4b169a6bSchristos (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. 364*4b169a6bSchristos 365*4b169a6bSchristos2015-04-15 Mike Frysinger <vapier@gentoo.org> 366*4b169a6bSchristos 367*4b169a6bSchristos * Makefile.in (SIM_OBJS): Delete sim-cpu.o. 368*4b169a6bSchristos * sim-main.h (STATE_CPU): Delete. 369*4b169a6bSchristos 370*4b169a6bSchristos2015-04-13 Mike Frysinger <vapier@gentoo.org> 371*4b169a6bSchristos 372*4b169a6bSchristos * configure: Regenerate. 373*4b169a6bSchristos 374*4b169a6bSchristos2015-04-06 Mike Frysinger <vapier@gentoo.org> 375*4b169a6bSchristos 376*4b169a6bSchristos * Makefile.in (SIM_OBJS): Delete sim-engine.o. 377*4b169a6bSchristos 378*4b169a6bSchristos2015-03-31 Mike Frysinger <vapier@gentoo.org> 379*4b169a6bSchristos 380*4b169a6bSchristos * config.in, configure: Regenerate. 381*4b169a6bSchristos 382*4b169a6bSchristos2015-03-28 Mike Frysinger <vapier@gentoo.org> 383*4b169a6bSchristos 384*4b169a6bSchristos * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete. 385*4b169a6bSchristos (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS). 386*4b169a6bSchristos * interp.c: Delete run-sim.h include. Include sim-main.h, sim-base.h, 387*4b169a6bSchristos and sim-options.h. 388*4b169a6bSchristos (SEXT, SEXT32): Undefine. 389*4b169a6bSchristos (sim_write): Delete prototype. 390*4b169a6bSchristos (regstacktype, saved_state_type): Move to sim-main.h. 391*4b169a6bSchristos (target_little_endian): Replace with CURRENT_TARGET_BYTE_ORDER. 392*4b169a6bSchristos (host_little_endian): Replace with CURRENT_HOST_BYTE_ORDER. 393*4b169a6bSchristos (sim_kind, myname, tracing, sim_stop, sim_trace, sim_set_profile, 394*4b169a6bSchristos sim_set_profile_size, sim_load, sim_set_callbacks, 395*4b169a6bSchristos sim_complete_command): Delete. 396*4b169a6bSchristos (sim_size): Mark static. 397*4b169a6bSchristos (init_pointers): Delete host_little_endian setup. 398*4b169a6bSchristos (sim_resume): Delete tracing check. 399*4b169a6bSchristos (free_state): New cleanup function. 400*4b169a6bSchristos (sim_open): Rewrite to use new common logic. 401*4b169a6bSchristos (sim_create_inferior): Call init_dsp. 402*4b169a6bSchristos * sim-main.h: New file. 403*4b169a6bSchristos * tconfig.h: Delete file. 404*4b169a6bSchristos 405*4b169a6bSchristos2015-03-28 Mike Frysinger <vapier@gentoo.org> 406*4b169a6bSchristos 407*4b169a6bSchristos * gencode.c (ppi_gensim): Convert old style prototype with ppi_insn. 408*4b169a6bSchristos * interp.c: Include ctype.h and run-sim.h. 409*4b169a6bSchristos [HAVE_TIME_H]: Include time.h 410*4b169a6bSchristos [HAVE_SYS_TIME_H]: Include sys/time.h 411*4b169a6bSchristos [!_WIN32]: Include utime.h and sys/wait.h. 412*4b169a6bSchristos (set_fpscr1, raise_exception, raise_buserror, get_dr, set_dr, set_sr, 413*4b169a6bSchristos do_rdat, do_wdat, process_wlat_addr, process_wwat_addr, 414*4b169a6bSchristos process_wbat_addr, process_rlat_addr, process_rwat_addr, 415*4b169a6bSchristos process_rbat_addr, IOMEM, get_now, now_persec, swapout, swapout16, 416*4b169a6bSchristos ptr, strswaplen, strnswap, dmul, macw, macl, get_loop_bounds_ext, 417*4b169a6bSchristos get_loop_bounds, sim_size, init_dsp, init_pointers, dump_profile, 418*4b169a6bSchristos gotcall, sim_stop, sim_write, sim_read, sim_store_register, 419*4b169a6bSchristos sim_fetch_register, sim_trace, sim_stop_reason, sim_info, 420*4b169a6bSchristos sim_set_profile, sim_set_profile_size, sim_open, 421*4b169a6bSchristos parse_and_set_memory_size, sim_close, sim_load, sim_create_inferior, 422*4b169a6bSchristos sim_do_command, sim_set_callbacks): Convert old style prototype. 423*4b169a6bSchristos (fail): Delete unused function. 424*4b169a6bSchristos (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast): 425*4b169a6bSchristos Delete unused prototypes. 426*4b169a6bSchristos (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast, 427*4b169a6bSchristos swap, swap16): 428*4b169a6bSchristos Convert old style prototype and move INLINE before the type. 429*4b169a6bSchristos (trap): Convert old style prototype. Add casts to wait and sim_write 430*4b169a6bSchristos calls. 431*4b169a6bSchristos (div1): Convert old style prototype. Change return to void. 432*4b169a6bSchristos (do_long_move_insn, do_blog_insn, fsca_s, fsrra_s, mcalloc): Mark 433*4b169a6bSchristos static. 434*4b169a6bSchristos (sim_resume): Convert old style prototype. Align printf format and 435*4b169a6bSchristos args. 436*4b169a6bSchristos 437*4b169a6bSchristos2015-03-28 Mike Frysinger <vapier@gentoo.org> 438*4b169a6bSchristos 439*4b169a6bSchristos * gencode.c (ppi_gensim): Add missing */. Change case 4 to case 5. 440*4b169a6bSchristos 441*4b169a6bSchristos2015-03-28 Mike Frysinger <vapier@gentoo.org> 442*4b169a6bSchristos 443*4b169a6bSchristos * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS), 444*4b169a6bSchristos and $(WARN_CFLAGS). 445*4b169a6bSchristos * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h. 446*4b169a6bSchristos (struct op): Mark members const. 447*4b169a6bSchristos (tab): Mark static. 448*4b169a6bSchristos (nibble_type_list): Mark const. 449*4b169a6bSchristos (arg_type_list): Mark const. 450*4b169a6bSchristos (make_enum_list): Delete unused func. 451*4b169a6bSchristos (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old 452*4b169a6bSchristos style prototype and mark args const. 453*4b169a6bSchristos (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy, 454*4b169a6bSchristos gensim, ppi_filltable): Convert old style prototype. 455*4b169a6bSchristos (gensim_caselist): Convert old style prototype. Mark local 456*4b169a6bSchristos variables s and r const. 457*4b169a6bSchristos (gendefines): Convert old style prototype. Mark s const. Move 458*4b169a6bSchristos tolower call into printf statement. 459*4b169a6bSchristos (ppi_gensim): Convert old style prototype. Mark local variable 460*4b169a6bSchristos s const. 461*4b169a6bSchristos (main): Convert old style prototype. Change printf %d to %zu. 462*4b169a6bSchristos 463*4b169a6bSchristos2015-03-28 Mike Frysinger <vapier@gentoo.org> 464*4b169a6bSchristos 465*4b169a6bSchristos * config.in, configure: Regenerate. 466*4b169a6bSchristos * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT, 467*4b169a6bSchristos SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, 468*4b169a6bSchristos SIM_AC_OPTION_INLINE, SIM_AC_OPTION_WARNINGS. 469*4b169a6bSchristos 470*4b169a6bSchristos2015-03-16 Mike Frysinger <vapier@gentoo.org> 471*4b169a6bSchristos 472*4b169a6bSchristos * config.in, configure: Regenerate. 473*4b169a6bSchristos * tconfig.in: Rename file ... 474*4b169a6bSchristos * tconfig.h: ... here. 475*4b169a6bSchristos 476*4b169a6bSchristos2015-03-14 Mike Frysinger <vapier@gentoo.org> 477*4b169a6bSchristos 478*4b169a6bSchristos * Makefile.in (SIM_EXTRA_CFLAGS): Set to 479*4b169a6bSchristos -DSIM_USE_DEPRECATED_RUN_FRONTEND. 480*4b169a6bSchristos (SIM_RUN_OBJS): Set to run.o. 481*4b169a6bSchristos 482*4b169a6bSchristos2015-03-14 Mike Frysinger <vapier@gentoo.org> 483*4b169a6bSchristos 484*4b169a6bSchristos * configure.ac (AC_CHECK_HEADERS): Delete. 485*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 486*4b169a6bSchristos 487*4b169a6bSchristos2014-10-14 Oleg Endo <olegendo@gcc.gnu.org> (tiny patch) 488*4b169a6bSchristos 489*4b169a6bSchristos * gencode.c (fabs, fneg): Implement as integer operation 490*4b169a6bSchristos instead of using the FP_UNARY macro. 491*4b169a6bSchristos 492*4b169a6bSchristos2014-08-19 Alan Modra <amodra@gmail.com> 493*4b169a6bSchristos 494*4b169a6bSchristos * configure: Regenerate. 495*4b169a6bSchristos 496*4b169a6bSchristos2014-08-15 Roland McGrath <mcgrathr@google.com> 497*4b169a6bSchristos 498*4b169a6bSchristos * configure: Regenerate. 499*4b169a6bSchristos * config.in: Regenerate. 500*4b169a6bSchristos 501*4b169a6bSchristos2014-03-10 Mike Frysinger <vapier@gentoo.org> 502*4b169a6bSchristos 503*4b169a6bSchristos * interp.c (parse_and_set_memory_size): Add const to str. 504*4b169a6bSchristos (sim_do_command): Add const to cmd and sms_cmd. 505*4b169a6bSchristos 506*4b169a6bSchristos2014-03-05 Mike Frysinger <vapier@gentoo.org> 507*4b169a6bSchristos 508*4b169a6bSchristos * interp.c (sim_load): Add const to prog. 509*4b169a6bSchristos 510*4b169a6bSchristos2014-02-17 Mike Frysinger <vapier@gentoo.org> 511*4b169a6bSchristos 512*4b169a6bSchristos PR gdb/16450 513*4b169a6bSchristos * interp.c (control_c): Delete. 514*4b169a6bSchristos (sim_resume): Delete signal(SIGINT) handling. 515*4b169a6bSchristos 516*4b169a6bSchristos2013-09-23 Alan Modra <amodra@gmail.com> 517*4b169a6bSchristos 518*4b169a6bSchristos * configure: Regenerate. 519*4b169a6bSchristos 520*4b169a6bSchristos2013-06-03 Mike Frysinger <vapier@gentoo.org> 521*4b169a6bSchristos 522*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 523*4b169a6bSchristos 524*4b169a6bSchristos2012-06-15 Joel Brobecker <brobecker@adacore.com> 525*4b169a6bSchristos 526*4b169a6bSchristos * config.in, configure: Regenerate. 527*4b169a6bSchristos 528*4b169a6bSchristos2012-03-24 Mike Frysinger <vapier@gentoo.org> 529*4b169a6bSchristos 530*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 531*4b169a6bSchristos 532*4b169a6bSchristos2012-02-16 Kevin Buettner <kevinb@redhat.com> 533*4b169a6bSchristos 534*4b169a6bSchristos * interp.c (MA): Adjust cast to avoid warning on 64-bit hosts. 535*4b169a6bSchristos 536*4b169a6bSchristos * interp.c (sim_store_register, sim_fetch_register): Return 537*4b169a6bSchristos length, not -1. 538*4b169a6bSchristos 539*4b169a6bSchristos2011-12-03 Mike Frysinger <vapier@gentoo.org> 540*4b169a6bSchristos 541*4b169a6bSchristos * aclocal.m4: New file. 542*4b169a6bSchristos * configure: Regenerate. 543*4b169a6bSchristos 544*4b169a6bSchristos2011-10-17 Mike Frysinger <vapier@gentoo.org> 545*4b169a6bSchristos 546*4b169a6bSchristos * configure.ac: Change include to common/acinclude.m4. 547*4b169a6bSchristos 548*4b169a6bSchristos2011-10-17 Mike Frysinger <vapier@gentoo.org> 549*4b169a6bSchristos 550*4b169a6bSchristos * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER 551*4b169a6bSchristos call. Replace common.m4 include with SIM_AC_COMMON. 552*4b169a6bSchristos * configure: Regenerate. 553*4b169a6bSchristos 554*4b169a6bSchristos2011-04-16 Mike Frysinger <vapier@gentoo.org> 555*4b169a6bSchristos 556*4b169a6bSchristos * interp.c (sim_complete_command): New stub function. 557*4b169a6bSchristos 558*4b169a6bSchristos2010-04-14 Mike Frysinger <vapier@gentoo.org> 559*4b169a6bSchristos 560*4b169a6bSchristos * interp.c (sim_write): Add const to buffer arg. 561*4b169a6bSchristos 562*4b169a6bSchristos2010-01-12 Masaki Muranaka <monaka@monami-software.com> 563*4b169a6bSchristos 564*4b169a6bSchristos * interp.c: Don't include sysdep.h. 565*4b169a6bSchristos Include stdio.h and errno.h. 566*4b169a6bSchristos Include string.h strings.h stdlib.h sys/stat.h if present. 567*4b169a6bSchristos 568*4b169a6bSchristos2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 569*4b169a6bSchristos 570*4b169a6bSchristos * configure: Regenerate. 571*4b169a6bSchristos 572*4b169a6bSchristos2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 573*4b169a6bSchristos 574*4b169a6bSchristos * config.in: Regenerate. 575*4b169a6bSchristos * configure: Likewise. 576*4b169a6bSchristos 577*4b169a6bSchristos * configure: Regenerate. 578*4b169a6bSchristos 579*4b169a6bSchristos2008-07-11 Hans-Peter Nilsson <hp@axis.com> 580*4b169a6bSchristos 581*4b169a6bSchristos * configure: Regenerate to track ../common/common.m4 changes. 582*4b169a6bSchristos * config.in: Ditto. 583*4b169a6bSchristos 584*4b169a6bSchristos2008-06-06 Vladimir Prus <vladimir@codesourcery.com> 585*4b169a6bSchristos Daniel Jacobowitz <dan@codesourcery.com> 586*4b169a6bSchristos Joseph Myers <joseph@codesourcery.com> 587*4b169a6bSchristos 588*4b169a6bSchristos * configure: Regenerate. 589*4b169a6bSchristos 590*4b169a6bSchristos2008-02-04 Antony King <antony.king@st.com> 591*4b169a6bSchristos 592*4b169a6bSchristos * interp.c (macl): Fix non-portable implementation. 593*4b169a6bSchristos 594*4b169a6bSchristos2007-10-08 Andrew Stubbs <andrew.stubbs@st.com> 595*4b169a6bSchristos 596*4b169a6bSchristos * gencode.c (tab): Add RAISE_EXCEPTION_IF_IN_DELAY_SLOT to the 597*4b169a6bSchristos definition of PC relative 'mov.l'/'mov.w' and also 'mova'. 598*4b169a6bSchristos 599*4b169a6bSchristos2007-03-02 Andrew Stubbs <andrew.stubbs@st.com> 600*4b169a6bSchristos 601*4b169a6bSchristos * gencode.c (tab): Correct pre-decrement instructions when m == n. 602*4b169a6bSchristos 603*4b169a6bSchristos2006-12-21 Hans-Peter Nilsson <hp@axis.com> 604*4b169a6bSchristos 605*4b169a6bSchristos * acconfig.h: Remove. 606*4b169a6bSchristos * config.in: Regenerate. 607*4b169a6bSchristos 608*4b169a6bSchristos2006-06-13 Richard Earnshaw <rearnsha@arm.com> 609*4b169a6bSchristos 610*4b169a6bSchristos * configure: Regenerated. 611*4b169a6bSchristos 612*4b169a6bSchristos2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> 613*4b169a6bSchristos 614*4b169a6bSchristos * configure: Regenerated. 615*4b169a6bSchristos 616*4b169a6bSchristos2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> 617*4b169a6bSchristos 618*4b169a6bSchristos * configure: Regenerated. 619*4b169a6bSchristos 620*4b169a6bSchristos2005-11-10 Andrew Stubbs <andrew.stubbs@st.com> 621*4b169a6bSchristos 622*4b169a6bSchristos * interp.c (sim_memory_size): Use same amount of memory on Windows as 623*4b169a6bSchristos elsewhere. 624*4b169a6bSchristos 625*4b169a6bSchristos2005-09-19 J"orn Rennecke <joern.rennecke@st.com> 626*4b169a6bSchristos 627*4b169a6bSchristos * interp.c (<sys/mman.h>): Include. 628*4b169a6bSchristos (mcalloc): New function / macro. 629*4b169a6bSchristos (mfree): New macro. 630*4b169a6bSchristos (sim_size): Use mcalloc and mfree. 631*4b169a6bSchristos 632*4b169a6bSchristos2005-08-02 J"orn Rennecke <joern.rennecke@st.com> 633*4b169a6bSchristos 634*4b169a6bSchristos * interp.c (strswaplen): Add one for '\0' delimiter. 635*4b169a6bSchristos 636*4b169a6bSchristos2005-06-16 Daniel Jacobowitz <dan@codesourcery.com> 637*4b169a6bSchristos 638*4b169a6bSchristos * gencode.c (tab): Avoid lvalue casts. Suggested by 639*4b169a6bSchristos Ralf Corsepius <ralf.corsepius@rtems.org>. 640*4b169a6bSchristos 641*4b169a6bSchristos2005-04-12 Jonathan Larmour <jifl@eCosCentric.com> 642*4b169a6bSchristos 643*4b169a6bSchristos * gencode.c (tab): Avoid inserting code before variables all declared. 644*4b169a6bSchristos 645*4b169a6bSchristos2005-03-23 Mark Kettenis <kettenis@gnu.org> 646*4b169a6bSchristos 647*4b169a6bSchristos * configure: Regenerate. 648*4b169a6bSchristos 649*4b169a6bSchristos2005-01-14 Andrew Cagney <cagney@gnu.org> 650*4b169a6bSchristos 651*4b169a6bSchristos * configure.ac: Sinclude aclocal.m4 before common.m4. Add 652*4b169a6bSchristos explicit call to AC_CONFIG_HEADER. 653*4b169a6bSchristos * configure: Regenerate. 654*4b169a6bSchristos 655*4b169a6bSchristos2005-01-12 Andrew Cagney <cagney@gnu.org> 656*4b169a6bSchristos 657*4b169a6bSchristos * configure.ac: Update to use ../common/common.m4. 658*4b169a6bSchristos * configure: Re-generate. 659*4b169a6bSchristos 660*4b169a6bSchristos2005-01-11 Andrew Cagney <cagney@localhost.localdomain> 661*4b169a6bSchristos 662*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 663*4b169a6bSchristos 664*4b169a6bSchristos2005-01-07 Andrew Cagney <cagney@gnu.org> 665*4b169a6bSchristos 666*4b169a6bSchristos * configure.ac: Rename configure.in, require autoconf 2.59. 667*4b169a6bSchristos * configure: Re-generate. 668*4b169a6bSchristos 669*4b169a6bSchristos2004-12-08 Hans-Peter Nilsson <hp@axis.com> 670*4b169a6bSchristos 671*4b169a6bSchristos * configure: Regenerate for ../common/aclocal.m4 update. 672*4b169a6bSchristos 673*4b169a6bSchristos2004-09-08 DJ Delorie <dj@redhat.com> 674*4b169a6bSchristos 675*4b169a6bSchristos Commited by Corinna Vinschen <vinschen@redhat.com> 676*4b169a6bSchristos * gencode.c (movua.l): Compensate for endianness. 677*4b169a6bSchristos 678*4b169a6bSchristos2004-09-08 Corinna Vinschen <vinschen@redhat.com> 679*4b169a6bSchristos 680*4b169a6bSchristos * interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro. 681*4b169a6bSchristos (in_delay_slot): New flag variable. 682*4b169a6bSchristos (Delay_Slot): Set in_delay_slot. 683*4b169a6bSchristos (sim_resume): Reset in_delay_slot after leaving code switch. 684*4b169a6bSchristos * gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all 685*4b169a6bSchristos instructions not allowed in delay slots. 686*4b169a6bSchristos 687*4b169a6bSchristos2004-09-08 Michael Snyder <msnyder@redhat.com> 688*4b169a6bSchristos 689*4b169a6bSchristos Commited by Corinna Vinschen <vinschen@redhat.com> 690*4b169a6bSchristos Introduce SH2a support. 691*4b169a6bSchristos * interp.c: Change type of jump table to short. Add various macros. 692*4b169a6bSchristos (sim_load): Save the bfd machine code. 693*4b169a6bSchristos (sim_create_inferior): Ditto. 694*4b169a6bSchristos (union saved_state_type): Add tbr, ibnr and ibcr registers. 695*4b169a6bSchristos Move bfd_mach to end of struct. Add regstack pointer. 696*4b169a6bSchristos (init_dsp): Don't swap contents of sh_dsp_table any more. Instead 697*4b169a6bSchristos use it directly in its own switch statement. Allocate space for 512 698*4b169a6bSchristos register banks. 699*4b169a6bSchristos (do_long_move_insn): New function. 700*4b169a6bSchristos (do_blog_insn): Ditto. 701*4b169a6bSchristos (trap): Use trap #13 and trap #14 to set ibnr and ibcr. 702*4b169a6bSchristos * gencode.c: Move movx/movy insns into separate switch statement. 703*4b169a6bSchristos (op tab): Add sh2a insns. Reject instructions that are disabled 704*4b169a6bSchristos on that chip. 705*4b169a6bSchristos (gensim_caselist): Generate default case here instead of in caller. 706*4b169a6bSchristos (gensim): Generate two separate switch statements. Call 707*4b169a6bSchristos gensim_caselist once for each (for movsxy_tab and for tab). 708*4b169a6bSchristos Add tokens for r15 and multiple regs. 709*4b169a6bSchristos (conflict_warn, warn_conflicts): Add for debugging. 710*4b169a6bSchristos 711*4b169a6bSchristos2004-08-18 J"orn Rennecke <joern.rennecke@superh.com> 712*4b169a6bSchristos 713*4b169a6bSchristos * gencode.c (tab): For shad snd shld, fix result for 714*4b169a6bSchristos (op1 < 0 && shift_amount == 0). 715*4b169a6bSchristos 716*4b169a6bSchristos2004-02-02 Michael Snyder <msnyder@redhat.com> 717*4b169a6bSchristos 718*4b169a6bSchristos * gencode.c (movua.l): Set thislock to 0, not n. 719*4b169a6bSchristos 720*4b169a6bSchristos2004-02-12 Michael Snyder <msnyder@redhat.com> 721*4b169a6bSchristos 722*4b169a6bSchristos * gencode.c (table): Change from char to short. 723*4b169a6bSchristos (dumptable): Change generated table from char to short. 724*4b169a6bSchristos * interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short. 725*4b169a6bSchristos (init_dsp): Compute size of sh_dsp_table. 726*4b169a6bSchristos (sim_resume): Change jump_table from char to short. 727*4b169a6bSchristos 728*4b169a6bSchristos2004-01-27 Michael Snyder <msnyder@redhat.com> 729*4b169a6bSchristos 730*4b169a6bSchristos * gencode.c: (op tab): Some refs and defs fixes. 731*4b169a6bSchristos "fsrra" -> "fsrra <FREG_N>". 732*4b169a6bSchristos "sleep": replace array ref with array addr. 733*4b169a6bSchristos "trapa": ditto. 734*4b169a6bSchristos Comment and whitespace clean-ups. 735*4b169a6bSchristos 736*4b169a6bSchristos2004-01-07 Michael Snyder <msnyder@redhat.com> 737*4b169a6bSchristos 738*4b169a6bSchristos * gencode.c: Whitespace cleanup. 739*4b169a6bSchristos * interp.c: Ditto. 740*4b169a6bSchristos 741*4b169a6bSchristos * gencode.c: Replace 'Hitachi' with 'Renesas'. 742*4b169a6bSchristos (op tab): Add new instructions for sh4a, DBR, SBR. 743*4b169a6bSchristos (expand_opcode): Add handling for new movxy combinations. 744*4b169a6bSchristos (gensym_caselist): Ditto. 745*4b169a6bSchristos (expand_ppi_movxy): Remove movx/movy expansions, 746*4b169a6bSchristos now handled in expand_opcode. 747*4b169a6bSchristos (gensym): Add some helpful macros. 748*4b169a6bSchristos (expand_ppi_code): Flatten loop for simplicity, tweak for 12-bit 749*4b169a6bSchristos instead of 8-bit table (some insns are ambiguous to 8 bits). 750*4b169a6bSchristos (ppi_gensim, main): Generate 12-bit instead of 8-bit ppi table. 751*4b169a6bSchristos 752*4b169a6bSchristos * interp.c: Replace 'Hitachi' with 'Renesas'. 753*4b169a6bSchristos (union saved_state_type): Add dbr, sgr, ldst. 754*4b169a6bSchristos (get_loop_bounds_ext): New function. 755*4b169a6bSchristos (init_dsp): Add bfd_mach_sh4al_dsp. 756*4b169a6bSchristos (sim_resume): Handle extended loop bounds. 757*4b169a6bSchristos 758*4b169a6bSchristos2003-12-18 Michael Snyder <msnyder@redhat.com> 759*4b169a6bSchristos 760*4b169a6bSchristos * gencode.c (expand_opcode): Simplify and reorganize. 761*4b169a6bSchristos Eliminate "shift" parameter. Eliminate "4 bits at a time" 762*4b169a6bSchristos assumption. Flatten switch statement to a single level. 763*4b169a6bSchristos Add "eeee" token for even-numbered registers. 764*4b169a6bSchristos (bton): Delete. 765*4b169a6bSchristos (fsca): Use "eeee" token. 766*4b169a6bSchristos (ppi_moves): Rename to "expand_ppi_movxy". Do the ddt 767*4b169a6bSchristos [movx/movy] expansion here, as well as the ppi expansion. 768*4b169a6bSchristos (gensim_caselist): Accept 'eeee' along with 'nnnn'. 769*4b169a6bSchristos 770*4b169a6bSchristos2003-11-03 J"orn Rennecke <joern.rennecke@superh.com> 771*4b169a6bSchristos 772*4b169a6bSchristos * interp.c (fsca_s, fsrra_s): New functions. 773*4b169a6bSchristos * gencode.c (tab): Add entries for fsca and fsrra. 774*4b169a6bSchristos (expand_opcode): Allow variable length n / m fields. 775*4b169a6bSchristos 776*4b169a6bSchristos2003-10-15 J"orn Rennecke <joern.rennecke@superh.com> 777*4b169a6bSchristos 778*4b169a6bSchristos * syscall.h (SYS_truncate, SYS_ftruncate): Define. 779*4b169a6bSchristos * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate. 780*4b169a6bSchristos 781*4b169a6bSchristos2003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com> 782*4b169a6bSchristos * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and 783*4b169a6bSchristos correction for MAC.W handler 784*4b169a6bSchristos * sim/sh/interp.c ( macl ): New Function. Implementation of 785*4b169a6bSchristos MAC.L handler. 786*4b169a6bSchristos 787*4b169a6bSchristos2003-08-07 Michael Snyder <msnyder@redhat.com> 788*4b169a6bSchristos 789*4b169a6bSchristos * gencode.c (expand_ppi_code): Comment spelling fix. 790*4b169a6bSchristos 791*4b169a6bSchristos2003-07-25 Michael Snyder <msnyder@redhat.com> 792*4b169a6bSchristos 793*4b169a6bSchristos * gencode.c (pshl): Change < to <= (shift by 16 is allowed). 794*4b169a6bSchristos Cast argument of >> to unsigned to prevent sign extension. 795*4b169a6bSchristos (psha): Change < to <= (shift by 32 is allowed). 796*4b169a6bSchristos 797*4b169a6bSchristos2003-07-24 Michael Snyder <msnyder@redhat.com> 798*4b169a6bSchristos 799*4b169a6bSchristos * gencode.c: Fix typo in comment. 800*4b169a6bSchristos 801*4b169a6bSchristos2003-07-23 Michael Snyder <msnyder@redhat.com> 802*4b169a6bSchristos 803*4b169a6bSchristos * gencode.c: A few more fix-ups of refs and defs. 804*4b169a6bSchristos (frchg): Raise SIGILL if in double-precision mode. 805*4b169a6bSchristos (ldtlb): We don't simulate cache, so this is a no-op. 806*4b169a6bSchristos (movsxy_tab): Correct a few bit pattern errors. 807*4b169a6bSchristos 808*4b169a6bSchristos2003-07-09 Michael Snyder <msnyder@redhat.com> 809*4b169a6bSchristos 810*4b169a6bSchristos * gencode.c (prnd): Clear LSW of result to zeros. 811*4b169a6bSchristos * gencode.c (pmuls): Expression is mis-parenthesized. 812*4b169a6bSchristos * gencode.c (ppi_gensim): For a conditional ppi insn, if the 813*4b169a6bSchristos condition is false, we want to return (not break). A break 814*4b169a6bSchristos will take us to the end of the function where registers will 815*4b169a6bSchristos be updated, whereas the desired outcome is for nothing to change. 816*4b169a6bSchristos 817*4b169a6bSchristos2003-07-03 Michael Snyder <msnyder@redhat.com> 818*4b169a6bSchristos 819*4b169a6bSchristos * gencode.c (movs): Fix a couple of text transpositions. 820*4b169a6bSchristos 821*4b169a6bSchristos2003-06-27 Michael Snyder <msnyder@redhat.com> 822*4b169a6bSchristos 823*4b169a6bSchristos * gencode.c (op tab): Some fix-ups of refs and defs. 824*4b169a6bSchristos (ocbi, ocbp): Cache not simulated, but may cause memory fault. 825*4b169a6bSchristos (gensym_caselist): Add default case to switch statement. 826*4b169a6bSchristos (expand_ppi_code): Add default case to switch statement. 827*4b169a6bSchristos * gencode.c (op tab): Implement movca.l. 828*4b169a6bSchristos * gencode.c (op movsxy_tab): Fix an error in the bit pattern. 829*4b169a6bSchristos * gencode.c (gensim_caselist): The movy instructions use 830*4b169a6bSchristos registers R6 and R7 (not R4 and R5 like the movx insns). 831*4b169a6bSchristos 832*4b169a6bSchristos2003-06-27 Michael Snyder <msnyder@redhat.com> 833*4b169a6bSchristos 834*4b169a6bSchristos * gencode.c (op movsxy_tab): Fix up some copy/paste errors 835*4b169a6bSchristos in name: s/REG_x/REG_y/. 836*4b169a6bSchristos 837*4b169a6bSchristos * gencode.c (op tab): Move misplaced semicolon. 838*4b169a6bSchristos 839*4b169a6bSchristos2003-02-27 Andrew Cagney <cagney@redhat.com> 840*4b169a6bSchristos 841*4b169a6bSchristos * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd 842*4b169a6bSchristos to bfd. 843*4b169a6bSchristos 844*4b169a6bSchristosFri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com> 845*4b169a6bSchristos 846*4b169a6bSchristos * interp.c (trap): Return int. Take extra parameter for address 847*4b169a6bSchristos of the trap instruction. Changed all callers. 848*4b169a6bSchristos Add case 33 for profiling. 849*4b169a6bSchristos * gencode.c (trapa): Handle trap 33 using the trap function. 850*4b169a6bSchristos Add read of vector for generic traps. 851*4b169a6bSchristos 852*4b169a6bSchristosWed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke@superh.com> 853*4b169a6bSchristos 854*4b169a6bSchristos * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h. 855*4b169a6bSchristos * interp.c: Include "gdb/sim-sh.h". 856*4b169a6bSchristos (sim_store_register, sim_fetch_register): Use constants defined there. 857*4b169a6bSchristos 858*4b169a6bSchristosTue Jun 18 16:53:11 2002 J"orn Rennecke <joern.rennecke@superh.com> 859*4b169a6bSchristos 860*4b169a6bSchristos * interp.c (sim_resume): Fix setting of bus error for 861*4b169a6bSchristos instruction fetch. 862*4b169a6bSchristos 863*4b169a6bSchristos2002-06-16 Andrew Cagney <ac131313@redhat.com> 864*4b169a6bSchristos 865*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 866*4b169a6bSchristos 867*4b169a6bSchristos2002-06-08 Andrew Cagney <cagney@redhat.com> 868*4b169a6bSchristos 869*4b169a6bSchristos * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h". 870*4b169a6bSchristos 871*4b169a6bSchristos2001-01-30 Ben Elliston <bje@redhat.com> 872*4b169a6bSchristos 873*4b169a6bSchristos * interp.c (sim_create_inferior): Record program arguments for 874*4b169a6bSchristos later inspection by the trap handler. 875*4b169a6bSchristos (count_argc): New function. 876*4b169a6bSchristos (prog_argv): Declare static. 877*4b169a6bSchristos (sim_write): Declare. 878*4b169a6bSchristos (trap): Implement argc, argnlen and argn system calls. Do not 879*4b169a6bSchristos abort on unknown system calls--simply return -1. 880*4b169a6bSchristos * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define. 881*4b169a6bSchristos 882*4b169a6bSchristos2001-01-24 Alexandre Oliva <aoliva@redhat.com> 883*4b169a6bSchristos 884*4b169a6bSchristos * interp.c (trap): Implement time. 885*4b169a6bSchristos 886*4b169a6bSchristos2000-10-24 Ben Elliston <bje@redhat.com> 887*4b169a6bSchristos 888*4b169a6bSchristos * gencode.c (tab): Delimit strings with commas where applicable. 889*4b169a6bSchristos 890*4b169a6bSchristosTue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> 891*4b169a6bSchristos 892*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 893*4b169a6bSchristos 894*4b169a6bSchristosMon May 15 22:04:51 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 895*4b169a6bSchristos 896*4b169a6bSchristossh-dsp support, simulator speedup by using host byte order: 897*4b169a6bSchristos 898*4b169a6bSchristos * Makefile.in (interp.o): Depends on ppi.c . 899*4b169a6bSchristos (ppi.c): New rule. 900*4b169a6bSchristos * gencode.c (printonmatch, think, genopc): Deleted. 901*4b169a6bSchristos (MAX_NR_STUFF): Now 42. 902*4b169a6bSchristos (tab): Add SH-DSP CPU instructions. 903*4b169a6bSchristos Amalgamate ldc / stc / lds / sts instructions with similar 904*4b169a6bSchristos bit patterns. Fix opcodes of stc Rm_BANK,@-<REG_N>. 905*4b169a6bSchristos Fix semantics of lds.l @<REG_N>+,MACH (no sign extend). 906*4b169a6bSchristos (movsxy_tab): New array. 907*4b169a6bSchristos For movs, change MMMM field to GGGG, and mmmm field to MMMM. 908*4b169a6bSchristos Added entries for movx, movy and parallel processing insns. 909*4b169a6bSchristos (ppi_tab): New array. 910*4b169a6bSchristos (qfunc): Stabilize sort. 911*4b169a6bSchristos (expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy. 912*4b169a6bSchristos Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'. 913*4b169a6bSchristos (dumptable): Now takes three arguments. Changed all callers. 914*4b169a6bSchristos Emit just one contigous jump table. 915*4b169a6bSchristos (filltable): Now takes an argument. Changed all callers. 916*4b169a6bSchristos Make index static. 917*4b169a6bSchristos (ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions. 918*4b169a6bSchristos (gensim_caselist): New function, broken out of gensim. 919*4b169a6bSchristos Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'. 920*4b169a6bSchristos Handle ref '9'. 921*4b169a6bSchristos (gensim): Handle 'N' in code field and '8' in refs field. 922*4b169a6bSchristos Call gensim_caselist - twice. 923*4b169a6bSchristos (ppi_index): New static variable. 924*4b169a6bSchristos (main): Unsupport default action. 925*4b169a6bSchristos Add dsp support for -x / -s option. Add -p option. 926*4b169a6bSchristos * interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare. 927*4b169a6bSchristos (saved_state_type): Rearrange to allow amalgamated ldc / stc / 928*4b169a6bSchristos lds / sts to work efficiently. 929*4b169a6bSchristos (target_dsp): New static variable. 930*4b169a6bSchristos (GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change. 931*4b169a6bSchristos (FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise. 932*4b169a6bSchristos (SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise. 933*4b169a6bSchristos (RS, RE, MOD, MOD_ME, DSP_R): Likewise. 934*4b169a6bSchristos (set_fpscr1): Likewise. Use target_dsp to check for dsp. 935*4b169a6bSchristos (MOD_MSi, SIG_BUS_FETCH): Deleted. 936*4b169a6bSchristos (CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros. 937*4b169a6bSchristos (SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise. 938*4b169a6bSchristos (SET_MOD): Reflect saved_state_type change. Set MOD_DELTA instead 939*4b169a6bSchristos of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME. 940*4b169a6bSchristos (set_sr): Reflect saved_state_type change. Fix SR_RB handling. 941*4b169a6bSchristos Use SET_MOD. 942*4b169a6bSchristos (MA, L, TL, TB): Now controlled by ACE_FAST. 943*4b169a6bSchristos (SEXT32): Just cast to int. 944*4b169a6bSchristos (SIGN32): Fixed to only shift by 31. 945*4b169a6bSchristos (CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0. 946*4b169a6bSchristos (ppi_insn): Declare. 947*4b169a6bSchristos (ppi.c): Include. 948*4b169a6bSchristos (init_dsp): Set target_dsp. When it changes, switch end of 949*4b169a6bSchristos sh_jump_table with sh_dsp_table. 950*4b169a6bSchristos (sim_resume) Don't declare sh_jump_table0. Use sh_jump_table instead. 951*4b169a6bSchristos Don't Declare PR if it's #defined. 952*4b169a6bSchristos Fix single-stepping (Was broken in Mar 6 16:59:10 patch). 953*4b169a6bSchristos (sim_store_register, sim_read_register): Translate accesses to 954*4b169a6bSchristos reflect saved_state_type change. 955*4b169a6bSchristos 956*4b169a6bSchristos * interp.c (set_sr): Set sr. 957*4b169a6bSchristos (SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros. 958*4b169a6bSchristos (set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp. 959*4b169a6bSchristos (DSP_R): Fix definition. 960*4b169a6bSchristos (sim_resume): Remove outdated SET_SR use. 961*4b169a6bSchristos 962*4b169a6bSchristos * interp.c (saved_state): New members for struct member asregs: 963*4b169a6bSchristos rs, re, insn_end, xram_start, yram_start. 964*4b169a6bSchristos (struct loop_bounds): New struct. 965*4b169a6bSchristos (SKIP_INSN): New macro. 966*4b169a6bSchristos (get_loop_bounds): New function. 967*4b169a6bSchristos (endianw): Renamed to global_endianw. 968*4b169a6bSchristos (maskw): negated bits. 969*4b169a6bSchristos (PC): Now insn_ptr. 970*4b169a6bSchristos (SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros. 971*4b169a6bSchristos (RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise. 972*4b169a6bSchristos (M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise. 973*4b169a6bSchristos (SIG_BUS_FETCH): Likewise 974*4b169a6bSchristos (raise_exception, riat_fast): New functions. 975*4b169a6bSchristos (raise_buserror, sim_stop): Use raise_exception. 976*4b169a6bSchristos (PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start. 977*4b169a6bSchristos (BUSERROR, WRITE_BUSERROR, READ_BUSERROR): 978*4b169a6bSchristos Reverse sense of mask argument. 979*4b169a6bSchristos (FP_OP, set_dr): Use RAISE_EXCEPTION. 980*4b169a6bSchristos (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast): 981*4b169a6bSchristos Declare. Remove redundant masking. 982*4b169a6bSchristos (wwat_fast, rwat_fast): Add argument endianw. Changed callers. 983*4b169a6bSchristos (MA): Updated for change pc -> PC. 984*4b169a6bSchristos (Delay_Slot): Use RIAT. 985*4b169a6bSchristos (empty): Deleted. 986*4b169a6bSchristos (trap): Remove argument little_endian. Add argument endianw. 987*4b169a6bSchristos Changed all callers. Use raise_exception. 988*4b169a6bSchristos (macw): Add argument endainw. Changed all callers. 989*4b169a6bSchristos (init_dsp): New function, extended after broken out of init_pointers. 990*4b169a6bSchristos (sim_resume): Replace pc with insn_ptr. Replace little_endian with 991*4b169a6bSchristos endianw. Replace nia with nip. Reverse sense of maskb / maskw / 992*4b169a6bSchristos maskl. Implement logic for zero-overhead loops. Don't try to 993*4b169a6bSchristos interpret garbage when getting a SIGBUS at insn fetch. 994*4b169a6bSchristos (sim_open): Call init_dsp. 995*4b169a6bSchristos * gencode.c (tab): Use SET_NIP instead of nia = . Use PH2T / PT2H / 996*4b169a6bSchristos RAISE_EXCEPTION where appropriate. 997*4b169a6bSchristos Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr. 998*4b169a6bSchristos 999*4b169a6bSchristos * interp.c (sim_store_register, sim_fetch_register): 1000*4b169a6bSchristos Do proper endianness switch. 1001*4b169a6bSchristos 1002*4b169a6bSchristos * interp.c (saved_state_type): New members for struct member asregs: 1003*4b169a6bSchristos xymem_select, xmem, ymem, xmem_offset, ymem_offset. 1004*4b169a6bSchristos (special_address): Delete. 1005*4b169a6bSchristos (BUSERROR): Now a two-argument predicate. 1006*4b169a6bSchristos (PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros. 1007*4b169a6bSchristos (wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete. 1008*4b169a6bSchristos (process_wlat_addr, process_wwat_addr): New functions. 1009*4b169a6bSchristos (process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise. 1010*4b169a6bSchristos (process_rbat_addr): Likewise. 1011*4b169a6bSchristos (wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR. 1012*4b169a6bSchristos (rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete. 1013*4b169a6bSchristos (rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR. 1014*4b169a6bSchristos (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions. 1015*4b169a6bSchristos (do_rdat, trap): Delete SLOW code. 1016*4b169a6bSchristos (SEXT32, SIGN32): New macros. 1017*4b169a6bSchristos (swap, swap16): Now integer in - integer out. Changed all callers. 1018*4b169a6bSchristos (strswaplen, strnswap): Delete SLOW versions. 1019*4b169a6bSchristos (init_pointers): Initialize dsp memory selection (preliminary). 1020*4b169a6bSchristos (sim_store_register, sim_fetch_register): Use swap instead of 1021*4b169a6bSchristos big / little endian read / write functions. 1022*4b169a6bSchristos 1023*4b169a6bSchristos * interp.c (maskl): Deleted. 1024*4b169a6bSchristos (endianw, endianb): New variables. 1025*4b169a6bSchristos (special_address): Now inline. 1026*4b169a6bSchristos (bp_holder): Put raising of buserror there, rename to: 1027*4b169a6bSchristos (raise_buserror). 1028*4b169a6bSchristos (BUSERROR): Now yields a value. Changed all users. 1029*4b169a6bSchristos (wbat_big): Delete. 1030*4b169a6bSchristos (wlat_fast, wwat_fast, wbat_fast): New functions. 1031*4b169a6bSchristos (rlat_fast, rwat_fast, rbat_fast): Likewise. 1032*4b169a6bSchristos (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions. 1033*4b169a6bSchristos (do_rdat, do_wdat): Likewise. Take maskl argument instead of 1034*4b169a6bSchristos little_endian one. Changed caller macros. 1035*4b169a6bSchristos (swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly. 1036*4b169a6bSchristos (strswaplen, strnswap): New functions. 1037*4b169a6bSchristos (trap): Use them to fix up endian mismatches; 1038*4b169a6bSchristos disable SYS_execve and SYS_execv; fix double address translation for 1039*4b169a6bSchristos SYS_pipe and SYS_stat. 1040*4b169a6bSchristos (sym_write, sym_read): Add endianness translation. 1041*4b169a6bSchristos (sym_store_register, sym_fetch_register): Add maskl local variable. 1042*4b169a6bSchristos (sim_open): Set endianw and endianb. 1043*4b169a6bSchristos 1044*4b169a6bSchristosThu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> 1045*4b169a6bSchristos 1046*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1047*4b169a6bSchristos 1048*4b169a6bSchristosWed Aug 25 07:55:23 1999 Brendan Kehoe <brendan@cygnus.com> 1049*4b169a6bSchristos 1050*4b169a6bSchristos * gencode.c (fcnvds <DR_N>,FPUL): Rewrite to use a local anonymous 1051*4b169a6bSchristos union type, instead of casting to an int* then a float*. 1052*4b169a6bSchristos (fcnvsd FPUL,<DR_N>): Likewise. 1053*4b169a6bSchristos (flds <FREG_N>,FPUL): Likewise. 1054*4b169a6bSchristos (fsts FPUL,<FREG_N>): Likewise. 1055*4b169a6bSchristos 1056*4b169a6bSchristos1999-05-08 Felix Lee <flee@cygnus.com> 1057*4b169a6bSchristos 1058*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1059*4b169a6bSchristos 1060*4b169a6bSchristos1999-04-02 Keith Seitz <keiths@cygnus.com> 1061*4b169a6bSchristos 1062*4b169a6bSchristos * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the 1063*4b169a6bSchristos frequency at which the poll_quit callback is called. 1064*4b169a6bSchristos (sim_resume): Use POLL_QUIT_INTERVAL instead of a 1065*4b169a6bSchristos hard-coded value. 1066*4b169a6bSchristos 1067*4b169a6bSchristosThu Sep 10 02:16:39 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1068*4b169a6bSchristos 1069*4b169a6bSchristos * interp.c (saved_state.asregs): Add new member pad_dummy. 1070*4b169a6bSchristos (sim_store_register, sim_fetch_regsiter): Add 1 to rn for use 1071*4b169a6bSchristos as index into saved_state.asints. 1072*4b169a6bSchristos 1073*4b169a6bSchristosMon Jun 29 19:35:24 1998 Jason Molenda (crash@bugshack.cygnus.com) 1074*4b169a6bSchristos 1075*4b169a6bSchristos * interp.c (sim_open): set endianness based on the ABFD if a -E 1076*4b169a6bSchristos option is not present and we have an ABFD. 1077*4b169a6bSchristos 1078*4b169a6bSchristosTue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> 1079*4b169a6bSchristos 1080*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1081*4b169a6bSchristos 1082*4b169a6bSchristosSun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> 1083*4b169a6bSchristos 1084*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1085*4b169a6bSchristos * config.in: Ditto. 1086*4b169a6bSchristos 1087*4b169a6bSchristosSun Apr 26 15:19:48 1998 Tom Tromey <tromey@cygnus.com> 1088*4b169a6bSchristos 1089*4b169a6bSchristos * acconfig.h: New file. 1090*4b169a6bSchristos * configure.in: Reverted change of Apr 24; use sinclude again. 1091*4b169a6bSchristos 1092*4b169a6bSchristosFri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> 1093*4b169a6bSchristos 1094*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1095*4b169a6bSchristos * config.in: Ditto. 1096*4b169a6bSchristos 1097*4b169a6bSchristosFri Apr 24 11:18:35 1998 Tom Tromey <tromey@cygnus.com> 1098*4b169a6bSchristos 1099*4b169a6bSchristos * configure.in: Don't call sinclude. 1100*4b169a6bSchristos 1101*4b169a6bSchristosSat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> 1102*4b169a6bSchristos 1103*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1104*4b169a6bSchristos 1105*4b169a6bSchristosFri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> 1106*4b169a6bSchristos 1107*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1108*4b169a6bSchristos 1109*4b169a6bSchristosWed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> 1110*4b169a6bSchristos 1111*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1112*4b169a6bSchristos 1113*4b169a6bSchristosWed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> 1114*4b169a6bSchristos 1115*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1116*4b169a6bSchristos 1117*4b169a6bSchristosTue Feb 17 12:49:44 1998 Andrew Cagney <cagney@b1.cygnus.com> 1118*4b169a6bSchristos 1119*4b169a6bSchristos * interp.c (sim_fetch_register, sim_store_register): Pass in 1120*4b169a6bSchristos length parameter. Return -1. 1121*4b169a6bSchristos 1122*4b169a6bSchristosSun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> 1123*4b169a6bSchristos 1124*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1125*4b169a6bSchristos 1126*4b169a6bSchristosSat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> 1127*4b169a6bSchristos 1128*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1129*4b169a6bSchristos 1130*4b169a6bSchristosMon Jan 19 22:26:29 1998 Doug Evans <devans@seba> 1131*4b169a6bSchristos 1132*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1133*4b169a6bSchristos 1134*4b169a6bSchristosMon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> 1135*4b169a6bSchristos 1136*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1137*4b169a6bSchristos * config.in: Ditto. 1138*4b169a6bSchristos 1139*4b169a6bSchristosThu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> 1140*4b169a6bSchristos 1141*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1142*4b169a6bSchristos 1143*4b169a6bSchristosWed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 1144*4b169a6bSchristos 1145*4b169a6bSchristos * interp.c (sim_load): Pass lma_p and sim_write args to 1146*4b169a6bSchristos sim_load_file. 1147*4b169a6bSchristos 1148*4b169a6bSchristosFri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 1149*4b169a6bSchristos 1150*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1151*4b169a6bSchristos 1152*4b169a6bSchristosWed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> 1153*4b169a6bSchristos 1154*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1155*4b169a6bSchristos 1156*4b169a6bSchristosTue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> 1157*4b169a6bSchristos 1158*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1159*4b169a6bSchristos 1160*4b169a6bSchristosMon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> 1161*4b169a6bSchristos 1162*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1163*4b169a6bSchristos 1164*4b169a6bSchristosFri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> 1165*4b169a6bSchristos 1166*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1167*4b169a6bSchristos 1168*4b169a6bSchristosMon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> 1169*4b169a6bSchristos 1170*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1171*4b169a6bSchristos 1172*4b169a6bSchristosTue Sep 9 20:52:21 1997 Felix Lee <flee@cygnus.com> 1173*4b169a6bSchristos 1174*4b169a6bSchristos * interp.c (sim_resume): poll_quit() at least once per call; 1175*4b169a6bSchristos otherwise gdb can loop sim_resume() uninterruptably. 1176*4b169a6bSchristos 1177*4b169a6bSchristosThu Sep 4 17:21:23 1997 Doug Evans <dje@seba> 1178*4b169a6bSchristos 1179*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1180*4b169a6bSchristos 1181*4b169a6bSchristosTue Sep 2 13:15:27 1997 Andrew Cagney <cagney@b1.cygnus.com> 1182*4b169a6bSchristos 1183*4b169a6bSchristos * gencode.c (tab): Order instructions according to SH3 document. 1184*4b169a6bSchristos 1185*4b169a6bSchristosWed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> 1186*4b169a6bSchristos 1187*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1188*4b169a6bSchristos * config.in: Ditto. 1189*4b169a6bSchristos 1190*4b169a6bSchristosTue Aug 26 10:41:55 1997 Andrew Cagney <cagney@b1.cygnus.com> 1191*4b169a6bSchristos 1192*4b169a6bSchristos * interp.c (sim_kill): Delete. 1193*4b169a6bSchristos (sim_create_inferior): Add ABFD argument. 1194*4b169a6bSchristos (sim_load): Move setting of PC from here. 1195*4b169a6bSchristos (sim_create_inferior): To here. 1196*4b169a6bSchristos 1197*4b169a6bSchristosMon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> 1198*4b169a6bSchristos 1199*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1200*4b169a6bSchristos * config.in: Ditto. 1201*4b169a6bSchristos 1202*4b169a6bSchristosMon Aug 25 16:17:51 1997 Andrew Cagney <cagney@b1.cygnus.com> 1203*4b169a6bSchristos 1204*4b169a6bSchristos * interp.c (sim_open): Add ABFD argument. 1205*4b169a6bSchristos 1206*4b169a6bSchristosMon Jun 23 15:49:14 1997 Andrew Cagney <cagney@b1.cygnus.com> 1207*4b169a6bSchristos 1208*4b169a6bSchristos * interp.c (get_dr): Avoid SIGFPE by moving integers instead of 1209*4b169a6bSchristos FP's around. 1210*4b169a6bSchristos (set_dr): Ditto. 1211*4b169a6bSchristos 1212*4b169a6bSchristosMon Jun 23 15:02:40 1997 Andrew Cagney <cagney@b1.cygnus.com> 1213*4b169a6bSchristos 1214*4b169a6bSchristos * interp.c (XD, SET_XD): Delete. 1215*4b169a6bSchristos (XF, SET_XF, XD_TO_XF): Define, move around registers in either 1216*4b169a6bSchristos FP bank. 1217*4b169a6bSchristos 1218*4b169a6bSchristos * gencode.c (fmov): Update. 1219*4b169a6bSchristos 1220*4b169a6bSchristosSun Jun 22 19:33:33 1997 Andrew Cagney <cagney@b1.cygnus.com> 1221*4b169a6bSchristos 1222*4b169a6bSchristos * interp.c (set_fpscr1): From J"orn Rennecke 1223*4b169a6bSchristos <amylaar@cygnus.co.uk>, Fix typo. Ditto for comment. 1224*4b169a6bSchristos 1225*4b169a6bSchristosTue Aug 12 00:19:11 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1226*4b169a6bSchristos 1227*4b169a6bSchristos * interp.c (special_address): New function. 1228*4b169a6bSchristos (BUSERROR): Call it. Added parameters bits_written and data. 1229*4b169a6bSchristos Changed all callers. 1230*4b169a6bSchristos * gencode.c (tab): Fixed ocbwb and pref. 1231*4b169a6bSchristos 1232*4b169a6bSchristosFri Jun 20 22:03:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1233*4b169a6bSchristos 1234*4b169a6bSchristos * interp.c (do_wdat, do_wdat): Fix bug in register number calculation. 1235*4b169a6bSchristos 1236*4b169a6bSchristosThu Jun 19 00:28:08 1997 Andrew Cagney <cagney@b1.cygnus.com> 1237*4b169a6bSchristos 1238*4b169a6bSchristos * interp.c (sim_create_inferior): Clear registers each time an 1239*4b169a6bSchristos inferior is started. 1240*4b169a6bSchristos 1241*4b169a6bSchristosMon Jun 16 14:01:55 1997 Andrew Cagney <cagney@b1.cygnus.com> 1242*4b169a6bSchristos 1243*4b169a6bSchristos * interp.c (*FP, FP_OP, FP_CMP, FP_UNARY): Provide a hook for 1244*4b169a6bSchristos when a host doesn't support IEEE FP. 1245*4b169a6bSchristos (*DP): Provide alternative definition that supports 64bit floating 1246*4b169a6bSchristos point. 1247*4b169a6bSchristos (target_little_endian): Combine little_endian and little_endian_p. 1248*4b169a6bSchristos (saved_state_type): Make fpscr and sr simple integers. 1249*4b169a6bSchristos (SET_FPSCR, GET_FPSCR): Use macros to update fpscr register. 1250*4b169a6bSchristos (set_fpscr1): New function. Handle swapping when PR / FR bits 1251*4b169a6bSchristos changed. Call via *_FPSCR macro. 1252*4b169a6bSchristos (SET_SR*, GET_SR*): Use macro's to access the SR bits - avoids 1253*4b169a6bSchristos endian problems. 1254*4b169a6bSchristos 1255*4b169a6bSchristos * gencode.c (tab): Update. 1256*4b169a6bSchristos 1257*4b169a6bSchristosSun Jun 15 15:22:52 1997 Andrew Cagney <cagney@b1.cygnus.com> 1258*4b169a6bSchristos 1259*4b169a6bSchristos * gencode.c (main): Perform basic checks on tab entries. 1260*4b169a6bSchristos 1261*4b169a6bSchristos * Makefile.in (gencode): Always compile with -g. 1262*4b169a6bSchristos 1263*4b169a6bSchristosSat Jun 14 13:45:09 1997 Andrew Cagney <cagney@b1.cygnus.com> 1264*4b169a6bSchristos 1265*4b169a6bSchristos * gencode.c (gensim): Move ref checking code to before `stuff'. 1266*4b169a6bSchristos For branches with delay slots refs were not being checked. 1267*4b169a6bSchristos 1268*4b169a6bSchristos * interp.c (sim_resume): Use nia to specify the next instruction 1269*4b169a6bSchristos address instead of overloading pc. 1270*4b169a6bSchristos (C): Delete definiton - refer to cycles directly. 1271*4b169a6bSchristos (SEXT12): New macro - sign extend a 12 bit quantity. 1272*4b169a6bSchristos (Delay_Slot): Rename from SL. 1273*4b169a6bSchristos 1274*4b169a6bSchristos * gencode.c (tab): Update/simplify. 1275*4b169a6bSchristos 1276*4b169a6bSchristos * gencode.c (gensim): Better formatting of output code. 1277*4b169a6bSchristos (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15. 1278*4b169a6bSchristos (tab): Sort alphabetically. Break `stuff' into multiple lines. 1279*4b169a6bSchristos 1280*4b169a6bSchristosFri Jun 13 22:10:13 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1281*4b169a6bSchristos 1282*4b169a6bSchristos * gencode.c (braf, bsrf): Fix branch destination calculation to 1283*4b169a6bSchristos be in accordance with the documentation. 1284*4b169a6bSchristos 1285*4b169a6bSchristosFri Jun 13 15:33:53 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1286*4b169a6bSchristos 1287*4b169a6bSchristos * interp.c (init_pointers): Fix little endian test. 1288*4b169a6bSchristos 1289*4b169a6bSchristosThu Jun 5 12:56:08 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1290*4b169a6bSchristos 1291*4b169a6bSchristos * interp.c (init_pointers): SH4 hardware is always WORDS_BIT_ENDIAN. 1292*4b169a6bSchristos * gencode (fmov from/to memory): take endian_mismatch into account 1293*4b169a6bSchristos for 32 bit moves too. 1294*4b169a6bSchristos 1295*4b169a6bSchristosWed May 28 23:42:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1296*4b169a6bSchristos 1297*4b169a6bSchristos * gencode.c (swap.b): Fix treatment of high word. 1298*4b169a6bSchristos 1299*4b169a6bSchristosWed May 28 23:42:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1300*4b169a6bSchristos 1301*4b169a6bSchristos * sh/gencode.c, 1302*4b169a6bSchristos * interp.c: experimental SH4 support. 1303*4b169a6bSchristos DFmode moves are probaly broken for target little endian. 1304*4b169a6bSchristos 1305*4b169a6bSchristosTue May 20 10:23:28 1997 Andrew Cagney <cagney@b1.cygnus.com> 1306*4b169a6bSchristos 1307*4b169a6bSchristos * interp.c (sim_open): Add callback argument. 1308*4b169a6bSchristos (sim_set_callbacks): Delete SIM_DESC argument. 1309*4b169a6bSchristos 1310*4b169a6bSchristosWed Apr 30 11:38:08 1997 Doug Evans <dje@canuck.cygnus.com> 1311*4b169a6bSchristos 1312*4b169a6bSchristos * Makefile.in (SIM_EXTRA_CLEAN): Define. 1313*4b169a6bSchristos (clean targets): Delete. 1314*4b169a6bSchristos (sh-clean): New target. 1315*4b169a6bSchristos 1316*4b169a6bSchristosThu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> 1317*4b169a6bSchristos 1318*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1319*4b169a6bSchristos 1320*4b169a6bSchristosWed Apr 23 17:55:22 1997 Doug Evans <dje@canuck.cygnus.com> 1321*4b169a6bSchristos 1322*4b169a6bSchristos * tconfig.in: New file. 1323*4b169a6bSchristos * interp.c (sim_open): Handle missing arg to -E. 1324*4b169a6bSchristos 1325*4b169a6bSchristosTue Apr 22 08:55:35 1997 Stu Grossman (grossman@critters.cygnus.com) 1326*4b169a6bSchristos 1327*4b169a6bSchristos * Makefile.in: Add clean targets. 1328*4b169a6bSchristos 1329*4b169a6bSchristosFri Apr 18 18:57:04 1997 Stu Grossman (grossman@critters.cygnus.com) 1330*4b169a6bSchristos 1331*4b169a6bSchristos * interp.c: Include float.h and define SIGTRAP if _WIN32. 1332*4b169a6bSchristos WIN32 -> _WIN32. 1333*4b169a6bSchristos * (trap): Do do SYS_chown for _WIN32. 1334*4b169a6bSchristos 1335*4b169a6bSchristosFri Apr 18 13:33:09 1997 Doug Evans <dje@canuck.cygnus.com> 1336*4b169a6bSchristos 1337*4b169a6bSchristos * interp.c (sim_resume): Fix argument to poll_quit. 1338*4b169a6bSchristos 1339*4b169a6bSchristosFri Apr 18 14:14:49 1997 Andrew Cagney <cagney@b1.cygnus.com> 1340*4b169a6bSchristos 1341*4b169a6bSchristos * interp.c (sim_stop): New function. 1342*4b169a6bSchristos (sim_resume): Use poll_quit for polling. 1343*4b169a6bSchristos 1344*4b169a6bSchristosThu Apr 17 03:32:04 1997 Doug Evans <dje@canuck.cygnus.com> 1345*4b169a6bSchristos 1346*4b169a6bSchristos * Makefile.in (SIM_OBJS): Add sim-load.o. 1347*4b169a6bSchristos * interp.c (target_byte_order): Delete. 1348*4b169a6bSchristos (sim_kind, myname, little_endian_p): New static locals. 1349*4b169a6bSchristos (init_pointers): Use little_endian_p instead of target_byte_order. 1350*4b169a6bSchristos (sim_resume): Likewise. 1351*4b169a6bSchristos (sim_open): Set sim_kind, myname. Set little_endian_p from -E arg. 1352*4b169a6bSchristos (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to 1353*4b169a6bSchristos load file into simulator. Set start address from bfd. 1354*4b169a6bSchristos (sim_create_inferior): Return SIM_RC. Delete arg start_address. 1355*4b169a6bSchristos 1356*4b169a6bSchristosMon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1357*4b169a6bSchristos 1358*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1359*4b169a6bSchristos * config.in: Ditto. 1360*4b169a6bSchristos 1361*4b169a6bSchristosWed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> 1362*4b169a6bSchristos 1363*4b169a6bSchristos * interp.c (sim_open): New arg `kind'. 1364*4b169a6bSchristos 1365*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1366*4b169a6bSchristos 1367*4b169a6bSchristosWed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1368*4b169a6bSchristos 1369*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1370*4b169a6bSchristos 1371*4b169a6bSchristosWed Mar 19 09:34:36 1997 Fred Fish <fnf@cygnus.com> 1372*4b169a6bSchristos 1373*4b169a6bSchristos * interp.c (sim_do_command): Check for NULL command or empty 1374*4b169a6bSchristos string and handle it the same as a "help" command. Use callback 1375*4b169a6bSchristos to print error message for unrecognized commands. Replace 1376*4b169a6bSchristos hardcoded tab in literal string with a \t. Other minor code 1377*4b169a6bSchristos cleanup. 1378*4b169a6bSchristos 1379*4b169a6bSchristosWed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1380*4b169a6bSchristos 1381*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1382*4b169a6bSchristos 1383*4b169a6bSchristosMon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1384*4b169a6bSchristos 1385*4b169a6bSchristos * configure: Re-generate. 1386*4b169a6bSchristos 1387*4b169a6bSchristosFri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> 1388*4b169a6bSchristos 1389*4b169a6bSchristos * configure: Regenerate to track ../common/aclocal.m4 changes. 1390*4b169a6bSchristos 1391*4b169a6bSchristosThu Mar 13 13:00:00 1997 Doug Evans <dje@canuck.cygnus.com> 1392*4b169a6bSchristos 1393*4b169a6bSchristos * interp.c (sim_open): New SIM_DESC result. Argument is now 1394*4b169a6bSchristos in argv form. 1395*4b169a6bSchristos (other sim_*): New SIM_DESC argument. 1396*4b169a6bSchristos 1397*4b169a6bSchristosTue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> 1398*4b169a6bSchristos 1399*4b169a6bSchristos * Makefile.in (@COMMON_MAKEFILE_FRAG): Use 1400*4b169a6bSchristos COMMON_{PRE,POST}_CONFIG_FRAG instead. 1401*4b169a6bSchristos * configure.in: sinclude ../common/aclocal.m4. 1402*4b169a6bSchristos * configure: Regenerated. 1403*4b169a6bSchristos 1404*4b169a6bSchristosThu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) 1405*4b169a6bSchristos 1406*4b169a6bSchristos * configure configure.in Makefile.in: Update to new configure 1407*4b169a6bSchristos scheme which is more compatible with WinGDB builds. 1408*4b169a6bSchristos * configure.in: Improve comment on how to run autoconf. 1409*4b169a6bSchristos * configure: Re-run autoconf to get new ../common/aclocal.m4. 1410*4b169a6bSchristos * Makefile.in: Use autoconf substitution to install common 1411*4b169a6bSchristos makefile fragment. 1412*4b169a6bSchristos 1413*4b169a6bSchristosWed Nov 20 02:04:32 1996 Doug Evans <dje@canuck.cygnus.com> 1414*4b169a6bSchristos 1415*4b169a6bSchristos * Makefile.in: Delete stuff moved to ../common/Make-common.in. 1416*4b169a6bSchristos (SIM_OBJS,SIM_EXTRA_LIBS): Define. 1417*4b169a6bSchristos * configure.in: Simplify using macros in ../common/aclocal.m4. 1418*4b169a6bSchristos Call AC_CHECK_HEADERS(unistd.h). 1419*4b169a6bSchristos * configure: Regenerated. 1420*4b169a6bSchristos * config.in: New file. 1421*4b169a6bSchristos * interp.c: #include "config.h". #include <unistd.h> if present. 1422*4b169a6bSchristos (trap): Fetch errno value with callback->get_errno. 1423*4b169a6bSchristos 1424*4b169a6bSchristosTue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com> 1425*4b169a6bSchristos 1426*4b169a6bSchristos * interp.c: Don't include windows polling code if inside simluator. 1427*4b169a6bSchristos 1428*4b169a6bSchristosFri Sep 20 14:57:50 1996 Stan Shebs <shebs@andros.cygnus.com> 1429*4b169a6bSchristos 1430*4b169a6bSchristos * interp.c: Minor formatting improvements. 1431*4b169a6bSchristos (saved_state_type): Add bank registers. 1432*4b169a6bSchristos (bp_holder): New function, use to break on when debugging BUSERROR. 1433*4b169a6bSchristos (BUSERROR): Call it if bus error occurs. 1434*4b169a6bSchristos 1435*4b169a6bSchristosWed Jun 26 12:29:22 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 1436*4b169a6bSchristos 1437*4b169a6bSchristos * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 1438*4b169a6bSchristos INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. 1439*4b169a6bSchristos (docdir): Removed. 1440*4b169a6bSchristos * configure.in (AC_PREREQ): autoconf 2.5 or higher. 1441*4b169a6bSchristos (AC_PROG_INSTALL): Added. 1442*4b169a6bSchristos * configure: Rebuilt. 1443*4b169a6bSchristos 1444*4b169a6bSchristosThu May 16 15:44:29 1996 Ian Lance Taylor <ian@cygnus.com> 1445*4b169a6bSchristos 1446*4b169a6bSchristos * interp.c (saved_state_type): Add memstalls field. 1447*4b169a6bSchristos (MA) Define macro. 1448*4b169a6bSchristos (sim_resume): New local variable memstalls. Add it back in to 1449*4b169a6bSchristos saved_state at the end of the function. 1450*4b169a6bSchristos (sim_info): Report memstalls. 1451*4b169a6bSchristos * gencode.c (tab): Add MA() to the execution string of all 1452*4b169a6bSchristos instructions which access memory. 1453*4b169a6bSchristos 1454*4b169a6bSchristosWed Feb 21 12:16:41 1996 Ian Lance Taylor <ian@cygnus.com> 1455*4b169a6bSchristos 1456*4b169a6bSchristos * configure: Regenerate with autoconf 2.7. 1457*4b169a6bSchristos 1458*4b169a6bSchristosTue Dec 5 16:38:55 1995 Stu Grossman (grossman@cygnus.com) 1459*4b169a6bSchristos 1460*4b169a6bSchristos * gencode.c (mac.l): Don't abort GDB if executing mac.l 1461*4b169a6bSchristos instruction (which is unimplemented). Generate a SIGTRAP (in the 1462*4b169a6bSchristos simulated target) instead. 1463*4b169a6bSchristos 1464*4b169a6bSchristosMon Dec 4 12:22:24 1995 J.T. Conklin <jtc@rtl.cygnus.com> 1465*4b169a6bSchristos 1466*4b169a6bSchristos * gencode.c (tab): Added several sh3 opcodes. 1467*4b169a6bSchristos (think): Added printonmatch for A_SSR and A_SPC. 1468*4b169a6bSchristos * interp.c (SSR, SPC): Added definitions. 1469*4b169a6bSchristos (saved_state_type): Added ssr and spc registers. 1470*4b169a6bSchristos 1471*4b169a6bSchristosWed Nov 29 12:39:27 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1472*4b169a6bSchristos 1473*4b169a6bSchristos * gencode.c (tab): In shad/shld definitions, negate R[m] before 1474*4b169a6bSchristos the and operation instead of after. For shad delete cast. For shld 1475*4b169a6bSchristos use UR instead of R and delete cast. 1476*4b169a6bSchristos 1477*4b169a6bSchristosFri Nov 17 12:48:55 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1478*4b169a6bSchristos 1479*4b169a6bSchristos * gencode.c (tab): Add explicit NaN support for ftrc instruction. 1480*4b169a6bSchristos 1481*4b169a6bSchristosWed Nov 15 11:25:27 1995 Stu Grossman (grossman@cygnus.com) 1482*4b169a6bSchristos 1483*4b169a6bSchristos * interp.c: Make target_byte_order be extern to prevent SGI cc from 1484*4b169a6bSchristos issuing warnings about the use of common symbols. 1485*4b169a6bSchristos 1486*4b169a6bSchristosTue Nov 14 15:19:43 1995 Stu Grossman (grossman@cygnus.com) 1487*4b169a6bSchristos 1488*4b169a6bSchristos * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts 1489*4b169a6bSchristos actually uses pr+0. 1490*4b169a6bSchristos 1491*4b169a6bSchristosSat Oct 21 13:01:18 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1492*4b169a6bSchristos 1493*4b169a6bSchristos * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate 1494*4b169a6bSchristos program exited. 1495*4b169a6bSchristos (sim_get_quit_code): Delete. 1496*4b169a6bSchristos 1497*4b169a6bSchristos * gencode.c (gensim): Indicate SIGILL instead of calling abort for 1498*4b169a6bSchristos default case. 1499*4b169a6bSchristos 1500*4b169a6bSchristosMon Oct 16 18:24:03 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1501*4b169a6bSchristos 1502*4b169a6bSchristos * interp.c (saved_state_type): Move FP registers to immediately 1503*4b169a6bSchristos after SR. 1504*4b169a6bSchristos 1505*4b169a6bSchristosTue Oct 10 11:12:15 1995 Fred Fish <fnf@cygnus.com> 1506*4b169a6bSchristos 1507*4b169a6bSchristos * Makefile.in (BISON): Remove macro. 1508*4b169a6bSchristos 1509*4b169a6bSchristosFri Oct 6 12:08:18 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1510*4b169a6bSchristos 1511*4b169a6bSchristos * interp.c (trap, case SYS_utime): Cast second arg of utime to 1512*4b169a6bSchristos void * to avoid compiler error. 1513*4b169a6bSchristos 1514*4b169a6bSchristos * interp.c (callback): Remove last change. It is initialized by 1515*4b169a6bSchristos a sim_set_callbacks call. 1516*4b169a6bSchristos 1517*4b169a6bSchristosThu Oct 5 14:13:29 1995 steve chamberlain <sac@slash.cygnus.com> 1518*4b169a6bSchristos 1519*4b169a6bSchristos * interp.c (callback): Initialize to default callback. 1520*4b169a6bSchristos 1521*4b169a6bSchristosThu Sep 28 15:26:59 1995 steve chamberlain <sac@slash.cygnus.com> 1522*4b169a6bSchristos 1523*4b169a6bSchristos * run.c: Moved to ../common. 1524*4b169a6bSchristos * interp.c (trap): Use gdb's callback interface. 1525*4b169a6bSchristos * Makefile.in: Updated. 1526*4b169a6bSchristos 1527*4b169a6bSchristosWed Sep 20 13:35:13 1995 Ian Lance Taylor <ian@cygnus.com> 1528*4b169a6bSchristos 1529*4b169a6bSchristos * Makefile.in (maintainer-clean): New synonym for realclean. 1530*4b169a6bSchristos 1531*4b169a6bSchristosWed Sep 20 09:51:50 1995 steve chamberlain <sac@slash.cygnus.com> 1532*4b169a6bSchristos 1533*4b169a6bSchristos * run.c (sim_callback_write_stdout): New. 1534*4b169a6bSchristos * interp.c (trap): Call sim_callback_write_stdout when needed. 1535*4b169a6bSchristos 1536*4b169a6bSchristosMon Sep 18 18:42:27 1995 steve chamberlain <sac@slash.cygnus.com> 1537*4b169a6bSchristos 1538*4b169a6bSchristos * interp.c (trap): Remove useless code. 1539*4b169a6bSchristos 1540*4b169a6bSchristosFri Sep 15 19:30:05 1995 steve chamberlain <sac@slash.cygnus.com> 1541*4b169a6bSchristos 1542*4b169a6bSchristos * syscall.h: Copy from newlib. 1543*4b169a6bSchristos 1544*4b169a6bSchristosThu Sep 14 19:32:59 1995 Stu Grossman (grossman@cygnus.com) 1545*4b169a6bSchristos 1546*4b169a6bSchristos * gencode.c: Back up PC by 2 for breakpoints. 1547*4b169a6bSchristos * interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB, 1548*4b169a6bSchristos which expect pc to immediately follow regs[]. 1549*4b169a6bSchristos 1550*4b169a6bSchristosFri Sep 8 14:18:13 1995 Ian Lance Taylor <ian@cygnus.com> 1551*4b169a6bSchristos 1552*4b169a6bSchristos * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL. 1553*4b169a6bSchristos * configure: Rebuild. 1554*4b169a6bSchristos * Makefile.in (INSTALL): Revert to using install.sh. 1555*4b169a6bSchristos (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). 1556*4b169a6bSchristos (INSTALL_XFORM, INSTALL_XFORM1): Restore. 1557*4b169a6bSchristos (CC_FOR_BUILD): Restore. 1558*4b169a6bSchristos (gencode): Build using $(CC_FOR_BUILD). 1559*4b169a6bSchristos (install): Don't install in $(tooldir). 1560*4b169a6bSchristos 1561*4b169a6bSchristosThu Sep 7 15:02:31 1995 J.T. Conklin <jtc@rtl.cygnus.com> 1562*4b169a6bSchristos 1563*4b169a6bSchristos (Try to) Update to new bfd autoconf scheme. 1564*4b169a6bSchristos * run.c: Don't include sysdep.h. 1565*4b169a6bSchristos * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value. 1566*4b169a6bSchristos (CC, CFLAGS, AR, RANLIB): Likewise. 1567*4b169a6bSchristos (HDEFINES, TDEFINES): Define. 1568*4b169a6bSchristos (CC_FOR_BUILD): Delete. 1569*4b169a6bSchristos (host_makefile_frag): Delete. 1570*4b169a6bSchristos (Makefile): Don't depend on frags. 1571*4b169a6bSchristos * configure.in (sysdep.h): Don't create symlink. 1572*4b169a6bSchristos (host_makefile_frag, frags): Deleted. 1573*4b169a6bSchristos (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values. 1574*4b169a6bSchristos * configure: Regenerated. 1575*4b169a6bSchristos 1576*4b169a6bSchristosThu Aug 31 12:39:07 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1577*4b169a6bSchristos 1578*4b169a6bSchristos * interp.c: Include <math.h>. 1579*4b169a6bSchristos 1580*4b169a6bSchristosWed Aug 30 22:05:17 1995 Jeff Law (law@snake.cs.utah.edu) 1581*4b169a6bSchristos 1582*4b169a6bSchristos * Makefile.in (run): Link in math library too. 1583*4b169a6bSchristos * gencode.c (gensim): abort if an unknown opcode is encountered. 1584*4b169a6bSchristos * interp.c (FPSCR, FPUL): Define. 1585*4b169a6bSchristos (struct save_state): Add fields for floating point registers, 1586*4b169a6bSchristos FPSCR and FPUL. 1587*4b169a6bSchristos (sim_resume): Add 'F' for accessing floating point registers 1588*4b169a6bSchristos in the save state structure. 1589*4b169a6bSchristos * gencode.c: Add sh3e opcodes. 1590*4b169a6bSchristos (gensym): Define a buffer for int<->fp conversions. 1591*4b169a6bSchristos 1592*4b169a6bSchristosTue Aug 22 14:16:46 1995 J.T. Conklin <jtc@rtl.cygnus.com> 1593*4b169a6bSchristos 1594*4b169a6bSchristos * interp.c (trap): Use trap vector 34 for host system interface. 1595*4b169a6bSchristos * gencode.c: Add 34 to conditional which determines which traps 1596*4b169a6bSchristos will be handled by simulator. 1597*4b169a6bSchristos 1598*4b169a6bSchristosFri Aug 11 17:59:15 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1599*4b169a6bSchristos 1600*4b169a6bSchristos * run.c: Include <signal.h>. Define SIGQUIT if not defined. 1601*4b169a6bSchristos (main): New variables reason and sigrc. After simulator exits, 1602*4b169a6bSchristos check to see if it exited because of a signal, and if so, then 1603*4b169a6bSchristos use the signal number as the return value. 1604*4b169a6bSchristos 1605*4b169a6bSchristosThu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com> 1606*4b169a6bSchristos 1607*4b169a6bSchristos * Update all FSF addresses except those in COPYING* files. 1608*4b169a6bSchristos 1609*4b169a6bSchristosTue Jul 18 23:33:10 1995 Fred Fish <fnf@fishbowl> 1610*4b169a6bSchristos 1611*4b169a6bSchristos * interp.c (trap): Only use SYS_execv if defined. Might be 1612*4b169a6bSchristos implemented as execve(arg1,arg2,0), as with Unixware 2.0. 1613*4b169a6bSchristos (sim_resume): In sbit initializer, cast shifted arg to unsigned 1614*4b169a6bSchristos to avoid signed integer overflow. 1615*4b169a6bSchristos 1616*4b169a6bSchristosWed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com> 1617*4b169a6bSchristos 1618*4b169a6bSchristos * Makefile.in (clean): Remove run, libsim.a. 1619*4b169a6bSchristos (distclean, mostlyclean, realclean): Remove Makefile and 1620*4b169a6bSchristos autoconf files. 1621*4b169a6bSchristos 1622*4b169a6bSchristos * sh.mt: Removed. 1623*4b169a6bSchristos 1624*4b169a6bSchristos * Makefile.in, configure.in: converted to autoconf. 1625*4b169a6bSchristos * configure: New file, generated with autconf 2.4. 1626*4b169a6bSchristos 1627*4b169a6bSchristosFri Jun 30 16:51:38 1995 Stan Shebs <shebs@andros.cygnus.com> 1628*4b169a6bSchristos 1629*4b169a6bSchristos * interp.c (sim_open): If argument supplied, interpret as 1630*4b169a6bSchristos desired memory size. 1631*4b169a6bSchristos (parse_and_set_memory_size): New function. 1632*4b169a6bSchristos (sim_do_command): New function. 1633*4b169a6bSchristos 1634*4b169a6bSchristosThu Jun 29 10:02:28 1995 Fred Fish <fnf@deneb.cygnus.com> 1635*4b169a6bSchristos 1636*4b169a6bSchristos * interp.c (SYS_wait): Define as SYS_wait4 if available and 1637*4b169a6bSchristos SYS_wait is not already defined (SunOS 4.1.3 for example). 1638*4b169a6bSchristos (SYS_utime): Define as SYS_utimes if available and 1639*4b169a6bSchristos SYS_utime is not already defined. 1640*4b169a6bSchristos 1641*4b169a6bSchristosThu Jun 22 17:25:57 1995 Steve Chamberlain <sac@slash.cygnus.com> 1642*4b169a6bSchristos 1643*4b169a6bSchristos * interp.c: Don't include sys/times.h or sys/param.h 1644*4b169a6bSchristos 1645*4b169a6bSchristosWed Jun 21 15:03:49 1995 Steve Chamberlain <sac@slash.cygnus.com> 1646*4b169a6bSchristos 1647*4b169a6bSchristos * interp.c (SIGBUS, SIGTERM): Define if not. 1648*4b169a6bSchristos (sim_memory_size): default to 2^19 on PCs. 1649*4b169a6bSchristos (sim_resume): Poll for quits on win32. 1650*4b169a6bSchristos 1651*4b169a6bSchristosWed May 24 16:22:48 1995 Jim Wilson <wilson@chestnut.cygnus.com> 1652*4b169a6bSchristos 1653*4b169a6bSchristos * gencode.c (op_tab): Add SH3 support. 1654*4b169a6bSchristos 1655*4b169a6bSchristosWed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com> 1656*4b169a6bSchristos 1657*4b169a6bSchristos * gencode.c (tab): Add bsrf and braf. 1658*4b169a6bSchristos 1659*4b169a6bSchristosMon Apr 24 15:09:49 1995 Jason Molenda (crash@cygnus.com) 1660*4b169a6bSchristos 1661*4b169a6bSchristos * configure.in: use ../../bfd/hosts/std-host.h, not 1662*4b169a6bSchristos ../bfd/hosts/std-host.h (which doesn't exist). 1663*4b169a6bSchristos 1664*4b169a6bSchristosMon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com> 1665*4b169a6bSchristos 1666*4b169a6bSchristos * run.c: parse arguments with getopt(). 1667*4b169a6bSchristos 1668*4b169a6bSchristosSun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com> 1669*4b169a6bSchristos 1670*4b169a6bSchristos * configure.in: Use ../../bfd/hosts/std-host.h if specific 1671*4b169a6bSchristos host unavailable. 1672*4b169a6bSchristos 1673*4b169a6bSchristosMon Jan 23 16:10:58 1995 Torbjorn Granlund <tege@rtl.cygnus.com> 1674*4b169a6bSchristos 1675*4b169a6bSchristos * interp.c (macw): Sign extend MACH at bit 10 for non-saturating case. 1676*4b169a6bSchristos 1677*4b169a6bSchristosSun Jan 22 13:55:36 1995 Torbjorn Granlund <tege@rtl.cygnus.com> 1678*4b169a6bSchristos 1679*4b169a6bSchristos * gencode.c (op_tab): Make MAC.W call macw, not abort. 1680*4b169a6bSchristos * interp.c (macw): New function. 1681*4b169a6bSchristos (S): New #define. 1682*4b169a6bSchristos 1683*4b169a6bSchristosSat Jan 21 15:52:30 1995 Torbjorn Granlund <tege@rtl.cygnus.com> 1684*4b169a6bSchristos 1685*4b169a6bSchristos * gencode.c (op_tab): New code for ADDV and SUBV. 1686*4b169a6bSchristos Make MAC.L abort sicne it is not implemented. 1687*4b169a6bSchristos 1688*4b169a6bSchristos * interp.c (dmul): Handle the signed case by adjusting after unsigned multiply. 1689*4b169a6bSchristos Get rid of __GNUC__ conditional. 1690*4b169a6bSchristos 1691*4b169a6bSchristosaThu Jan 19 05:50:50 1995 Torbjorn Granlund <tege@rtl.cygnus.com> 1692*4b169a6bSchristos 1693*4b169a6bSchristos * gencode.c (op_tab): Also replace NEGC, and try again with SUBC. 1694*4b169a6bSchristos Change ADDC for symmetry. 1695*4b169a6bSchristos 1696*4b169a6bSchristos * gencode.c (op_tab): Replace code for ADDC and SUBC. 1697*4b169a6bSchristos 1698*4b169a6bSchristosMon Jan 9 15:43:53 1995 Stu Grossman (grossman@cygnus.com) 1699*4b169a6bSchristos 1700*4b169a6bSchristos * interp.c: Remove def of INLINE. This comes from bfd.h. Also, 1701*4b169a6bSchristos declare IOMEM before using it. 1702*4b169a6bSchristos 1703*4b169a6bSchristosWed Dec 28 21:25:31 1994 Steve Chamberlain (sac@jonny.cygnus.com) 1704*4b169a6bSchristos 1705*4b169a6bSchristos * interp.c (BUSERROR): New macro. 1706*4b169a6bSchristos ([r|w][bwl]at[little|big]) New functions. 1707*4b169a6bSchristos (sim_resume): If GO32 check for interrupt every now 1708*4b169a6bSchristos and again. Decrement PC if SIGBUS seen. 1709*4b169a6bSchristos * run.c (main): Return result of simulated _exit. 1710*4b169a6bSchristos 1711*4b169a6bSchristosMon Dec 5 21:59:51 1994 Doug Evans <dje@canuck.cygnus.com> 1712*4b169a6bSchristos 1713*4b169a6bSchristos * Makefile.in (gencode): Allow build in different directory. 1714*4b169a6bSchristos 1715*4b169a6bSchristosWed Nov 30 17:47:13 1994 Jim Wilson <wilson@chestnut.cygnus.com> 1716*4b169a6bSchristos 1717*4b169a6bSchristos * Makefile.in (gencode): Change $< to gencode.c for portability. 1718*4b169a6bSchristos 1719*4b169a6bSchristosWed Nov 23 21:31:55 1994 Steve Chamberlain (sac@jonny.cygnus.com) 1720*4b169a6bSchristos 1721*4b169a6bSchristos * interp.c ([wr][bwl]at): New functions. 1722*4b169a6bSchristos (trap): Cope with both byte modes. 1723*4b169a6bSchristos 1724*4b169a6bSchristosThu Sep 8 17:35:07 1994 Steve Chamberlain (sac@jonny.cygnus.com) 1725*4b169a6bSchristos 1726*4b169a6bSchristos * gencode.c (tab): Simulate T bit after a negc insn right. 1727*4b169a6bSchristos * interp.c (RSBAT): Sign extend the arg. 1728*4b169a6bSchristos (ACE_FAST): New macro. 1729*4b169a6bSchristos (sim_resume): Remove obsolete test of sim_timeout. 1730*4b169a6bSchristos 1731*4b169a6bSchristosFri Aug 5 14:12:31 1994 Steve Chamberlain (sac@jonny.cygnus.com) 1732*4b169a6bSchristos 1733*4b169a6bSchristos * interp.c (IOMEM): New function, simulates very basic I/O area of 1734*4b169a6bSchristos the SH. 1735*4b169a6bSchristos (WBAT, RBAT) : Call I/O functions. 1736*4b169a6bSchristos * gencode.c (tab): Special case trapa #3. 1737*4b169a6bSchristos 1738*4b169a6bSchristosMon Jun 27 18:04:54 1994 Steve Chamberlain (sac@cirdan.cygnus.com) 1739*4b169a6bSchristos 1740*4b169a6bSchristos * run.c (main): Specify the file type again. 1741*4b169a6bSchristos 1742*4b169a6bSchristosThu May 26 19:04:37 1994 Steve Chamberlain (sac@thepub.cygnus.com) 1743*4b169a6bSchristos 1744*4b169a6bSchristos * interp.c (trap): Fix irix incompatibility. 1745*4b169a6bSchristos * run.c (main): open without specifying file type. 1746*4b169a6bSchristos 1747*4b169a6bSchristosWed May 18 14:18:53 1994 Doug Evans (dje@canuck.cygnus.com) 1748*4b169a6bSchristos 1749*4b169a6bSchristos * interp.c (sim_*): Make result void where there isn't one. 1750*4b169a6bSchristos (sim_set_pc): Delete. 1751*4b169a6bSchristos (sim_info): Delete printf_fn arg, all callers changed. 1752*4b169a6bSchristos Call printf_filtered instead. 1753*4b169a6bSchristos (sim_close): New function. 1754*4b169a6bSchristos (sim_load): New function. 1755*4b169a6bSchristos (sim_create_inferior): Renamed from sim_set_args, all callers changed. 1756*4b169a6bSchristos * run.c: #include <varargs.h>, "remote-sim.h". 1757*4b169a6bSchristos (printf_filtered): New function. 1758*4b169a6bSchristos 1759*4b169a6bSchristosWed Apr 27 12:03:48 1994 Steve Chamberlain (sac@cygnus.com) 1760*4b169a6bSchristos 1761*4b169a6bSchristos * gencode.c (table): Get direction of some opcodes right. 1762*4b169a6bSchristos (trapa, rte): Implement fully. 1763*4b169a6bSchristos * interp.c (trap): Make stat call more portable. 1764*4b169a6bSchristos 1765*4b169a6bSchristosFri Feb 11 21:59:38 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) 1766*4b169a6bSchristos 1767*4b169a6bSchristos * gencode.c (main, gendefines): New -d option prints table of defines. 1768*4b169a6bSchristos * interp.c (trap): Add a load of system calls. 1769*4b169a6bSchristos (sim_memory_size): Now default to 8Mbyte. 1770*4b169a6bSchristos (PARANOID): Keep vector of registers with undefined contents. 1771*4b169a6bSchristos 1772*4b169a6bSchristosMon Nov 15 14:37:18 1993 Steve Chamberlain (sac@jonny.cygnus.com) 1773*4b169a6bSchristos 1774*4b169a6bSchristos * gencode.c: mova uses aligned addresses 1775*4b169a6bSchristos * interp.c (trap): Return results in r0. 1776*4b169a6bSchristos 1777*4b169a6bSchristosTue Oct 26 10:38:55 1993 Doug Evans (dje@canuck.cygnus.com) 1778*4b169a6bSchristos 1779*4b169a6bSchristos * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb 1780*4b169a6bSchristos * interp.c: #include "remote-sim.h". 1781*4b169a6bSchristos (sim_resume): int result, new arg `siggnal'. 1782*4b169a6bSchristos (sim_write): Use SIM_ADDR for type of arg `addr'. 1783*4b169a6bSchristos (sim_read): Use SIM_ADDR for type of arg `addr'. 1784*4b169a6bSchristos Use unsigned char * for `buffer'. 1785*4b169a6bSchristos (sim_store_register): int result. 1786*4b169a6bSchristos (sim_fetch_register): Ditto. 1787*4b169a6bSchristos (sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'. 1788*4b169a6bSchristos (sim_set_pc): int result, use SIM_ADDR for type of arg `x'. 1789*4b169a6bSchristos (sim_info): int result, new args `verbose', `printf_fn'. 1790*4b169a6bSchristos (sim_kill): int result. 1791*4b169a6bSchristos (sim_open): int result, new arg `name'. 1792*4b169a6bSchristos * run.c: #include <stdio.h> 1793*4b169a6bSchristos (main): Update call to sim_info. 1794*4b169a6bSchristos 1795*4b169a6bSchristosSat Oct 23 15:09:29 1993 Doug Evans (dje@canuck.cygnus.com) 1796*4b169a6bSchristos 1797*4b169a6bSchristos * interp.c (sim_stop_signal): Result is now enum sim_stop. 1798*4b169a6bSchristos 1799*4b169a6bSchristosFri Oct 8 10:47:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) 1800*4b169a6bSchristos 1801*4b169a6bSchristos * gencode.c (table): Becomes unsigned. 1802*4b169a6bSchristos * interp.c (trap): Get right breakpoint SIGnum. (sim_write, 1803*4b169a6bSchristos sim_read): Return number of bytes copied. (sim_store_register): 1804*4b169a6bSchristos Value passed by reference. (sim_kill, sim_open, sim_set_args): New functions. 1805*4b169a6bSchristos 1806*4b169a6bSchristosTue Sep 7 16:24:13 1993 Stan Shebs (shebs@rtl.cygnus.com) 1807*4b169a6bSchristos 1808*4b169a6bSchristos * interp.c (sim_info): Fix small typo in printf string. 1809*4b169a6bSchristos 1810*4b169a6bSchristosThu Aug 5 11:37:48 1993 Stan Shebs (shebs@rtl.cygnus.com) 1811*4b169a6bSchristos 1812*4b169a6bSchristos * interp.c (sim_resume): Set memory after pointers inited. 1813*4b169a6bSchristos 1814*4b169a6bSchristosMon Aug 2 14:13:22 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) 1815*4b169a6bSchristos 1816*4b169a6bSchristos * interp.c (get_now): Use time system call. 1817*4b169a6bSchristos * Makefile.in: install correctly. 1818*4b169a6bSchristos 1819*4b169a6bSchristosTue Jul 6 10:30:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) 1820*4b169a6bSchristos 1821*4b169a6bSchristos * run.c (main), interp.c (sim_set_timeout): Remove timeout 1822*4b169a6bSchristos functionality. 1823*4b169a6bSchristos 1824*4b169a6bSchristosThu Jun 24 13:29:57 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) 1825*4b169a6bSchristos 1826*4b169a6bSchristos * Makefile.in: don't run indent everytime; also add a space in the 1827*4b169a6bSchristos includes 1828*4b169a6bSchristos 1829*4b169a6bSchristosThu Jun 17 18:30:42 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) 1830*4b169a6bSchristos 1831*4b169a6bSchristos * gencode.c: Fix some opcodes. 1832*4b169a6bSchristos * interp.c: Support for profiling and portability fixes. 1833*4b169a6bSchristos * run.c (main): Get profiling args. 1834*4b169a6bSchristos 1835*4b169a6bSchristosWed May 5 13:17:22 1993 Steve Chamberlain (sac@cygnus.com) 1836*4b169a6bSchristos 1837*4b169a6bSchristos * gencode.c (tab): Lint for sgi compiler 1838*4b169a6bSchristos * interp.c: Lint for sgi compiler. 1839*4b169a6bSchristos 1840*4b169a6bSchristosMon May 3 15:25:33 1993 Steve Chamberlain (sac@thepub.cygnus.com) 1841*4b169a6bSchristos 1842*4b169a6bSchristos * run.c (main): Support for resizing simulated RAM. 1843*4b169a6bSchristos * Makefile.in: Support for broken makes. 1844*4b169a6bSchristos * interp.c, gencode.c: Lint. 1845*4b169a6bSchristos 1846*4b169a6bSchristosMon Apr 26 18:01:10 1993 Steve Chamberlain (sac@thepub.cygnus.com) 1847*4b169a6bSchristos 1848*4b169a6bSchristos * created 1849