binutils-gdb/sim
Tom Tromey 81e6e8ae40 Do not use old-style definitions in sim
This changes all the non-generated (hand-written) code in sim to use
"new" (post-K&R) style function definitions.

2021-04-08  Tom Tromey  <tom@tromey.com>

	* bpf.c (bpf_def_model_init): Use new-style declaration.

sim/common/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* cgen-utils.c (RORQI, ROLQI, RORHI, ROLHI, RORSI, ROLSI): Use
	new-style declaration.

sim/erc32/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* sis.c (run_sim, main): Use new-style declaration.
	* interf.c (run_sim, sim_open, sim_close, sim_load)
	(sim_create_inferior, sim_store_register, sim_fetch_register)
	(sim_info, sim_stop_reason, flush_windows, sim_do_command): Use
	new-style declaration.
	* help.c (usage, gen_help): Use new-style declaration.
	* func.c (batch, set_regi, set_rega, disp_reg, limcalc)
	(reset_stat, show_stat, init_bpt, int_handler, init_signals)
	(disp_fpu, disp_regs, disp_ctrl, disp_mem, dis_mem, event)
	(init_event, set_int, advance_time, now, wait_for_irq, check_bpt)
	(reset_all, sys_reset, sys_halt): Use new-style declaration.
	* float.c (get_accex, clear_accex, set_fsr): Use new-style
	declaration.
	* exec.c (sub_cc, add_cc, log_cc, dispatch_instruction, fpexec)
	(chk_asi, execute_trap, check_interrupts, init_regs): Use
	new-style declaration.
	* erc32.c (init_sim, reset, decode_ersr, mecparerror)
	(error_mode, decode_memcfg, decode_wcr, decode_mcr, sim_halt)
	(close_port, exit_sim, mec_reset, mec_intack, chk_irq, mec_irq)
	(set_sfsr, mec_read, mec_write, init_stdio, restore_stdio)
	(port_init, read_uart, write_uart, flush_uart, uarta_tx)
	(uartb_tx, uart_rx, uart_intr, uart_irq_start, wdog_intr)
	(wdog_start, rtc_intr, rtc_start, rtc_counter_read)
	(rtc_scaler_set, rtc_reload_set, gpt_intr, gpt_start)
	(gpt_counter_read, gpt_scaler_set, gpt_reload_set, timer_ctrl)
	(memory_read, memory_write, get_mem_ptr, sis_memory_write)
	(sis_memory_read): Use new-style declaration.

sim/frv/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* sim-if.c (sim_open, frv_sim_close, sim_create_inferior): Use
	new-style declaration.

sim/h8300/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* compile.c (cmdline_location): Use new-style declaration.

sim/iq2000/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* sim-if.c (sim_open, sim_create_inferior): Use new-style
	declaration.
	* iq2000.c (fetch_str): Use new-style declaration.

sim/lm32/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* sim-if.c (sim_open, sim_create_inferior): Use new-style
	declaration.

sim/m32r/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* sim-if.c (sim_open, sim_create_inferior): Use new-style
	declaration.
2021-04-08 14:34:42 -06:00
..
aarch64 Aarch64 sim fix for gcc-10 miscompilation. 2021-04-07 18:51:52 -07:00
arm sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
avr sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
bfin sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
bpf Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
common Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
cr16 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
cris sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
d10v sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
erc32 Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
example-synacor sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
frv Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
ft32 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
h8300 Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
igen sim: igen: merge build into top level 2021-04-02 23:35:47 -04:00
iq2000 Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
lm32 Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
m32c sim: set ASAN_OPTIONS=detect_leaks=0 when running igen and opc2c 2021-04-08 09:49:30 -04:00
m32r Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
m68hc11 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
mcore sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
microblaze sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
mips sim: set ASAN_OPTIONS=detect_leaks=0 when running igen and opc2c 2021-04-08 09:49:30 -04:00
mn10300 sim: set ASAN_OPTIONS=detect_leaks=0 when running igen and opc2c 2021-04-08 09:49:30 -04:00
moxie Fix DTB generation mechanism and build failure 2021-04-08 15:02:14 -03:00
msp430 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
or1k sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ppc sim: set ASAN_OPTIONS=detect_leaks=0 when running igen and opc2c 2021-04-08 09:49:30 -04:00
pru sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
riscv sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
rl78 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
rx sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
sh sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
testsuite sim: testsuite: support exit 77 for unsupported tests 2021-04-08 00:48:54 -04:00
v850 sim: set ASAN_OPTIONS=detect_leaks=0 when running igen and opc2c 2021-04-08 09:49:30 -04:00
.gitignore
aclocal.m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ChangeLog sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
configure sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
configure.ac sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
MAINTAINERS sim: readd myself as a maintainer 2021-01-29 22:11:45 -05:00
Makefile.am sim: testsuite: integrate common tests into build 2021-04-03 15:34:13 -04:00
Makefile.in sim: testsuite: integrate common tests into build 2021-04-03 15:34:13 -04:00
README-HACKING sim: delete unused SIM_EXTRA_LIBDEPS 2021-02-28 01:39:02 -05:00