binutils-gdb/sim/common
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
..
callback.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
cgen-accfp.c sim: cgen-accfp: Fix pointer sign warnings 2021-01-31 15:26:58 -05:00
cgen-cpu.h
cgen-defs.h
cgen-engine.h
cgen-fpu.c
cgen-fpu.h
cgen-mem.h
cgen-ops.h
cgen-par.c sim: common: add missing stdlib.h for abort() 2021-01-09 02:45:14 -05:00
cgen-par.h
cgen-run.c
cgen-scache.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
cgen-scache.h
cgen-sim.h
cgen-trace.c sim: cgen-trace: tweak printf call 2021-01-31 17:31:44 -05:00
cgen-trace.h
cgen-types.h
cgen-utils.c Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
cgen.sh
ChangeLog Do not use old-style definitions in sim 2021-04-08 14:34:42 -06:00
create-version.sh sim: common: simplify version script 2021-01-18 12:25:57 -05:00
dv-cfi.c
dv-cfi.h
dv-core.c
dv-glue.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
dv-pal.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
dv-sockser.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
dv-sockser.h
gdbinit.in
genmloop.sh
gennltvals.py sim: riscv: new port 2021-02-04 19:02:19 -05:00
gentmap.c
hw-alloc.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-alloc.h
hw-base.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-base.h
hw-device.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-device.h
hw-events.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-events.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-handles.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-handles.h
hw-instances.c
hw-instances.h
hw-main.h
hw-ports.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-ports.h
hw-properties.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-properties.h
hw-tree.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-tree.h
Make-common.in sim: set ASAN_OPTIONS=detect_leaks=0 when running igen and opc2c 2021-04-08 09:49:30 -04:00
nltvals.def sim: riscv: new port 2021-02-04 19:02:19 -05:00
nrun.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
run.1
sim-abort.c sim: common: add missing stdlib.h for abort() 2021-01-09 02:45:14 -05:00
sim-alu.h
sim-arange.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-arange.h
sim-assert.h
sim-base.h
sim-basics.h sim: common: clean up asprintf includes a bit 2021-01-09 09:32:34 -05:00
sim-bits.c
sim-bits.h sim: common: add align_{up,down} to match gdb 2021-01-02 20:55:21 -05:00
sim-close.c
sim-command.c
sim-config.c sim: common: use sim_config_print name 2021-01-04 18:10:40 -05:00
sim-config.h sim: common: use sim_config_print name 2021-01-04 18:10:40 -05:00
sim-core.c sim: common: fix printf formats 2021-01-11 08:27:40 -05:00
sim-core.h
sim-cpu.c
sim-cpu.h
sim-endian.c
sim-endian.h
sim-engine.c
sim-engine.h
sim-events.c sim: watchpoints: use common sim_pc_get 2021-02-06 12:12:51 -05:00
sim-events.h sim: watchpoints: use common sim_pc_get 2021-02-06 12:12:51 -05:00
sim-fpu.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-fpu.h
sim-hload.c
sim-hrw.c
sim-hw.c sim: hw: replace fgets with getline 2021-01-30 01:07:58 -05:00
sim-hw.h
sim-info.c
sim-inline.c
sim-inline.h
sim-io.c
sim-io.h
sim-load.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-memopt.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-memopt.h
sim-model.c
sim-model.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-module.c
sim-module.h
sim-n-bits.h
sim-n-core.h
sim-n-endian.h
sim-options.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-options.h sim: common: add a version output helper w/copyright+license info 2021-01-04 17:41:23 -05:00
sim-profile.c sim: profile: fix bucketing with 64-bit targets 2021-01-30 01:15:04 -05:00
sim-profile.h sim: common: use #error properly 2021-01-12 03:51:44 -05:00
sim-reason.c
sim-reg.c
sim-resume.c
sim-run.c
sim-signal.c
sim-signal.h
sim-stop.c
sim-syscall.c
sim-syscall.h
sim-trace.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-trace.h
sim-types.h
sim-utils.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-utils.h
sim-watch.c sim: watchpoints: use common sim_pc_get 2021-02-06 12:12:51 -05:00
sim-watch.h sim: watchpoints: use common sim_pc_get 2021-02-06 12:12:51 -05:00
syscall.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
version.h