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 * configure: Regenerate. 42*4b169a6bSchristos 43*4b169a6bSchristos2021-06-17 Mike Frysinger <vapier@gentoo.org> 44*4b169a6bSchristos 45*4b169a6bSchristos * configure: Regenerate. 46*4b169a6bSchristos 47*4b169a6bSchristos2021-06-16 Mike Frysinger <vapier@gentoo.org> 48*4b169a6bSchristos 49*4b169a6bSchristos * configure: Regenerate. 50*4b169a6bSchristos 51*4b169a6bSchristos2021-06-16 Mike Frysinger <vapier@gentoo.org> 52*4b169a6bSchristos 53*4b169a6bSchristos * configure: Regenerate. 54*4b169a6bSchristos * config.in: Removed. 55*4b169a6bSchristos 56*4b169a6bSchristos2021-06-15 Mike Frysinger <vapier@gentoo.org> 57*4b169a6bSchristos 58*4b169a6bSchristos * config.in, configure: Regenerate. 59*4b169a6bSchristos 60*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 61*4b169a6bSchristos 62*4b169a6bSchristos * mem.c: Delete HAVE_SYS_SELECT_H. 63*4b169a6bSchristos 64*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 65*4b169a6bSchristos 66*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 67*4b169a6bSchristos 68*4b169a6bSchristos2021-06-12 Mike Frysinger <vapier@gentoo.org> 69*4b169a6bSchristos 70*4b169a6bSchristos * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE. 71*4b169a6bSchristos * config.in, configure: Regenerate. 72*4b169a6bSchristos 73*4b169a6bSchristos2021-06-02 John Baldwin <jhb@FreeBSD.org> 74*4b169a6bSchristos 75*4b169a6bSchristos * m32c.opc: Include defs.h. 76*4b169a6bSchristos * r8c.opc: Likewise. 77*4b169a6bSchristos 78*4b169a6bSchristos2021-05-28 Mike Frysinger <vapier@gentoo.org> 79*4b169a6bSchristos 80*4b169a6bSchristos * gdb-if.c (open): Rename to ... 81*4b169a6bSchristos (is_open): ... this. 82*4b169a6bSchristos (sim_open, sim_close): Rename open to is_open. 83*4b169a6bSchristos 84*4b169a6bSchristos2021-05-16 Mike Frysinger <vapier@gentoo.org> 85*4b169a6bSchristos 86*4b169a6bSchristos * int.c, misc.c, opc2c.c, reg.c, srcdest.c: Include defs.h. 87*4b169a6bSchristos * gdb-if.c, load.c, main.c, mem.c, syscalls.c, trace.c: Replace 88*4b169a6bSchristos config.h include with defs.h. 89*4b169a6bSchristos 90*4b169a6bSchristos2021-05-16 Mike Frysinger <vapier@gentoo.org> 91*4b169a6bSchristos 92*4b169a6bSchristos * config.in, configure: Regenerate. 93*4b169a6bSchristos 94*4b169a6bSchristos2021-05-14 Mike Frysinger <vapier@gentoo.org> 95*4b169a6bSchristos 96*4b169a6bSchristos * gdb-if.c: Update include path. 97*4b169a6bSchristos * syscalls.c: Likewise. 98*4b169a6bSchristos 99*4b169a6bSchristos2021-05-07 Mike Frysinger <vapier@gentoo.org> 100*4b169a6bSchristos 101*4b169a6bSchristos * mem.c: Include errno.h. 102*4b169a6bSchristos (mem_put_byte): Print a warning when the write call fails. 103*4b169a6bSchristos (mem_put_blk): Declare local buf pointer and use it. 104*4b169a6bSchristos (mem_get_byte): Return 0 when the read call fails. 105*4b169a6bSchristos (mem_get_blk): Declare local buf pointer and use it. 106*4b169a6bSchristos * trace.c (load_file_and_line): Declare ret. 107*4b169a6bSchristos Assign fread to ret and use to index f->data. 108*4b169a6bSchristos * configure.ac: Delete SIM_AC_OPTION_WARNINGS call. 109*4b169a6bSchristos * configure: Regenerate. 110*4b169a6bSchristos 111*4b169a6bSchristos2021-05-07 Mike Frysinger <vapier@gentoo.org> 112*4b169a6bSchristos 113*4b169a6bSchristos * m32c.opc: Add scope braces around a few segments. 114*4b169a6bSchristos * r8c.opc: Likewise. 115*4b169a6bSchristos 116*4b169a6bSchristos2021-05-07 Mike Frysinger <vapier@gentoo.org> 117*4b169a6bSchristos 118*4b169a6bSchristos * Makefile.in: Delete safe-fgets. 119*4b169a6bSchristos * opc2c.c: Delete safe-fgets.h include. 120*4b169a6bSchristos (main): Replace safe_fgets with getline. 121*4b169a6bSchristos * safe-fgets.c, safe-fgets.h: Removed. 122*4b169a6bSchristos 123*4b169a6bSchristos2021-05-05 Mike Frysinger <vapier@gentoo.org> 124*4b169a6bSchristos 125*4b169a6bSchristos * gdb-if.c: Include libiberty.h. 126*4b169a6bSchristos (sim_do_command): Rewrite to use buildargv. 127*4b169a6bSchristos 128*4b169a6bSchristos2021-05-04 Mike Frysinger <vapier@gentoo.org> 129*4b169a6bSchristos 130*4b169a6bSchristos * configure: Regenerate. 131*4b169a6bSchristos 132*4b169a6bSchristos2021-05-04 Mike Frysinger <vapier@gentoo.org> 133*4b169a6bSchristos 134*4b169a6bSchristos * load.c (m32c_load): Use BFD_VMA_FMT and drop casts. 135*4b169a6bSchristos 136*4b169a6bSchristos2021-05-02 Mike Frysinger <vapier@gentoo.org> 137*4b169a6bSchristos 138*4b169a6bSchristos * m32c.opc: Include ansidecl.h. 139*4b169a6bSchristos (AU): Delete. 140*4b169a6bSchristos * opc2c.c (dump_lines): Change AU to ATTRIBUTE_UNUSED. 141*4b169a6bSchristos * r8c.opc: Include ansidecl.h. 142*4b169a6bSchristos (AU): Delete. 143*4b169a6bSchristos 144*4b169a6bSchristos2021-05-01 Mike Frysinger <vapier@gentoo.org> 145*4b169a6bSchristos 146*4b169a6bSchristos * config.in, configure: Regenerate. 147*4b169a6bSchristos 148*4b169a6bSchristos2021-04-26 Mike Frysinger <vapier@gentoo.org> 149*4b169a6bSchristos 150*4b169a6bSchristos * Makefile.in (NL_TARGET): Delete. 151*4b169a6bSchristos 152*4b169a6bSchristos2021-04-26 Mike Frysinger <vapier@gentoo.org> 153*4b169a6bSchristos 154*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 155*4b169a6bSchristos 156*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 157*4b169a6bSchristos 158*4b169a6bSchristos * configure, config.in: Rebuild. 159*4b169a6bSchristos 160*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 161*4b169a6bSchristos 162*4b169a6bSchristos * Makefile.in (LIBS): Remove 163*4b169a6bSchristos 164*4b169a6bSchristos2021-04-22 Tom Tromey <tom@tromey.com> 165*4b169a6bSchristos 166*4b169a6bSchristos * configure: Rebuild. 167*4b169a6bSchristos 168*4b169a6bSchristos2021-04-21 Mike Frysinger <vapier@gentoo.org> 169*4b169a6bSchristos 170*4b169a6bSchristos * aclocal.m4: Regenerate. 171*4b169a6bSchristos 172*4b169a6bSchristos2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> 173*4b169a6bSchristos 174*4b169a6bSchristos * configure: Regenerate. 175*4b169a6bSchristos 176*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 177*4b169a6bSchristos 178*4b169a6bSchristos * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. 179*4b169a6bSchristos * configure: Regenerate. 180*4b169a6bSchristos 181*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 182*4b169a6bSchristos 183*4b169a6bSchristos * Makefile.in (NL_TARGET): Define. 184*4b169a6bSchristos * syscalls.c: Change syscall.h include to targ-vals.h. 185*4b169a6bSchristos (m32c_syscall): Add TARGET_ prefix to all SYS_ constants. 186*4b169a6bSchristos * syscall.h: Removed. 187*4b169a6bSchristos 188*4b169a6bSchristos2021-04-18 Mike Frysinger <vapier@gentoo.org> 189*4b169a6bSchristos 190*4b169a6bSchristos * configure: Regenerate. 191*4b169a6bSchristos 192*4b169a6bSchristos2021-04-08 Simon Marchi <simon.marchi@polymtl.ca> 193*4b169a6bSchristos 194*4b169a6bSchristos * Makefile.in: Set ASAN_OPTIONS when running opc2c. 195*4b169a6bSchristos 196*4b169a6bSchristos2021-04-07 Simon Marchi <simon.marchi@polymtl.ca> 197*4b169a6bSchristos 198*4b169a6bSchristos * opc2c.c (main): Remove vlist variable. 199*4b169a6bSchristos 200*4b169a6bSchristos2021-04-02 Mike Frysinger <vapier@gentoo.org> 201*4b169a6bSchristos 202*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 203*4b169a6bSchristos 204*4b169a6bSchristos2021-03-13 Mike Frysinger <vapier@gentoo.org> 205*4b169a6bSchristos 206*4b169a6bSchristos * Makefile.in (opc2c.o, safe-fgets.o): Call COMPILE_FOR_BUILD. 207*4b169a6bSchristos (opc2c): Call LINK_FOR_BUILD. 208*4b169a6bSchristos 209*4b169a6bSchristos2021-03-08 Mike Frysinger <vapier@gentoo.org> 210*4b169a6bSchristos 211*4b169a6bSchristos * Makefile.in (opc2c): Delete $(BUILD_LIBS). 212*4b169a6bSchristos 213*4b169a6bSchristos2021-02-28 Mike Frysinger <vapier@gentoo.org> 214*4b169a6bSchristos 215*4b169a6bSchristos * configure: Regenerate. 216*4b169a6bSchristos 217*4b169a6bSchristos2021-02-21 Mike Frysinger <vapier@gentoo.org> 218*4b169a6bSchristos 219*4b169a6bSchristos * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. 220*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 221*4b169a6bSchristos 222*4b169a6bSchristos2021-02-13 Mike Frysinger <vapier@gentoo.org> 223*4b169a6bSchristos 224*4b169a6bSchristos * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. 225*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 226*4b169a6bSchristos 227*4b169a6bSchristos2021-02-06 Mike Frysinger <vapier@gentoo.org> 228*4b169a6bSchristos 229*4b169a6bSchristos * gdb-if.c (sim_memory_map): Define. 230*4b169a6bSchristos 231*4b169a6bSchristos2021-02-06 Mike Frysinger <vapier@gentoo.org> 232*4b169a6bSchristos 233*4b169a6bSchristos * configure: Regenerate. 234*4b169a6bSchristos 235*4b169a6bSchristos2021-01-11 Mike Frysinger <vapier@gentoo.org> 236*4b169a6bSchristos 237*4b169a6bSchristos * config.in, configure: Regenerate. 238*4b169a6bSchristos 239*4b169a6bSchristos2021-01-09 Mike Frysinger <vapier@gentoo.org> 240*4b169a6bSchristos 241*4b169a6bSchristos * configure: Regenerate. 242*4b169a6bSchristos 243*4b169a6bSchristos2021-01-09 Mike Frysinger <vapier@gentoo.org> 244*4b169a6bSchristos 245*4b169a6bSchristos * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". 246*4b169a6bSchristos * configure: Regenerate. 247*4b169a6bSchristos 248*4b169a6bSchristos2021-01-08 Mike Frysinger <vapier@gentoo.org> 249*4b169a6bSchristos 250*4b169a6bSchristos * configure: Regenerate. 251*4b169a6bSchristos 252*4b169a6bSchristos2021-01-04 Mike Frysinger <vapier@gentoo.org> 253*4b169a6bSchristos 254*4b169a6bSchristos * configure: Regenerate. 255*4b169a6bSchristos 256*4b169a6bSchristos2017-09-06 John Baldwin <jhb@FreeBSD.org> 257*4b169a6bSchristos 258*4b169a6bSchristos * configure: Regenerate. 259*4b169a6bSchristos 260*4b169a6bSchristos2017-02-13 Mike Frysinger <vapier@gentoo.org> 261*4b169a6bSchristos 262*4b169a6bSchristos * srcdest.c: Include libiberty.h. 263*4b169a6bSchristos (decode_sd23): Use ARRAY_SIZE. 264*4b169a6bSchristos 265*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 266*4b169a6bSchristos 267*4b169a6bSchristos * config.in, configure: Regenerate. 268*4b169a6bSchristos 269*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 270*4b169a6bSchristos 271*4b169a6bSchristos * configure: Regenerate. 272*4b169a6bSchristos 273*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 274*4b169a6bSchristos 275*4b169a6bSchristos * configure: Regenerate. 276*4b169a6bSchristos 277*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 278*4b169a6bSchristos 279*4b169a6bSchristos * configure: Regenerate. 280*4b169a6bSchristos 281*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 282*4b169a6bSchristos 283*4b169a6bSchristos * configure: Regenerate. 284*4b169a6bSchristos 285*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 286*4b169a6bSchristos 287*4b169a6bSchristos * configure: Regenerate. 288*4b169a6bSchristos 289*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 290*4b169a6bSchristos 291*4b169a6bSchristos * configure: Regenerate. 292*4b169a6bSchristos 293*4b169a6bSchristos2016-01-10 Mike Frysinger <vapier@gentoo.org> 294*4b169a6bSchristos 295*4b169a6bSchristos * configure: Regenerate. 296*4b169a6bSchristos 297*4b169a6bSchristos2016-01-09 Mike Frysinger <vapier@gentoo.org> 298*4b169a6bSchristos 299*4b169a6bSchristos * config.in, configure: Regenerate. 300*4b169a6bSchristos 301*4b169a6bSchristos2016-01-06 Mike Frysinger <vapier@gentoo.org> 302*4b169a6bSchristos 303*4b169a6bSchristos * sim-if.c (sim_open): Mark argv const. 304*4b169a6bSchristos (sim_create_inferior): Mark argv and env const. 305*4b169a6bSchristos 306*4b169a6bSchristos2016-01-04 Mike Frysinger <vapier@gentoo.org> 307*4b169a6bSchristos 308*4b169a6bSchristos * configure: Regenerate. 309*4b169a6bSchristos 310*4b169a6bSchristos2016-01-03 Mike Frysinger <vapier@gentoo.org> 311*4b169a6bSchristos 312*4b169a6bSchristos * config.in, configure: Regenerate. 313*4b169a6bSchristos 314*4b169a6bSchristos2015-12-26 Mike Frysinger <vapier@gentoo.org> 315*4b169a6bSchristos 316*4b169a6bSchristos * config.in, configure: Regenerate. 317*4b169a6bSchristos 318*4b169a6bSchristos2015-11-09 Mike Frysinger <vapier@gentoo.org> 319*4b169a6bSchristos 320*4b169a6bSchristos * Makefile.in (sample.x, sample.mot, sample2.x, sample2.o, gloss.o): 321*4b169a6bSchristos Delete targets. 322*4b169a6bSchristos * blinky.S: Moved to ../testsuite/sim/m32c/. 323*4b169a6bSchristos * gloss.S, sample.ld, sample.S, sample2.c: Likewise. 324*4b169a6bSchristos 325*4b169a6bSchristos2015-11-09 Mike Frysinger <vapier@gentoo.org> 326*4b169a6bSchristos 327*4b169a6bSchristos * Makefile.in: Delete redundant dependency info. 328*4b169a6bSchristos 329*4b169a6bSchristos2015-08-05 Nick Clifton <nickc@redhat.com> 330*4b169a6bSchristos 331*4b169a6bSchristos * gdb-if.c (sim_info): Stub function to allow GDB to be built 332*4b169a6bSchristos with this simulator. 333*4b169a6bSchristos 334*4b169a6bSchristos2015-06-23 Mike Frysinger <vapier@gentoo.org> 335*4b169a6bSchristos 336*4b169a6bSchristos * configure: Regenerate. 337*4b169a6bSchristos 338*4b169a6bSchristos2015-06-12 Mike Frysinger <vapier@gentoo.org> 339*4b169a6bSchristos 340*4b169a6bSchristos * configure: Regenerate. 341*4b169a6bSchristos 342*4b169a6bSchristos2015-06-12 Mike Frysinger <vapier@gentoo.org> 343*4b169a6bSchristos 344*4b169a6bSchristos * configure: Regenerate. 345*4b169a6bSchristos 346*4b169a6bSchristos2015-04-13 Mike Frysinger <vapier@gentoo.org> 347*4b169a6bSchristos 348*4b169a6bSchristos * configure: Regenerate. 349*4b169a6bSchristos 350*4b169a6bSchristos2015-04-01 Mike Frysinger <vapier@gentoo.org> 351*4b169a6bSchristos 352*4b169a6bSchristos * configure.ac: Call SIM_AC_OPTION_WARNINGS. 353*4b169a6bSchristos * configure: Regenerate. 354*4b169a6bSchristos * cpu.h (decode_opcode, decode_r8c, decode_m32c, 355*4b169a6bSchristos trace_register_changes): Convert old style prototypes. 356*4b169a6bSchristos (m32c_dump_all_registers): New prototype. 357*4b169a6bSchristos * gdb-if.c: Include stdlib.h. 358*4b169a6bSchristos (sim_info): Delete. 359*4b169a6bSchristos (siggnal, handle_step): Mark static. 360*4b169a6bSchristos (sim_resume): Move rc decl to top of scope. 361*4b169a6bSchristos * load.c: Include load.h. 362*4b169a6bSchristos (decode_opcode); Convert old style prototype. 363*4b169a6bSchristos (m32c_load): Move base decl to top of scope. 364*4b169a6bSchristos * load.h (m32c_set_mach): Change mach type to unsigned long. 365*4b169a6bSchristos * m32c.opc (getbyte, decode_m32c): Convert old style prototypes. 366*4b169a6bSchristos (prefix): Convert old style prototype and mark static. 367*4b169a6bSchristos * mem.c (mem_ptr, mem_usage_stats, e, mem_get_pc, stdin_ready, 368*4b169a6bSchristos m32c_sim_restore_console, update_timer_a): Convert old style 369*4b169a6bSchristos prototypes. 370*4b169a6bSchristos (mem_put_byte): Mark static. 371*4b169a6bSchristos * mem.h (mem_get_pc, m32c_sim_restore_console): Convert old style 372*4b169a6bSchristos prototypes. 373*4b169a6bSchristos * r8c.opc (getbyte, IMM, decode_r8c): Convert old style prototypes. 374*4b169a6bSchristos * reg.c (stack_heap_stats, trace_register_changes, 375*4b169a6bSchristos m32c_dump_all_registers): Convert old style prototypes. 376*4b169a6bSchristos (put_reg): Move b decl to top of scope. 377*4b169a6bSchristos * sample2.c (start): Convert old style prototype. 378*4b169a6bSchristos * srcdest.c (disp8, disp16, disp24, disp20): Convert old style 379*4b169a6bSchristos prototypes. 380*4b169a6bSchristos (decode_srcdest4, decode_jumpdest): Move sd init below decls. 381*4b169a6bSchristos * timer_a.h (update_timer_a): Convert old style prototype. 382*4b169a6bSchristos * trace.c: Include trace.h. 383*4b169a6bSchristos (load_file_and_line): Move file decl to top of scope. 384*4b169a6bSchristos (sim_disasm_one): Convert old style prototype. 385*4b169a6bSchristos 386*4b169a6bSchristos2015-03-31 Mike Frysinger <vapier@gentoo.org> 387*4b169a6bSchristos 388*4b169a6bSchristos * config.in, configure: Regenerate. 389*4b169a6bSchristos 390*4b169a6bSchristos2015-03-16 Mike Frysinger <vapier@gentoo.org> 391*4b169a6bSchristos 392*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 393*4b169a6bSchristos 394*4b169a6bSchristos2014-08-19 Alan Modra <amodra@gmail.com> 395*4b169a6bSchristos 396*4b169a6bSchristos * configure: Regenerate. 397*4b169a6bSchristos 398*4b169a6bSchristos2014-08-15 Roland McGrath <mcgrathr@google.com> 399*4b169a6bSchristos 400*4b169a6bSchristos * configure: Regenerate. 401*4b169a6bSchristos * config.in: Regenerate. 402*4b169a6bSchristos 403*4b169a6bSchristos2014-03-10 Mike Frysinger <vapier@gentoo.org> 404*4b169a6bSchristos 405*4b169a6bSchristos * gdb-if.c (sim_do_command): Add const to cmd. Move args 406*4b169a6bSchristos to top and add const. Call strdup on cmd and free at end. 407*4b169a6bSchristos 408*4b169a6bSchristos2014-03-05 Mike Frysinger <vapier@gentoo.org> 409*4b169a6bSchristos 410*4b169a6bSchristos * gdb-if.c (sim_load): Add const to prog. 411*4b169a6bSchristos 412*4b169a6bSchristos2013-09-23 Alan Modra <amodra@gmail.com> 413*4b169a6bSchristos 414*4b169a6bSchristos * configure: Regenerate. 415*4b169a6bSchristos 416*4b169a6bSchristos2013-06-03 Mike Frysinger <vapier@gentoo.org> 417*4b169a6bSchristos 418*4b169a6bSchristos * aclocal.m4, configure: Regenerate. 419*4b169a6bSchristos 420*4b169a6bSchristos2012-06-15 Joel Brobecker <brobecker@adacore.com> 421*4b169a6bSchristos 422*4b169a6bSchristos * config.in, configure: Regenerate. 423*4b169a6bSchristos 424*4b169a6bSchristos2012-05-24 Pedro Alves <palves@redhat.com> 425*4b169a6bSchristos 426*4b169a6bSchristos PR gdb/7205 427*4b169a6bSchristos 428*4b169a6bSchristos Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. 429*4b169a6bSchristos 430*4b169a6bSchristos2012-05-18 Nick Clifton <nickc@redhat.com> 431*4b169a6bSchristos 432*4b169a6bSchristos PR 14072 433*4b169a6bSchristos * gdb-if.c: Include config.h before system header files. 434*4b169a6bSchristos * load.c: Likewise. 435*4b169a6bSchristos * syscalls.c: Likewise. 436*4b169a6bSchristos * trace.c: Likewise. 437*4b169a6bSchristos 438*4b169a6bSchristos2012-03-24 Mike Frysinger <vapier@gentoo.org> 439*4b169a6bSchristos 440*4b169a6bSchristos * aclocal.m4, config.in, configure: Regenerate. 441*4b169a6bSchristos 442*4b169a6bSchristos2012-01-02 Joel Brobecker <brobecker@adacore.com> 443*4b169a6bSchristos 444*4b169a6bSchristos * blinky.S, gloss.S, sample.S: Reformat copyright header. 445*4b169a6bSchristos 446*4b169a6bSchristos2011-12-03 Mike Frysinger <vapier@gentoo.org> 447*4b169a6bSchristos 448*4b169a6bSchristos * aclocal.m4: New file. 449*4b169a6bSchristos * configure: Regenerate. 450*4b169a6bSchristos 451*4b169a6bSchristos2011-10-17 Mike Frysinger <vapier@gentoo.org> 452*4b169a6bSchristos 453*4b169a6bSchristos * configure.ac: Change include to common/acinclude.m4. 454*4b169a6bSchristos 455*4b169a6bSchristos2011-10-17 Mike Frysinger <vapier@gentoo.org> 456*4b169a6bSchristos 457*4b169a6bSchristos * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER 458*4b169a6bSchristos call. Replace common.m4 include with SIM_AC_COMMON. 459*4b169a6bSchristos * configure: Regenerate. 460*4b169a6bSchristos 461*4b169a6bSchristos2011-07-11 Mike Frysinger <vapier@gentoo.org> 462*4b169a6bSchristos 463*4b169a6bSchristos * configure.ac: Rename from configure.in. 464*4b169a6bSchristos 465*4b169a6bSchristos2011-07-11 Mike Frysinger <vapier@gentoo.org> 466*4b169a6bSchristos 467*4b169a6bSchristos * configure.in: Add "dnl" before copyright notice. 468*4b169a6bSchristos 469*4b169a6bSchristos2011-04-16 Mike Frysinger <vapier@gentoo.org> 470*4b169a6bSchristos 471*4b169a6bSchristos * gdb-if.c (sim_complete_command): New stub function. 472*4b169a6bSchristos 473*4b169a6bSchristos2011-01-11 Andrew Burgess <aburgess@broadcom.com> 474*4b169a6bSchristos 475*4b169a6bSchristos * gdb-if.c (sim_store_register): Update return value to 476*4b169a6bSchristos match new API. 477*4b169a6bSchristos 478*4b169a6bSchristos2010-12-04 Masaki Muranaka <monaka@monami-software.com> 479*4b169a6bSchristos 480*4b169a6bSchristos * Makefile.in: Use CC_FOR_BUILD to build opc2c. 481*4b169a6bSchristos 482*4b169a6bSchristos2010-05-26 Ozkan Sezer <sezeroz@gmail.com> 483*4b169a6bSchristos 484*4b169a6bSchristos * main.c (setup_tcp_console): Check error return from socket() call 485*4b169a6bSchristos by its equality to -1 not by it being negative. 486*4b169a6bSchristos 487*4b169a6bSchristos2010-04-14 Mike Frysinger <vapier@gentoo.org> 488*4b169a6bSchristos 489*4b169a6bSchristos * gdb-if.c (sim_write): Add const to buf arg. 490*4b169a6bSchristos * mem.h (mem_put_blk): Add const to bufptr arg. 491*4b169a6bSchristos * mem.c (mem_put_blk): Likewise, and add const to cast. 492*4b169a6bSchristos 493*4b169a6bSchristos2010-01-20 DJ Delorie <dj@redhat.com> 494*4b169a6bSchristos 495*4b169a6bSchristos * m32c.opc (MATH_OP): When doing subtraction, also set carry if 496*4b169a6bSchristos the result is zero. 497*4b169a6bSchristos 498*4b169a6bSchristos2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 499*4b169a6bSchristos 500*4b169a6bSchristos * configure: Regenerate. 501*4b169a6bSchristos 502*4b169a6bSchristos2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 503*4b169a6bSchristos 504*4b169a6bSchristos * config.in: Regenerate. 505*4b169a6bSchristos * configure: Likewise. 506*4b169a6bSchristos 507*4b169a6bSchristos * configure: Regenerate. 508*4b169a6bSchristos 509*4b169a6bSchristos2009-08-14 DJ Delorie <dj@redhat.com> 510*4b169a6bSchristos 511*4b169a6bSchristos * configure.in: Check for sys/select.h, termios.h, sys/socket.h, 512*4b169a6bSchristos netinet/in.h, and netinet/tcp.h. 513*4b169a6bSchristos * configure: Regenerate. 514*4b169a6bSchristos * config.in: Add those headers. 515*4b169a6bSchristos * main.c: Check for them. 516*4b169a6bSchristos (setup_tcp_console): Disable if no networking. 517*4b169a6bSchristos (main): Note missing networking or termios. 518*4b169a6bSchristos * mem.c: Check for those headers. 519*4b169a6bSchristos (stdin_ready): Disable if no termios. 520*4b169a6bSchristos (m32c_sim_restore_console): Disable if no termios. 521*4b169a6bSchristos (mem_get_byte): Disable console input if no termios. 522*4b169a6bSchristos 523*4b169a6bSchristos2009-05-08 Kevin Buettner <kevinb@redhat.com> 524*4b169a6bSchristos 525*4b169a6bSchristos * gdb-if.c (m32c_signal_to_host): Rename to 526*4b169a6bSchristos m32c_signal_to_target. Change signal return values from SIGILL, 527*4b169a6bSchristos SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP, 528*4b169a6bSchristos TARGET_SIGNAL_SEGV, etc. Fix all callers. 529*4b169a6bSchristos 530*4b169a6bSchristos2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com> 531*4b169a6bSchristos 532*4b169a6bSchristos * r8c.opc, m32c.opc: Add parentheses to remove warnings. 533*4b169a6bSchristos 534*4b169a6bSchristos2008-10-01 DJ Delorie <dj@redhat.com> 535*4b169a6bSchristos 536*4b169a6bSchristos * int.c (trigger_peripheral_interrupt): Clear interrupt pending 537*4b169a6bSchristos bit when peripheral interrupts are serviced. 538*4b169a6bSchristos 539*4b169a6bSchristos2008-07-11 Hans-Peter Nilsson <hp@axis.com> 540*4b169a6bSchristos 541*4b169a6bSchristos * configure: Regenerate to track ../common/common.m4 changes. 542*4b169a6bSchristos * config.in: Ditto. 543*4b169a6bSchristos 544*4b169a6bSchristos2008-06-16 DJ Delorie <dj@redhat.com> 545*4b169a6bSchristos 546*4b169a6bSchristos * m32c.opc (BRK, GDBBRK): Remove debug logic. 547*4b169a6bSchristos * main.c (main): Add option to set raw console. 548*4b169a6bSchristos * mem.h (m32c_use_raw_console): Declare. 549*4b169a6bSchristos * mem.c (m32c_sim_restore_console): Only restore console if it's 550*4b169a6bSchristos been previously set. 551*4b169a6bSchristos (m32c_use_raw_console): Define. 552*4b169a6bSchristos (mem_get_byte): Set raw console if m32c_use_raw_console is set. 553*4b169a6bSchristos 554*4b169a6bSchristos2008-06-06 Vladimir Prus <vladimir@codesourcery.com> 555*4b169a6bSchristos Daniel Jacobowitz <dan@codesourcery.com> 556*4b169a6bSchristos Joseph Myers <joseph@codesourcery.com> 557*4b169a6bSchristos 558*4b169a6bSchristos * configure: Regenerate. 559*4b169a6bSchristos 560*4b169a6bSchristos2008-06-06 DJ Delorie <dj@redhat.com> 561*4b169a6bSchristos 562*4b169a6bSchristos * Makefile.in: Add Timer A support. 563*4b169a6bSchristos * cpu.h (m32c_opcode_pc): New. 564*4b169a6bSchristos (in_gdb): New. 565*4b169a6bSchristos * gdb-if.c (sim_open): Add Timer A support. Support unbuffered 566*4b169a6bSchristos console. 567*4b169a6bSchristos * int.c (trigger_interrupt): Manage the U flag properly. 568*4b169a6bSchristos (trigger_based_interrupt): Likewise. 569*4b169a6bSchristos (trigger_fixed_interrupt): New. 570*4b169a6bSchristos (trigger_peripheral_interrupt): New. 571*4b169a6bSchristos * int.h (trigger_peripheral_interrupt): New. 572*4b169a6bSchristos * m32c.opc: Use m32c_opcode_pc throughout, as needed. 573*4b169a6bSchristos (decode_m32c): Detect jump-to-zero with traceback. 574*4b169a6bSchristos (BRK): Try to do the right thing, keeping track of whether we're 575*4b169a6bSchristos in gdb or not, and if the user has provided a handler or not. 576*4b169a6bSchristos (GBRK): Alternate break opcode for gdb, in case the user's app 577*4b169a6bSchristos needs to use BRK for itself. 578*4b169a6bSchristos (BRK2): Implement. 579*4b169a6bSchristos * main.c: Add Timer A support. Support TCP-based console. 580*4b169a6bSchristos (setup_tcp_console): New. 581*4b169a6bSchristos (main): Add Timer A support. Support TCP-based console. 582*4b169a6bSchristos * mem.h (m32c_sim_restore_console): New. 583*4b169a6bSchristos * mem.c: Add Timer A support. Support TCP-based console. 584*4b169a6bSchristos (mem_ptr): Enhance NULL pointer detection. 585*4b169a6bSchristos (stdin_ready): New. 586*4b169a6bSchristos (m32c_sim_restore_console): New. 587*4b169a6bSchristos (mem_get_byte): Check for console input ready. 588*4b169a6bSchristos (update_timer_a): New. 589*4b169a6bSchristos * r8c.opc (SSTR): Use r0l, not r0h. 590*4b169a6bSchristos (REIT): Fix return frame logic. 591*4b169a6bSchristos * reg.c (print_flags): New. 592*4b169a6bSchristos (trace_register_changes): Use it. 593*4b169a6bSchristos (m32c_dump_all_registers): New. 594*4b169a6bSchristos * timer_a.h: New. 595*4b169a6bSchristos 596*4b169a6bSchristos * load.c: Fix indentation. 597*4b169a6bSchristos * trace.c: Fix indentation. 598*4b169a6bSchristos * trace.h: Fix indentation. 599*4b169a6bSchristos 600*4b169a6bSchristos2006-06-26 DJ Delorie <dj@redhat.com> 601*4b169a6bSchristos 602*4b169a6bSchristos * r8c.opc (decode_r8c): Don't bother reading the destination 603*4b169a6bSchristos before moving a constant into it. Fix borrow comparison for SUB. 604*4b169a6bSchristos 605*4b169a6bSchristos2006-06-13 Richard Earnshaw <rearnsha@arm.com> 606*4b169a6bSchristos 607*4b169a6bSchristos * configure: Regenerated. 608*4b169a6bSchristos 609*4b169a6bSchristos2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> 610*4b169a6bSchristos 611*4b169a6bSchristos * configure: Regenerated. 612*4b169a6bSchristos 613*4b169a6bSchristos2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> 614*4b169a6bSchristos 615*4b169a6bSchristos * configure: Regenerated. 616*4b169a6bSchristos 617*4b169a6bSchristos2006-03-13 DJ Delorie <dj@redhat.com> 618*4b169a6bSchristos 619*4b169a6bSchristos * mem.c (mem_put_byte): Hook simulated UART to stdout. 620*4b169a6bSchristos (mem_put_hi): Hook in simulated trace port. 621*4b169a6bSchristos (mem_get_byte): Hook in simulated uart control port. 622*4b169a6bSchristos * opc2c: Be more picky about matching special comments. 623*4b169a6bSchristos * r8c.opc (shift_op): Limit shift counts to -16..16. 624*4b169a6bSchristos (BMcnd): Map conditional codes. 625*4b169a6bSchristos * reg.c (condition_true): Mask condition code to 4 bits. 626*4b169a6bSchristos * syscalls.c: Include local syscall.h. 627*4b169a6bSchristos * syscall.h: New, copied from libgloss. 628*4b169a6bSchristos 629*4b169a6bSchristos2005-10-06 Jim Blandy <jimb@redhat.com> 630*4b169a6bSchristos 631*4b169a6bSchristos Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>, 632*4b169a6bSchristos with further work from Jim Blandy <jimb@redhat.com> and 633*4b169a6bSchristos Kevin Buettner <kevinb@redhat.com>. 634*4b169a6bSchristos 635*4b169a6bSchristos * ChangeLog: New. 636*4b169a6bSchristos * Makefile.in: New. 637*4b169a6bSchristos * blinky.S: New. 638*4b169a6bSchristos * config.in: New. 639*4b169a6bSchristos * configure: New. 640*4b169a6bSchristos * configure.in: New. 641*4b169a6bSchristos * cpu.h: New. 642*4b169a6bSchristos * gdb-if.c: New. 643*4b169a6bSchristos * gloss.S: New. 644*4b169a6bSchristos * int.c: New. 645*4b169a6bSchristos * int.h: New. 646*4b169a6bSchristos * load.c: New. 647*4b169a6bSchristos * load.h: New. 648*4b169a6bSchristos * m32c.opc: New. 649*4b169a6bSchristos * main.c: New. 650*4b169a6bSchristos * mem.c: New. 651*4b169a6bSchristos * mem.h: New. 652*4b169a6bSchristos * misc.c: New. 653*4b169a6bSchristos * misc.h: New. 654*4b169a6bSchristos * opc2c.c: New. 655*4b169a6bSchristos * r8c.opc: New. 656*4b169a6bSchristos * reg.c: New. 657*4b169a6bSchristos * safe-fgets.c: New. 658*4b169a6bSchristos * safe-fgets.h: New. 659*4b169a6bSchristos * sample.S: New. 660*4b169a6bSchristos * sample.ld: New. 661*4b169a6bSchristos * sample2.c: New. 662*4b169a6bSchristos * srcdest.c: New. 663*4b169a6bSchristos * syscalls.c: New. 664*4b169a6bSchristos * syscalls.h: New. 665*4b169a6bSchristos * trace.c: New. 666*4b169a6bSchristos * trace.h: New. 667