1*4b169a6bSchristos2021-06-27 Mike Frysinger <vapier@gentoo.org> 2*4b169a6bSchristos 3*4b169a6bSchristos * Makefile.in: Delete TERMCAP_LIB, READLINE_LIB, and READLINE_CFLAGS. 4*4b169a6bSchristos * aclocal.m4, configure, configure.ac: Removed. 5*4b169a6bSchristos 6*4b169a6bSchristos2021-06-22 Mike Frysinger <vapier@gentoo.org> 7*4b169a6bSchristos 8*4b169a6bSchristos * configure: Regenerate. 9*4b169a6bSchristos 10*4b169a6bSchristos2021-06-21 Mike Frysinger <vapier@gentoo.org> 11*4b169a6bSchristos 12*4b169a6bSchristos * aclocal.m4: Regenerate. 13*4b169a6bSchristos * configure: Regenerate. 14*4b169a6bSchristos 15*4b169a6bSchristos2021-06-21 Mike Frysinger <vapier@gentoo.org> 16*4b169a6bSchristos 17*4b169a6bSchristos * configure: Regenerate. 18*4b169a6bSchristos 19*4b169a6bSchristos2021-06-20 Mike Frysinger <vapier@gentoo.org> 20*4b169a6bSchristos 21*4b169a6bSchristos * configure.ac (SIM_AC_COMMON): Delete. 22*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 23*4b169a6bSchristos 24*4b169a6bSchristos2021-06-20 Mike Frysinger <vapier@gentoo.org> 25*4b169a6bSchristos 26*4b169a6bSchristos * aclocal.m4: Regenerate. 27*4b169a6bSchristos * configure: Regenerate. 28*4b169a6bSchristos 29*4b169a6bSchristos2021-06-19 Mike Frysinger <vapier@gentoo.org> 30*4b169a6bSchristos 31*4b169a6bSchristos * aclocal.m4: Regenerate. 32*4b169a6bSchristos * configure: Regenerate. 33*4b169a6bSchristos 34*4b169a6bSchristos2021-06-19 Mike Frysinger <vapier@gentoo.org> 35*4b169a6bSchristos 36*4b169a6bSchristos * configure: Regenerate. 37*4b169a6bSchristos 38*4b169a6bSchristos2021-06-18 Mike Frysinger <vapier@gentoo.org> 39*4b169a6bSchristos 40*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 41*4b169a6bSchristos 42*4b169a6bSchristos2021-06-18 Mike Frysinger <vapier@gentoo.org> 43*4b169a6bSchristos 44*4b169a6bSchristos * Makefile.in (SIM_WERROR_CFLAGS): New variable. 45*4b169a6bSchristos * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS. 46*4b169a6bSchristos * configure: Regenerate. 47*4b169a6bSchristos 48*4b169a6bSchristos2021-06-17 Mike Frysinger <vapier@gentoo.org> 49*4b169a6bSchristos 50*4b169a6bSchristos * configure: Regenerate. 51*4b169a6bSchristos 52*4b169a6bSchristos2021-06-16 Mike Frysinger <vapier@gentoo.org> 53*4b169a6bSchristos 54*4b169a6bSchristos * configure: Regenerate. 55*4b169a6bSchristos 56*4b169a6bSchristos2021-06-16 Mike Frysinger <vapier@gentoo.org> 57*4b169a6bSchristos 58*4b169a6bSchristos * configure: Regenerate. 59*4b169a6bSchristos * config.in: Removed. 60*4b169a6bSchristos 61*4b169a6bSchristos2021-06-15 Mike Frysinger <vapier@gentoo.org> 62*4b169a6bSchristos 63*4b169a6bSchristos * config.in, configure: Regenerate. 64*4b169a6bSchristos 65*4b169a6bSchristos2021-06-14 Mike Frysinger <vapier@gentoo.org> 66*4b169a6bSchristos 67*4b169a6bSchristos * interf.c (sim_open) [F_GETFL]: Only set termsave. 68*4b169a6bSchristos (sim_close) [F_SETFL]: Only call fcntl. 69*4b169a6bSchristos * sis.c (main) [F_GETFL]: Only set termsave. 70*4b169a6bSchristos 71*4b169a6bSchristos2021-06-14 Mike Frysinger <vapier@gentoo.org> 72*4b169a6bSchristos 73*4b169a6bSchristos * erc32.c [HAVE_TERMIOS_H]: Include termios.h and declare ioc1, 74*4b169a6bSchristos ioc2, iocold1, & iocold2. 75*4b169a6bSchristos (init_stdio) [HAVE_TERMIOS_H]: Only call tcsetattr. 76*4b169a6bSchristos (restore_stdio) [HAVE_TERMIOS_H]: Likewise. 77*4b169a6bSchristos (port_init) [HAVE_TERMIOS_H]: Only call tcgetattr. 78*4b169a6bSchristos 79*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 80*4b169a6bSchristos 81*4b169a6bSchristos * erc32.c (uart_rx): Change caddr_t to void*. 82*4b169a6bSchristos (uart_intr): Likewise. 83*4b169a6bSchristos (wdog_intr): Likewise. 84*4b169a6bSchristos (rtc_intr): Likewise. 85*4b169a6bSchristos (gpt_intr): Likewise. 86*4b169a6bSchristos 87*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 88*4b169a6bSchristos 89*4b169a6bSchristos * Makefile.in: Add $(EXEEXT) to sis. 90*4b169a6bSchristos 91*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 92*4b169a6bSchristos 93*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 94*4b169a6bSchristos 95*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 96*4b169a6bSchristos 97*4b169a6bSchristos * config.in, configure: Regenerate. 98*4b169a6bSchristos 99*4b169a6bSchristos2021-05-16 Mike Frysinger <vapier@gentoo.org> 100*4b169a6bSchristos 101*4b169a6bSchristos * erc32.c, exec.c, float.c, func.c, help.c, interf.c, sis.c: Replace 102*4b169a6bSchristos config.h include with defs.h. 103*4b169a6bSchristos * sis.h: Delete config.h include. 104*4b169a6bSchristos 105*4b169a6bSchristos2021-05-16 Mike Frysinger <vapier@gentoo.org> 106*4b169a6bSchristos 107*4b169a6bSchristos * config.in, configure: Regenerate. 108*4b169a6bSchristos 109*4b169a6bSchristos2021-05-14 Mike Frysinger <vapier@gentoo.org> 110*4b169a6bSchristos 111*4b169a6bSchristos * interf.c: Update include path. 112*4b169a6bSchristos * sis.h: Likewise. 113*4b169a6bSchristos 114*4b169a6bSchristos2021-05-04 Mike Frysinger <vapier@gentoo.org> 115*4b169a6bSchristos 116*4b169a6bSchristos * configure: Regenerate. 117*4b169a6bSchristos 118*4b169a6bSchristos2021-05-04 Mike Frysinger <vapier@gentoo.org> 119*4b169a6bSchristos 120*4b169a6bSchristos * func.c (bfd_load): Use BFD_VMA_FMT. 121*4b169a6bSchristos 122*4b169a6bSchristos2021-05-01 Mike Frysinger <vapier@gentoo.org> 123*4b169a6bSchristos 124*4b169a6bSchristos * config.in, configure: Regenerate. 125*4b169a6bSchristos 126*4b169a6bSchristos2021-04-26 Mike Frysinger <vapier@gentoo.org> 127*4b169a6bSchristos 128*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 129*4b169a6bSchristos 130*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 131*4b169a6bSchristos 132*4b169a6bSchristos * configure, config.in: Rebuild. 133*4b169a6bSchristos 134*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 135*4b169a6bSchristos 136*4b169a6bSchristos * configure: Rebuild. 137*4b169a6bSchristos 138*4b169a6bSchristos2021-04-21 Mike Frysinger <vapier@gentoo.org> 139*4b169a6bSchristos 140*4b169a6bSchristos * aclocal.m4: Regenerate. 141*4b169a6bSchristos 142*4b169a6bSchristos2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> 143*4b169a6bSchristos 144*4b169a6bSchristos * configure: Regenerate. 145*4b169a6bSchristos 146*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 147*4b169a6bSchristos 148*4b169a6bSchristos * configure: Regenerate. 149*4b169a6bSchristos 150*4b169a6bSchristos2021-04-15 John Baldwin <jhb@FreeBSD.org> 151*4b169a6bSchristos 152*4b169a6bSchristos * Makefile.in (READLINE_SRC, READLINE_CFLAGS): Add. 153*4b169a6bSchristos (SIM_EXTRA_CFLAGS): Add READLINE_CFLAGS. 154*4b169a6bSchristos * configure: Rebuild. 155*4b169a6bSchristos * configure.ac (READLINE_CFLAGS): Add. 156*4b169a6bSchristos 157*4b169a6bSchristos2021-04-08 Tom Tromey <tom@tromey.com> 158*4b169a6bSchristos 159*4b169a6bSchristos * func.c: Include sys/time.h. 160*4b169a6bSchristos 161*4b169a6bSchristos2021-04-08 Tom Tromey <tom@tromey.com> 162*4b169a6bSchristos 163*4b169a6bSchristos * sis.c (run_sim, main): Use new-style declaration. 164*4b169a6bSchristos * interf.c (run_sim, sim_open, sim_close, sim_load) 165*4b169a6bSchristos (sim_create_inferior, sim_store_register, sim_fetch_register) 166*4b169a6bSchristos (sim_info, sim_stop_reason, flush_windows, sim_do_command): Use 167*4b169a6bSchristos new-style declaration. 168*4b169a6bSchristos * help.c (usage, gen_help): Use new-style declaration. 169*4b169a6bSchristos * func.c (batch, set_regi, set_rega, disp_reg, limcalc) 170*4b169a6bSchristos (reset_stat, show_stat, init_bpt, int_handler, init_signals) 171*4b169a6bSchristos (disp_fpu, disp_regs, disp_ctrl, disp_mem, dis_mem, event) 172*4b169a6bSchristos (init_event, set_int, advance_time, now, wait_for_irq, check_bpt) 173*4b169a6bSchristos (reset_all, sys_reset, sys_halt): Use new-style declaration. 174*4b169a6bSchristos * float.c (get_accex, clear_accex, set_fsr): Use new-style 175*4b169a6bSchristos declaration. 176*4b169a6bSchristos * exec.c (sub_cc, add_cc, log_cc, dispatch_instruction, fpexec) 177*4b169a6bSchristos (chk_asi, execute_trap, check_interrupts, init_regs): Use 178*4b169a6bSchristos new-style declaration. 179*4b169a6bSchristos * erc32.c (init_sim, reset, decode_ersr, mecparerror) 180*4b169a6bSchristos (error_mode, decode_memcfg, decode_wcr, decode_mcr, sim_halt) 181*4b169a6bSchristos (close_port, exit_sim, mec_reset, mec_intack, chk_irq, mec_irq) 182*4b169a6bSchristos (set_sfsr, mec_read, mec_write, init_stdio, restore_stdio) 183*4b169a6bSchristos (port_init, read_uart, write_uart, flush_uart, uarta_tx) 184*4b169a6bSchristos (uartb_tx, uart_rx, uart_intr, uart_irq_start, wdog_intr) 185*4b169a6bSchristos (wdog_start, rtc_intr, rtc_start, rtc_counter_read) 186*4b169a6bSchristos (rtc_scaler_set, rtc_reload_set, gpt_intr, gpt_start) 187*4b169a6bSchristos (gpt_counter_read, gpt_scaler_set, gpt_reload_set, timer_ctrl) 188*4b169a6bSchristos (memory_read, memory_write, get_mem_ptr, sis_memory_write) 189*4b169a6bSchristos (sis_memory_read): Use new-style declaration. 190*4b169a6bSchristos 191*4b169a6bSchristos2021-04-05 Tom Tromey <tromey@adacore.com> 192*4b169a6bSchristos 193*4b169a6bSchristos * configure: Rebuild. 194*4b169a6bSchristos * configure.ac (READLINE): Adjust in-tree value. 195*4b169a6bSchristos 196*4b169a6bSchristos2021-04-02 Mike Frysinger <vapier@gentoo.org> 197*4b169a6bSchristos 198*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 199*4b169a6bSchristos 200*4b169a6bSchristos2021-02-28 Mike Frysinger <vapier@gentoo.org> 201*4b169a6bSchristos 202*4b169a6bSchristos * configure: Regenerate. 203*4b169a6bSchristos 204*4b169a6bSchristos2021-02-27 Mike Frysinger <vapier@gentoo.org> 205*4b169a6bSchristos 206*4b169a6bSchristos * Makefile.in (SIM_EXTRA_ALL): Delete. 207*4b169a6bSchristos (all): New target. 208*4b169a6bSchristos 209*4b169a6bSchristos2021-02-21 Mike Frysinger <vapier@gentoo.org> 210*4b169a6bSchristos 211*4b169a6bSchristos * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. 212*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 213*4b169a6bSchristos 214*4b169a6bSchristos2021-02-13 Mike Frysinger <vapier@gentoo.org> 215*4b169a6bSchristos 216*4b169a6bSchristos * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. 217*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 218*4b169a6bSchristos 219*4b169a6bSchristos2021-02-06 Mike Frysinger <vapier@gentoo.org> 220*4b169a6bSchristos 221*4b169a6bSchristos * interf.c (sim_memory_map): Define. 222*4b169a6bSchristos 223*4b169a6bSchristos2021-02-06 Mike Frysinger <vapier@gentoo.org> 224*4b169a6bSchristos 225*4b169a6bSchristos * configure: Regenerate. 226*4b169a6bSchristos 227*4b169a6bSchristos2021-01-11 Mike Frysinger <vapier@gentoo.org> 228*4b169a6bSchristos 229*4b169a6bSchristos * configure.ac: Call SIM_AC_OPTION_WARNINGS. 230*4b169a6bSchristos * configure: Regenerate. 231*4b169a6bSchristos 232*4b169a6bSchristos2021-01-11 Mike Frysinger <vapier@gentoo.org> 233*4b169a6bSchristos 234*4b169a6bSchristos * config.in, configure: Regenerate. 235*4b169a6bSchristos * sis.c: Delete HAVE_STDLIB_H. 236*4b169a6bSchristos 237*4b169a6bSchristos2021-01-09 Mike Frysinger <vapier@gentoo.org> 238*4b169a6bSchristos 239*4b169a6bSchristos * configure: Regenerate. 240*4b169a6bSchristos 241*4b169a6bSchristos2021-01-08 Mike Frysinger <vapier@gentoo.org> 242*4b169a6bSchristos 243*4b169a6bSchristos * configure: Regenerate. 244*4b169a6bSchristos 245*4b169a6bSchristos2021-01-04 Mike Frysinger <vapier@gentoo.org> 246*4b169a6bSchristos 247*4b169a6bSchristos * configure: Regenerate. 248*4b169a6bSchristos 249*4b169a6bSchristos2020-07-29 Simon Marchi <simon.marchi@efficios.com> 250*4b169a6bSchristos 251*4b169a6bSchristos * configure: Re-generate. 252*4b169a6bSchristos 253*4b169a6bSchristos2018-10-30 Joel Sherrill <joel@rtems.org> 254*4b169a6bSchristos 255*4b169a6bSchristos * configure.ac: Remove the Cygwin-specific libtermcap.a hack 256*4b169a6bSchristos and use the standard logic to determine which library to use. 257*4b169a6bSchristos * configure: Regenerate. 258*4b169a6bSchristos 259*4b169a6bSchristos2017-09-06 John Baldwin <jhb@FreeBSD.org> 260*4b169a6bSchristos 261*4b169a6bSchristos * configure: Regenerate. 262*4b169a6bSchristos 263*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 264*4b169a6bSchristos 265*4b169a6bSchristos * config.in, configure: Regenerate. 266*4b169a6bSchristos 267*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 268*4b169a6bSchristos 269*4b169a6bSchristos * configure: Regenerate. 270*4b169a6bSchristos 271*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 272*4b169a6bSchristos 273*4b169a6bSchristos * configure: Regenerate. 274*4b169a6bSchristos 275*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 276*4b169a6bSchristos 277*4b169a6bSchristos * configure: Regenerate. 278*4b169a6bSchristos 279*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 280*4b169a6bSchristos 281*4b169a6bSchristos * configure: Regenerate. 282*4b169a6bSchristos 283*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 284*4b169a6bSchristos 285*4b169a6bSchristos * configure: Regenerate. 286*4b169a6bSchristos 287*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 288*4b169a6bSchristos 289*4b169a6bSchristos * configure: Regenerate. 290*4b169a6bSchristos 291*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 292*4b169a6bSchristos 293*4b169a6bSchristos * configure: Regenerate. 294*4b169a6bSchristos 295*4b169a6bSchristos2016-01-09 Mike Frysinger <vapier@gentoo.org> 296*4b169a6bSchristos 297*4b169a6bSchristos * config.in, configure: Regenerate. 298*4b169a6bSchristos 299*4b169a6bSchristos2016-01-06 Mike Frysinger <vapier@gentoo.org> 300*4b169a6bSchristos 301*4b169a6bSchristos * interf.c (sim_open): Mark argv const. 302*4b169a6bSchristos (sim_create_inferior): Mark argv and env const. 303*4b169a6bSchristos 304*4b169a6bSchristos2016-01-04 Mike Frysinger <vapier@gentoo.org> 305*4b169a6bSchristos 306*4b169a6bSchristos * configure: Regenerate. 307*4b169a6bSchristos 308*4b169a6bSchristos2016-01-03 Mike Frysinger <vapier@gentoo.org> 309*4b169a6bSchristos 310*4b169a6bSchristos * interf.c (sim_open): Replace while loop with a call to countargv. 311*4b169a6bSchristos 312*4b169a6bSchristos2016-01-03 Mike Frysinger <vapier@gentoo.org> 313*4b169a6bSchristos 314*4b169a6bSchristos * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. 315*4b169a6bSchristos * configure: Regenerate. 316*4b169a6bSchristos * exec.c (fpexec): Rename CURRENT_HOST_BYTE_ORDER to 317*4b169a6bSchristos HOST_BYTE_ORDER. 318*4b169a6bSchristos * sis.h (WITH_HOST_BYTE_ORDER): Rename to ... 319*4b169a6bSchristos (HOST_BYTE_ORDER): ... this. 320*4b169a6bSchristos 321*4b169a6bSchristos2016-01-02 Mike Frysinger <vapier@gentoo.org> 322*4b169a6bSchristos 323*4b169a6bSchristos * configure: Regenerate. 324*4b169a6bSchristos 325*4b169a6bSchristos2015-12-26 Mike Frysinger <vapier@gentoo.org> 326*4b169a6bSchristos 327*4b169a6bSchristos * config.in, configure: Regenerate. 328*4b169a6bSchristos 329*4b169a6bSchristos2015-06-23 Mike Frysinger <vapier@gentoo.org> 330*4b169a6bSchristos 331*4b169a6bSchristos * configure: Regenerate. 332*4b169a6bSchristos 333*4b169a6bSchristos2015-06-12 Mike Frysinger <vapier@gentoo.org> 334*4b169a6bSchristos 335*4b169a6bSchristos * configure: Regenerate. 336*4b169a6bSchristos 337*4b169a6bSchristos2015-06-12 Mike Frysinger <vapier@gentoo.org> 338*4b169a6bSchristos 339*4b169a6bSchristos * configure: Regenerate. 340*4b169a6bSchristos 341*4b169a6bSchristos2015-05-17 Mike Frysinger <vapier@gentoo.org> 342*4b169a6bSchristos 343*4b169a6bSchristos * erc32.c: Re-add file overview & author info. 344*4b169a6bSchristos * exec.c, float.c, func.c, help.c, interf.c, sis.c: Likewise. 345*4b169a6bSchristos 346*4b169a6bSchristos2015-05-08 Joel Brobecker <brobecker@adacore.com> 347*4b169a6bSchristos 348*4b169a6bSchristos * configure.ac: Add copyright header. 349*4b169a6bSchristos * erc32.c: Change copyright holder to FSF. Reformat. 350*4b169a6bSchristos * exec.c, float.c, func.c, interf.c, sis.c, sis.h: Likewise. 351*4b169a6bSchristos * help.c, startsim: Add copyright header. 352*4b169a6bSchristos 353*4b169a6bSchristos2015-04-29 Nick Clifton <nickc@redhat.com> 354*4b169a6bSchristos 355*4b169a6bSchristos PR 18273 356*4b169a6bSchristos * sis.c (main): Remove unreachable code. 357*4b169a6bSchristos 358*4b169a6bSchristos2015-04-24 David Binderman <dcb314@hotmail.com> 359*4b169a6bSchristos Nick Clifton <nickc@redhat.com> 360*4b169a6bSchristos 361*4b169a6bSchristos PR 18273 362*4b169a6bSchristos * exec.c (add32): Fix typo in check for overflow. 363*4b169a6bSchristos 364*4b169a6bSchristos2015-04-19 Jiri Gaisler <jiri@gaisler.se> 365*4b169a6bSchristos 366*4b169a6bSchristos * erc32.c (current_target_byte_order): Delete. 367*4b169a6bSchristos (fetch_bytes): Remove. 368*4b169a6bSchristos (store_bytes): Remove byte twisting. 369*4b169a6bSchristos (memory_read, memory_write): Access memory directly. 370*4b169a6bSchristos (extract_short, extract_short_signed, extract_byte, 371*4b169a6bSchristos extract_byte_signed): New function for for sub-word LD instructions. 372*4b169a6bSchristos * exec.c (extract_short, extract_short_signed, extract_byte, 373*4b169a6bSchristos extract_byte_signed): New functions. 374*4b169a6bSchristos (dispatch_instruction): Update memory reads. 375*4b169a6bSchristos * func.c (current_target_byte_order): Delete. 376*4b169a6bSchristos (get_regi): Delete little endian handling. 377*4b169a6bSchristos (disp_ctrl, dis_mem): Adjust print-out to new data endian. 378*4b169a6bSchristos (bfd_load): Delete little endian handling. 379*4b169a6bSchristos * interf.c (current_target_byte_order): Delete. 380*4b169a6bSchristos (sim_open): Set dinfo to host endian to get correct disassembly. 381*4b169a6bSchristos (sim_write, sim_read): Convert endian when gdb reads or writes 382*4b169a6bSchristos memory. 383*4b169a6bSchristos * sis.c (main): Set endian. 384*4b169a6bSchristos * sis.h (EBT): Define. 385*4b169a6bSchristos 386*4b169a6bSchristos2015-04-13 Mike Frysinger <vapier@gentoo.org> 387*4b169a6bSchristos 388*4b169a6bSchristos * configure: Regenerate. 389*4b169a6bSchristos 390*4b169a6bSchristos2015-03-31 Mike Frysinger <vapier@gentoo.org> 391*4b169a6bSchristos 392*4b169a6bSchristos * config.in, configure: Regenerate. 393*4b169a6bSchristos 394*4b169a6bSchristos2015-03-28 Jiri Gaisler <jiri@gaisler.se> 395*4b169a6bSchristos 396*4b169a6bSchristos * func.c (exec_cmd): Fix old style prototype. Mark cmd const. Save 397*4b169a6bSchristos the command in a new cmdsave2 to avoid modifying. 398*4b169a6bSchristos (bfd_load): Fix old style prototype. Mark fname const. 399*4b169a6bSchristos * sis.h (exec_cmd): Mark cmd const. 400*4b169a6bSchristos (bfd_load): Mark fname const. 401*4b169a6bSchristos 402*4b169a6bSchristos2015-03-28 Jiri Gaisler <jiri@gaisler.se> 403*4b169a6bSchristos 404*4b169a6bSchristos * erc32.c (memory_iread): New function to fetch instructions. 405*4b169a6bSchristos (memory_read): Print message in verbose mode. 406*4b169a6bSchristos * interf.c (run_sim): Use memory_iread. 407*4b169a6bSchristos * sis.c (run_sim): As above. 408*4b169a6bSchristos * sis.h (memory_iread): New prototype. 409*4b169a6bSchristos (sregs): Declare. 410*4b169a6bSchristos 411*4b169a6bSchristos2015-03-28 Mike Frysinger <vapier@gentoo.org> 412*4b169a6bSchristos 413*4b169a6bSchristos * erc32.c (mec_read): Delete parenthesis around return statement. 414*4b169a6bSchristos (mec_write, read_uart, rtc_counter_read, gpt_counter_read, memory_read, 415*4b169a6bSchristos memory_write, get_mem_ptr, sis_memory_write, sis_memory_read): Likewise. 416*4b169a6bSchristos * exec.c (sub_cc, add_cc, add32, dispatch_instruction, fpexec, chk_asi, 417*4b169a6bSchristos execute_trap, check_interrupts): Likewise. 418*4b169a6bSchristos * float.c (get_accex): Likewise. 419*4b169a6bSchristos * func.c (batch, limcalc, exec_cmd, disp_fpu, now, wait_for_irq, 420*4b169a6bSchristos check_bpt, bfd_load, get_time): Likewise. 421*4b169a6bSchristos * interf.c (run_sim, sim_write, sim_read): Likewise. 422*4b169a6bSchristos * sis.c (run_sim): Likewise. 423*4b169a6bSchristos 424*4b169a6bSchristos2015-03-24 Mike Frysinger <vapier@gentoo.org> 425*4b169a6bSchristos 426*4b169a6bSchristos * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete. 427*4b169a6bSchristos 428*4b169a6bSchristos2015-03-17 Jiri Gaisler <jiri@gaisler.se> 429*4b169a6bSchristos 430*4b169a6bSchristos * func.c (exec_cmd): Silence compiler warnings when calling system(). 431*4b169a6bSchristos (batch): Replace fgets() with getline(). 432*4b169a6bSchristos 433*4b169a6bSchristos2015-03-17 Jiri Gaisler <jiri@gaisler.se> 434*4b169a6bSchristos 435*4b169a6bSchristos * func.c (show_stat): Print simulation time in portable long long 436*4b169a6bSchristos format. 437*4b169a6bSchristos * help.c (usage): Update usage help print-out. 438*4b169a6bSchristos * sis.c (run_sim): Increase debug level with -v. Also print 439*4b169a6bSchristos simulation time in portable long long format. 440*4b169a6bSchristos * sis.h: Use stdint.h for portable 32- and 64-bit ints. 441*4b169a6bSchristos 442*4b169a6bSchristos2015-03-16 Mike Frysinger <vapier@gentoo.org> 443*4b169a6bSchristos 444*4b169a6bSchristos * config.in, configure: Regenerate. 445*4b169a6bSchristos 446*4b169a6bSchristos2015-03-16 Jiri Gaisler <jiri@gaisler.se> 447*4b169a6bSchristos 448*4b169a6bSchristos * Makefile.in (end, end.h): Remove target rules. 449*4b169a6bSchristos (clean): Remove end and end.h. 450*4b169a6bSchristos (erc32.o, exec.o, float.o, func.o, help.o, interf.o, sis.o): Delete 451*4b169a6bSchristos rules. 452*4b169a6bSchristos * configure, config.in: Regenerate. 453*4b169a6bSchristos * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN 454*4b169a6bSchristos * end.c: Delete. 455*4b169a6bSchristos * erc32.c: Remove end.h include. 456*4b169a6bSchristos * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN. 457*4b169a6bSchristos * func.c, sis.c: Likewise. 458*4b169a6bSchristos 459*4b169a6bSchristos2015-03-14 Mike Frysinger <vapier@gentoo.org> 460*4b169a6bSchristos 461*4b169a6bSchristos * Makefile.in (SIM_RUN_OBJS): Set to sis.o. 462*4b169a6bSchristos 463*4b169a6bSchristos2015-03-14 Mike Frysinger <vapier@gentoo.org> 464*4b169a6bSchristos 465*4b169a6bSchristos * configure.ac (AC_CHECK_HEADERS): Delete. 466*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 467*4b169a6bSchristos 468*4b169a6bSchristos2015-02-22 Jiri Gaisler <jiri@gaisler.se> 469*4b169a6bSchristos 470*4b169a6bSchristos * Makefile.in: Add include path to readline.h. 471*4b169a6bSchristos sis.c: Remove locally define readline types. 472*4b169a6bSchristos 473*4b169a6bSchristos2015-02-21 Jiri Gaisler <jiri@gaisler.se> 474*4b169a6bSchristos 475*4b169a6bSchristos * func.c (reset_stat, show_stat): Switch to double in time keeping. 476*4b169a6bSchristos (get_time): New function to get system time. 477*4b169a6bSchristos * interf.c (run_sim): Use get_time() for system time. 478*4b169a6bSchristos * sis.c (run_sim): Likewise. 479*4b169a6bSchristos * sis.h: Likewise. 480*4b169a6bSchristos 481*4b169a6bSchristos2015-02-21 Jiri Gaisler <jiri@gaisler.se> 482*4b169a6bSchristos 483*4b169a6bSchristos * Makefile.in: Remove unused defines 484*4b169a6bSchristos 485*4b169a6bSchristos2015-02-21 Jiri Gaisler <jiri@gaisler.se> 486*4b169a6bSchristos 487*4b169a6bSchristos * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h 488*4b169a6bSchristos instead of custom assembly. 489*4b169a6bSchristos 490*4b169a6bSchristos2015-02-21 Jiri Gaisler <jiri@gaisler.se> 491*4b169a6bSchristos 492*4b169a6bSchristos * erc32.c (mec_read): Allow simulator memory size to be read 493*4b169a6bSchristos by application. 494*4b169a6bSchristos (boot_init): initialize memory and timers if start address is 495*4b169a6bSchristos not 0. 496*4b169a6bSchristos * func.c (exe_cmd): Call boot_init if start address not 0. 497*4b169a6bSchristos * interf.c (run_sim): Likewise. 498*4b169a6bSchristos 499*4b169a6bSchristos2015-02-21 Jiri Gaisler <jiri@gaisler.se> 500*4b169a6bSchristos 501*4b169a6bSchristos * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr. 502*4b169a6bSchristos 503*4b169a6bSchristos2015-02-21 Jiri Gaisler <jiri@gaisler.se> 504*4b169a6bSchristos 505*4b169a6bSchristos * func.c (print_insn_sparc_sis): Add helper function for disassembly. 506*4b169a6bSchristos (disp_ctrl): Use helper function. 507*4b169a6bSchristos 508*4b169a6bSchristos2014-08-19 Alan Modra <amodra@gmail.com> 509*4b169a6bSchristos 510*4b169a6bSchristos * configure: Regenerate. 511*4b169a6bSchristos 512*4b169a6bSchristos2014-08-15 Roland McGrath <mcgrathr@google.com> 513*4b169a6bSchristos 514*4b169a6bSchristos * configure: Regenerate. 515*4b169a6bSchristos * config.in: Regenerate. 516*4b169a6bSchristos 517*4b169a6bSchristos2014-03-10 Mike Frysinger <vapier@gentoo.org> 518*4b169a6bSchristos 519*4b169a6bSchristos * interf.c (sim_do_command): Add const to cmd. 520*4b169a6bSchristos 521*4b169a6bSchristos2014-03-05 Mike Frysinger <vapier@gentoo.org> 522*4b169a6bSchristos 523*4b169a6bSchristos * interf.c (sim_load): Add const to prog. 524*4b169a6bSchristos 525*4b169a6bSchristos2013-10-09 Sergio Durigan Junior <sergiodj@redhat.com> 526*4b169a6bSchristos 527*4b169a6bSchristos PR sim/16018: 528*4b169a6bSchristos * float.c (set_fsr): Add missing "break" statements. Reindent 529*4b169a6bSchristos code. 530*4b169a6bSchristos 531*4b169a6bSchristos2013-09-23 Alan Modra <amodra@gmail.com> 532*4b169a6bSchristos 533*4b169a6bSchristos * configure: Regenerate. 534*4b169a6bSchristos 535*4b169a6bSchristos2013-06-03 Mike Frysinger <vapier@gentoo.org> 536*4b169a6bSchristos 537*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 538*4b169a6bSchristos 539*4b169a6bSchristos2013-03-14 Joel Sherrill <joel.sherrill@oarcorp.com> 540*4b169a6bSchristos 541*4b169a6bSchristos * Makefile.in: Include build directory in search path to find 542*4b169a6bSchristos config.h 543*4b169a6bSchristos 544*4b169a6bSchristos2012-08-16 Nick Clifton <nickc@redhat.com> 545*4b169a6bSchristos 546*4b169a6bSchristos * end.c: Include config.h before system header files. 547*4b169a6bSchristos * erc32.c: Likewise. 548*4b169a6bSchristos * exec.c: Likewise. 549*4b169a6bSchristos * float.c: Likewise. 550*4b169a6bSchristos * func.c: Likewise. 551*4b169a6bSchristos * help.c: Likewise. 552*4b169a6bSchristos * interf.c: Likewise. 553*4b169a6bSchristos 554*4b169a6bSchristos2012-06-15 Joel Brobecker <brobecker@adacore.com> 555*4b169a6bSchristos 556*4b169a6bSchristos * sys.h: Include "config.h". 557*4b169a6bSchristos 558*4b169a6bSchristos2012-06-15 Joel Brobecker <brobecker@adacore.com> 559*4b169a6bSchristos 560*4b169a6bSchristos * config.in, configure: Regenerate. 561*4b169a6bSchristos 562*4b169a6bSchristos2012-05-24 Pedro Alves <palves@redhat.com> 563*4b169a6bSchristos 564*4b169a6bSchristos PR gdb/7205 565*4b169a6bSchristos 566*4b169a6bSchristos Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. 567*4b169a6bSchristos 568*4b169a6bSchristos2012-03-24 Mike Frysinger <vapier@gentoo.org> 569*4b169a6bSchristos 570*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 571*4b169a6bSchristos 572*4b169a6bSchristos2011-12-31 Mike Frysinger <vapier@gentoo.org> 573*4b169a6bSchristos 574*4b169a6bSchristos PR sim/9971: 575*4b169a6bSchristos * configure.ac: Change AC_CHECK_LIB to AC_SEARCH_LIBS to match 576*4b169a6bSchristos the code in gdb's configure.ac with $TERMCAP. 577*4b169a6bSchristos * configure: Regenerated. 578*4b169a6bSchristos 579*4b169a6bSchristos2011-12-03 Mike Frysinger <vapier@gentoo.org> 580*4b169a6bSchristos 581*4b169a6bSchristos * aclocal.m4: New file. 582*4b169a6bSchristos * configure: Regenerate. 583*4b169a6bSchristos 584*4b169a6bSchristos2011-10-17 Mike Frysinger <vapier@gentoo.org> 585*4b169a6bSchristos 586*4b169a6bSchristos * configure.ac: Change include to common/acinclude.m4. 587*4b169a6bSchristos 588*4b169a6bSchristos2011-10-17 Mike Frysinger <vapier@gentoo.org> 589*4b169a6bSchristos 590*4b169a6bSchristos * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER 591*4b169a6bSchristos call. Replace common.m4 include with SIM_AC_COMMON. 592*4b169a6bSchristos * configure: Regenerate. 593*4b169a6bSchristos 594*4b169a6bSchristos2011-06-09 Mike Frysinger <vapier@gentoo.org> 595*4b169a6bSchristos 596*4b169a6bSchristos * interf.c (sim_open): Accept and ignore `--sysroot=...'. 597*4b169a6bSchristos 598*4b169a6bSchristos2011-06-01 Joel Brobecker <brobecker@adacore.com> 599*4b169a6bSchristos 600*4b169a6bSchristos * interf.c (sim_complete_command): New stub function. 601*4b169a6bSchristos 602*4b169a6bSchristos2011-01-11 Andrew Burgess <aburgess@broadcom.com> 603*4b169a6bSchristos 604*4b169a6bSchristos * interf.c (sim_store_register): Update return value to 605*4b169a6bSchristos match new API. 606*4b169a6bSchristos 607*4b169a6bSchristos2010-05-20 Joel Brobecker <brobecker@adacore.com> 608*4b169a6bSchristos 609*4b169a6bSchristos * sis.h: Remove #include <stdint.h>. 610*4b169a6bSchristos (uint64, int64): Redefine without using stdint.h. 611*4b169a6bSchristos (UINT64_MAX): Define. 612*4b169a6bSchristos 613*4b169a6bSchristos2010-04-20 Tiemen Schut <T.Schut@sron.nl> 614*4b169a6bSchristos 615*4b169a6bSchristos * erc32.c (sis_memory_write): Change prototype to const unsigned char *. 616*4b169a6bSchristos * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64 617*4b169a6bSchristos for counts. 618*4b169a6bSchristos * interf.c (run_sim): Change icount to uint64_t. Use strtol directly. 619*4b169a6bSchristos (sim_resume): Specify maximum run time as uint64. 620*4b169a6bSchristos * sis.c (run_sim): Change icount to uint64_t. 621*4b169a6bSchristos * sis.h: Define uint64 as uint64_t. Change various fields and 622*4b169a6bSchristos prototypes to uint64 to support longer simulations. 623*4b169a6bSchristos 624*4b169a6bSchristos2010-04-14 Mike Frysinger <vapier@gentoo.org> 625*4b169a6bSchristos 626*4b169a6bSchristos * interp.c (sim_write): Add const to buf arg. 627*4b169a6bSchristos 628*4b169a6bSchristos2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 629*4b169a6bSchristos 630*4b169a6bSchristos * configure: Regenerate. 631*4b169a6bSchristos 632*4b169a6bSchristos2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 633*4b169a6bSchristos 634*4b169a6bSchristos * config.in: Regenerate. 635*4b169a6bSchristos * configure: Likewise. 636*4b169a6bSchristos 637*4b169a6bSchristos * configure: Regenerate. 638*4b169a6bSchristos 639*4b169a6bSchristos2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com> 640*4b169a6bSchristos 641*4b169a6bSchristos * erc32.c, exec.c: Fix warnings. 642*4b169a6bSchristos 643*4b169a6bSchristos2008-07-11 Hans-Peter Nilsson <hp@axis.com> 644*4b169a6bSchristos 645*4b169a6bSchristos * configure: Regenerate to track ../common/common.m4 changes. 646*4b169a6bSchristos * config.in: Ditto. 647*4b169a6bSchristos 648*4b169a6bSchristos2008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com> 649*4b169a6bSchristos 650*4b169a6bSchristos * sis.c: Correct spelling error. 651*4b169a6bSchristos 652*4b169a6bSchristos2008-06-06 Vladimir Prus <vladimir@codesourcery.com> 653*4b169a6bSchristos Daniel Jacobowitz <dan@codesourcery.com> 654*4b169a6bSchristos Joseph Myers <joseph@codesourcery.com> 655*4b169a6bSchristos 656*4b169a6bSchristos * configure: Regenerate. 657*4b169a6bSchristos 658*4b169a6bSchristos2006-12-21 Hans-Peter Nilsson <hp@axis.com> 659*4b169a6bSchristos 660*4b169a6bSchristos * acconfig.h: Remove. 661*4b169a6bSchristos * config.in: Regenerate. 662*4b169a6bSchristos 663*4b169a6bSchristos2006-12-20 Hans-Peter Nilsson <hp@axis.com> 664*4b169a6bSchristos 665*4b169a6bSchristos * configure.ac: Add test for readline, substitute READLINE. 666*4b169a6bSchristos * Makefile.in (READLINE_LIB): New substituted-contents variable. 667*4b169a6bSchristos (SIM_EXTRA_LIBDEPS): Don't set. 668*4b169a6bSchristos (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of 669*4b169a6bSchristos ../../readline/libreadline.a. 670*4b169a6bSchristos * configure: Regenerate. 671*4b169a6bSchristos 672*4b169a6bSchristos2006-08-08 Daniel Jacobowitz <dan@codesourcery.com> 673*4b169a6bSchristos 674*4b169a6bSchristos * Makefile.in (func.o, help.o): Correct dependencies. 675*4b169a6bSchristos 676*4b169a6bSchristos2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com> 677*4b169a6bSchristos 678*4b169a6bSchristos * Makefile.in (install-sis): Honor DESTDIR. 679*4b169a6bSchristos 680*4b169a6bSchristos2006-06-13 Richard Earnshaw <rearnsha@arm.com> 681*4b169a6bSchristos 682*4b169a6bSchristos * configure: Regenerated. 683*4b169a6bSchristos 684*4b169a6bSchristos2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> 685*4b169a6bSchristos 686*4b169a6bSchristos * configure: Regenerated. 687*4b169a6bSchristos 688*4b169a6bSchristos2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> 689*4b169a6bSchristos 690*4b169a6bSchristos * configure: Regenerated. 691*4b169a6bSchristos 692*4b169a6bSchristos2005-11-28 Mark Mitchell <mark@codesourcery.com> 693*4b169a6bSchristos 694*4b169a6bSchristos * interf.c: (gdb/signals.h): Include it. 695*4b169a6bSchristos (sim_stop_reason): Use TARGET_SIGNAL_*. 696*4b169a6bSchristos 697*4b169a6bSchristos2005-07-08 Ben Elliston <bje@au.ibm.com> 698*4b169a6bSchristos 699*4b169a6bSchristos * func.c: Remove ANSI_PROTOTYPES conditional code. 700*4b169a6bSchristos 701*4b169a6bSchristos2005-03-23 Mark Kettenis <kettenis@gnu.org> 702*4b169a6bSchristos 703*4b169a6bSchristos * configure: Regenerate. 704*4b169a6bSchristos 705*4b169a6bSchristos2005-03-07 Jerome Guitton <guitton@gnat.com> 706*4b169a6bSchristos 707*4b169a6bSchristos * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line 708*4b169a6bSchristos strings. 709*4b169a6bSchristos (clear_accex): Ditto. 710*4b169a6bSchristos * sim/erc32/interf.c: Remove the redeclaration of fprintf. 711*4b169a6bSchristos * sim/erc32/sis.c: Ditto. 712*4b169a6bSchristos * sim/erc32/exec.c: Add missing semicolon. 713*4b169a6bSchristos * sim/erc32/func.c: Remove definitions of generic_print_address, 714*4b169a6bSchristos generic_symbol_at_address, buffer_read_memory and perror_memory, as 715*4b169a6bSchristos they are already defined in opcodes/dis-buf.c. 716*4b169a6bSchristos 717*4b169a6bSchristos2005-01-14 Andrew Cagney <cagney@gnu.org> 718*4b169a6bSchristos 719*4b169a6bSchristos * configure.ac: Sinclude aclocal.m4 before common.m4. Add 720*4b169a6bSchristos explicit call to AC_CONFIG_HEADER. 721*4b169a6bSchristos * configure: Regenerate. 722*4b169a6bSchristos 723*4b169a6bSchristos2005-01-12 Andrew Cagney <cagney@gnu.org> 724*4b169a6bSchristos 725*4b169a6bSchristos * configure.ac: Update to use ../common/common.m4. 726*4b169a6bSchristos * configure: Re-generate. 727*4b169a6bSchristos 728*4b169a6bSchristos2005-01-11 Andrew Cagney <cagney@localhost.localdomain> 729*4b169a6bSchristos 730*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 731*4b169a6bSchristos 732*4b169a6bSchristos2005-01-07 Andrew Cagney <cagney@gnu.org> 733*4b169a6bSchristos 734*4b169a6bSchristos * configure.ac: Rename configure.in, require autoconf 2.59. 735*4b169a6bSchristos * configure: Re-generate. 736*4b169a6bSchristos 737*4b169a6bSchristos2004-12-08 Hans-Peter Nilsson <hp@axis.com> 738*4b169a6bSchristos 739*4b169a6bSchristos * configure: Regenerate for ../common/aclocal.m4 update. 740*4b169a6bSchristos 741*4b169a6bSchristos2004-11-11 Andreas Schwab <schwab@suse.de> 742*4b169a6bSchristos 743*4b169a6bSchristos * interf.c: Include "libiberty.h" instead of declaring buildargv 744*4b169a6bSchristos ourselves. 745*4b169a6bSchristos 746*4b169a6bSchristos2003-02-27 Andrew Cagney <cagney@redhat.com> 747*4b169a6bSchristos 748*4b169a6bSchristos * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd. 749*4b169a6bSchristos 750*4b169a6bSchristos2002-06-16 Andrew Cagney <ac131313@redhat.com> 751*4b169a6bSchristos 752*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 753*4b169a6bSchristos 754*4b169a6bSchristos2002-06-08 Andrew Cagney <cagney@redhat.com> 755*4b169a6bSchristos 756*4b169a6bSchristos * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h". 757*4b169a6bSchristos * interf.c: Include "gdb/remote-sim.h". 758*4b169a6bSchristos 759*4b169a6bSchristosTue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> 760*4b169a6bSchristos 761*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 762*4b169a6bSchristos 763*4b169a6bSchristos2000-03-07 Frank Ch. Eigler <fche@redhat.com> 764*4b169a6bSchristos 765*4b169a6bSchristos From John Dallaway <jld@redhat.co.uk>: 766*4b169a6bSchristos * Makefile.in (install-sis): Add $(EXEEXT) for Windows host. 767*4b169a6bSchristos 768*4b169a6bSchristos2000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk> 769*4b169a6bSchristos 770*4b169a6bSchristos * func.c (buffer_read_memory): Change type of size to unsigned to 771*4b169a6bSchristos match prototype 772*4b169a6bSchristos 773*4b169a6bSchristosThu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> 774*4b169a6bSchristos 775*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 776*4b169a6bSchristos 777*4b169a6bSchristos1999-05-08 Felix Lee <flee@cygnus.com> 778*4b169a6bSchristos 779*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 780*4b169a6bSchristos 781*4b169a6bSchristos1999-03-03 DJ Delorie <dj@cygnus.com> 782*4b169a6bSchristos 783*4b169a6bSchristos * configure.in: add termcap and -luser32 for host=cygwin 784*4b169a6bSchristos * configure: regenerate 785*4b169a6bSchristos 786*4b169a6bSchristos1999-02-11 Hugo Tyson <hmt@cygnus.co.uk> 787*4b169a6bSchristos 788*4b169a6bSchristos * exec.c (dispatch_instruction): 789*4b169a6bSchristos Correct the sense of the 790*4b169a6bSchristos if (!sparclite) { 791*4b169a6bSchristos sregs->trap = TRAP_UNIMP; 792*4b169a6bSchristos break; 793*4b169a6bSchristos } 794*4b169a6bSchristos clause that has been pasted around: it's correct in the SCAN and 795*4b169a6bSchristos DIVScc (divide step) cases (where it was probably originally 796*4b169a6bSchristos written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases 797*4b169a6bSchristos ie. instructions only in the SPARC V8 or SPARClite 86x 798*4b169a6bSchristos architectures. It was also present when not required for SMUL, 799*4b169a6bSchristos SMULcc, UMUL, UMULcc instructions that are present in all 800*4b169a6bSchristos architectures. 801*4b169a6bSchristos 802*4b169a6bSchristos1999-01-25 Hugo Tyson <hmt@cygnus.co.uk> 803*4b169a6bSchristos 804*4b169a6bSchristos * interf.c (run_sim): Fix a bug in the main loop's handling of 805*4b169a6bSchristos annulled delay slot instructions. There is precedent for this 806*4b169a6bSchristos change; the _other_ main loop in sis.c gets it right according to 807*4b169a6bSchristos my reading of the code. 808*4b169a6bSchristos 809*4b169a6bSchristos The bug is: if an interrupt happens when the next instruction 810*4b169a6bSchristos (at sregs->pc) is annulled, the trap is taken (by execute_trap()) 811*4b169a6bSchristos with the current values of PC and NPC, so when the trap returns, 812*4b169a6bSchristos the annulled instruction is indeed executed. Another giveaway is 813*4b169a6bSchristos that the annul flag is cleared in execute_trap(): the information 814*4b169a6bSchristos is demonstrably discarded. 815*4b169a6bSchristos 816*4b169a6bSchristos The solution is: perform annulling before looking for traps, in 817*4b169a6bSchristos fact it's neater to do annulling, see if there's an interrupt and 818*4b169a6bSchristos if not, do the instruction, then handle traps be they generated by 819*4b169a6bSchristos interrupts pending or by the instruction we might just have done. 820*4b169a6bSchristos That's what the sis.c one does. 821*4b169a6bSchristos 822*4b169a6bSchristos1999-01-20 Hugo Tyson <hmt@cygnus.co.uk> 823*4b169a6bSchristos 824*4b169a6bSchristos * sis.h: Add asr17 register for support of SparcLITE (at least the 825*4b169a6bSchristos Hitachi ones I find before me) 826*4b169a6bSchristos 827*4b169a6bSchristos * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if 828*4b169a6bSchristos sparclite. Other ASR numbers than 17 or 0 (Y) trap out. 829*4b169a6bSchristos Case RDY: Allow read of asr17 if sparclite. Other ASRs ditto. 830*4b169a6bSchristos (execute_trap): Do single-vector-trapping if asr17 bit 0 is set. 831*4b169a6bSchristos (init_regs): Initialize y and asr17. 832*4b169a6bSchristos NB: In instruction-set space, the Y register is asr0; the 833*4b169a6bSchristos instructions have different names for human reasons only. 834*4b169a6bSchristos 835*4b169a6bSchristos * sis.c: 836*4b169a6bSchristos * interf.c: Set boolean mode variable dumbio if invoked with 837*4b169a6bSchristos argument "-dumbio" and mention it of verbose. 838*4b169a6bSchristos * erc32.c: if "dumbio" is set, do not assume that there is a 839*4b169a6bSchristos terminal type device attached to stdin/stdout. Do not set 840*4b169a6bSchristos buffering or mess with tcsetattr or do any read operations in 841*4b169a6bSchristos order to make UART interrupts; not input data is supported. 842*4b169a6bSchristos This is necessary to allow the sim to be used within the eCos 843*4b169a6bSchristos testing infrastructure where stdin/stdout are pipes to a TCL 844*4b169a6bSchristos program; the sim hangs otherwise. 845*4b169a6bSchristos 846*4b169a6bSchristosThu Jul 23 07:17:03 1998 Mark Alexander <marka@cygnus.com> 847*4b169a6bSchristos 848*4b169a6bSchristos * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction. 849*4b169a6bSchristos 850*4b169a6bSchristosTue Jul 7 21:12:41 1998 Mark Alexander <marka@cygnus.com> 851*4b169a6bSchristos 852*4b169a6bSchristos * func.c (bfd_load): Add special handling of a.out executables. 853*4b169a6bSchristos 854*4b169a6bSchristosSat Jun 13 08:33:25 1998 Mark Alexander <marka@cygnus.com> 855*4b169a6bSchristos 856*4b169a6bSchristos * func.c (bfd_load): Print correct endianness. 857*4b169a6bSchristos * interf.c (run_sim): Print debugging information if verbosity level 858*4b169a6bSchristos is greater than 2. 859*4b169a6bSchristos (sim_open): Repeated -v options now increment verbosity level. 860*4b169a6bSchristos (sim_store_register): Handle little-endian case. 861*4b169a6bSchristos (flush_window): Print debugging information if verbosity level 862*4b169a6bSchristos is greater then 2. 863*4b169a6bSchristos 864*4b169a6bSchristosTue Jun 2 15:20:35 1998 Mark Alexander <marka@cygnus.com> 865*4b169a6bSchristos 866*4b169a6bSchristos * interf.c (sim_open): Use revamped memory_read, which makes 867*4b169a6bSchristos byte-swapping unnecessary. Add -sparclite-board option for 868*4b169a6bSchristos emulating RAM found on typical SPARClite boards. Print 869*4b169a6bSchristos error message for unrecognized option. 870*4b169a6bSchristos * erc32.c: Change RAM address and size from constants to variables, 871*4b169a6bSchristos to allow emulation of SPARClite board RAM. 872*4b169a6bSchristos (fetch_bytes, store_bytes): New helper functions for revamped 873*4b169a6bSchristos mememory_read and memory_write. 874*4b169a6bSchristos (memory_read, memory_write): Rewrite to store bytes in target 875*4b169a6bSchristos byte order instead of storing words in host byte order; this 876*4b169a6bSchristos greatly simplifies support of little-endian programs. 877*4b169a6bSchristos (get_mem_ptr): Remove unnecessary byte parameter. 878*4b169a6bSchristos (sis_memory_write, sis_memory_read): Store words in target 879*4b169a6bSchristos byte order instead of host byte order. 880*4b169a6bSchristos (byte_swap_words): Remove, no longer needed. 881*4b169a6bSchristos * sis.h ((byte_swap_words): Remove declaration, no longer needed. 882*4b169a6bSchristos (memory_read): Add new sz parameter. 883*4b169a6bSchristos * sis.c (run_sim): Use revamped memory_read, which makes 884*4b169a6bSchristos byte-swapping unnecessary. 885*4b169a6bSchristos * exec.c (dispatch_instruction): Use revamped memory_read, which 886*4b169a6bSchristos makes byte-swapping and double-word fetching unnecessary. 887*4b169a6bSchristos * func.c (sparclite_board): Declare new variable. 888*4b169a6bSchristos (get_regi): Handle little-endian data. 889*4b169a6bSchristos (bfd_load): Recognize little-endian SPARClite as having 890*4b169a6bSchristos little-endian data. 891*4b169a6bSchristos 892*4b169a6bSchristosFri May 22 14:23:16 1998 Mark Alexander <marka@cygnus.com> 893*4b169a6bSchristos 894*4b169a6bSchristos * erc32.c (port_init): Print messages only if sis_verbose is true. 895*4b169a6bSchristos * func.c (bfd_load): Ditto. 896*4b169a6bSchristos * interf.c (sim_open): Ditto. 897*4b169a6bSchristos 898*4b169a6bSchristosThu May 14 23:10:48 1998 Mark Alexander <marka@cygnus.com> 899*4b169a6bSchristos 900*4b169a6bSchristos * sis.h (uint64, int64): Define. 901*4b169a6bSchristos * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes. 902*4b169a6bSchristos * (mul64): Simplify calculation of negative result. 903*4b169a6bSchristos * (div64): New helper function for 64-bit division. 904*4b169a6bSchristos * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV, 905*4b169a6bSchristos and UDIVCC. 906*4b169a6bSchristos 907*4b169a6bSchristosWed May 13 14:59:54 1998 Mark Alexander <marka@cygnus.com> 908*4b169a6bSchristos 909*4b169a6bSchristos * erc32.c (close_port): Don't close stdin; it kills GDB. 910*4b169a6bSchristos (byte_swap_words): New function. 911*4b169a6bSchristos * sis.h: (byte_swap_words): Declare. 912*4b169a6bSchristos * interf.c (run_sim): Always fetch instructions as big-endian. 913*4b169a6bSchristos * sis.c (run_sim): Ditto. 914*4b169a6bSchristos 915*4b169a6bSchristosTue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> 916*4b169a6bSchristos 917*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 918*4b169a6bSchristos 919*4b169a6bSchristosSun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> 920*4b169a6bSchristos 921*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 922*4b169a6bSchristos * config.in: Ditto. 923*4b169a6bSchristos 924*4b169a6bSchristosSun Apr 26 15:20:17 1998 Tom Tromey <tromey@cygnus.com> 925*4b169a6bSchristos 926*4b169a6bSchristos * acconfig.h: New file. 927*4b169a6bSchristos * configure.in: Reverted change of Apr 24; use sinclude again. 928*4b169a6bSchristos 929*4b169a6bSchristosFri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> 930*4b169a6bSchristos 931*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 932*4b169a6bSchristos * config.in: Ditto. 933*4b169a6bSchristos 934*4b169a6bSchristosFri Apr 24 11:19:52 1998 Tom Tromey <tromey@cygnus.com> 935*4b169a6bSchristos 936*4b169a6bSchristos * configure.in: Don't call sinclude. 937*4b169a6bSchristos 938*4b169a6bSchristosSat Apr 18 12:00:16 1998 Mark Alexander <marka@cygnus.com> 939*4b169a6bSchristos 940*4b169a6bSchristos * func.c (disp_fpu): Fix build problem on big-endian hosts. 941*4b169a6bSchristos 942*4b169a6bSchristosWed Apr 8 19:33:34 1998 Mark Alexander <marka@cygnus.com> 943*4b169a6bSchristos 944*4b169a6bSchristos * erc32.c (sim_stop): Handle SIGINT gracefully. 945*4b169a6bSchristos * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us. 946*4b169a6bSchristos 947*4b169a6bSchristosWed Apr 8 18:29:40 1998 Mark Alexander <marka@cygnus.com> 948*4b169a6bSchristos 949*4b169a6bSchristos * exec.c (dispatch_instruction): Change how carry out is calculated 950*4b169a6bSchristos in DIVSCC. Add emulation of SMULCC, UMUL, and UMULCC. 951*4b169a6bSchristos 952*4b169a6bSchristosSat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> 953*4b169a6bSchristos 954*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 955*4b169a6bSchristos 956*4b169a6bSchristosWed Apr 1 21:19:18 1998 Mark Alexander <marka@cygnus.com> 957*4b169a6bSchristos 958*4b169a6bSchristos * end.c: Update to version 2.7.5, fix compiler warnings and bugs. 959*4b169a6bSchristos * erc32.c: Ditto. 960*4b169a6bSchristos * exec.c: Ditto. 961*4b169a6bSchristos * float.c: Ditto. 962*4b169a6bSchristos * func.c: Ditto. 963*4b169a6bSchristos * help.c: Ditto. 964*4b169a6bSchristos * interf.c: Ditto. 965*4b169a6bSchristos * sis.c: Ditto. 966*4b169a6bSchristos * sis.h: Ditto. 967*4b169a6bSchristos 968*4b169a6bSchristosFri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> 969*4b169a6bSchristos 970*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 971*4b169a6bSchristos 972*4b169a6bSchristosWed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> 973*4b169a6bSchristos 974*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 975*4b169a6bSchristos 976*4b169a6bSchristosWed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> 977*4b169a6bSchristos 978*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 979*4b169a6bSchristos 980*4b169a6bSchristosTue Feb 17 12:41:11 1998 Andrew Cagney <cagney@b1.cygnus.com> 981*4b169a6bSchristos 982*4b169a6bSchristos * interf.c (sim_store_register, sim_fetch_register): Pass in 983*4b169a6bSchristos length parameter. Return -1. 984*4b169a6bSchristos 985*4b169a6bSchristosSun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> 986*4b169a6bSchristos 987*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 988*4b169a6bSchristos 989*4b169a6bSchristosSat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> 990*4b169a6bSchristos 991*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 992*4b169a6bSchristos 993*4b169a6bSchristosMon Jan 19 22:26:29 1998 Doug Evans <devans@seba> 994*4b169a6bSchristos 995*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 996*4b169a6bSchristos 997*4b169a6bSchristosMon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> 998*4b169a6bSchristos 999*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1000*4b169a6bSchristos * config.in: Ditto. 1001*4b169a6bSchristos 1002*4b169a6bSchristosThu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> 1003*4b169a6bSchristos 1004*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1005*4b169a6bSchristos 1006*4b169a6bSchristosFri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 1007*4b169a6bSchristos 1008*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1009*4b169a6bSchristos 1010*4b169a6bSchristosWed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> 1011*4b169a6bSchristos 1012*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1013*4b169a6bSchristos 1014*4b169a6bSchristosTue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> 1015*4b169a6bSchristos 1016*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1017*4b169a6bSchristos 1018*4b169a6bSchristosMon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> 1019*4b169a6bSchristos 1020*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1021*4b169a6bSchristos 1022*4b169a6bSchristosFri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> 1023*4b169a6bSchristos 1024*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1025*4b169a6bSchristos 1026*4b169a6bSchristosMon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> 1027*4b169a6bSchristos 1028*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1029*4b169a6bSchristos 1030*4b169a6bSchristosWed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> 1031*4b169a6bSchristos 1032*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1033*4b169a6bSchristos * config.in: Ditto. 1034*4b169a6bSchristos 1035*4b169a6bSchristosTue Aug 26 10:38:20 1997 Andrew Cagney <cagney@b1.cygnus.com> 1036*4b169a6bSchristos 1037*4b169a6bSchristos * float.c (__setfpucw): Compile on any i386 target. Not just NT. 1038*4b169a6bSchristos 1039*4b169a6bSchristos * interf.c (sim_kill): Delete. 1040*4b169a6bSchristos (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD 1041*4b169a6bSchristos argument. 1042*4b169a6bSchristos (sim_load): Don't save start address. 1043*4b169a6bSchristos (start_address): Delete variable. 1044*4b169a6bSchristos 1045*4b169a6bSchristosMon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> 1046*4b169a6bSchristos 1047*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1048*4b169a6bSchristos * config.in: Ditto. 1049*4b169a6bSchristos 1050*4b169a6bSchristosMon Aug 25 16:19:49 1997 Andrew Cagney <cagney@b1.cygnus.com> 1051*4b169a6bSchristos 1052*4b169a6bSchristos * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV. 1053*4b169a6bSchristos 1054*4b169a6bSchristosMon Jun 30 11:45:25 1997 Doug Evans <dje@canuck.cygnus.com> 1055*4b169a6bSchristos 1056*4b169a6bSchristos * Makefile.in (install-sis): Change $(srcdir)/sis to sis. 1057*4b169a6bSchristos 1058*4b169a6bSchristosWed May 28 09:46:13 1997 Andrew Cagney <cagney@b1.cygnus.com> 1059*4b169a6bSchristos 1060*4b169a6bSchristos * interf.c (sim_set_callbacks): Drop SD argument - not applicable. 1061*4b169a6bSchristos (sim_open): Add callback arg, save it. 1062*4b169a6bSchristos 1063*4b169a6bSchristosThu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> 1064*4b169a6bSchristos 1065*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1066*4b169a6bSchristos 1067*4b169a6bSchristosTue Apr 22 11:05:01 1997 Doug Evans <dje@canuck.cygnus.com> 1068*4b169a6bSchristos 1069*4b169a6bSchristos * interf.c (sim_open): Undo patch to add -E support. 1070*4b169a6bSchristos 1071*4b169a6bSchristosThu Apr 17 03:03:56 1997 Doug Evans <dje@canuck.cygnus.com> 1072*4b169a6bSchristos 1073*4b169a6bSchristos * interf.c (sim_open): Ignore -E arg. 1074*4b169a6bSchristos (start_address): New static local. 1075*4b169a6bSchristos (sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd. 1076*4b169a6bSchristos (sim_create_inferior): Return SIM_RC. Delete arg start_address. 1077*4b169a6bSchristos 1078*4b169a6bSchristosTue Apr 15 15:16:11 1997 Ian Lance Taylor <ian@cygnus.com> 1079*4b169a6bSchristos 1080*4b169a6bSchristos * Makefile.in (install-sis): Depend upon installdirs. Use 1081*4b169a6bSchristos $(program_transform_name) directly, rather than using 1082*4b169a6bSchristos $(INSTALL_XFORM). 1083*4b169a6bSchristos 1084*4b169a6bSchristosMon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1085*4b169a6bSchristos 1086*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1087*4b169a6bSchristos * config.in: Ditto. 1088*4b169a6bSchristos 1089*4b169a6bSchristosWed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> 1090*4b169a6bSchristos 1091*4b169a6bSchristos * interf.c (sim_open): New arg `kind'. 1092*4b169a6bSchristos 1093*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1094*4b169a6bSchristos 1095*4b169a6bSchristosWed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1096*4b169a6bSchristos 1097*4b169a6bSchristos * configure: Regenerated to track ../common/aclocal.m4 changes. 1098*4b169a6bSchristos 1099*4b169a6bSchristosMon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> 1100*4b169a6bSchristos 1101*4b169a6bSchristos * configure: Re-generate. 1102*4b169a6bSchristos 1103*4b169a6bSchristosThu Mar 13 12:46:04 1997 Doug Evans <dje@canuck.cygnus.com> 1104*4b169a6bSchristos 1105*4b169a6bSchristos * interf.c (sim_open): New SIM_DESC result. Argument is now in 1106*4b169a6bSchristos argv form. 1107*4b169a6bSchristos (other sim_*): New SIM_DESC argument. 1108*4b169a6bSchristos 1109*4b169a6bSchristosTue Feb 4 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com> 1110*4b169a6bSchristos 1111*4b169a6bSchristos * Makefile.in (@COMMON_MAKEFILE_FRAG): Use 1112*4b169a6bSchristos COMMON_{PRE,POST}_CONFIG_FRAG instead. 1113*4b169a6bSchristos * configure.in: sinclude ../common/aclocal.m4. 1114*4b169a6bSchristos * configure: Regenerated. 1115*4b169a6bSchristos 1116*4b169a6bSchristosThu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) 1117*4b169a6bSchristos 1118*4b169a6bSchristos * configure configure.in Makefile.in: Update to new configure 1119*4b169a6bSchristos scheme which is more compatible with WinGDB builds. 1120*4b169a6bSchristos * configure.in: Improve comment on how to run autoconf. 1121*4b169a6bSchristos * configure: Re-run autoconf to get new ../common/aclocal.m4. 1122*4b169a6bSchristos * Makefile.in: Use autoconf substitution to install common 1123*4b169a6bSchristos makefile fragment. 1124*4b169a6bSchristos 1125*4b169a6bSchristosWed Dec 4 18:25:04 1996 Rob Savoye <rob@chinadoll.cygnus.com> 1126*4b169a6bSchristos 1127*4b169a6bSchristos * interf.c (run_sim): Stop the simulator and reset the stdio after 1128*4b169a6bSchristos breakpoints. 1129*4b169a6bSchristos 1130*4b169a6bSchristosTue Dec 3 11:54:37 1996 Rob Savoye <rob@chinadoll.cygnus.com> 1131*4b169a6bSchristos 1132*4b169a6bSchristos * configure.in: Look for libtermcap.a. 1133*4b169a6bSchristos * Makefile.in: Only link in -ltermcap if it exists. 1134*4b169a6bSchristos * erc32.c: Update to version 2.6a. Fix uart handling. 1135*4b169a6bSchristos * exec.c: Update to version 2.6a. Add sparclite support. 1136*4b169a6bSchristos * float.c: Update to version 2.6a. Convert comments to 1137*4b169a6bSchristos preprocessor warnings. Add __setfpucw() for i385 hosts so floating 1138*4b169a6bSchristos point exceptions work on win32. 1139*4b169a6bSchristos * func.c: Update to version 2.6a. Fix uart handling, add support 1140*4b169a6bSchristos for user error traps. 1141*4b169a6bSchristos * help.c: Update to version 2.6a. Add help note on user error 1142*4b169a6bSchristos traps. 1143*4b169a6bSchristos * interf.c: Update to version 2.6a. Fix uart handling, and add 1144*4b169a6bSchristos sparclite support. 1145*4b169a6bSchristos * examples/gccx: Use sparclite cross compiler, not native gcc. 1146*4b169a6bSchristos * examples/srt0.S: Use "mov" rather than "wr" for manipulating 1147*4b169a6bSchristos the psr register. 1148*4b169a6bSchristos 1149*4b169a6bSchristosMon Nov 25 08:28:10 1996 Fred Fish <fnf@cygnus.com> 1150*4b169a6bSchristos 1151*4b169a6bSchristos * Makefile.in (run.o): Remove this rule, it hides the one in 1152*4b169a6bSchristos ../common/Make-common.in that correctly references the source 1153*4b169a6bSchristos in the sibling ../common directory. 1154*4b169a6bSchristos 1155*4b169a6bSchristosWed Nov 20 01:30:12 1996 Doug Evans <dje@canuck.cygnus.com> 1156*4b169a6bSchristos 1157*4b169a6bSchristos * Makefile.in: Delete stuff moved to ../common/Make-common.in. 1158*4b169a6bSchristos (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define. 1159*4b169a6bSchristos (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define. 1160*4b169a6bSchristos * configure.in: Simplify using macros in ../common/aclocal.m4. 1161*4b169a6bSchristos Call AC_CHECK_HEADERS(stdlib.h). 1162*4b169a6bSchristos * configure: Regenerated. 1163*4b169a6bSchristos * config.in: New file. 1164*4b169a6bSchristos * func.c (sim_set_callbacks): Delete, moved to 1165*4b169a6bSchristos * interf.c (sim_set_callbacks): here. 1166*4b169a6bSchristos (sim_callback): New global. 1167*4b169a6bSchristos Rewrite all calls to printf_filtered to go through callback. 1168*4b169a6bSchristos (sim_size,sim_trace): New functions. 1169*4b169a6bSchristos (sim_{insert,remove}_breakpoint): #if 0 out. 1170*4b169a6bSchristos * sis.c: #include "config.h". #include <stdlib.h> if present. 1171*4b169a6bSchristos (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype. 1172*4b169a6bSchristos * sis.h: #include "callback.h". 1173*4b169a6bSchristos * run.c: Deleted, using one in ../common now. 1174*4b169a6bSchristos 1175*4b169a6bSchristosThu Oct 3 16:12:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 1176*4b169a6bSchristos 1177*4b169a6bSchristos * Makefile.in (clean): Move config.log to distclean. 1178*4b169a6bSchristos 1179*4b169a6bSchristosWed Oct 2 16:57:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 1180*4b169a6bSchristos 1181*4b169a6bSchristos * Makefile.in (clean): Also remove config.log. 1182*4b169a6bSchristos 1183*4b169a6bSchristosSat Sep 14 00:00:46 1996 Ian Lance Taylor <ian@cygnus.com> 1184*4b169a6bSchristos 1185*4b169a6bSchristos * Makefile.in (CC_FOR_BUILD): New variable. 1186*4b169a6bSchristos (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables. 1187*4b169a6bSchristos (RANLIB, CC): Likewise. 1188*4b169a6bSchristos (end): Use $(CC_FOR_BUILD), not $(CC). 1189*4b169a6bSchristos * configure.in: Set CC_FOR_BUILD. 1190*4b169a6bSchristos * configure: Rebuild. 1191*4b169a6bSchristos 1192*4b169a6bSchristosSun Sep 8 14:04:37 1996 Stu Grossman (grossman@critters.cygnus.com) 1193*4b169a6bSchristos 1194*4b169a6bSchristos * erc32.c (port_init): Disable this for __GO32__ (got no pty's 1195*4b169a6bSchristos there either...). 1196*4b169a6bSchristos 1197*4b169a6bSchristosMon Aug 12 17:04:58 1996 Stu Grossman (grossman@critters.cygnus.com) 1198*4b169a6bSchristos 1199*4b169a6bSchristos * erc32.c: Don't include sys/ioctl.h or sys/file.h. They aren't 1200*4b169a6bSchristos necessary. 1201*4b169a6bSchristos * (port_init): Don't even *try* to open pty's under _WIN32. 1202*4b169a6bSchristos * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses. 1203*4b169a6bSchristos * float.c: Get rid of #warning. Makes Microsoft C barf. 1204*4b169a6bSchristos * interf.c (sim_open): Cast fprintf to (fprintf_ftype) to fix 1205*4b169a6bSchristos compiler warning. 1206*4b169a6bSchristos * (sim_load sim_create_inferior sim_read): Use prototypes only in 1207*4b169a6bSchristos decls, not defs. 1208*4b169a6bSchristos * Get rid of enum sim_stop. It's defined in remote-sim.h. 1209*4b169a6bSchristos * (sim_stop_reason): Define SIGTRAP if _WIN32. 1210*4b169a6bSchristos * sis.h: Include ansidecl.h and remote-sim.h. 1211*4b169a6bSchristos 1212*4b169a6bSchristosWed Jul 3 16:05:23 1996 Stu Grossman (grossman@critters.cygnus.com) 1213*4b169a6bSchristos 1214*4b169a6bSchristos * erc32.c (mec_reset mec_read mec_write memory_read memory_write), 1215*4b169a6bSchristos sis.h: Get rid of all uses of long long's. 1216*4b169a6bSchristos * (close_port read_uart write_uart uarta_tx): Don't seg fault 1217*4b169a6bSchristos when can't open pty's. 1218*4b169a6bSchristos * exec.c: Add two new instructions: smul, and divscc. 1219*4b169a6bSchristos * interf.c (flush_windows): New routine to flush the register 1220*4b169a6bSchristos windows out to the stack just before returning to GDB. Makes 1221*4b169a6bSchristos backtraces work much better. 1222*4b169a6bSchristos 1223*4b169a6bSchristosWed Jun 26 12:19:11 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 1224*4b169a6bSchristos 1225*4b169a6bSchristos * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 1226*4b169a6bSchristos INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. 1227*4b169a6bSchristos (docdir, oldincludedir): Removed. 1228*4b169a6bSchristos * configure.in (AC_PREREQ): autoconf 2.5 or higher. 1229*4b169a6bSchristos (AC_PROG_INSTALL): Added. 1230*4b169a6bSchristos * configure: Rebuilt. 1231*4b169a6bSchristos 1232*4b169a6bSchristosMon Jun 24 14:19:07 1996 Ian Lance Taylor <ian@cygnus.com> 1233*4b169a6bSchristos 1234*4b169a6bSchristos * configure.in: Call AC_PROG_CC before running configure.host. 1235*4b169a6bSchristos * configure: Rebuild with autoconf 2.10. 1236*4b169a6bSchristos 1237*4b169a6bSchristosTue Jun 4 10:37:12 1996 Tom Tromey <tromey@csk3.cygnus.com> 1238*4b169a6bSchristos 1239*4b169a6bSchristos * Makefile.in (install): Don't check to see if tooldir exists. 1240*4b169a6bSchristos Make $(tooldir) and $(tooldir)/bin. 1241*4b169a6bSchristos 1242*4b169a6bSchristosMon Jun 3 12:33:38 1996 Ian Lance Taylor <ian@cygnus.com> 1243*4b169a6bSchristos 1244*4b169a6bSchristos * Makefile.in (end.h): Use explicit ./ when running end. 1245*4b169a6bSchristos 1246*4b169a6bSchristosSun May 19 21:05:31 1996 Rob Savoye <rob@chinadoll.cygnus.com> 1247*4b169a6bSchristos 1248*4b169a6bSchristos * func.c(bfd_load): Don't try to print the filename if the pfbd is 1249*4b169a6bSchristos NULL. 1250*4b169a6bSchristos * interf.c(sim_load): Pass the whole string, not just the first 1251*4b169a6bSchristos byte. 1252*4b169a6bSchristos 1253*4b169a6bSchristosVersion 2.1 26-02-96 1254*4b169a6bSchristos-------------------- 1255*4b169a6bSchristos 1256*4b169a6bSchristos* Fixed bug in "go" command. 1257*4b169a6bSchristos 1258*4b169a6bSchristosversion 2.0 05-02-96 1259*4b169a6bSchristos-------------------- 1260*4b169a6bSchristos 1261*4b169a6bSchristos* Fixed bug in interrupt force register (erc32.c). 1262*4b169a6bSchristos 1263*4b169a6bSchristos* Change file load function to use bfd_openr. 1264*4b169a6bSchristos 1265*4b169a6bSchristos* SIS should now be endian independent. 1266*4b169a6bSchristos 1267*4b169a6bSchristosversion 1.8 24-11-95 1268*4b169a6bSchristos-------------------- 1269*4b169a6bSchristos 1270*4b169a6bSchristos* Fixed FPU timing - some sequences of FPU instructions did not calculate 1271*4b169a6bSchristos the resource dependencies right. 1272*4b169a6bSchristos 1273*4b169a6bSchristos* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error 1274*4b169a6bSchristos but no FPU trap is generated. 1275*4b169a6bSchristos 1276*4b169a6bSchristosversion 1.7.1 31-10-95 1277*4b169a6bSchristos-------------------- 1278*4b169a6bSchristos 1279*4b169a6bSchristos* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but 1280*4b169a6bSchristos the FPU stays in execute mode. 1281*4b169a6bSchristos 1282*4b169a6bSchristos* Corrected JMPL and RETT timing (these instructions takes two cycles). 1283*4b169a6bSchristos 1284*4b169a6bSchristos 1285*4b169a6bSchristosversion 1.7 25-10-95 1286*4b169a6bSchristos-------------------- 1287*4b169a6bSchristos 1288*4b169a6bSchristos* Interrupt during annuled instruction corrupted return address - fixed. 1289*4b169a6bSchristos 1290*4b169a6bSchristos 1291*4b169a6bSchristosversion 1.6.2 25-10-95 1292*4b169a6bSchristos-------------------- 1293*4b169a6bSchristos 1294*4b169a6bSchristos* Added -DFAST_UART to Makefile 1295*4b169a6bSchristos 1296*4b169a6bSchristos 1297*4b169a6bSchristosversion 1.6.1 24-10-95 1298*4b169a6bSchristos-------------------- 1299*4b169a6bSchristos 1300*4b169a6bSchristos* Fixed bug in STDFQ which caused bus error 1301*4b169a6bSchristos 1302*4b169a6bSchristos 1303*4b169a6bSchristosversion 1.6 02-10-95 1304*4b169a6bSchristos-------------------- 1305*4b169a6bSchristos 1306*4b169a6bSchristos* Modified srt0.s to include code that initiates registers in IU and FPU 1307*4b169a6bSchristos and initializes the data segment. The simulator 'load' command does not 1308*4b169a6bSchristos longer initialize the data segment! 1309*4b169a6bSchristos 1310*4b169a6bSchristos* Corrected MEC timer operation; scalers now divide the frequency by 1311*4b169a6bSchristos (scaler_value + 1). 1312*4b169a6bSchristos 1313*4b169a6bSchristos* MEC breakpoints are not checked during store operation 1314*4b169a6bSchristos 1315*4b169a6bSchristos 1316*4b169a6bSchristosversion 1.5 14-09-95 1317*4b169a6bSchristos-------------------- 1318*4b169a6bSchristos 1319*4b169a6bSchristos* Fixed some bugs in the cycle counting for IU & FPU instructions. 1320*4b169a6bSchristos 1321*4b169a6bSchristos* Fixed bug that allowed an annuled instruction to cause memory exception. 1322*4b169a6bSchristos 1323*4b169a6bSchristos* The *ws parameter in mem.c should now contain the number of waitstates 1324*4b169a6bSchristos required by the memory access (was total number of cycles). 1325*4b169a6bSchristos 1326*4b169a6bSchristos* The supplied srt0.s now clears the BSS (thanks Joel). 1327*4b169a6bSchristos 1328*4b169a6bSchristosversion 1.4 22-08-95 1329*4b169a6bSchristos-------------------- 1330*4b169a6bSchristos 1331*4b169a6bSchristos* Added a '-g' switch to enable/disable the GNU readline(), which cause 1332*4b169a6bSchristossome problems on solaris 2.x machines. 1333*4b169a6bSchristos 1334*4b169a6bSchristos* Enabled MEC watchpoint and breakpoint function to mem.c. Performance 1335*4b169a6bSchristosmay suffer a bit ... 1336*4b169a6bSchristos 1337*4b169a6bSchristosNOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd. 1338*4b169a6bSchristos 1339*4b169a6bSchristosversion 1.3 26-07-95 1340*4b169a6bSchristos-------------------- 1341*4b169a6bSchristos 1342*4b169a6bSchristos* Fixed bug in mulscc instruction (how could that ever have worked?) 1343*4b169a6bSchristos 1344*4b169a6bSchristos* Fixed bug in UART B (flushed characters on UART A), thanks Paul. 1345*4b169a6bSchristos 1346*4b169a6bSchristosversion 1.2 13-07-95 1347*4b169a6bSchristos-------------------- 1348*4b169a6bSchristos 1349*4b169a6bSchristos* Fixed bug in interrupt handling (wrong interrupt selected when more that 1350*4b169a6bSchristosone interrupt pending) 1351*4b169a6bSchristos 1352*4b169a6bSchristos* Fixed updating of condition codes during logical instructions (carry and 1353*4b169a6bSchristosoverflow were not reset) 1354*4b169a6bSchristos 1355*4b169a6bSchristos* Fixed bug in WRTBR (tt field was wrongly over-written) 1356*4b169a6bSchristos 1357*4b169a6bSchristosversion 1.1 07-07-95 1358*4b169a6bSchristos-------------------- 1359*4b169a6bSchristos 1360*4b169a6bSchristos* Fixed several bugs in the interrupt handler and callback routines. 1361*4b169a6bSchristos(reported by Paul Warren, Alsys) 1362