I'd like to enable the -Wmissing-declarations warning. However, it
warns for every _initialize function, for example:
CXX dcache.o
/home/smarchi/src/binutils-gdb/gdb/dcache.c: In function ‘void _initialize_dcache()’:
/home/smarchi/src/binutils-gdb/gdb/dcache.c:688:1: error: no previous declaration for ‘void _initialize_dcache()’ [-Werror=missing-declarations]
_initialize_dcache (void)
^~~~~~~~~~~~~~~~~~
The only practical way forward I found is to add back the declarations,
which were removed by this commit:
commit
481695ed5f6e0a8a9c9c50bfac1cdd2b3151e6c9
Author: John Baldwin <jhb@FreeBSD.org>
Date: Sat Sep 9 11:02:37 2017 -0700
Remove unnecessary function prototypes.
I don't think it's a big problem to have the declarations for these
functions, but if anybody has a better solution for this, I'll be happy
to use it.
gdb/ChangeLog:
* aarch64-fbsd-nat.c (_initialize_aarch64_fbsd_nat): Add declaration.
* aarch64-fbsd-tdep.c (_initialize_aarch64_fbsd_tdep): Add declaration.
* aarch64-linux-nat.c (_initialize_aarch64_linux_nat): Add declaration.
* aarch64-linux-tdep.c (_initialize_aarch64_linux_tdep): Add declaration.
* aarch64-newlib-tdep.c (_initialize_aarch64_newlib_tdep): Add declaration.
* aarch64-tdep.c (_initialize_aarch64_tdep): Add declaration.
* ada-exp.y (_initialize_ada_exp): Add declaration.
* ada-lang.c (_initialize_ada_language): Add declaration.
* ada-tasks.c (_initialize_tasks): Add declaration.
* agent.c (_initialize_agent): Add declaration.
* aix-thread.c (_initialize_aix_thread): Add declaration.
* alpha-bsd-nat.c (_initialize_alphabsd_nat): Add declaration.
* alpha-linux-nat.c (_initialize_alpha_linux_nat): Add declaration.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add declaration.
* alpha-nbsd-tdep.c (_initialize_alphanbsd_tdep): Add declaration.
* alpha-obsd-tdep.c (_initialize_alphaobsd_tdep): Add declaration.
* alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
* amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): Add declaration.
* amd64-dicos-tdep.c (_initialize_amd64_dicos_tdep): Add declaration.
* amd64-fbsd-nat.c (_initialize_amd64fbsd_nat): Add declaration.
* amd64-fbsd-tdep.c (_initialize_amd64fbsd_tdep): Add declaration.
* amd64-linux-nat.c (_initialize_amd64_linux_nat): Add declaration.
* amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Add declaration.
* amd64-nbsd-nat.c (_initialize_amd64nbsd_nat): Add declaration.
* amd64-nbsd-tdep.c (_initialize_amd64nbsd_tdep): Add declaration.
* amd64-obsd-nat.c (_initialize_amd64obsd_nat): Add declaration.
* amd64-obsd-tdep.c (_initialize_amd64obsd_tdep): Add declaration.
* amd64-sol2-tdep.c (_initialize_amd64_sol2_tdep): Add declaration.
* amd64-tdep.c (_initialize_amd64_tdep): Add declaration.
* amd64-windows-nat.c (_initialize_amd64_windows_nat): Add declaration.
* amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Add declaration.
* annotate.c (_initialize_annotate): Add declaration.
* arc-newlib-tdep.c (_initialize_arc_newlib_tdep): Add declaration.
* arc-tdep.c (_initialize_arc_tdep): Add declaration.
* arch-utils.c (_initialize_gdbarch_utils): Add declaration.
* arm-fbsd-nat.c (_initialize_arm_fbsd_nat): Add declaration.
* arm-fbsd-tdep.c (_initialize_arm_fbsd_tdep): Add declaration.
* arm-linux-nat.c (_initialize_arm_linux_nat): Add declaration.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Add declaration.
* arm-nbsd-nat.c (_initialize_arm_netbsd_nat): Add declaration.
* arm-nbsd-tdep.c (_initialize_arm_netbsd_tdep): Add declaration.
* arm-obsd-tdep.c (_initialize_armobsd_tdep): Add declaration.
* arm-pikeos-tdep.c (_initialize_arm_pikeos_tdep): Add declaration.
* arm-symbian-tdep.c (_initialize_arm_symbian_tdep): Add declaration.
* arm-tdep.c (_initialize_arm_tdep): Add declaration.
* arm-wince-tdep.c (_initialize_arm_wince_tdep): Add declaration.
* auto-load.c (_initialize_auto_load): Add declaration.
* auxv.c (_initialize_auxv): Add declaration.
* avr-tdep.c (_initialize_avr_tdep): Add declaration.
* ax-gdb.c (_initialize_ax_gdb): Add declaration.
* bfin-linux-tdep.c (_initialize_bfin_linux_tdep): Add declaration.
* bfin-tdep.c (_initialize_bfin_tdep): Add declaration.
* break-catch-sig.c (_initialize_break_catch_sig): Add declaration.
* break-catch-syscall.c (_initialize_break_catch_syscall): Add declaration.
* break-catch-throw.c (_initialize_break_catch_throw): Add declaration.
* breakpoint.c (_initialize_breakpoint): Add declaration.
* bsd-uthread.c (_initialize_bsd_uthread): Add declaration.
* btrace.c (_initialize_btrace): Add declaration.
* charset.c (_initialize_charset): Add declaration.
* cli/cli-cmds.c (_initialize_cli_cmds): Add declaration.
* cli/cli-dump.c (_initialize_cli_dump): Add declaration.
* cli/cli-interp.c (_initialize_cli_interp): Add declaration.
* cli/cli-logging.c (_initialize_cli_logging): Add declaration.
* cli/cli-script.c (_initialize_cli_script): Add declaration.
* cli/cli-style.c (_initialize_cli_style): Add declaration.
* coff-pe-read.c (_initialize_coff_pe_read): Add declaration.
* coffread.c (_initialize_coffread): Add declaration.
* compile/compile-cplus-types.c (_initialize_compile_cplus_types): Add declaration.
* compile/compile.c (_initialize_compile): Add declaration.
* complaints.c (_initialize_complaints): Add declaration.
* completer.c (_initialize_completer): Add declaration.
* copying.c (_initialize_copying): Add declaration.
* corefile.c (_initialize_core): Add declaration.
* corelow.c (_initialize_corelow): Add declaration.
* cp-abi.c (_initialize_cp_abi): Add declaration.
* cp-namespace.c (_initialize_cp_namespace): Add declaration.
* cp-support.c (_initialize_cp_support): Add declaration.
* cp-valprint.c (_initialize_cp_valprint): Add declaration.
* cris-linux-tdep.c (_initialize_cris_linux_tdep): Add declaration.
* cris-tdep.c (_initialize_cris_tdep): Add declaration.
* csky-linux-tdep.c (_initialize_csky_linux_tdep): Add declaration.
* csky-tdep.c (_initialize_csky_tdep): Add declaration.
* ctfread.c (_initialize_ctfread): Add declaration.
* d-lang.c (_initialize_d_language): Add declaration.
* darwin-nat-info.c (_initialize_darwin_info_commands): Add declaration.
* darwin-nat.c (_initialize_darwin_nat): Add declaration.
* dbxread.c (_initialize_dbxread): Add declaration.
* dcache.c (_initialize_dcache): Add declaration.
* disasm-selftests.c (_initialize_disasm_selftests): Add declaration.
* disasm.c (_initialize_disasm): Add declaration.
* dtrace-probe.c (_initialize_dtrace_probe): Add declaration.
* dummy-frame.c (_initialize_dummy_frame): Add declaration.
* dwarf-index-cache.c (_initialize_index_cache): Add declaration.
* dwarf-index-write.c (_initialize_dwarf_index_write): Add declaration.
* dwarf2-frame-tailcall.c (_initialize_tailcall_frame): Add declaration.
* dwarf2-frame.c (_initialize_dwarf2_frame): Add declaration.
* dwarf2expr.c (_initialize_dwarf2expr): Add declaration.
* dwarf2loc.c (_initialize_dwarf2loc): Add declaration.
* dwarf2read.c (_initialize_dwarf2_read): Add declaration.
* elfread.c (_initialize_elfread): Add declaration.
* exec.c (_initialize_exec): Add declaration.
* extension.c (_initialize_extension): Add declaration.
* f-lang.c (_initialize_f_language): Add declaration.
* f-valprint.c (_initialize_f_valprint): Add declaration.
* fbsd-nat.c (_initialize_fbsd_nat): Add declaration.
* fbsd-tdep.c (_initialize_fbsd_tdep): Add declaration.
* filesystem.c (_initialize_filesystem): Add declaration.
* findcmd.c (_initialize_mem_search): Add declaration.
* findvar.c (_initialize_findvar): Add declaration.
* fork-child.c (_initialize_fork_child): Add declaration.
* frame-base.c (_initialize_frame_base): Add declaration.
* frame-unwind.c (_initialize_frame_unwind): Add declaration.
* frame.c (_initialize_frame): Add declaration.
* frv-linux-tdep.c (_initialize_frv_linux_tdep): Add declaration.
* frv-tdep.c (_initialize_frv_tdep): Add declaration.
* ft32-tdep.c (_initialize_ft32_tdep): Add declaration.
* gcore.c (_initialize_gcore): Add declaration.
* gdb-demangle.c (_initialize_gdb_demangle): Add declaration.
* gdb_bfd.c (_initialize_gdb_bfd): Add declaration.
* gdbarch-selftests.c (_initialize_gdbarch_selftests): Add declaration.
* gdbarch.c (_initialize_gdbarch): Add declaration.
* gdbtypes.c (_initialize_gdbtypes): Add declaration.
* gnu-nat.c (_initialize_gnu_nat): Add declaration.
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Add declaration.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Add declaration.
* go-lang.c (_initialize_go_language): Add declaration.
* go32-nat.c (_initialize_go32_nat): Add declaration.
* guile/guile.c (_initialize_guile): Add declaration.
* h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
* hppa-linux-nat.c (_initialize_hppa_linux_nat): Add declaration.
* hppa-linux-tdep.c (_initialize_hppa_linux_tdep): Add declaration.
* hppa-nbsd-nat.c (_initialize_hppanbsd_nat): Add declaration.
* hppa-nbsd-tdep.c (_initialize_hppanbsd_tdep): Add declaration.
* hppa-obsd-nat.c (_initialize_hppaobsd_nat): Add declaration.
* hppa-obsd-tdep.c (_initialize_hppabsd_tdep): Add declaration.
* hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
* i386-bsd-nat.c (_initialize_i386bsd_nat): Add declaration.
* i386-cygwin-tdep.c (_initialize_i386_cygwin_tdep): Add declaration.
* i386-darwin-nat.c (_initialize_i386_darwin_nat): Add declaration.
* i386-darwin-tdep.c (_initialize_i386_darwin_tdep): Add declaration.
* i386-dicos-tdep.c (_initialize_i386_dicos_tdep): Add declaration.
* i386-fbsd-nat.c (_initialize_i386fbsd_nat): Add declaration.
* i386-fbsd-tdep.c (_initialize_i386fbsd_tdep): Add declaration.
* i386-gnu-nat.c (_initialize_i386gnu_nat): Add declaration.
* i386-gnu-tdep.c (_initialize_i386gnu_tdep): Add declaration.
* i386-go32-tdep.c (_initialize_i386_go32_tdep): Add declaration.
* i386-linux-nat.c (_initialize_i386_linux_nat): Add declaration.
* i386-linux-tdep.c (_initialize_i386_linux_tdep): Add declaration.
* i386-nbsd-nat.c (_initialize_i386nbsd_nat): Add declaration.
* i386-nbsd-tdep.c (_initialize_i386nbsd_tdep): Add declaration.
* i386-nto-tdep.c (_initialize_i386nto_tdep): Add declaration.
* i386-obsd-nat.c (_initialize_i386obsd_nat): Add declaration.
* i386-obsd-tdep.c (_initialize_i386obsd_tdep): Add declaration.
* i386-sol2-nat.c (_initialize_amd64_sol2_nat): Add declaration.
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Add declaration.
* i386-tdep.c (_initialize_i386_tdep): Add declaration.
* i386-windows-nat.c (_initialize_i386_windows_nat): Add declaration.
* ia64-libunwind-tdep.c (_initialize_libunwind_frame): Add declaration.
* ia64-linux-nat.c (_initialize_ia64_linux_nat): Add declaration.
* ia64-linux-tdep.c (_initialize_ia64_linux_tdep): Add declaration.
* ia64-tdep.c (_initialize_ia64_tdep): Add declaration.
* ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Add declaration.
* infcall.c (_initialize_infcall): Add declaration.
* infcmd.c (_initialize_infcmd): Add declaration.
* inflow.c (_initialize_inflow): Add declaration.
* infrun.c (_initialize_infrun): Add declaration.
* interps.c (_initialize_interpreter): Add declaration.
* iq2000-tdep.c (_initialize_iq2000_tdep): Add declaration.
* jit.c (_initialize_jit): Add declaration.
* language.c (_initialize_language): Add declaration.
* linux-fork.c (_initialize_linux_fork): Add declaration.
* linux-nat.c (_initialize_linux_nat): Add declaration.
* linux-tdep.c (_initialize_linux_tdep): Add declaration.
* linux-thread-db.c (_initialize_thread_db): Add declaration.
* lm32-tdep.c (_initialize_lm32_tdep): Add declaration.
* m2-lang.c (_initialize_m2_language): Add declaration.
* m32c-tdep.c (_initialize_m32c_tdep): Add declaration.
* m32r-linux-nat.c (_initialize_m32r_linux_nat): Add declaration.
* m32r-linux-tdep.c (_initialize_m32r_linux_tdep): Add declaration.
* m32r-tdep.c (_initialize_m32r_tdep): Add declaration.
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
* m68k-bsd-nat.c (_initialize_m68kbsd_nat): Add declaration.
* m68k-bsd-tdep.c (_initialize_m68kbsd_tdep): Add declaration.
* m68k-linux-nat.c (_initialize_m68k_linux_nat): Add declaration.
* m68k-linux-tdep.c (_initialize_m68k_linux_tdep): Add declaration.
* m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
* machoread.c (_initialize_machoread): Add declaration.
* macrocmd.c (_initialize_macrocmd): Add declaration.
* macroscope.c (_initialize_macroscope): Add declaration.
* maint-test-options.c (_initialize_maint_test_options): Add declaration.
* maint-test-settings.c (_initialize_maint_test_settings): Add declaration.
* maint.c (_initialize_maint_cmds): Add declaration.
* mdebugread.c (_initialize_mdebugread): Add declaration.
* memattr.c (_initialize_mem): Add declaration.
* mep-tdep.c (_initialize_mep_tdep): Add declaration.
* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Add declaration.
* mi/mi-cmds.c (_initialize_mi_cmds): Add declaration.
* mi/mi-interp.c (_initialize_mi_interp): Add declaration.
* mi/mi-main.c (_initialize_mi_main): Add declaration.
* microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): Add declaration.
* microblaze-tdep.c (_initialize_microblaze_tdep): Add declaration.
* mips-fbsd-nat.c (_initialize_mips_fbsd_nat): Add declaration.
* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Add declaration.
* mips-linux-nat.c (_initialize_mips_linux_nat): Add declaration.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Add declaration.
* mips-nbsd-nat.c (_initialize_mipsnbsd_nat): Add declaration.
* mips-nbsd-tdep.c (_initialize_mipsnbsd_tdep): Add declaration.
* mips-sde-tdep.c (_initialize_mips_sde_tdep): Add declaration.
* mips-tdep.c (_initialize_mips_tdep): Add declaration.
* mips64-obsd-nat.c (_initialize_mips64obsd_nat): Add declaration.
* mips64-obsd-tdep.c (_initialize_mips64obsd_tdep): Add declaration.
* mipsread.c (_initialize_mipsread): Add declaration.
* mn10300-linux-tdep.c (_initialize_mn10300_linux_tdep): Add declaration.
* mn10300-tdep.c (_initialize_mn10300_tdep): Add declaration.
* moxie-tdep.c (_initialize_moxie_tdep): Add declaration.
* msp430-tdep.c (_initialize_msp430_tdep): Add declaration.
* nds32-tdep.c (_initialize_nds32_tdep): Add declaration.
* nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Add declaration.
* nios2-tdep.c (_initialize_nios2_tdep): Add declaration.
* nto-procfs.c (_initialize_procfs): Add declaration.
* objc-lang.c (_initialize_objc_language): Add declaration.
* observable.c (_initialize_observer): Add declaration.
* opencl-lang.c (_initialize_opencl_language): Add declaration.
* or1k-linux-tdep.c (_initialize_or1k_linux_tdep): Add declaration.
* or1k-tdep.c (_initialize_or1k_tdep): Add declaration.
* osabi.c (_initialize_gdb_osabi): Add declaration.
* osdata.c (_initialize_osdata): Add declaration.
* p-valprint.c (_initialize_pascal_valprint): Add declaration.
* parse.c (_initialize_parse): Add declaration.
* ppc-fbsd-nat.c (_initialize_ppcfbsd_nat): Add declaration.
* ppc-fbsd-tdep.c (_initialize_ppcfbsd_tdep): Add declaration.
* ppc-linux-nat.c (_initialize_ppc_linux_nat): Add declaration.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Add declaration.
* ppc-nbsd-nat.c (_initialize_ppcnbsd_nat): Add declaration.
* ppc-nbsd-tdep.c (_initialize_ppcnbsd_tdep): Add declaration.
* ppc-obsd-nat.c (_initialize_ppcobsd_nat): Add declaration.
* ppc-obsd-tdep.c (_initialize_ppcobsd_tdep): Add declaration.
* printcmd.c (_initialize_printcmd): Add declaration.
* probe.c (_initialize_probe): Add declaration.
* proc-api.c (_initialize_proc_api): Add declaration.
* proc-events.c (_initialize_proc_events): Add declaration.
* proc-service.c (_initialize_proc_service): Add declaration.
* procfs.c (_initialize_procfs): Add declaration.
* producer.c (_initialize_producer): Add declaration.
* psymtab.c (_initialize_psymtab): Add declaration.
* python/python.c (_initialize_python): Add declaration.
* ravenscar-thread.c (_initialize_ravenscar): Add declaration.
* record-btrace.c (_initialize_record_btrace): Add declaration.
* record-full.c (_initialize_record_full): Add declaration.
* record.c (_initialize_record): Add declaration.
* regcache-dump.c (_initialize_regcache_dump): Add declaration.
* regcache.c (_initialize_regcache): Add declaration.
* reggroups.c (_initialize_reggroup): Add declaration.
* remote-notif.c (_initialize_notif): Add declaration.
* remote-sim.c (_initialize_remote_sim): Add declaration.
* remote.c (_initialize_remote): Add declaration.
* reverse.c (_initialize_reverse): Add declaration.
* riscv-fbsd-nat.c (_initialize_riscv_fbsd_nat): Add declaration.
* riscv-fbsd-tdep.c (_initialize_riscv_fbsd_tdep): Add declaration.
* riscv-linux-nat.c (_initialize_riscv_linux_nat): Add declaration.
* riscv-linux-tdep.c (_initialize_riscv_linux_tdep): Add declaration.
* riscv-tdep.c (_initialize_riscv_tdep): Add declaration.
* rl78-tdep.c (_initialize_rl78_tdep): Add declaration.
* rs6000-aix-tdep.c (_initialize_rs6000_aix_tdep): Add declaration.
* rs6000-lynx178-tdep.c (_initialize_rs6000_lynx178_tdep):
Add declaration.
* rs6000-nat.c (_initialize_rs6000_nat): Add declaration.
* rs6000-tdep.c (_initialize_rs6000_tdep): Add declaration.
* run-on-main-thread.c (_initialize_run_on_main_thread): Add declaration.
* rust-exp.y (_initialize_rust_exp): Add declaration.
* rx-tdep.c (_initialize_rx_tdep): Add declaration.
* s12z-tdep.c (_initialize_s12z_tdep): Add declaration.
* s390-linux-nat.c (_initialize_s390_nat): Add declaration.
* s390-linux-tdep.c (_initialize_s390_linux_tdep): Add declaration.
* s390-tdep.c (_initialize_s390_tdep): Add declaration.
* score-tdep.c (_initialize_score_tdep): Add declaration.
* ser-go32.c (_initialize_ser_dos): Add declaration.
* ser-mingw.c (_initialize_ser_windows): Add declaration.
* ser-pipe.c (_initialize_ser_pipe): Add declaration.
* ser-tcp.c (_initialize_ser_tcp): Add declaration.
* ser-uds.c (_initialize_ser_socket): Add declaration.
* ser-unix.c (_initialize_ser_hardwire): Add declaration.
* serial.c (_initialize_serial): Add declaration.
* sh-linux-tdep.c (_initialize_sh_linux_tdep): Add declaration.
* sh-nbsd-nat.c (_initialize_shnbsd_nat): Add declaration.
* sh-nbsd-tdep.c (_initialize_shnbsd_tdep): Add declaration.
* sh-tdep.c (_initialize_sh_tdep): Add declaration.
* skip.c (_initialize_step_skip): Add declaration.
* sol-thread.c (_initialize_sol_thread): Add declaration.
* solib-aix.c (_initialize_solib_aix): Add declaration.
* solib-darwin.c (_initialize_darwin_solib): Add declaration.
* solib-dsbt.c (_initialize_dsbt_solib): Add declaration.
* solib-frv.c (_initialize_frv_solib): Add declaration.
* solib-svr4.c (_initialize_svr4_solib): Add declaration.
* solib-target.c (_initialize_solib_target): Add declaration.
* solib.c (_initialize_solib): Add declaration.
* source-cache.c (_initialize_source_cache): Add declaration.
* source.c (_initialize_source): Add declaration.
* sparc-linux-nat.c (_initialize_sparc_linux_nat): Add declaration.
* sparc-linux-tdep.c (_initialize_sparc_linux_tdep): Add declaration.
* sparc-nat.c (_initialize_sparc_nat): Add declaration.
* sparc-nbsd-nat.c (_initialize_sparcnbsd_nat): Add declaration.
* sparc-nbsd-tdep.c (_initialize_sparcnbsd_tdep): Add declaration.
* sparc-obsd-tdep.c (_initialize_sparc32obsd_tdep): Add declaration.
* sparc-sol2-tdep.c (_initialize_sparc_sol2_tdep): Add declaration.
* sparc-tdep.c (_initialize_sparc_tdep): Add declaration.
* sparc64-fbsd-nat.c (_initialize_sparc64fbsd_nat): Add declaration.
* sparc64-fbsd-tdep.c (_initialize_sparc64fbsd_tdep): Add declaration.
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Add declaration.
* sparc64-linux-tdep.c (_initialize_sparc64_linux_tdep): Add declaration.
* sparc64-nat.c (_initialize_sparc64_nat): Add declaration.
* sparc64-nbsd-nat.c (_initialize_sparc64nbsd_nat): Add declaration.
* sparc64-nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Add declaration.
* sparc64-obsd-nat.c (_initialize_sparc64obsd_nat): Add declaration.
* sparc64-obsd-tdep.c (_initialize_sparc64obsd_tdep): Add declaration.
* sparc64-sol2-tdep.c (_initialize_sparc64_sol2_tdep): Add declaration.
* sparc64-tdep.c (_initialize_sparc64_adi_tdep): Add declaration.
* stabsread.c (_initialize_stabsread): Add declaration.
* stack.c (_initialize_stack): Add declaration.
* stap-probe.c (_initialize_stap_probe): Add declaration.
* std-regs.c (_initialize_frame_reg): Add declaration.
* symfile-debug.c (_initialize_symfile_debug): Add declaration.
* symfile-mem.c (_initialize_symfile_mem): Add declaration.
* symfile.c (_initialize_symfile): Add declaration.
* symmisc.c (_initialize_symmisc): Add declaration.
* symtab.c (_initialize_symtab): Add declaration.
* target.c (_initialize_target): Add declaration.
* target-connection.c (_initialize_target_connection): Add
declaration.
* target-dcache.c (_initialize_target_dcache): Add declaration.
* target-descriptions.c (_initialize_target_descriptions): Add declaration.
* thread.c (_initialize_thread): Add declaration.
* tic6x-linux-tdep.c (_initialize_tic6x_linux_tdep): Add declaration.
* tic6x-tdep.c (_initialize_tic6x_tdep): Add declaration.
* tilegx-linux-nat.c (_initialize_tile_linux_nat): Add declaration.
* tilegx-linux-tdep.c (_initialize_tilegx_linux_tdep): Add declaration.
* tilegx-tdep.c (_initialize_tilegx_tdep): Add declaration.
* tracectf.c (_initialize_ctf): Add declaration.
* tracefile-tfile.c (_initialize_tracefile_tfile): Add declaration.
* tracefile.c (_initialize_tracefile): Add declaration.
* tracepoint.c (_initialize_tracepoint): Add declaration.
* tui/tui-hooks.c (_initialize_tui_hooks): Add declaration.
* tui/tui-interp.c (_initialize_tui_interp): Add declaration.
* tui/tui-layout.c (_initialize_tui_layout): Add declaration.
* tui/tui-regs.c (_initialize_tui_regs): Add declaration.
* tui/tui-stack.c (_initialize_tui_stack): Add declaration.
* tui/tui-win.c (_initialize_tui_win): Add declaration.
* tui/tui.c (_initialize_tui): Add declaration.
* typeprint.c (_initialize_typeprint): Add declaration.
* ui-style.c (_initialize_ui_style): Add declaration.
* unittests/array-view-selftests.c (_initialize_array_view_selftests): Add declaration.
* unittests/child-path-selftests.c (_initialize_child_path_selftests): Add declaration.
* unittests/cli-utils-selftests.c (_initialize_cli_utils_selftests): Add declaration.
* unittests/common-utils-selftests.c (_initialize_common_utils_selftests): Add declaration.
* unittests/copy_bitwise-selftests.c (_initialize_copy_bitwise_utils_selftests): Add declaration.
* unittests/environ-selftests.c (_initialize_environ_selftests): Add declaration.
* unittests/filtered_iterator-selftests.c
(_initialize_filtered_iterator_selftests): Add declaration.
* unittests/format_pieces-selftests.c (_initialize_format_pieces_selftests): Add declaration.
* unittests/function-view-selftests.c (_initialize_function_view_selftests): Add declaration.
* unittests/help-doc-selftests.c (_initialize_help_doc_selftests): Add declaration.
* unittests/lookup_name_info-selftests.c (_initialize_lookup_name_info_selftests): Add declaration.
* unittests/main-thread-selftests.c
(_initialize_main_thread_selftests): Add declaration.
* unittests/memory-map-selftests.c (_initialize_memory_map_selftests): Add declaration.
* unittests/memrange-selftests.c (_initialize_memrange_selftests): Add declaration.
* unittests/mkdir-recursive-selftests.c (_initialize_mkdir_recursive_selftests): Add declaration.
* unittests/observable-selftests.c (_initialize_observer_selftest): Add declaration.
* unittests/offset-type-selftests.c (_initialize_offset_type_selftests): Add declaration.
* unittests/optional-selftests.c (_initialize_optional_selftests): Add declaration.
* unittests/parse-connection-spec-selftests.c (_initialize_parse_connection_spec_selftests): Add declaration.
* unittests/rsp-low-selftests.c (_initialize_rsp_low_selftests): Add declaration.
* unittests/scoped_fd-selftests.c (_initialize_scoped_fd_selftests): Add declaration.
* unittests/scoped_mmap-selftests.c (_initialize_scoped_mmap_selftests): Add declaration.
* unittests/scoped_restore-selftests.c (_initialize_scoped_restore_selftests): Add declaration.
* unittests/string_view-selftests.c (_initialize_string_view_selftests): Add declaration.
* unittests/style-selftests.c (_initialize_style_selftest): Add declaration.
* unittests/tracepoint-selftests.c (_initialize_tracepoint_selftests): Add declaration.
* unittests/tui-selftests.c (_initialize_tui_selftest): Add
declaration.
* unittests/unpack-selftests.c (_initialize_unpack_selftests): Add declaration.
* unittests/utils-selftests.c (_initialize_utils_selftests): Add declaration.
* unittests/vec-utils-selftests.c (_initialize_vec_utils_selftests): Add declaration.
* unittests/xml-utils-selftests.c (_initialize_xml_utils): Add declaration.
* user-regs.c (_initialize_user_regs): Add declaration.
* utils.c (_initialize_utils): Add declaration.
* v850-tdep.c (_initialize_v850_tdep): Add declaration.
* valops.c (_initialize_valops): Add declaration.
* valprint.c (_initialize_valprint): Add declaration.
* value.c (_initialize_values): Add declaration.
* varobj.c (_initialize_varobj): Add declaration.
* vax-bsd-nat.c (_initialize_vaxbsd_nat): Add declaration.
* vax-nbsd-tdep.c (_initialize_vaxnbsd_tdep): Add declaration.
* vax-tdep.c (_initialize_vax_tdep): Add declaration.
* windows-nat.c (_initialize_windows_nat): Add declaration.
(_initialize_check_for_gdb_ini): Add declaration.
(_initialize_loadable): Add declaration.
* windows-tdep.c (_initialize_windows_tdep): Add declaration.
* x86-bsd-nat.c (_initialize_x86_bsd_nat): Add declaration.
* x86-linux-nat.c (_initialize_x86_linux_nat): Add declaration.
* xcoffread.c (_initialize_xcoffread): Add declaration.
* xml-support.c (_initialize_xml_support): Add declaration.
* xstormy16-tdep.c (_initialize_xstormy16_tdep): Add declaration.
* xtensa-linux-nat.c (_initialize_xtensa_linux_nat): Add declaration.
* xtensa-linux-tdep.c (_initialize_xtensa_linux_tdep): Add declaration.
* xtensa-tdep.c (_initialize_xtensa_tdep): Add declaration.
Change-Id: I13eec7e0ed2b3c427377a7bdb055cf46da64def9
+2020-01-13 Simon Marchi <simon.marchi@efficios.com>
+
+ * aarch64-fbsd-nat.c (_initialize_aarch64_fbsd_nat): Add declaration.
+ * aarch64-fbsd-tdep.c (_initialize_aarch64_fbsd_tdep): Add declaration.
+ * aarch64-linux-nat.c (_initialize_aarch64_linux_nat): Add declaration.
+ * aarch64-linux-tdep.c (_initialize_aarch64_linux_tdep): Add declaration.
+ * aarch64-newlib-tdep.c (_initialize_aarch64_newlib_tdep): Add declaration.
+ * aarch64-tdep.c (_initialize_aarch64_tdep): Add declaration.
+ * ada-exp.y (_initialize_ada_exp): Add declaration.
+ * ada-lang.c (_initialize_ada_language): Add declaration.
+ * ada-tasks.c (_initialize_tasks): Add declaration.
+ * agent.c (_initialize_agent): Add declaration.
+ * aix-thread.c (_initialize_aix_thread): Add declaration.
+ * alpha-bsd-nat.c (_initialize_alphabsd_nat): Add declaration.
+ * alpha-linux-nat.c (_initialize_alpha_linux_nat): Add declaration.
+ * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add declaration.
+ * alpha-nbsd-tdep.c (_initialize_alphanbsd_tdep): Add declaration.
+ * alpha-obsd-tdep.c (_initialize_alphaobsd_tdep): Add declaration.
+ * alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
+ * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): Add declaration.
+ * amd64-dicos-tdep.c (_initialize_amd64_dicos_tdep): Add declaration.
+ * amd64-fbsd-nat.c (_initialize_amd64fbsd_nat): Add declaration.
+ * amd64-fbsd-tdep.c (_initialize_amd64fbsd_tdep): Add declaration.
+ * amd64-linux-nat.c (_initialize_amd64_linux_nat): Add declaration.
+ * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Add declaration.
+ * amd64-nbsd-nat.c (_initialize_amd64nbsd_nat): Add declaration.
+ * amd64-nbsd-tdep.c (_initialize_amd64nbsd_tdep): Add declaration.
+ * amd64-obsd-nat.c (_initialize_amd64obsd_nat): Add declaration.
+ * amd64-obsd-tdep.c (_initialize_amd64obsd_tdep): Add declaration.
+ * amd64-sol2-tdep.c (_initialize_amd64_sol2_tdep): Add declaration.
+ * amd64-tdep.c (_initialize_amd64_tdep): Add declaration.
+ * amd64-windows-nat.c (_initialize_amd64_windows_nat): Add declaration.
+ * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Add declaration.
+ * annotate.c (_initialize_annotate): Add declaration.
+ * arc-newlib-tdep.c (_initialize_arc_newlib_tdep): Add declaration.
+ * arc-tdep.c (_initialize_arc_tdep): Add declaration.
+ * arch-utils.c (_initialize_gdbarch_utils): Add declaration.
+ * arm-fbsd-nat.c (_initialize_arm_fbsd_nat): Add declaration.
+ * arm-fbsd-tdep.c (_initialize_arm_fbsd_tdep): Add declaration.
+ * arm-linux-nat.c (_initialize_arm_linux_nat): Add declaration.
+ * arm-linux-tdep.c (_initialize_arm_linux_tdep): Add declaration.
+ * arm-nbsd-nat.c (_initialize_arm_netbsd_nat): Add declaration.
+ * arm-nbsd-tdep.c (_initialize_arm_netbsd_tdep): Add declaration.
+ * arm-obsd-tdep.c (_initialize_armobsd_tdep): Add declaration.
+ * arm-pikeos-tdep.c (_initialize_arm_pikeos_tdep): Add declaration.
+ * arm-symbian-tdep.c (_initialize_arm_symbian_tdep): Add declaration.
+ * arm-tdep.c (_initialize_arm_tdep): Add declaration.
+ * arm-wince-tdep.c (_initialize_arm_wince_tdep): Add declaration.
+ * auto-load.c (_initialize_auto_load): Add declaration.
+ * auxv.c (_initialize_auxv): Add declaration.
+ * avr-tdep.c (_initialize_avr_tdep): Add declaration.
+ * ax-gdb.c (_initialize_ax_gdb): Add declaration.
+ * bfin-linux-tdep.c (_initialize_bfin_linux_tdep): Add declaration.
+ * bfin-tdep.c (_initialize_bfin_tdep): Add declaration.
+ * break-catch-sig.c (_initialize_break_catch_sig): Add declaration.
+ * break-catch-syscall.c (_initialize_break_catch_syscall): Add declaration.
+ * break-catch-throw.c (_initialize_break_catch_throw): Add declaration.
+ * breakpoint.c (_initialize_breakpoint): Add declaration.
+ * bsd-uthread.c (_initialize_bsd_uthread): Add declaration.
+ * btrace.c (_initialize_btrace): Add declaration.
+ * charset.c (_initialize_charset): Add declaration.
+ * cli/cli-cmds.c (_initialize_cli_cmds): Add declaration.
+ * cli/cli-dump.c (_initialize_cli_dump): Add declaration.
+ * cli/cli-interp.c (_initialize_cli_interp): Add declaration.
+ * cli/cli-logging.c (_initialize_cli_logging): Add declaration.
+ * cli/cli-script.c (_initialize_cli_script): Add declaration.
+ * cli/cli-style.c (_initialize_cli_style): Add declaration.
+ * coff-pe-read.c (_initialize_coff_pe_read): Add declaration.
+ * coffread.c (_initialize_coffread): Add declaration.
+ * compile/compile-cplus-types.c (_initialize_compile_cplus_types): Add declaration.
+ * compile/compile.c (_initialize_compile): Add declaration.
+ * complaints.c (_initialize_complaints): Add declaration.
+ * completer.c (_initialize_completer): Add declaration.
+ * copying.c (_initialize_copying): Add declaration.
+ * corefile.c (_initialize_core): Add declaration.
+ * corelow.c (_initialize_corelow): Add declaration.
+ * cp-abi.c (_initialize_cp_abi): Add declaration.
+ * cp-namespace.c (_initialize_cp_namespace): Add declaration.
+ * cp-support.c (_initialize_cp_support): Add declaration.
+ * cp-valprint.c (_initialize_cp_valprint): Add declaration.
+ * cris-linux-tdep.c (_initialize_cris_linux_tdep): Add declaration.
+ * cris-tdep.c (_initialize_cris_tdep): Add declaration.
+ * csky-linux-tdep.c (_initialize_csky_linux_tdep): Add declaration.
+ * csky-tdep.c (_initialize_csky_tdep): Add declaration.
+ * ctfread.c (_initialize_ctfread): Add declaration.
+ * d-lang.c (_initialize_d_language): Add declaration.
+ * darwin-nat-info.c (_initialize_darwin_info_commands): Add declaration.
+ * darwin-nat.c (_initialize_darwin_nat): Add declaration.
+ * dbxread.c (_initialize_dbxread): Add declaration.
+ * dcache.c (_initialize_dcache): Add declaration.
+ * disasm-selftests.c (_initialize_disasm_selftests): Add declaration.
+ * disasm.c (_initialize_disasm): Add declaration.
+ * dtrace-probe.c (_initialize_dtrace_probe): Add declaration.
+ * dummy-frame.c (_initialize_dummy_frame): Add declaration.
+ * dwarf-index-cache.c (_initialize_index_cache): Add declaration.
+ * dwarf-index-write.c (_initialize_dwarf_index_write): Add declaration.
+ * dwarf2-frame-tailcall.c (_initialize_tailcall_frame): Add declaration.
+ * dwarf2-frame.c (_initialize_dwarf2_frame): Add declaration.
+ * dwarf2expr.c (_initialize_dwarf2expr): Add declaration.
+ * dwarf2loc.c (_initialize_dwarf2loc): Add declaration.
+ * dwarf2read.c (_initialize_dwarf2_read): Add declaration.
+ * elfread.c (_initialize_elfread): Add declaration.
+ * exec.c (_initialize_exec): Add declaration.
+ * extension.c (_initialize_extension): Add declaration.
+ * f-lang.c (_initialize_f_language): Add declaration.
+ * f-valprint.c (_initialize_f_valprint): Add declaration.
+ * fbsd-nat.c (_initialize_fbsd_nat): Add declaration.
+ * fbsd-tdep.c (_initialize_fbsd_tdep): Add declaration.
+ * filesystem.c (_initialize_filesystem): Add declaration.
+ * findcmd.c (_initialize_mem_search): Add declaration.
+ * findvar.c (_initialize_findvar): Add declaration.
+ * fork-child.c (_initialize_fork_child): Add declaration.
+ * frame-base.c (_initialize_frame_base): Add declaration.
+ * frame-unwind.c (_initialize_frame_unwind): Add declaration.
+ * frame.c (_initialize_frame): Add declaration.
+ * frv-linux-tdep.c (_initialize_frv_linux_tdep): Add declaration.
+ * frv-tdep.c (_initialize_frv_tdep): Add declaration.
+ * ft32-tdep.c (_initialize_ft32_tdep): Add declaration.
+ * gcore.c (_initialize_gcore): Add declaration.
+ * gdb-demangle.c (_initialize_gdb_demangle): Add declaration.
+ * gdb_bfd.c (_initialize_gdb_bfd): Add declaration.
+ * gdbarch-selftests.c (_initialize_gdbarch_selftests): Add declaration.
+ * gdbarch.c (_initialize_gdbarch): Add declaration.
+ * gdbtypes.c (_initialize_gdbtypes): Add declaration.
+ * gnu-nat.c (_initialize_gnu_nat): Add declaration.
+ * gnu-v2-abi.c (_initialize_gnu_v2_abi): Add declaration.
+ * gnu-v3-abi.c (_initialize_gnu_v3_abi): Add declaration.
+ * go-lang.c (_initialize_go_language): Add declaration.
+ * go32-nat.c (_initialize_go32_nat): Add declaration.
+ * guile/guile.c (_initialize_guile): Add declaration.
+ * h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
+ * hppa-linux-nat.c (_initialize_hppa_linux_nat): Add declaration.
+ * hppa-linux-tdep.c (_initialize_hppa_linux_tdep): Add declaration.
+ * hppa-nbsd-nat.c (_initialize_hppanbsd_nat): Add declaration.
+ * hppa-nbsd-tdep.c (_initialize_hppanbsd_tdep): Add declaration.
+ * hppa-obsd-nat.c (_initialize_hppaobsd_nat): Add declaration.
+ * hppa-obsd-tdep.c (_initialize_hppabsd_tdep): Add declaration.
+ * hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
+ * i386-bsd-nat.c (_initialize_i386bsd_nat): Add declaration.
+ * i386-cygwin-tdep.c (_initialize_i386_cygwin_tdep): Add declaration.
+ * i386-darwin-nat.c (_initialize_i386_darwin_nat): Add declaration.
+ * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): Add declaration.
+ * i386-dicos-tdep.c (_initialize_i386_dicos_tdep): Add declaration.
+ * i386-fbsd-nat.c (_initialize_i386fbsd_nat): Add declaration.
+ * i386-fbsd-tdep.c (_initialize_i386fbsd_tdep): Add declaration.
+ * i386-gnu-nat.c (_initialize_i386gnu_nat): Add declaration.
+ * i386-gnu-tdep.c (_initialize_i386gnu_tdep): Add declaration.
+ * i386-go32-tdep.c (_initialize_i386_go32_tdep): Add declaration.
+ * i386-linux-nat.c (_initialize_i386_linux_nat): Add declaration.
+ * i386-linux-tdep.c (_initialize_i386_linux_tdep): Add declaration.
+ * i386-nbsd-nat.c (_initialize_i386nbsd_nat): Add declaration.
+ * i386-nbsd-tdep.c (_initialize_i386nbsd_tdep): Add declaration.
+ * i386-nto-tdep.c (_initialize_i386nto_tdep): Add declaration.
+ * i386-obsd-nat.c (_initialize_i386obsd_nat): Add declaration.
+ * i386-obsd-tdep.c (_initialize_i386obsd_tdep): Add declaration.
+ * i386-sol2-nat.c (_initialize_amd64_sol2_nat): Add declaration.
+ * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Add declaration.
+ * i386-tdep.c (_initialize_i386_tdep): Add declaration.
+ * i386-windows-nat.c (_initialize_i386_windows_nat): Add declaration.
+ * ia64-libunwind-tdep.c (_initialize_libunwind_frame): Add declaration.
+ * ia64-linux-nat.c (_initialize_ia64_linux_nat): Add declaration.
+ * ia64-linux-tdep.c (_initialize_ia64_linux_tdep): Add declaration.
+ * ia64-tdep.c (_initialize_ia64_tdep): Add declaration.
+ * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Add declaration.
+ * infcall.c (_initialize_infcall): Add declaration.
+ * infcmd.c (_initialize_infcmd): Add declaration.
+ * inflow.c (_initialize_inflow): Add declaration.
+ * infrun.c (_initialize_infrun): Add declaration.
+ * interps.c (_initialize_interpreter): Add declaration.
+ * iq2000-tdep.c (_initialize_iq2000_tdep): Add declaration.
+ * jit.c (_initialize_jit): Add declaration.
+ * language.c (_initialize_language): Add declaration.
+ * linux-fork.c (_initialize_linux_fork): Add declaration.
+ * linux-nat.c (_initialize_linux_nat): Add declaration.
+ * linux-tdep.c (_initialize_linux_tdep): Add declaration.
+ * linux-thread-db.c (_initialize_thread_db): Add declaration.
+ * lm32-tdep.c (_initialize_lm32_tdep): Add declaration.
+ * m2-lang.c (_initialize_m2_language): Add declaration.
+ * m32c-tdep.c (_initialize_m32c_tdep): Add declaration.
+ * m32r-linux-nat.c (_initialize_m32r_linux_nat): Add declaration.
+ * m32r-linux-tdep.c (_initialize_m32r_linux_tdep): Add declaration.
+ * m32r-tdep.c (_initialize_m32r_tdep): Add declaration.
+ * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
+ * m68k-bsd-nat.c (_initialize_m68kbsd_nat): Add declaration.
+ * m68k-bsd-tdep.c (_initialize_m68kbsd_tdep): Add declaration.
+ * m68k-linux-nat.c (_initialize_m68k_linux_nat): Add declaration.
+ * m68k-linux-tdep.c (_initialize_m68k_linux_tdep): Add declaration.
+ * m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
+ * machoread.c (_initialize_machoread): Add declaration.
+ * macrocmd.c (_initialize_macrocmd): Add declaration.
+ * macroscope.c (_initialize_macroscope): Add declaration.
+ * maint-test-options.c (_initialize_maint_test_options): Add declaration.
+ * maint-test-settings.c (_initialize_maint_test_settings): Add declaration.
+ * maint.c (_initialize_maint_cmds): Add declaration.
+ * mdebugread.c (_initialize_mdebugread): Add declaration.
+ * memattr.c (_initialize_mem): Add declaration.
+ * mep-tdep.c (_initialize_mep_tdep): Add declaration.
+ * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Add declaration.
+ * mi/mi-cmds.c (_initialize_mi_cmds): Add declaration.
+ * mi/mi-interp.c (_initialize_mi_interp): Add declaration.
+ * mi/mi-main.c (_initialize_mi_main): Add declaration.
+ * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): Add declaration.
+ * microblaze-tdep.c (_initialize_microblaze_tdep): Add declaration.
+ * mips-fbsd-nat.c (_initialize_mips_fbsd_nat): Add declaration.
+ * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Add declaration.
+ * mips-linux-nat.c (_initialize_mips_linux_nat): Add declaration.
+ * mips-linux-tdep.c (_initialize_mips_linux_tdep): Add declaration.
+ * mips-nbsd-nat.c (_initialize_mipsnbsd_nat): Add declaration.
+ * mips-nbsd-tdep.c (_initialize_mipsnbsd_tdep): Add declaration.
+ * mips-sde-tdep.c (_initialize_mips_sde_tdep): Add declaration.
+ * mips-tdep.c (_initialize_mips_tdep): Add declaration.
+ * mips64-obsd-nat.c (_initialize_mips64obsd_nat): Add declaration.
+ * mips64-obsd-tdep.c (_initialize_mips64obsd_tdep): Add declaration.
+ * mipsread.c (_initialize_mipsread): Add declaration.
+ * mn10300-linux-tdep.c (_initialize_mn10300_linux_tdep): Add declaration.
+ * mn10300-tdep.c (_initialize_mn10300_tdep): Add declaration.
+ * moxie-tdep.c (_initialize_moxie_tdep): Add declaration.
+ * msp430-tdep.c (_initialize_msp430_tdep): Add declaration.
+ * nds32-tdep.c (_initialize_nds32_tdep): Add declaration.
+ * nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Add declaration.
+ * nios2-tdep.c (_initialize_nios2_tdep): Add declaration.
+ * nto-procfs.c (_initialize_procfs): Add declaration.
+ * objc-lang.c (_initialize_objc_language): Add declaration.
+ * observable.c (_initialize_observer): Add declaration.
+ * opencl-lang.c (_initialize_opencl_language): Add declaration.
+ * or1k-linux-tdep.c (_initialize_or1k_linux_tdep): Add declaration.
+ * or1k-tdep.c (_initialize_or1k_tdep): Add declaration.
+ * osabi.c (_initialize_gdb_osabi): Add declaration.
+ * osdata.c (_initialize_osdata): Add declaration.
+ * p-valprint.c (_initialize_pascal_valprint): Add declaration.
+ * parse.c (_initialize_parse): Add declaration.
+ * ppc-fbsd-nat.c (_initialize_ppcfbsd_nat): Add declaration.
+ * ppc-fbsd-tdep.c (_initialize_ppcfbsd_tdep): Add declaration.
+ * ppc-linux-nat.c (_initialize_ppc_linux_nat): Add declaration.
+ * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Add declaration.
+ * ppc-nbsd-nat.c (_initialize_ppcnbsd_nat): Add declaration.
+ * ppc-nbsd-tdep.c (_initialize_ppcnbsd_tdep): Add declaration.
+ * ppc-obsd-nat.c (_initialize_ppcobsd_nat): Add declaration.
+ * ppc-obsd-tdep.c (_initialize_ppcobsd_tdep): Add declaration.
+ * printcmd.c (_initialize_printcmd): Add declaration.
+ * probe.c (_initialize_probe): Add declaration.
+ * proc-api.c (_initialize_proc_api): Add declaration.
+ * proc-events.c (_initialize_proc_events): Add declaration.
+ * proc-service.c (_initialize_proc_service): Add declaration.
+ * procfs.c (_initialize_procfs): Add declaration.
+ * producer.c (_initialize_producer): Add declaration.
+ * psymtab.c (_initialize_psymtab): Add declaration.
+ * python/python.c (_initialize_python): Add declaration.
+ * ravenscar-thread.c (_initialize_ravenscar): Add declaration.
+ * record-btrace.c (_initialize_record_btrace): Add declaration.
+ * record-full.c (_initialize_record_full): Add declaration.
+ * record.c (_initialize_record): Add declaration.
+ * regcache-dump.c (_initialize_regcache_dump): Add declaration.
+ * regcache.c (_initialize_regcache): Add declaration.
+ * reggroups.c (_initialize_reggroup): Add declaration.
+ * remote-notif.c (_initialize_notif): Add declaration.
+ * remote-sim.c (_initialize_remote_sim): Add declaration.
+ * remote.c (_initialize_remote): Add declaration.
+ * reverse.c (_initialize_reverse): Add declaration.
+ * riscv-fbsd-nat.c (_initialize_riscv_fbsd_nat): Add declaration.
+ * riscv-fbsd-tdep.c (_initialize_riscv_fbsd_tdep): Add declaration.
+ * riscv-linux-nat.c (_initialize_riscv_linux_nat): Add declaration.
+ * riscv-linux-tdep.c (_initialize_riscv_linux_tdep): Add declaration.
+ * riscv-tdep.c (_initialize_riscv_tdep): Add declaration.
+ * rl78-tdep.c (_initialize_rl78_tdep): Add declaration.
+ * rs6000-aix-tdep.c (_initialize_rs6000_aix_tdep): Add declaration.
+ * rs6000-lynx178-tdep.c (_initialize_rs6000_lynx178_tdep):
+ Add declaration.
+ * rs6000-nat.c (_initialize_rs6000_nat): Add declaration.
+ * rs6000-tdep.c (_initialize_rs6000_tdep): Add declaration.
+ * run-on-main-thread.c (_initialize_run_on_main_thread): Add declaration.
+ * rust-exp.y (_initialize_rust_exp): Add declaration.
+ * rx-tdep.c (_initialize_rx_tdep): Add declaration.
+ * s12z-tdep.c (_initialize_s12z_tdep): Add declaration.
+ * s390-linux-nat.c (_initialize_s390_nat): Add declaration.
+ * s390-linux-tdep.c (_initialize_s390_linux_tdep): Add declaration.
+ * s390-tdep.c (_initialize_s390_tdep): Add declaration.
+ * score-tdep.c (_initialize_score_tdep): Add declaration.
+ * ser-go32.c (_initialize_ser_dos): Add declaration.
+ * ser-mingw.c (_initialize_ser_windows): Add declaration.
+ * ser-pipe.c (_initialize_ser_pipe): Add declaration.
+ * ser-tcp.c (_initialize_ser_tcp): Add declaration.
+ * ser-uds.c (_initialize_ser_socket): Add declaration.
+ * ser-unix.c (_initialize_ser_hardwire): Add declaration.
+ * serial.c (_initialize_serial): Add declaration.
+ * sh-linux-tdep.c (_initialize_sh_linux_tdep): Add declaration.
+ * sh-nbsd-nat.c (_initialize_shnbsd_nat): Add declaration.
+ * sh-nbsd-tdep.c (_initialize_shnbsd_tdep): Add declaration.
+ * sh-tdep.c (_initialize_sh_tdep): Add declaration.
+ * skip.c (_initialize_step_skip): Add declaration.
+ * sol-thread.c (_initialize_sol_thread): Add declaration.
+ * solib-aix.c (_initialize_solib_aix): Add declaration.
+ * solib-darwin.c (_initialize_darwin_solib): Add declaration.
+ * solib-dsbt.c (_initialize_dsbt_solib): Add declaration.
+ * solib-frv.c (_initialize_frv_solib): Add declaration.
+ * solib-svr4.c (_initialize_svr4_solib): Add declaration.
+ * solib-target.c (_initialize_solib_target): Add declaration.
+ * solib.c (_initialize_solib): Add declaration.
+ * source-cache.c (_initialize_source_cache): Add declaration.
+ * source.c (_initialize_source): Add declaration.
+ * sparc-linux-nat.c (_initialize_sparc_linux_nat): Add declaration.
+ * sparc-linux-tdep.c (_initialize_sparc_linux_tdep): Add declaration.
+ * sparc-nat.c (_initialize_sparc_nat): Add declaration.
+ * sparc-nbsd-nat.c (_initialize_sparcnbsd_nat): Add declaration.
+ * sparc-nbsd-tdep.c (_initialize_sparcnbsd_tdep): Add declaration.
+ * sparc-obsd-tdep.c (_initialize_sparc32obsd_tdep): Add declaration.
+ * sparc-sol2-tdep.c (_initialize_sparc_sol2_tdep): Add declaration.
+ * sparc-tdep.c (_initialize_sparc_tdep): Add declaration.
+ * sparc64-fbsd-nat.c (_initialize_sparc64fbsd_nat): Add declaration.
+ * sparc64-fbsd-tdep.c (_initialize_sparc64fbsd_tdep): Add declaration.
+ * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Add declaration.
+ * sparc64-linux-tdep.c (_initialize_sparc64_linux_tdep): Add declaration.
+ * sparc64-nat.c (_initialize_sparc64_nat): Add declaration.
+ * sparc64-nbsd-nat.c (_initialize_sparc64nbsd_nat): Add declaration.
+ * sparc64-nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Add declaration.
+ * sparc64-obsd-nat.c (_initialize_sparc64obsd_nat): Add declaration.
+ * sparc64-obsd-tdep.c (_initialize_sparc64obsd_tdep): Add declaration.
+ * sparc64-sol2-tdep.c (_initialize_sparc64_sol2_tdep): Add declaration.
+ * sparc64-tdep.c (_initialize_sparc64_adi_tdep): Add declaration.
+ * stabsread.c (_initialize_stabsread): Add declaration.
+ * stack.c (_initialize_stack): Add declaration.
+ * stap-probe.c (_initialize_stap_probe): Add declaration.
+ * std-regs.c (_initialize_frame_reg): Add declaration.
+ * symfile-debug.c (_initialize_symfile_debug): Add declaration.
+ * symfile-mem.c (_initialize_symfile_mem): Add declaration.
+ * symfile.c (_initialize_symfile): Add declaration.
+ * symmisc.c (_initialize_symmisc): Add declaration.
+ * symtab.c (_initialize_symtab): Add declaration.
+ * target.c (_initialize_target): Add declaration.
+ * target-connection.c (_initialize_target_connection): Add
+ declaration.
+ * target-dcache.c (_initialize_target_dcache): Add declaration.
+ * target-descriptions.c (_initialize_target_descriptions): Add declaration.
+ * thread.c (_initialize_thread): Add declaration.
+ * tic6x-linux-tdep.c (_initialize_tic6x_linux_tdep): Add declaration.
+ * tic6x-tdep.c (_initialize_tic6x_tdep): Add declaration.
+ * tilegx-linux-nat.c (_initialize_tile_linux_nat): Add declaration.
+ * tilegx-linux-tdep.c (_initialize_tilegx_linux_tdep): Add declaration.
+ * tilegx-tdep.c (_initialize_tilegx_tdep): Add declaration.
+ * tracectf.c (_initialize_ctf): Add declaration.
+ * tracefile-tfile.c (_initialize_tracefile_tfile): Add declaration.
+ * tracefile.c (_initialize_tracefile): Add declaration.
+ * tracepoint.c (_initialize_tracepoint): Add declaration.
+ * tui/tui-hooks.c (_initialize_tui_hooks): Add declaration.
+ * tui/tui-interp.c (_initialize_tui_interp): Add declaration.
+ * tui/tui-layout.c (_initialize_tui_layout): Add declaration.
+ * tui/tui-regs.c (_initialize_tui_regs): Add declaration.
+ * tui/tui-stack.c (_initialize_tui_stack): Add declaration.
+ * tui/tui-win.c (_initialize_tui_win): Add declaration.
+ * tui/tui.c (_initialize_tui): Add declaration.
+ * typeprint.c (_initialize_typeprint): Add declaration.
+ * ui-style.c (_initialize_ui_style): Add declaration.
+ * unittests/array-view-selftests.c (_initialize_array_view_selftests): Add declaration.
+ * unittests/child-path-selftests.c (_initialize_child_path_selftests): Add declaration.
+ * unittests/cli-utils-selftests.c (_initialize_cli_utils_selftests): Add declaration.
+ * unittests/common-utils-selftests.c (_initialize_common_utils_selftests): Add declaration.
+ * unittests/copy_bitwise-selftests.c (_initialize_copy_bitwise_utils_selftests): Add declaration.
+ * unittests/environ-selftests.c (_initialize_environ_selftests): Add declaration.
+ * unittests/filtered_iterator-selftests.c
+ (_initialize_filtered_iterator_selftests): Add declaration.
+ * unittests/format_pieces-selftests.c (_initialize_format_pieces_selftests): Add declaration.
+ * unittests/function-view-selftests.c (_initialize_function_view_selftests): Add declaration.
+ * unittests/help-doc-selftests.c (_initialize_help_doc_selftests): Add declaration.
+ * unittests/lookup_name_info-selftests.c (_initialize_lookup_name_info_selftests): Add declaration.
+ * unittests/main-thread-selftests.c
+ (_initialize_main_thread_selftests): Add declaration.
+ * unittests/memory-map-selftests.c (_initialize_memory_map_selftests): Add declaration.
+ * unittests/memrange-selftests.c (_initialize_memrange_selftests): Add declaration.
+ * unittests/mkdir-recursive-selftests.c (_initialize_mkdir_recursive_selftests): Add declaration.
+ * unittests/observable-selftests.c (_initialize_observer_selftest): Add declaration.
+ * unittests/offset-type-selftests.c (_initialize_offset_type_selftests): Add declaration.
+ * unittests/optional-selftests.c (_initialize_optional_selftests): Add declaration.
+ * unittests/parse-connection-spec-selftests.c (_initialize_parse_connection_spec_selftests): Add declaration.
+ * unittests/rsp-low-selftests.c (_initialize_rsp_low_selftests): Add declaration.
+ * unittests/scoped_fd-selftests.c (_initialize_scoped_fd_selftests): Add declaration.
+ * unittests/scoped_mmap-selftests.c (_initialize_scoped_mmap_selftests): Add declaration.
+ * unittests/scoped_restore-selftests.c (_initialize_scoped_restore_selftests): Add declaration.
+ * unittests/string_view-selftests.c (_initialize_string_view_selftests): Add declaration.
+ * unittests/style-selftests.c (_initialize_style_selftest): Add declaration.
+ * unittests/tracepoint-selftests.c (_initialize_tracepoint_selftests): Add declaration.
+ * unittests/tui-selftests.c (_initialize_tui_selftest): Add
+ declaration.
+ * unittests/unpack-selftests.c (_initialize_unpack_selftests): Add declaration.
+ * unittests/utils-selftests.c (_initialize_utils_selftests): Add declaration.
+ * unittests/vec-utils-selftests.c (_initialize_vec_utils_selftests): Add declaration.
+ * unittests/xml-utils-selftests.c (_initialize_xml_utils): Add declaration.
+ * user-regs.c (_initialize_user_regs): Add declaration.
+ * utils.c (_initialize_utils): Add declaration.
+ * v850-tdep.c (_initialize_v850_tdep): Add declaration.
+ * valops.c (_initialize_valops): Add declaration.
+ * valprint.c (_initialize_valprint): Add declaration.
+ * value.c (_initialize_values): Add declaration.
+ * varobj.c (_initialize_varobj): Add declaration.
+ * vax-bsd-nat.c (_initialize_vaxbsd_nat): Add declaration.
+ * vax-nbsd-tdep.c (_initialize_vaxnbsd_tdep): Add declaration.
+ * vax-tdep.c (_initialize_vax_tdep): Add declaration.
+ * windows-nat.c (_initialize_windows_nat): Add declaration.
+ (_initialize_check_for_gdb_ini): Add declaration.
+ (_initialize_loadable): Add declaration.
+ * windows-tdep.c (_initialize_windows_tdep): Add declaration.
+ * x86-bsd-nat.c (_initialize_x86_bsd_nat): Add declaration.
+ * x86-linux-nat.c (_initialize_x86_linux_nat): Add declaration.
+ * xcoffread.c (_initialize_xcoffread): Add declaration.
+ * xml-support.c (_initialize_xml_support): Add declaration.
+ * xstormy16-tdep.c (_initialize_xstormy16_tdep): Add declaration.
+ * xtensa-linux-nat.c (_initialize_xtensa_linux_nat): Add declaration.
+ * xtensa-linux-tdep.c (_initialize_xtensa_linux_tdep): Add declaration.
+ * xtensa-tdep.c (_initialize_xtensa_tdep): Add declaration.
+
2020-01-13 Simon Marchi <simon.marchi@polymtl.ca>
* regformats/regdat.sh: Generate declaration for init function.
}
}
+void _initialize_aarch64_fbsd_nat ();
void
-_initialize_aarch64_fbsd_nat (void)
+_initialize_aarch64_fbsd_nat ()
{
add_inf_child_target (&the_aarch64_fbsd_nat_target);
}
(gdbarch, aarch64_fbsd_iterate_over_regset_sections);
}
+void _initialize_aarch64_fbsd_tdep ();
void
-_initialize_aarch64_fbsd_tdep (void)
+_initialize_aarch64_fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_aarch64, 0, GDB_OSABI_FREEBSD,
aarch64_fbsd_init_abi);
&maintenance_show_cmdlist);
}
+void _initialize_aarch64_linux_nat ();
void
-_initialize_aarch64_linux_nat (void)
+_initialize_aarch64_linux_nat ()
{
add_show_debug_regs_command ();
set_gdbarch_gcc_target_options (gdbarch, aarch64_linux_gcc_target_options);
}
+void _initialize_aarch64_linux_tdep ();
void
-_initialize_aarch64_linux_tdep (void)
+_initialize_aarch64_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_aarch64, 0, GDB_OSABI_LINUX,
aarch64_linux_init_abi);
tdep->jb_pc = 11;
}
+void _initialize_aarch64_newlib_tdep ();
void
-_initialize_aarch64_newlib_tdep (void)
+_initialize_aarch64_newlib_tdep ()
{
gdbarch_register_osabi (bfd_arch_aarch64, 0, GDB_OSABI_NEWLIB,
aarch64_newlib_init_abi);
}
#endif
+void _initialize_aarch64_tdep ();
void
-_initialize_aarch64_tdep (void)
+_initialize_aarch64_tdep ()
{
gdbarch_register (bfd_arch_aarch64, aarch64_gdbarch_init,
aarch64_dump_tdep);
return type != NULL ? type : parse_type (par_state)->builtin_data_ptr;
}
+void _initialize_ada_exp ();
void
-_initialize_ada_exp (void)
+_initialize_ada_exp ()
{
obstack_init (&temp_parse_space);
}
ada_clear_symbol_cache ();
}
+void _initialize_ada_language ();
void
-_initialize_ada_language (void)
+_initialize_ada_language ()
{
initialize_ada_catchpoint_ops ();
ada_tasks_invalidate_inferior_data (inf);
}
+void _initialize_tasks ();
void
-_initialize_tasks (void)
+_initialize_tasks ()
{
/* Attach various observers. */
gdb::observers::normal_stop.attach (ada_tasks_normal_stop_observer);
agent_look_up_symbols (objfile);
}
+void _initialize_agent ();
void
-_initialize_agent (void)
+_initialize_agent ()
{
gdb::observers::new_objfile.attach (agent_new_objfile);
/* Module startup initialization function, automagically called by
init.c. */
+void _initialize_aix_thread ();
void
-_initialize_aix_thread (void)
+_initialize_aix_thread ()
{
/* Notice when object files get loaded and unloaded. */
gdb::observers::new_objfile.attach (new_objfile);
}
\f
+void _initialize_alphabsd_nat ();
void
-_initialize_alphabsd_nat (void)
+_initialize_alphabsd_nat ()
{
add_inf_child_target (&the_alpha_bsd_nat_target);
return FPR_BASE + regno - gdbarch_fp0_regnum (gdbarch);
}
+void _initialize_alpha_linux_nat ();
void
-_initialize_alpha_linux_nat (void)
+_initialize_alpha_linux_nat ()
{
linux_target = &the_alpha_linux_nat_target;
add_inf_child_target (&the_alpha_linux_nat_target);
alpha_linux_gdb_signal_to_target);
}
+void _initialize_alpha_linux_tdep ();
void
-_initialize_alpha_linux_tdep (void)
+_initialize_alpha_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_LINUX,
alpha_linux_init_abi);
}
\f
+void _initialize_alphanbsd_tdep ();
void
-_initialize_alphanbsd_tdep (void)
+_initialize_alphanbsd_tdep ()
{
/* Even though NetBSD/alpha used ELF since day one, it used the
traditional a.out-style core dump format before NetBSD 1.6, but
}
\f
+void _initialize_alphaobsd_tdep ();
void
-_initialize_alphaobsd_tdep (void)
+_initialize_alphaobsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_OPENBSD,
alphaobsd_init_abi);
frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer);
}
+void _initialize_alpha_tdep ();
void
-_initialize_alpha_tdep (void)
+_initialize_alpha_tdep ()
{
gdbarch_register (bfd_arch_alpha, alpha_gdbarch_init, NULL);
set_solib_ops (gdbarch, &darwin_so_ops);
}
+void _initialize_amd64_darwin_tdep ();
void
-_initialize_amd64_darwin_tdep (void)
+_initialize_amd64_darwin_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64,
GDB_OSABI_DARWIN, x86_darwin_init_abi_64);
return GDB_OSABI_UNKNOWN;
}
+void _initialize_amd64_dicos_tdep ();
void
-_initialize_amd64_dicos_tdep (void)
+_initialize_amd64_dicos_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_elf_flavour,
amd64_dicos_osabi_sniffer);
}
#endif
+void _initialize_amd64fbsd_nat ();
void
-_initialize_amd64fbsd_nat (void)
+_initialize_amd64fbsd_nat ()
{
int offset;
amd64fbsd_get_thread_local_address);
}
+void _initialize_amd64fbsd_tdep ();
void
-_initialize_amd64fbsd_tdep (void)
+_initialize_amd64fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64,
GDB_OSABI_FREEBSD, amd64fbsd_init_abi);
return false;
}
+void _initialize_amd64_linux_nat ();
void
-_initialize_amd64_linux_nat (void)
+_initialize_amd64_linux_nat ()
{
amd64_native_gregset32_reg_offset = amd64_linux_gregset32_reg_offset;
amd64_native_gregset32_num_regs = I386_LINUX_NUM_REGS;
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_amd64_linux_tdep ();
void
-_initialize_amd64_linux_tdep (void)
+_initialize_amd64_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64,
GDB_OSABI_LINUX, amd64_linux_init_abi);
static amd64_bsd_nat_target<nbsd_nat_target> the_amd64_nbsd_nat_target;
+void _initialize_amd64nbsd_nat ();
void
-_initialize_amd64nbsd_nat (void)
+_initialize_amd64nbsd_nat ()
{
amd64_native_gregset32_reg_offset = amd64nbsd32_r_reg_offset;
amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64nbsd32_r_reg_offset);
(gdbarch, svr4_lp64_fetch_link_map_offsets);
}
+void _initialize_amd64nbsd_tdep ();
void
-_initialize_amd64nbsd_tdep (void)
+_initialize_amd64nbsd_tdep ()
{
/* The NetBSD/amd64 native dependent code makes this assumption. */
gdb_assert (ARRAY_SIZE (amd64nbsd_r_reg_offset) == AMD64_NUM_GREGS);
static amd64_bsd_nat_target<obsd_nat_target> the_amd64_obsd_nat_target;
+void _initialize_amd64obsd_nat ();
void
-_initialize_amd64obsd_nat (void)
+_initialize_amd64obsd_nat ()
{
amd64_native_gregset32_reg_offset = amd64obsd32_r_reg_offset;
amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64obsd32_r_reg_offset);
frame_unwind_prepend_unwinder (gdbarch, &amd64obsd_trapframe_unwind);
}
+void _initialize_amd64obsd_tdep ();
void
-_initialize_amd64obsd_tdep (void)
+_initialize_amd64obsd_tdep ()
{
/* The OpenBSD/amd64 native dependent code makes this assumption. */
gdb_assert (ARRAY_SIZE (amd64obsd_r_reg_offset) == AMD64_NUM_GREGS);
set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
}
+void _initialize_amd64_sol2_tdep ();
void
-_initialize_amd64_sol2_tdep (void)
+_initialize_amd64_sol2_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64,
GDB_OSABI_SOLARIS, amd64_sol2_init_abi);
return *tdesc;
}
+void _initialize_amd64_tdep ();
void
-_initialize_amd64_tdep (void)
+_initialize_amd64_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64, GDB_OSABI_NONE,
amd64_none_init_abi);
return regnum >= AMD64_CS_REGNUM && regnum <= AMD64_GS_REGNUM;
}
+void _initialize_amd64_windows_nat ();
void
-_initialize_amd64_windows_nat (void)
+_initialize_amd64_windows_nat ()
{
windows_set_context_register_offsets (mappings);
windows_set_segment_register_p (amd64_windows_segment_register_p);
set_gdbarch_auto_wide_charset (gdbarch, amd64_windows_auto_wide_charset);
}
+void _initialize_amd64_windows_tdep ();
void
-_initialize_amd64_windows_tdep (void)
+_initialize_amd64_windows_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64, GDB_OSABI_CYGWIN,
amd64_windows_init_abi);
annotate_breakpoints_invalid ();
}
+void _initialize_annotate ();
void
-_initialize_annotate (void)
+_initialize_annotate ()
{
gdb::observers::breakpoint_created.attach (breakpoint_changed);
gdb::observers::breakpoint_deleted.attach (breakpoint_changed);
return GDB_OSABI_UNKNOWN;
}
+void _initialize_arc_newlib_tdep ();
void
-_initialize_arc_newlib_tdep (void)
+_initialize_arc_newlib_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_arc, bfd_target_elf_flavour,
arc_newlib_osabi_sniffer);
arc_insn_dump (insn);
}
+void _initialize_arc_tdep ();
void
-_initialize_arc_tdep (void)
+_initialize_arc_tdep ()
{
gdbarch_register (bfd_arch_arc, arc_gdbarch_init, arc_dump_tdep);
return "";
}
+void _initialize_gdbarch_utils ();
void
-_initialize_gdbarch_utils (void)
+_initialize_gdbarch_utils ()
{
add_setshow_enum_cmd ("endian", class_support,
endian_enum, &set_endian_string,
return desc;
}
+void _initialize_arm_fbsd_nat ();
void
-_initialize_arm_fbsd_nat (void)
+_initialize_arm_fbsd_nat ()
{
add_inf_child_target (&the_arm_fbsd_nat_target);
}
set_gdbarch_software_single_step (gdbarch, arm_software_single_step);
}
+void _initialize_arm_fbsd_tdep ();
void
-_initialize_arm_fbsd_tdep (void)
+_initialize_arm_fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_arm, 0, GDB_OSABI_FREEBSD,
arm_fbsd_init_abi);
*child_state = *parent_state;
}
+void _initialize_arm_linux_nat ();
void
-_initialize_arm_linux_nat (void)
+_initialize_arm_linux_nat ()
{
/* Register the target. */
linux_target = &the_arm_linux_nat_target;
set_gdbarch_gcc_target_options (gdbarch, arm_linux_gcc_target_options);
}
+void _initialize_arm_linux_tdep ();
void
-_initialize_arm_linux_tdep (void)
+_initialize_arm_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_arm, 0, GDB_OSABI_LINUX,
arm_linux_init_abi);
NULL
};
+void _initialize_arm_netbsd_nat ();
void
-_initialize_arm_netbsd_nat (void)
+_initialize_arm_netbsd_nat ()
{
add_inf_child_target (&the_arm_netbsd_nat_target);
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_arm_netbsd_tdep ();
void
-_initialize_arm_netbsd_tdep (void)
+_initialize_arm_netbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_arm, 0, GDB_OSABI_NETBSD,
arm_netbsd_elf_init_abi);
}
}
+void _initialize_armobsd_tdep ();
void
-_initialize_armobsd_tdep (void)
+_initialize_armobsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_arm, 0, GDB_OSABI_OPENBSD,
armobsd_init_abi);
return GDB_OSABI_UNKNOWN;
}
+void _initialize_arm_pikeos_tdep ();
void
-_initialize_arm_pikeos_tdep (void)
+_initialize_arm_pikeos_tdep ()
{
/* Register the sniffer for the PikeOS targets. */
gdbarch_register_osabi_sniffer (bfd_arch_arm, bfd_target_elf_flavour,
return GDB_OSABI_SYMBIAN;
}
+void _initialize_arm_symbian_tdep ();
void
-_initialize_arm_symbian_tdep (void)
+_initialize_arm_symbian_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_arm,
bfd_target_elf_flavour,
}
#endif
+void _initialize_arm_tdep ();
void
-_initialize_arm_tdep (void)
+_initialize_arm_tdep ()
{
long length;
int i, j;
return GDB_OSABI_UNKNOWN;
}
+void _initialize_arm_wince_tdep ();
void
-_initialize_arm_wince_tdep (void)
+_initialize_arm_wince_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_arm, bfd_target_coff_flavour,
arm_wince_osabi_sniffer);
return &retval;
}
+void _initialize_auto_load ();
void
-_initialize_auto_load (void)
+_initialize_auto_load ()
{
struct cmd_list_element *cmd;
char *scripts_directory_help, *gdb_name_help, *python_name_help;
}
}
+void _initialize_auxv ();
void
-_initialize_auxv (void)
+_initialize_auxv ()
{
add_info ("auxv", info_auxv_command,
_("Display the inferior's auxiliary vector.\n\
}
}
+void _initialize_avr_tdep ();
void
-_initialize_avr_tdep (void)
+_initialize_avr_tdep ()
{
register_gdbarch_init (bfd_arch_avr, avr_gdbarch_init);
/* Initialization code. */
+void _initialize_ax_gdb ();
void
-_initialize_ax_gdb (void)
+_initialize_ax_gdb ()
{
add_cmd ("agent", class_maintenance, agent_command,
_("\
bfin_linux_get_syscall_number);
}
+void _initialize_bfin_linux_tdep ();
void
-_initialize_bfin_linux_tdep (void)
+_initialize_bfin_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_bfin, 0, GDB_OSABI_LINUX,
bfin_linux_init_abi);
return gdbarch;
}
+void _initialize_bfin_tdep ();
void
-_initialize_bfin_tdep (void)
+_initialize_bfin_tdep ()
{
register_gdbarch_init (bfd_arch_bfin, bfin_gdbarch_init);
}
ops->explains_signal = signal_catchpoint_explains_signal;
}
+void _initialize_break_catch_sig ();
void
-_initialize_break_catch_sig (void)
+_initialize_break_catch_sig ()
{
initialize_signal_catchpoint_ops ();
ops->print_recreate = print_recreate_catch_syscall;
}
+void _initialize_break_catch_syscall ();
void
-_initialize_break_catch_syscall (void)
+_initialize_break_catch_syscall ()
{
initialize_syscall_catchpoint_ops ();
ops->allocate_location = allocate_location_exception_catchpoint;
}
+void _initialize_break_catch_throw ();
void
-_initialize_break_catch_throw (void)
+_initialize_break_catch_throw ()
{
initialize_throw_catchpoint_ops ();
cmd_list_element *commands_cmd_element = nullptr;
+void _initialize_breakpoint ();
void
-_initialize_breakpoint (void)
+_initialize_breakpoint ()
{
struct cmd_list_element *c;
return normal_pid_to_str (ptid);
}
+void _initialize_bsd_uthread ();
void
-_initialize_bsd_uthread (void)
+_initialize_bsd_uthread ()
{
bsd_uthread_data = gdbarch_data_register_pre_init (bsd_uthread_init);
/* Initialize btrace maintenance commands. */
+void _initialize_btrace ();
void
-_initialize_btrace (void)
+_initialize_btrace ()
{
add_cmd ("btrace", class_maintenance, maint_info_btrace_cmd,
_("Info about branch tracing data."), &maintenanceinfolist);
#endif /* USE_INTERMEDIATE_ENCODING_FUNCTION */
+void _initialize_charset ();
void
-_initialize_charset (void)
+_initialize_charset ()
{
/* The first element is always "auto". */
charsets.charsets.push_back (xstrdup ("auto"));
gdbarch);
}
+void _initialize_cli_cmds ();
void
-_initialize_cli_cmds (void)
+_initialize_cli_cmds ()
{
struct cmd_list_element *c;
gdb_stdout);
}
+void _initialize_cli_dump ();
void
-_initialize_cli_dump (void)
+_initialize_cli_dump ()
{
struct cmd_list_element *c;
/* Standard gdb initialization hook. */
+void _initialize_cli_interp ();
void
-_initialize_cli_interp (void)
+_initialize_cli_interp ()
{
interp_factory_register (INTERP_CONSOLE, cli_interp_factory);
printf_unfiltered (_("Debug output will be logged and displayed.\n"));
}
+void _initialize_cli_logging ();
void
-_initialize_cli_logging (void)
+_initialize_cli_logging ()
{
static struct cmd_list_element *set_logging_cmdlist, *show_logging_cmdlist;
}
+void _initialize_cli_script ();
void
-_initialize_cli_script (void)
+_initialize_cli_script ()
{
struct cmd_list_element *c;
return result;
}
+void _initialize_cli_style ();
void
_initialize_cli_style ()
{
/* Adds "Set/show debug coff_pe_read" commands. */
+void _initialize_coff_pe_read ();
void
-_initialize_coff_pe_read (void)
+_initialize_coff_pe_read ()
{
add_setshow_zuinteger_cmd ("coff-pe-read", class_maintenance,
&debug_coff_pe_read,
&psym_functions
};
+void _initialize_coffread ();
void
-_initialize_coffread (void)
+_initialize_coffread ()
{
add_symtab_fns (bfd_target_coff_flavour, &coff_sym_fns);
return pop_binding_level ();
}
+void _initialize_compile_cplus_types ();
void
_initialize_compile_cplus_types ()
{
/* See compile.h. */
cmd_list_element *compile_cmd_element = nullptr;
+void _initialize_compile ();
void
-_initialize_compile (void)
+_initialize_compile ()
{
struct cmd_list_element *c = NULL;
value);
}
+void _initialize_complaints ();
void
-_initialize_complaints (void)
+_initialize_complaints ()
{
add_setshow_zinteger_cmd ("complaints", class_support,
&stop_whining, _("\
}
}
+void _initialize_completer ();
void
-_initialize_completer (void)
+_initialize_completer ()
{
add_setshow_zuinteger_unlimited_cmd ("max-completions", no_class,
&max_completions, _("\
printf_filtered ("\n");
}
+void _initialize_copying ();
void
-_initialize_copying (void)
+_initialize_copying ()
{
add_cmd ("copying", no_set_class, show_copying_command,
_("Conditions for redistributing copies of GDB."),
set_gnutarget_command (NULL, 0, NULL);
}
+void _initialize_core ();
void
-_initialize_core (void)
+_initialize_core ()
{
struct cmd_list_element *c;
return true;
}
+void _initialize_corelow ();
void
-_initialize_corelow (void)
+_initialize_corelow ()
{
add_target (core_target_info, core_target_open, filename_completer);
}
uiout->text (").\n");
}
+void _initialize_cp_abi ();
void
-_initialize_cp_abi (void)
+_initialize_cp_abi ()
{
struct cmd_list_element *c;
printf_unfiltered (_("The `maint namespace' command was removed.\n"));
}
+void _initialize_cp_namespace ();
void
-_initialize_cp_namespace (void)
+_initialize_cp_namespace ()
{
struct cmd_list_element *cmd;
cplus_print_vtable (value);
}
+void _initialize_cp_support ();
void
-_initialize_cp_support (void)
+_initialize_cp_support ()
{
add_prefix_cmd ("cplus", class_maintenance,
maint_cplus_command,
}
+void _initialize_cp_valprint ();
void
-_initialize_cp_valprint (void)
+_initialize_cp_valprint ()
{
obstack_begin (&dont_print_stat_array_obstack,
32 * sizeof (struct type *));
}
+void _initialize_cris_linux_tdep ();
void
-_initialize_cris_linux_tdep (void)
+_initialize_cris_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_cris, 0, GDB_OSABI_LINUX,
cris_linux_init_abi);
NULL /* next */
};
+void _initialize_cris_tdep ();
void
-_initialize_cris_tdep (void)
+_initialize_cris_tdep ()
{
gdbarch_register (bfd_arch_cris, cris_gdbarch_init, cris_dump_tdep);
&csky_linux_rt_sigreturn_tramp_frame);
}
+void _initialize_csky_linux_tdep ();
void
-_initialize_csky_linux_tdep (void)
+_initialize_csky_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_csky, 0, GDB_OSABI_LINUX,
csky_linux_init_abi);
return gdbarch;
}
+void _initialize_csky_tdep ();
void
-_initialize_csky_tdep (void)
+_initialize_csky_tdep ()
{
register_gdbarch_init (bfd_arch_csky, csky_gdbarch_init);
scan_partial_symbols (fp, of);
}
+void _initialize_ctfread ();
void
-_initialize_ctfread (void)
+_initialize_ctfread ()
{
}
return (const struct builtin_d_type *) gdbarch_data (gdbarch, d_type_data);
}
+void _initialize_d_language ();
void
-_initialize_d_language (void)
+_initialize_d_language ()
{
d_type_data = gdbarch_data_register_post_init (build_d_types);
}
}
}
+void _initialize_darwin_info_commands ();
void
-_initialize_darwin_info_commands (void)
+_initialize_darwin_info_commands ()
{
add_info ("mach-tasks", info_mach_tasks_command,
_("Get list of tasks in system."));
return true;
}
+void _initialize_darwin_nat ();
void
_initialize_darwin_nat ()
{
&psym_functions
};
+void _initialize_dbxread ();
void
-_initialize_dbxread (void)
+_initialize_dbxread ()
{
add_symtab_fns (bfd_target_aout_flavour, &aout_sym_fns);
}
cmd_show_list (dcache_show_list, from_tty, "");
}
+void _initialize_dcache ();
void
-_initialize_dcache (void)
+_initialize_dcache ()
{
add_setshow_boolean_cmd ("remotecache", class_support,
&dcache_enabled_p, _("\
} // namespace selftests
#endif /* GDB_SELF_TEST */
+void _initialize_disasm_selftests ();
void
-_initialize_disasm_selftests (void)
+_initialize_disasm_selftests ()
{
#if GDB_SELF_TEST
selftests::register_test_foreach_arch ("print_one_insn",
/* Initialization code. */
+void _initialize_disasm ();
void
-_initialize_disasm (void)
+_initialize_disasm ()
{
struct cmd_list_element *cmd;
info_probes_for_spops (arg, from_tty, &dtrace_static_probe_ops);
}
+void _initialize_dtrace_probe ();
void
-_initialize_dtrace_probe (void)
+_initialize_dtrace_probe ()
{
all_static_probe_ops.push_back (&dtrace_static_probe_ops);
}
}
+void _initialize_dummy_frame ();
void
-_initialize_dummy_frame (void)
+_initialize_dummy_frame ()
{
add_cmd ("dummy-frames", class_maintenance, maintenance_print_dummy_frames,
_("Print the contents of the internal dummy-frame stack."),
indent, global_index_cache.n_misses ());
}
+void _initialize_index_cache ();
void
_initialize_index_cache ()
{
}
}
+void _initialize_dwarf_index_write ();
void
_initialize_dwarf_index_write ()
{
tailcall_frame_prev_arch
};
+void _initialize_tailcall_frame ();
void
-_initialize_tailcall_frame (void)
+_initialize_tailcall_frame ()
{
cache_htab = htab_create_alloc (50, cache_hash, cache_eq, NULL, xcalloc,
xfree);
value);
}
+void _initialize_dwarf2_frame ();
void
-_initialize_dwarf2_frame (void)
+_initialize_dwarf2_frame ()
{
dwarf2_frame_data = gdbarch_data_register_pre_init (dwarf2_frame_init);
gdb_assert (this->recursion_depth >= 0);
}
+void _initialize_dwarf2expr ();
void
-_initialize_dwarf2expr (void)
+_initialize_dwarf2expr ()
{
dwarf_arch_cookie
= gdbarch_data_register_post_init (dwarf_gdbarch_types_init);
loclist_generate_c_location
};
+void _initialize_dwarf2loc ();
void
-_initialize_dwarf2loc (void)
+_initialize_dwarf2loc ()
{
add_setshow_zuinteger_cmd ("entry-values", class_maintenance,
&entry_values_debug,
value);
}
+void _initialize_dwarf2_read ();
void
-_initialize_dwarf2_read (void)
+_initialize_dwarf2_read ()
{
add_prefix_cmd ("dwarf", class_maintenance, set_dwarf_cmd, _("\
Set DWARF specific variables.\n\
elf_gnu_ifunc_resolver_return_stop
};
+void _initialize_elfread ();
void
-_initialize_elfread (void)
+_initialize_elfread ()
{
add_symtab_fns (bfd_target_elf_flavour, &elf_sym_fns);
return objfile_find_memory_regions (this, func, data);
}
+void _initialize_exec ();
void
-_initialize_exec (void)
+_initialize_exec ()
{
struct cmd_list_element *c;
}
}
+void _initialize_extension ();
void
-_initialize_extension (void)
+_initialize_extension ()
{
gdb::observers::before_prompt.attach (ext_lang_before_prompt);
}
return (const struct builtin_f_type *) gdbarch_data (gdbarch, f_type_data);
}
+void _initialize_f_language ();
void
-_initialize_f_language (void)
+_initialize_f_language ()
{
f_type_data = gdbarch_data_register_post_init (build_fortran_types);
}
}
}
+void _initialize_f_valprint ();
void
-_initialize_f_valprint (void)
+_initialize_f_valprint ()
{
add_info ("common", info_common_command,
_("Print out the values contained in a Fortran COMMON block."));
#endif
#endif
+void _initialize_fbsd_nat ();
void
-_initialize_fbsd_nat (void)
+_initialize_fbsd_nat ()
{
#ifdef PT_LWPINFO
add_setshow_boolean_cmd ("fbsd-lwp", class_maintenance,
set_gdbarch_get_syscall_number (gdbarch, fbsd_get_syscall_number);
}
+void _initialize_fbsd_tdep ();
void
-_initialize_fbsd_tdep (void)
+_initialize_fbsd_tdep ()
{
fbsd_gdbarch_data_handle =
gdbarch_data_register_post_init (init_fbsd_gdbarch_data);
value);
}
+void _initialize_filesystem ();
void
-_initialize_filesystem (void)
+_initialize_filesystem ()
{
add_setshow_enum_cmd ("target-file-system-kind",
class_files,
found_count > 1 ? "s" : "");
}
+void _initialize_mem_search ();
void
-_initialize_mem_search (void)
+_initialize_mem_search ()
{
add_cmd ("find", class_vars, find_command, _("\
Search memory for a sequence of bytes.\n\
#endif
+void _initialize_findvar ();
void
-_initialize_findvar (void)
+_initialize_findvar ()
{
#if GDB_SELF_TEST
selftests::register_test
value);
}
+void _initialize_fork_child ();
void
-_initialize_fork_child (void)
+_initialize_fork_child ()
{
add_setshow_filename_cmd ("exec-wrapper", class_run, &exec_wrapper, _("\
Set a wrapper for running programs.\n\
return table->default_base;
}
+void _initialize_frame_base ();
void
-_initialize_frame_base (void)
+_initialize_frame_base ()
{
frame_base_data = gdbarch_data_register_pre_init (frame_base_init);
}
return reg_val;
}
+void _initialize_frame_unwind ();
void
-_initialize_frame_unwind (void)
+_initialize_frame_unwind ()
{
frame_unwind_data = gdbarch_data_register_pre_init (frame_unwind_init);
}
},
};
+void _initialize_frame ();
void
-_initialize_frame (void)
+_initialize_frame ()
{
obstack_init (&frame_cache_obstack);
return GDB_OSABI_UNKNOWN;
}
+void _initialize_frv_linux_tdep ();
void
-_initialize_frv_linux_tdep (void)
+_initialize_frv_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_frv, 0, GDB_OSABI_LINUX,
frv_linux_init_abi);
return gdbarch;
}
+void _initialize_frv_tdep ();
void
-_initialize_frv_tdep (void)
+_initialize_frv_tdep ()
{
register_gdbarch_init (bfd_arch_frv, frv_gdbarch_init);
}
/* Register this machine's init routine. */
+void _initialize_ft32_tdep ();
void
-_initialize_ft32_tdep (void)
+_initialize_ft32_tdep ()
{
register_gdbarch_init (bfd_arch_ft32, ft32_gdbarch_init);
}
return 1;
}
+void _initialize_gcore ();
void
-_initialize_gcore (void)
+_initialize_gcore ()
{
add_com ("generate-core-file", class_files, gcore_command, _("\
Save a core file with the current state of the debugged process.\n\
error (_("Can't demangle \"%s\""), name);
}
+void _initialize_gdb_demangle ();
void
-_initialize_gdb_demangle (void)
+_initialize_gdb_demangle ()
{
int i, ndems;
htab_traverse (all_bfds, print_one_bfd, uiout);
}
+void _initialize_gdb_bfd ();
void
-_initialize_gdb_bfd (void)
+_initialize_gdb_bfd ()
{
all_bfds = htab_create_alloc (10, htab_hash_pointer, htab_eq_pointer,
NULL, xcalloc, xfree);
} // namespace selftests
#endif /* GDB_SELF_TEST */
+void _initialize_gdbarch_selftests ();
void
-_initialize_gdbarch_selftests (void)
+_initialize_gdbarch_selftests ()
{
#if GDB_SELF_TEST
selftests::register_test_foreach_arch ("register_to_value",
return current_inferior ()->gdbarch;
}
+void _initialize_gdbarch ();
void
-_initialize_gdbarch (void)
+_initialize_gdbarch ()
{
add_setshow_zuinteger_cmd ("arch", class_maintenance, &gdbarch_debug, _("\
Set architecture debugging."), _("\
return objfile_type;
}
+void _initialize_gdbtypes ();
void
-_initialize_gdbtypes (void)
+_initialize_gdbtypes ()
{
gdbtypes_data = gdbarch_data_register_post_init (gdbtypes_post_init);
&thread_cmd_list);
}
+void _initialize_gnu_nat ();
void
-_initialize_gnu_nat (void)
+_initialize_gnu_nat ()
{
proc_server = getproc ();
gnu_v2_abi_ops.baseclass_offset = gnuv2_baseclass_offset;
}
+void _initialize_gnu_v2_abi ();
void
-_initialize_gnu_v2_abi (void)
+_initialize_gnu_v2_abi ()
{
init_gnuv2_ops ();
register_cp_abi (&gnu_v2_abi_ops);
gnu_v3_abi_ops.pass_by_reference = gnuv3_pass_by_reference;
}
+void _initialize_gnu_v3_abi ();
void
-_initialize_gnu_v3_abi (void)
+_initialize_gnu_v3_abi ()
{
init_gnuv3_ops ();
return (const struct builtin_go_type *) gdbarch_data (gdbarch, go_type_data);
}
+void _initialize_go_language ();
void
-_initialize_go_language (void)
+_initialize_go_language ()
{
go_type_data = gdbarch_data_register_post_init (build_go_types);
}
help_list (info_dos_cmdlist, "info dos ", class_info, gdb_stdout);
}
+void _initialize_go32_nat ();
void
-_initialize_go32_nat (void)
+_initialize_go32_nat ()
{
x86_dr_low.set_control = go32_set_dr7;
x86_dr_low.set_addr = go32_set_dr;
&set_guile_list, &show_guile_list);
}
+void _initialize_guile ();
void
-_initialize_guile (void)
+_initialize_guile ()
{
install_gdb_commands ();
}
+void _initialize_h8300_tdep ();
void
-_initialize_h8300_tdep (void)
+_initialize_h8300_tdep ()
{
register_gdbarch_init (bfd_arch_h8300, h8300_gdbarch_init);
}
}
}
+void _initialize_hppa_linux_nat ();
void
-_initialize_hppa_linux_nat (void)
+_initialize_hppa_linux_nat ()
{
/* Register the target. */
linux_target = &the_hppa_linux_nat_target;
svr4_fetch_objfile_link_map);
}
+void _initialize_hppa_linux_tdep ();
void
-_initialize_hppa_linux_tdep (void)
+_initialize_hppa_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_LINUX,
hppa_linux_init_abi);
}
}
+void _initialize_hppanbsd_nat ();
void
-_initialize_hppanbsd_nat (void)
+_initialize_hppanbsd_nat ()
{
add_inf_child_target (&the_hppa_nbsd_nat_target);
}
tramp_frame_prepend_unwinder (gdbarch, &hppanbsd_sigtramp_si4);
}
+void _initialize_hppanbsd_tdep ();
void
-_initialize_hppanbsd_tdep (void)
+_initialize_hppanbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_NETBSD,
hppanbsd_init_abi);
}
}
+void _initialize_hppaobsd_nat ();
void
-_initialize_hppaobsd_nat (void)
+_initialize_hppaobsd_nat ()
{
add_inf_child_target (&the_hppa_obsd_nat_target);
}
(gdbarch, hppaobsd_iterate_over_regset_sections);
}
+void _initialize_hppabsd_tdep ();
void
-_initialize_hppabsd_tdep (void)
+_initialize_hppabsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_OPENBSD,
hppaobsd_init_abi);
fprintf_unfiltered (file, "elf = %s\n", tdep->is_elf ? "yes" : "no");
}
+void _initialize_hppa_tdep ();
void
-_initialize_hppa_tdep (void)
+_initialize_hppa_tdep ()
{
gdbarch_register (bfd_arch_hppa, hppa_gdbarch_init, hppa_dump_tdep);
}
}
+void _initialize_i386bsd_nat ();
void
-_initialize_i386bsd_nat (void)
+_initialize_i386bsd_nat ()
{
int offset;
return GDB_OSABI_UNKNOWN;
}
+void _initialize_i386_cygwin_tdep ();
void
-_initialize_i386_cygwin_tdep (void)
+_initialize_i386_cygwin_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_coff_flavour,
i386_cygwin_osabi_sniffer);
}
}
+void _initialize_i386_darwin_nat ();
void
-_initialize_i386_darwin_nat (void)
+_initialize_i386_darwin_nat ()
{
#ifdef BFD64
amd64_native_gregset64_reg_offset = amd64_darwin_thread_state_reg_offset;
return GDB_OSABI_UNKNOWN;
}
+void _initialize_i386_darwin_tdep ();
void
-_initialize_i386_darwin_tdep (void)
+_initialize_i386_darwin_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_unknown, bfd_target_mach_o_flavour,
i386_mach_o_osabi_sniffer);
return GDB_OSABI_UNKNOWN;
}
+void _initialize_i386_dicos_tdep ();
void
-_initialize_i386_dicos_tdep (void)
+_initialize_i386_dicos_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_elf_flavour,
i386_dicos_osabi_sniffer);
}
#endif
+void _initialize_i386fbsd_nat ();
void
-_initialize_i386fbsd_nat (void)
+_initialize_i386fbsd_nat ()
{
add_inf_child_target (&the_i386_fbsd_nat_target);
i386fbsd_get_thread_local_address);
}
+void _initialize_i386fbsd_tdep ();
void
-_initialize_i386fbsd_tdep (void)
+_initialize_i386fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_FREEBSD,
i386fbsd4_init_abi);
}
#endif /* i386_DEBUG_STATE */
+void _initialize_i386gnu_nat ();
void
-_initialize_i386gnu_nat (void)
+_initialize_i386gnu_nat ()
{
#ifdef i386_DEBUG_STATE
x86_dr_low.set_control = i386_gnu_dr_set_control;
tdep->jb_pc_offset = 20; /* From <bits/setjmp.h>. */
}
+void _initialize_i386gnu_tdep ();
void
-_initialize_i386gnu_tdep (void)
+_initialize_i386gnu_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_HURD, i386gnu_init_abi);
}
}
\f
+void _initialize_i386_go32_tdep ();
void
_initialize_i386_go32_tdep ()
{
perror_with_name (("ptrace"));
}
+void _initialize_i386_linux_nat ();
void
-_initialize_i386_linux_nat (void)
+_initialize_i386_linux_nat ()
{
linux_target = &the_i386_linux_nat_target;
i386_linux_handle_segmentation_fault);
}
+void _initialize_i386_linux_tdep ();
void
-_initialize_i386_linux_tdep (void)
+_initialize_i386_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_LINUX,
i386_linux_init_abi);
static i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target;
+void _initialize_i386nbsd_nat ();
void
-_initialize_i386nbsd_nat (void)
+_initialize_i386nbsd_nat ()
{
add_inf_child_target (&the_i386_nbsd_nat_target);
tdep->struct_return = pcc_struct_return;
}
+void _initialize_i386nbsd_tdep ();
void
-_initialize_i386nbsd_tdep (void)
+_initialize_i386nbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_NETBSD,
i386nbsdelf_init_abi);
set_gdbarch_wchar_signed (gdbarch, 0);
}
+void _initialize_i386nto_tdep ();
void
-_initialize_i386nto_tdep (void)
+_initialize_i386nto_tdep ()
{
init_i386nto_ops ();
gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_QNXNTO,
static i386_bsd_nat_target<obsd_nat_target> the_i386_obsd_nat_target;
+void _initialize_i386obsd_nat ();
void
-_initialize_i386obsd_nat (void)
+_initialize_i386obsd_nat ()
{
add_inf_child_target (&i386_obsd_nat_target);
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_i386obsd_tdep ();
void
-_initialize_i386obsd_tdep (void)
+_initialize_i386obsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_OPENBSD,
i386obsd_init_abi);
#endif
+void _initialize_amd64_sol2_nat ();
void
-_initialize_amd64_sol2_nat (void)
+_initialize_amd64_sol2_nat ()
{
#if PR_MODEL_NATIVE == PR_MODEL_LP64
amd64_native_gregset32_reg_offset = amd64_sol2_gregset32_reg_offset;
return GDB_OSABI_UNKNOWN;
}
+void _initialize_i386_sol2_tdep ();
void
-_initialize_i386_sol2_tdep (void)
+_initialize_i386_sol2_tdep ()
{
/* Register an ELF OS ABI sniffer for Solaris 2 binaries. */
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_elf_flavour,
cmd_show_list (mpx_show_cmdlist, from_tty, "");
}
+void _initialize_i386_tdep ();
void
-_initialize_i386_tdep (void)
+_initialize_i386_tdep ()
{
register_gdbarch_init (bfd_arch_i386, i386_gdbarch_init);
return regnum >= I386_CS_REGNUM && regnum <= I386_GS_REGNUM;
}
+void _initialize_i386_windows_nat ();
void
-_initialize_i386_windows_nat (void)
+_initialize_i386_windows_nat ()
{
windows_set_context_register_offsets (mappings);
windows_set_segment_register_p (i386_windows_segment_register_p);
return libunwind_initialized;
}
+void _initialize_libunwind_frame ();
void
-_initialize_libunwind_frame (void)
+_initialize_libunwind_frame ()
{
libunwind_descr_handle
= gdbarch_data_register_post_init (libunwind_descr_init);
|| WSTOPSIG (status) == SIGILL);
}
+void _initialize_ia64_linux_nat ();
void
-_initialize_ia64_linux_nat (void)
+_initialize_ia64_linux_nat ()
{
/* Register the target. */
linux_target = &the_ia64_linux_nat_target;
ia64_linux_stap_is_single_operand);
}
+void _initialize_ia64_linux_tdep ();
void
-_initialize_ia64_linux_tdep (void)
+_initialize_ia64_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_ia64, 0, GDB_OSABI_LINUX,
ia64_linux_init_abi);
return gdbarch;
}
+void _initialize_ia64_tdep ();
void
-_initialize_ia64_tdep (void)
+_initialize_ia64_tdep ()
{
gdbarch_register (bfd_arch_ia64, ia64_gdbarch_init, NULL);
}
#endif
}
+void _initialize_ia64_vms_tdep ();
void
-_initialize_ia64_vms_tdep (void)
+_initialize_ia64_vms_tdep ()
{
gdbarch_register_osabi (bfd_arch_ia64, 0, GDB_OSABI_OPENVMS,
ia64_openvms_init_abi);
gdb_assert_not_reached ("... should not be here");
}
+void _initialize_infcall ();
void
-_initialize_infcall (void)
+_initialize_infcall ()
{
add_setshow_boolean_cmd ("may-call-functions", no_class,
&may_call_functions_p, _("\
\n\
To start the inferior without using a shell, use \"set startup-with-shell off\"."
+void _initialize_infcmd ();
void
-_initialize_infcmd (void)
+_initialize_infcmd ()
{
static struct cmd_list_element *info_proc_cmdlist;
struct cmd_list_element *c = NULL;
stdin_serial = serial_fdopen (0);
}
+void _initialize_inflow ();
void
-_initialize_inflow (void)
+_initialize_inflow ()
{
add_info ("terminal", info_terminal_command,
_("Print inferior's saved terminal status."));
inferior_event_handler (INF_REG_EVENT, NULL);
}
+void _initialize_infrun ();
void
-_initialize_infrun (void)
+_initialize_infrun ()
{
struct cmd_list_element *c;
}
/* This just adds the "interpreter-exec" command. */
+void _initialize_interpreter ();
void
-_initialize_interpreter (void)
+_initialize_interpreter ()
{
struct cmd_list_element *c;
Initializer function for the iq2000 module.
Called by gdb at start-up. */
+void _initialize_iq2000_tdep ();
void
-_initialize_iq2000_tdep (void)
+_initialize_iq2000_tdep ()
{
register_gdbarch_init (bfd_arch_iq2000, iq2000_gdbarch_init);
}
return data;
}
+void _initialize_jit ();
void
-_initialize_jit (void)
+_initialize_jit ()
{
jit_reader_dir = relocate_gdb_directory (JIT_READER_DIR,
JIT_READER_DIR_RELOCATABLE);
/* Initialize the language routines. */
+void _initialize_language ();
void
-_initialize_language (void)
+_initialize_language ()
{
static const char *const type_or_range_names[]
= { "on", "off", "warn", "auto", NULL };
linux_fork_context (fp, from_tty);
}
+void _initialize_linux_fork ();
void
-_initialize_linux_fork (void)
+_initialize_linux_fork ()
{
/* Checkpoint command: create a fork of the inferior process
and set it aside for later debugging. */
return inferior_ptid;
}
+void _initialize_linux_nat ();
void
-_initialize_linux_nat (void)
+_initialize_linux_nat ()
{
add_setshow_zuinteger_cmd ("lin-lwp", class_maintenance,
&debug_linux_nat, _("\
set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
}
+void _initialize_linux_tdep ();
void
-_initialize_linux_tdep (void)
+_initialize_linux_tdep ()
{
linux_gdbarch_data_handle =
gdbarch_data_register_post_init (init_linux_gdbarch_data);
check_thread_db (info, true);
}
+void _initialize_thread_db ();
void
-_initialize_thread_db (void)
+_initialize_thread_db ()
{
/* Defer loading of libthread_db.so until inferior is running.
This allows gdb to load correct libthread_db for a given
return gdbarch;
}
+void _initialize_lm32_tdep ();
void
-_initialize_lm32_tdep (void)
+_initialize_lm32_tdep ()
{
register_gdbarch_init (bfd_arch_lm32, lm32_gdbarch_init);
}
/* Initialization for Modula-2 */
+void _initialize_m2_language ();
void
-_initialize_m2_language (void)
+_initialize_m2_language ()
{
m2_type_data = gdbarch_data_register_post_init (build_m2_types);
}
return gdbarch;
}
+void _initialize_m32c_tdep ();
void
-_initialize_m32c_tdep (void)
+_initialize_m32c_tdep ()
{
register_gdbarch_init (bfd_arch_m32c, m32c_gdbarch_init);
_("Got request to store bad register number %d."), regno);
}
+void _initialize_m32r_linux_nat ();
void
-_initialize_m32r_linux_nat (void)
+_initialize_m32r_linux_nat ()
{
/* Register the target. */
linux_target = &the_m32r_linux_nat_target;
svr4_fetch_objfile_link_map);
}
+void _initialize_m32r_linux_tdep ();
void
-_initialize_m32r_linux_tdep (void)
+_initialize_m32r_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_m32r, 0, GDB_OSABI_LINUX,
m32r_linux_init_abi);
return gdbarch;
}
+void _initialize_m32r_tdep ();
void
-_initialize_m32r_tdep (void)
+_initialize_m32r_tdep ()
{
register_gdbarch_init (bfd_arch_m32r, m32r_gdbarch_init);
}
return gdbarch;
}
+void _initialize_m68hc11_tdep ();
void
-_initialize_m68hc11_tdep (void)
+_initialize_m68hc11_tdep ()
{
register_gdbarch_init (bfd_arch_m68hc11, m68hc11_gdbarch_init);
register_gdbarch_init (bfd_arch_m68hc12, m68hc11_gdbarch_init);
return 1;
}
+void _initialize_m68kbsd_nat ();
void
-_initialize_m68kbsd_nat (void)
+_initialize_m68kbsd_nat ()
{
add_inf_child_target (&the_m68k_bsd_nat_target);
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_m68kbsd_tdep ();
void
-_initialize_m68kbsd_tdep (void)
+_initialize_m68kbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_m68k, 0, GDB_OSABI_NETBSD,
m68kbsd_init_abi);
return PS_OK;
}
+void _initialize_m68k_linux_nat ();
void
-_initialize_m68k_linux_nat (void)
+_initialize_m68k_linux_nat ()
{
/* Register the target. */
linux_target = &the_m68k_linux_nat_target;
svr4_fetch_objfile_link_map);
}
+void _initialize_m68k_linux_tdep ();
void
-_initialize_m68k_linux_tdep (void)
+_initialize_m68k_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_m68k, 0, GDB_OSABI_LINUX,
m68k_linux_init_abi);
return;
}
+void _initialize_m68k_tdep ();
void
-_initialize_m68k_tdep (void)
+_initialize_m68k_tdep ()
{
gdbarch_register (bfd_arch_m68k, m68k_gdbarch_init, m68k_dump_tdep);
}
&psym_functions
};
+void _initialize_machoread ();
void
-_initialize_machoread (void)
+_initialize_machoread ()
{
add_symtab_fns (bfd_target_mach_o_flavour, &macho_sym_fns);
/* Initializing the `macrocmd' module. */
+void _initialize_macrocmd ();
void
-_initialize_macrocmd (void)
+_initialize_macrocmd ()
{
/* We introduce a new command prefix, `macro', under which we'll put
the various commands for working with preprocessor macros. */
return result;
}
+void _initialize_macroscope ();
void
-_initialize_macroscope (void)
+_initialize_macroscope ()
{
macro_user_macros = new_macro_table (NULL, NULL, NULL);
macro_set_main (macro_user_macros, "<user-defined>");
}
\f
+void _initialize_maint_test_options ();
void
_initialize_maint_test_options ()
{
}
\f
+void _initialize_maint_test_settings ();
void
-_initialize_maint_test_settings (void)
+_initialize_maint_test_settings ()
{
maintenance_test_settings_filename = xstrdup ("/foo/bar");
}
\f
+void _initialize_maint_cmds ();
void
-_initialize_maint_cmds (void)
+_initialize_maint_cmds ()
{
struct cmd_list_element *cmd;
reader.install ();
}
+void _initialize_mdebugread ();
void
-_initialize_mdebugread (void)
+_initialize_mdebugread ()
{
mdebug_register_index
= register_symbol_register_impl (LOC_REGISTER, &mdebug_register_funcs);
static struct cmd_list_element *mem_set_cmdlist;
static struct cmd_list_element *mem_show_cmdlist;
+void _initialize_mem ();
void
-_initialize_mem (void)
+_initialize_mem ()
{
add_com ("mem", class_vars, mem_command, _("\
Define attributes for memory region or reset memory region handling to "
return gdbarch;
}
+void _initialize_mep_tdep ();
void
-_initialize_mep_tdep (void)
+_initialize_mep_tdep ()
{
mep_csr_reggroup = reggroup_new ("csr", USER_REGGROUP);
mep_cr_reggroup = reggroup_new ("cr", USER_REGGROUP);
current_uiout->field_string ("inferior_tty_terminal", inferior_io_terminal);
}
+void _initialize_mi_cmd_env ();
void
-_initialize_mi_cmd_env (void)
+_initialize_mi_cmd_env ()
{
const char *env;
}
}
+void _initialize_mi_cmds ();
void
-_initialize_mi_cmds (void)
+_initialize_mi_cmds ()
{
build_table (mi_cmds);
memset (&stats, 0, sizeof (stats));
return new mi_interp (name);
}
+void _initialize_mi_interp ();
void
-_initialize_mi_interp (void)
+_initialize_mi_interp ()
{
/* The various interpreter levels. */
interp_factory_register (INTERP_MI1, mi_interp_factory);
}
+void _initialize_mi_main ();
void
-_initialize_mi_main (void)
+_initialize_mi_main ()
{
struct cmd_list_element *c;
µblaze_linux_sighandler_tramp_frame);
}
+void _initialize_microblaze_linux_tdep ();
void
-_initialize_microblaze_linux_tdep (void)
+_initialize_microblaze_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_microblaze, 0, GDB_OSABI_LINUX,
microblaze_linux_init_abi);
return gdbarch;
}
+void _initialize_microblaze_tdep ();
void
-_initialize_microblaze_tdep (void)
+_initialize_microblaze_tdep ()
{
register_gdbarch_init (bfd_arch_microblaze, microblaze_gdbarch_init);
}
}
+void _initialize_mips_fbsd_nat ();
void
-_initialize_mips_fbsd_nat (void)
+_initialize_mips_fbsd_nat ()
{
add_inf_child_target (&the_mips_fbsd_nat_target);
}
mips_fbsd_lp64_fetch_link_map_offsets));
}
+void _initialize_mips_fbsd_tdep ();
void
-_initialize_mips_fbsd_tdep (void)
+_initialize_mips_fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_mips, 0, GDB_OSABI_FREEBSD,
mips_fbsd_init_abi);
linux_nat_trad_target::close ();
}
+void _initialize_mips_linux_nat ();
void
-_initialize_mips_linux_nat (void)
+_initialize_mips_linux_nat ()
{
add_setshow_boolean_cmd ("show-debug-regs", class_maintenance,
&show_debug_regs, _("\
}
}
+void _initialize_mips_linux_tdep ();
void
-_initialize_mips_linux_tdep (void)
+_initialize_mips_linux_tdep ()
{
const struct bfd_arch_info *arch_info;
}
}
+void _initialize_mipsnbsd_nat ();
void
-_initialize_mipsnbsd_nat (void)
+_initialize_mipsnbsd_nat ()
{
add_inf_child_target (&the_mips_nbsd_nat_target);
}
mipsnbsd_lp64_fetch_link_map_offsets));
}
+void _initialize_mipsnbsd_tdep ();
void
-_initialize_mipsnbsd_tdep (void)
+_initialize_mipsnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_mips, 0, GDB_OSABI_NETBSD,
mipsnbsd_init_abi);
frame_base_append_sniffer (gdbarch, mips_sde_frame_base_sniffer);
}
+void _initialize_mips_sde_tdep ();
void
-_initialize_mips_sde_tdep (void)
+_initialize_mips_sde_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_mips,
bfd_target_elf_flavour,
mips_fpu_type_str (MIPS_FPU_TYPE (gdbarch)));
}
+void _initialize_mips_tdep ();
void
-_initialize_mips_tdep (void)
+_initialize_mips_tdep ()
{
static struct cmd_list_element *mipsfpulist = NULL;
perror_with_name (_("Couldn't write registers"));
}
+void _initialize_mips64obsd_nat ();
void
-_initialize_mips64obsd_nat (void)
+_initialize_mips64obsd_nat ()
{
add_inf_child_target (&the_mips64_obsd_nat_target);
}
(gdbarch, svr4_lp64_fetch_link_map_offsets);
}
+void _initialize_mips64obsd_tdep ();
void
-_initialize_mips64obsd_tdep (void)
+_initialize_mips64obsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_mips, 0, GDB_OSABI_OPENBSD,
mips64obsd_init_abi);
&psym_functions
};
+void _initialize_mipsread ();
void
-_initialize_mipsread (void)
+_initialize_mipsread ()
{
add_symtab_fns (bfd_target_ecoff_flavour, &ecoff_sym_fns);
}
tramp_frame_prepend_unwinder (gdbarch, &am33_linux_rt_sigframe);
}
+void _initialize_mn10300_linux_tdep ();
void
-_initialize_mn10300_linux_tdep (void)
+_initialize_mn10300_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_mn10300, 0,
GDB_OSABI_LINUX, am33_linux_init_osabi);
tdep->am33_mode);
}
+void _initialize_mn10300_tdep ();
void
-_initialize_mn10300_tdep (void)
+_initialize_mn10300_tdep ()
{
gdbarch_register (bfd_arch_mn10300, mn10300_gdbarch_init, mn10300_dump_tdep);
}
/* Register this machine's init routine. */
+void _initialize_moxie_tdep ();
void
-_initialize_moxie_tdep (void)
+_initialize_moxie_tdep ()
{
register_gdbarch_init (bfd_arch_moxie, moxie_gdbarch_init);
}
/* Register the initialization routine. */
+void _initialize_msp430_tdep ();
void
-_initialize_msp430_tdep (void)
+_initialize_msp430_tdep ()
{
register_gdbarch_init (bfd_arch_msp430, msp430_gdbarch_init);
}
return gdbarch;
}
+void _initialize_nds32_tdep ();
void
-_initialize_nds32_tdep (void)
+_initialize_nds32_tdep ()
{
/* Initialize gdbarch. */
register_gdbarch_init (bfd_arch_nds32, nds32_gdbarch_init);
tdep->jb_pc = 10;
}
+void _initialize_nios2_linux_tdep ();
void
-_initialize_nios2_linux_tdep (void)
+_initialize_nios2_linux_tdep ()
{
const struct bfd_arch_info *arch_info;
return gdbarch;
}
+void _initialize_nios2_tdep ();
void
-_initialize_nios2_tdep (void)
+_initialize_nios2_tdep ()
{
gdbarch_register (bfd_arch_nios2, nios2_gdbarch_init, NULL);
initialize_tdesc_nios2 ();
#define OSTYPE_NTO 1
+void _initialize_procfs ();
void
-_initialize_procfs (void)
+_initialize_procfs ()
{
sigset_t set;
return 0;
}
+void _initialize_objc_language ();
void
-_initialize_objc_language (void)
+_initialize_objc_language ()
{
add_info ("selectors", info_selectors_command,
_("All Objective-C selectors, or those matching REGEXP."));
fprintf_filtered (file, _("Observer debugging is %s.\n"), value);
}
+void _initialize_observer ();
void
-_initialize_observer (void)
+_initialize_observer ()
{
add_setshow_zuinteger_cmd ("observer", class_maintenance,
&gdb::observers::observer_debug, _("\
return types;
}
+void _initialize_opencl_language ();
void
-_initialize_opencl_language (void)
+_initialize_opencl_language ()
{
opencl_type_data = gdbarch_data_register_post_init (build_opencl_types);
}
/* Initialize OpenRISC Linux target support. */
+void _initialize_or1k_linux_tdep ();
void
-_initialize_or1k_linux_tdep (void)
+_initialize_or1k_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_or1k, 0, GDB_OSABI_LINUX,
or1k_linux_init_abi);
}
\f
+void _initialize_or1k_tdep ();
void
-_initialize_or1k_tdep (void)
+_initialize_or1k_tdep ()
{
/* Register this architecture. */
gdbarch_register (bfd_arch_or1k, or1k_gdbarch_init, or1k_dump_tdep);
gdbarch_osabi_name (GDB_OSABI_DEFAULT));
}
+void _initialize_gdb_osabi ();
void
-_initialize_gdb_osabi (void)
+_initialize_gdb_osabi ()
{
if (strcmp (gdb_osabi_names[GDB_OSABI_INVALID].pretty, "<invalid>") != 0)
internal_error
info_osdata (arg);
}
+void _initialize_osdata ();
void
-_initialize_osdata (void)
+_initialize_osdata ()
{
add_info ("os", info_osdata_command,
_("Show OS data ARG."));
common_val_print (val, stream, recurse, &opts, current_language);
}
+void _initialize_pascal_valprint ();
void
-_initialize_pascal_valprint (void)
+_initialize_pascal_valprint ()
{
add_setshow_boolean_cmd ("pascal_static-members", class_support,
&user_print_options.pascal_static_field_print, _("\
}
}
+void _initialize_parse ();
void
-_initialize_parse (void)
+_initialize_parse ()
{
add_setshow_zuinteger_cmd ("expression", class_maintenance,
&expressiondebug,
return 1;
}
+void _initialize_ppcfbsd_nat ();
void
-_initialize_ppcfbsd_nat (void)
+_initialize_ppcfbsd_nat ()
{
add_inf_child_target (&the_ppc_fbsd_nat_target);
ppcfbsd_get_thread_local_address);
}
+void _initialize_ppcfbsd_tdep ();
void
-_initialize_ppcfbsd_tdep (void)
+_initialize_ppcfbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_powerpc, bfd_mach_ppc, GDB_OSABI_FREEBSD,
ppcfbsd_init_abi);
return ppc_linux_match_description (features);
}
+void _initialize_ppc_linux_nat ();
void
-_initialize_ppc_linux_nat (void)
+_initialize_ppc_linux_nat ()
{
linux_target = &the_ppc_linux_nat_target;
ppc_init_linux_record_tdep (&ppc64_linux_record_tdep, 8);
}
+void _initialize_ppc_linux_tdep ();
void
-_initialize_ppc_linux_tdep (void)
+_initialize_ppc_linux_tdep ()
{
/* Register for all sub-families of the POWER/PowerPC: 32-bit and
64-bit PowerPC, and the older rs6k. */
return 1;
}
+void _initialize_ppcnbsd_nat ();
void
-_initialize_ppcnbsd_nat (void)
+_initialize_ppcnbsd_nat ()
{
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (ppcnbsd_supply_pcb);
tramp_frame_prepend_unwinder (gdbarch, &ppcnbsd2_sigtramp);
}
+void _initialize_ppcnbsd_tdep ();
void
-_initialize_ppcnbsd_tdep (void)
+_initialize_ppcnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_NETBSD,
ppcnbsd_init_abi);
return 1;
}
+void _initialize_ppcobsd_nat ();
void
-_initialize_ppcobsd_nat (void)
+_initialize_ppcobsd_nat ()
{
add_inf_child_target (&the_ppc_obsd_nat_target);
frame_unwind_append_unwinder (gdbarch, &ppcobsd_sigtramp_frame_unwind);
}
+void _initialize_ppcobsd_tdep ();
void
-_initialize_ppcobsd_tdep (void)
+_initialize_ppcobsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_rs6000, 0, GDB_OSABI_OPENBSD,
ppcobsd_init_abi);
execute_command (expanded.c_str (), from_tty);
}
+void _initialize_printcmd ();
void
-_initialize_printcmd (void)
+_initialize_printcmd ()
{
struct cmd_list_element *c;
std::vector<const static_probe_ops *> all_static_probe_ops;
+void _initialize_probe ();
void
-_initialize_probe (void)
+_initialize_probe ()
{
all_static_probe_ops.push_back (&any_static_probe_ops);
}
}
+void _initialize_proc_api ();
void
-_initialize_proc_api (void)
+_initialize_proc_api ()
{
add_setshow_boolean_cmd ("procfs-trace", no_class, &procfs_trace, _("\
Set tracing for /proc api calls."), _("\
{
}
+void _initialize_proc_events ();
void
-_initialize_proc_events (void)
+_initialize_proc_events ()
{
init_syscall_table ();
}
return ph->thread->ptid.pid ();
}
+void _initialize_proc_service ();
void
-_initialize_proc_service (void)
+_initialize_proc_service ()
{
/* This function solely exists to make sure this module is linked
into the final binary. */
proc_trace_syscalls (args, from_tty, PR_SYSEXIT, FLAG_RESET);
}
+void _initialize_procfs ();
void
-_initialize_procfs (void)
+_initialize_procfs ()
{
gdb::observers::inferior_created.attach (procfs_inferior_created);
}
#endif
+void _initialize_producer ();
void
_initialize_producer ()
{
}
}
+void _initialize_psymtab ();
void
-_initialize_psymtab (void)
+_initialize_psymtab ()
{
add_cmd ("psymbols", class_maintenance, maintenance_print_psymbols, _("\
Print dump of current partial symbol definitions.\n\
/* See python.h. */
cmd_list_element *python_cmd_element = nullptr;
+void _initialize_python ();
void
-_initialize_python (void)
+_initialize_python ()
{
add_com ("python-interactive", class_obscure,
python_interactive_command,
/* Module startup initialization function, automagically called by
init.c. */
+void _initialize_ravenscar ();
void
_initialize_ravenscar ()
{
/* Initialize btrace commands. */
+void _initialize_record_btrace ();
void
-_initialize_record_btrace (void)
+_initialize_record_btrace ()
{
add_prefix_cmd ("btrace", class_obscure, cmd_record_btrace_start,
_("Start branch trace recording."), &record_btrace_cmdlist,
cmd_show_list (show_record_full_cmdlist, from_tty, "");
}
+void _initialize_record_full ();
void
-_initialize_record_full (void)
+_initialize_record_full ()
{
struct cmd_list_element *c;
&record_call_history_size);
}
+void _initialize_record ();
void
-_initialize_record (void)
+_initialize_record ()
{
struct cmd_list_element *c;
regcache_print (args, regcache_dump_remote);
}
+void _initialize_regcache_dump ();
void
-_initialize_regcache_dump (void)
+_initialize_regcache_dump ()
{
add_cmd ("registers", class_maintenance, maintenance_print_registers,
_("Print the internal register configuration.\n"
} // namespace selftests
#endif /* GDB_SELF_TEST */
+void _initialize_regcache ();
void
-_initialize_regcache (void)
+_initialize_regcache ()
{
regcache_descr_handle
= gdbarch_data_register_post_init (init_regcache_descr);
struct reggroup *const save_reggroup = &save_group;
struct reggroup *const restore_reggroup = &restore_group;
+void _initialize_reggroup ();
void
-_initialize_reggroup (void)
+_initialize_reggroup ()
{
reggroups_data = gdbarch_data_register_pre_init (reggroups_init);
delete pending_event[i];
}
+void _initialize_notif ();
void
-_initialize_notif (void)
+_initialize_notif ()
{
add_setshow_boolean_cmd ("notification", no_class, ¬if_debug,
_("\
return true;
}
+void _initialize_remote_sim ();
void
-_initialize_remote_sim (void)
+_initialize_remote_sim ()
{
struct cmd_list_element *c;
}
}
+void _initialize_remote ();
void
-_initialize_remote (void)
+_initialize_remote ()
{
struct cmd_list_element *cmd;
const char *cmd_name;
}
}
+void _initialize_reverse ();
void
-_initialize_reverse (void)
+_initialize_reverse ()
{
add_com ("reverse-step", class_run, reverse_step, _("\
Step program backward until it reaches the beginning of another source line.\n\
}
}
+void _initialize_riscv_fbsd_nat ();
void
-_initialize_riscv_fbsd_nat (void)
+_initialize_riscv_fbsd_nat ()
{
add_inf_child_target (&the_riscv_fbsd_nat_target);
}
riscv_fbsd_get_thread_local_address);
}
+void _initialize_riscv_fbsd_tdep ();
void
-_initialize_riscv_fbsd_tdep (void)
+_initialize_riscv_fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_riscv, 0, GDB_OSABI_FREEBSD,
riscv_fbsd_init_abi);
/* Initialize RISC-V Linux native support. */
+void _initialize_riscv_linux_nat ();
void
-_initialize_riscv_linux_nat (void)
+_initialize_riscv_linux_nat ()
{
/* Register the target. */
linux_target = &the_riscv_linux_nat_target;
/* Initialize RISC-V Linux target support. */
+void _initialize_riscv_linux_tdep ();
void
-_initialize_riscv_linux_tdep (void)
+_initialize_riscv_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_riscv, 0, GDB_OSABI_LINUX,
riscv_linux_init_abi);
csr_reggroup = reggroup_new ("csr", USER_REGGROUP);
}
+void _initialize_riscv_tdep ();
void
-_initialize_riscv_tdep (void)
+_initialize_riscv_tdep ()
{
riscv_create_csr_aliases ();
riscv_init_reggroups ();
/* Register the above initialization routine. */
+void _initialize_rl78_tdep ();
void
-_initialize_rl78_tdep (void)
+_initialize_rl78_tdep ()
{
register_gdbarch_init (bfd_arch_rl78, rl78_gdbarch_init);
}
frame_unwind_append_unwinder (gdbarch, &aix_sighandle_frame_unwind);
}
+void _initialize_rs6000_aix_tdep ();
void
-_initialize_rs6000_aix_tdep (void)
+_initialize_rs6000_aix_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_rs6000,
bfd_target_xcoff_flavour,
set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
}
+void _initialize_rs6000_lynx178_tdep ();
void
-_initialize_rs6000_lynx178_tdep (void)
+_initialize_rs6000_lynx178_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_rs6000,
bfd_target_xcoff_flavour,
}
}
+void _initialize_rs6000_nat ();
void
-_initialize_rs6000_nat (void)
+_initialize_rs6000_nat ()
{
add_inf_child_target (&the_rs6000_nat_target);
}
/* Initialization code. */
+void _initialize_rs6000_tdep ();
void
-_initialize_rs6000_tdep (void)
+_initialize_rs6000_tdep ()
{
gdbarch_register (bfd_arch_rs6000, rs6000_gdbarch_init, rs6000_dump_tdep);
gdbarch_register (bfd_arch_powerpc, rs6000_gdbarch_init, rs6000_dump_tdep);
serial_event_set (runnable_event);
}
+void _initialize_run_on_main_thread ();
void
_initialize_run_on_main_thread ()
{
#endif /* GDB_SELF_TEST */
+void _initialize_rust_exp ();
void
-_initialize_rust_exp (void)
+_initialize_rust_exp ()
{
int code = regcomp (&number_regex, number_regex_text, REG_EXTENDED);
/* If the regular expression was incorrect, it was a programming
/* Register the above initialization routine. */
+void _initialize_rx_tdep ();
void
-_initialize_rx_tdep (void)
+_initialize_rx_tdep ()
{
register_gdbarch_init (bfd_arch_rx, rx_gdbarch_init);
initialize_tdesc_rx ();
return gdbarch;
}
+void _initialize_s12z_tdep ();
void
-_initialize_s12z_tdep (void)
+_initialize_s12z_tdep ()
{
gdbarch_register (bfd_arch_s12z, s12z_gdbarch_init, NULL);
}
tdesc_s390_linux32);
}
+void _initialize_s390_nat ();
void
-_initialize_s390_nat (void)
+_initialize_s390_nat ()
{
/* Register the target. */
linux_target = &the_s390_linux_nat_target;
set_xml_syscall_file_name (gdbarch, XML_SYSCALL_FILENAME_S390X);
}
+void _initialize_s390_linux_tdep ();
void
-_initialize_s390_linux_tdep (void)
+_initialize_s390_linux_tdep ()
{
/* Hook us into the OSABI mechanism. */
gdbarch_register_osabi (bfd_arch_s390, bfd_mach_s390_31, GDB_OSABI_LINUX,
return gdbarch;
}
+void _initialize_s390_tdep ();
void
-_initialize_s390_tdep (void)
+_initialize_s390_tdep ()
{
/* Hook us into the gdbarch mechanism. */
register_gdbarch_init (bfd_arch_s390, s390_gdbarch_init);
return gdbarch;
}
+void _initialize_score_tdep ();
void
-_initialize_score_tdep (void)
+_initialize_score_tdep ()
{
gdbarch_register (bfd_arch_score, score_gdbarch_init, NULL);
}
#endif
}
+void _initialize_ser_dos ();
void
-_initialize_ser_dos (void)
+_initialize_ser_dos ()
{
serial_add_interface (&dos_ops);
net_windows_done_wait_handle
};
+void _initialize_ser_windows ();
void
-_initialize_ser_windows (void)
+_initialize_ser_windows ()
{
WSADATA wsa_data;
ser_unix_write_prim
};
+void _initialize_ser_pipe ();
void
-_initialize_ser_pipe (void)
+_initialize_ser_pipe ()
{
serial_add_interface (&pipe_ops);
}
#endif /* USE_WIN32API */
+void _initialize_ser_tcp ();
void
-_initialize_ser_tcp (void)
+_initialize_ser_tcp ()
{
#ifdef USE_WIN32API
/* Do nothing; the TCP serial operations will be initialized in
uds_write_prim
};
+void _initialize_ser_socket ();
void
-_initialize_ser_socket (void)
+_initialize_ser_socket ()
{
serial_add_interface (&uds_ops);
}
ser_unix_write_prim
};
+void _initialize_ser_hardwire ();
void
-_initialize_ser_hardwire (void)
+_initialize_ser_hardwire ()
{
serial_add_interface (&hardwire_ops);
serial_parity = GDBPARITY_NONE;
}
+void _initialize_serial ();
void
-_initialize_serial (void)
+_initialize_serial ()
{
#if 0
add_com ("connect", class_obscure, connect_command, _("\
tramp_frame_prepend_unwinder (gdbarch, &sh_linux_rt_sigreturn_tramp_frame);
}
+void _initialize_sh_linux_tdep ();
void
-_initialize_sh_linux_tdep (void)
+_initialize_sh_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_LINUX, sh_linux_init_abi);
}
}
}
+void _initialize_shnbsd_nat ();
void
-_initialize_shnbsd_nat (void)
+_initialize_shnbsd_nat ()
{
add_inf_child_target (&the_sh_nbsd_nat_target);
}
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_shnbsd_tdep ();
void
-_initialize_shnbsd_tdep (void)
+_initialize_shnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_NETBSD,
shnbsd_init_abi);
help_list (setshcmdlist, "set sh ", all_commands, gdb_stdout);
}
+void _initialize_sh_tdep ();
void
-_initialize_sh_tdep (void)
+_initialize_sh_tdep ()
{
gdbarch_register (bfd_arch_sh, sh_gdbarch_init, NULL);
}
}
+void _initialize_step_skip ();
void
-_initialize_step_skip (void)
+_initialize_step_skip ()
{
static struct cmd_list_element *skiplist = NULL;
struct cmd_list_element *c;
return (thread_info->ptid);
}
+void _initialize_sol_thread ();
void
-_initialize_sol_thread (void)
+_initialize_sol_thread ()
{
void *dlhandle;
/* The target_so_ops for AIX targets. */
struct target_so_ops solib_aix_so_ops;
+void _initialize_solib_aix ();
void
-_initialize_solib_aix (void)
+_initialize_solib_aix ()
{
solib_aix_so_ops.relocate_section_addresses
= solib_aix_relocate_section_addresses;
struct target_so_ops darwin_so_ops;
+void _initialize_darwin_solib ();
void
-_initialize_darwin_solib (void)
+_initialize_darwin_solib ()
{
darwin_so_ops.relocate_section_addresses = darwin_relocate_section_addresses;
darwin_so_ops.free_so = darwin_free_so;
struct target_so_ops dsbt_so_ops;
+void _initialize_dsbt_solib ();
void
-_initialize_dsbt_solib (void)
+_initialize_dsbt_solib ()
{
dsbt_so_ops.relocate_section_addresses = dsbt_relocate_section_addresses;
dsbt_so_ops.free_so = dsbt_free_so;
struct target_so_ops frv_so_ops;
+void _initialize_frv_solib ();
void
-_initialize_frv_solib (void)
+_initialize_frv_solib ()
{
frv_so_ops.relocate_section_addresses = frv_relocate_section_addresses;
frv_so_ops.free_so = frv_free_so;
}
}
+void _initialize_svr4_solib ();
void
-_initialize_svr4_solib (void)
+_initialize_svr4_solib ()
{
solib_svr4_data = gdbarch_data_register_pre_init (solib_svr4_init);
struct target_so_ops solib_target_so_ops;
+void _initialize_solib_target ();
void
-_initialize_solib_target (void)
+_initialize_solib_target ()
{
solib_target_so_ops.relocate_section_addresses
= solib_target_relocate_section_addresses;
}
}
+void _initialize_solib ();
void
-_initialize_solib (void)
+_initialize_solib ()
{
solib_data = gdbarch_data_register_pre_init (solib_init);
}
#endif
+void _initialize_source_cache ();
void
_initialize_source_cache ()
{
}
\f
+void _initialize_source ();
void
-_initialize_source (void)
+_initialize_source ()
{
struct cmd_list_element *c;
sparc32_collect_fpregset (sparc_fpregmap, regcache, regnum, fpregs);
}
+void _initialize_sparc_linux_nat ();
void
-_initialize_sparc_linux_nat (void)
+_initialize_sparc_linux_nat ()
{
sparc_fpregmap = &sparc32_bsd_fpregmap;
sparc32_linux_gdb_signal_to_target);
}
+void _initialize_sparc_linux_tdep ();
void
-_initialize_sparc_linux_tdep (void)
+_initialize_sparc_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_LINUX,
sparc32_linux_init_abi);
}
\f
+void _initialize_sparc_nat ();
void
-_initialize_sparc_nat (void)
+_initialize_sparc_nat ()
{
/* Default to using SunOS 4 register sets. */
if (sparc_gregmap == NULL)
static sparc_target<inf_ptrace_target> the_sparc_nbsd_nat_target;
+void _initialize_sparcnbsd_nat ();
void
-_initialize_sparcnbsd_nat (void)
+_initialize_sparcnbsd_nat ()
{
sparc_gregmap = &sparc32nbsd_gregmap;
sparc_fpregmap = &sparc32_bsd_fpregmap;
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_sparcnbsd_tdep ();
void
-_initialize_sparcnbsd_tdep (void)
+_initialize_sparcnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_NETBSD,
sparc32nbsd_init_abi);
bsd_uthread_set_collect_uthread (gdbarch, sparc32obsd_collect_uthread);
}
+void _initialize_sparc32obsd_tdep ();
void
-_initialize_sparc32obsd_tdep (void)
+_initialize_sparc32obsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_OPENBSD,
sparc32obsd_init_abi);
set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
}
+void _initialize_sparc_sol2_tdep ();
void
-_initialize_sparc_sol2_tdep (void)
+_initialize_sparc_sol2_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, 0,
GDB_OSABI_SOLARIS, sparc32_sol2_init_abi);
32 * 4, /* %fsr */
};
+void _initialize_sparc_tdep ();
void
-_initialize_sparc_tdep (void)
+_initialize_sparc_tdep ()
{
register_gdbarch_init (bfd_arch_sparc, sparc32_gdbarch_init);
}
/* Add some extra features to the generic SPARC target. */
static sparc_target<fbsd_nat_target> the_sparc64_fbsd_nat_target;
+void _initialize_sparc64fbsd_nat ();
void
-_initialize_sparc64fbsd_nat (void)
+_initialize_sparc64fbsd_nat ()
{
add_inf_child_target (&the_sparc64_fbsd_nat_target);
(gdbarch, svr4_lp64_fetch_link_map_offsets);
}
+void _initialize_sparc64fbsd_tdep ();
void
-_initialize_sparc64fbsd_tdep (void)
+_initialize_sparc64fbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
GDB_OSABI_FREEBSD, sparc64fbsd_init_abi);
sparc64_collect_fpregset (&sparc64_bsd_fpregmap, regcache, regnum, fpregs);
}
+void _initialize_sparc64_linux_nat ();
void
-_initialize_sparc64_linux_nat (void)
+_initialize_sparc64_linux_nat ()
{
sparc_fpregmap = &sparc64_bsd_fpregmap;
sparc64_linux_handle_segmentation_fault);
}
+void _initialize_sparc64_linux_tdep ();
void
-_initialize_sparc64_linux_tdep (void)
+_initialize_sparc64_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
GDB_OSABI_LINUX, sparc64_linux_init_abi);
return 0;
}
+void _initialize_sparc64_nat ();
void
-_initialize_sparc64_nat (void)
+_initialize_sparc64_nat ()
{
sparc_supply_gregset = sparc64_supply_gregset;
sparc_collect_gregset = sparc64_collect_gregset;
/* We've got nothing to add to the generic SPARC target. */
static sparc_target<inf_ptrace_target> the_sparc64_nbsd_nat_target;
+void _initialize_sparc64nbsd_nat ();
void
-_initialize_sparc64nbsd_nat (void)
+_initialize_sparc64nbsd_nat ()
{
sparc_supply_gregset = sparc64nbsd_supply_gregset;
sparc_collect_gregset = sparc64nbsd_collect_gregset;
(gdbarch, svr4_lp64_fetch_link_map_offsets);
}
+void _initialize_sparc64nbsd_tdep ();
void
-_initialize_sparc64nbsd_tdep (void)
+_initialize_sparc64nbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
GDB_OSABI_NETBSD, sparc64nbsd_init_abi);
/* Add some extra features to the generic SPARC target. */
static sparc_target<obsd_nat_target> the_sparc64_obsd_nat_target;
+void _initialize_sparc64obsd_nat ();
void
-_initialize_sparc64obsd_nat (void)
+_initialize_sparc64obsd_nat ()
{
sparc_supply_gregset = sparc64_supply_gregset;
sparc_collect_gregset = sparc64_collect_gregset;
bsd_uthread_set_collect_uthread (gdbarch, sparc64obsd_collect_uthread);
}
+void _initialize_sparc64obsd_tdep ();
void
-_initialize_sparc64obsd_tdep (void)
+_initialize_sparc64obsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
GDB_OSABI_OPENBSD, sparc64obsd_init_abi);
set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
}
+void _initialize_sparc64_sol2_tdep ();
void
-_initialize_sparc64_sol2_tdep (void)
+_initialize_sparc64_sol2_tdep ()
{
gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
GDB_OSABI_SOLARIS, sparc64_sol2_init_abi);
do_assign (next_address, cnt, version);
}
+void _initialize_sparc64_adi_tdep ();
void
-_initialize_sparc64_adi_tdep (void)
+_initialize_sparc64_adi_tdep ()
{
add_prefix_cmd ("adi", class_support, info_adi_command,
/* Initializer for this module. */
+void _initialize_stabsread ();
void
-_initialize_stabsread (void)
+_initialize_stabsread ()
{
undef_types_allocated = 20;
undef_types_length = 0;
/* Commands with a prefix of `info frame'. */
static struct cmd_list_element *info_frame_cmd_list = NULL;
+void _initialize_stack ();
void
-_initialize_stack (void)
+_initialize_stack ()
{
struct cmd_list_element *cmd;
info_probes_for_spops (arg, from_tty, &stap_static_probe_ops);
}
+void _initialize_stap_probe ();
void
-_initialize_stap_probe (void)
+_initialize_stap_probe ()
{
all_static_probe_ops.push_back (&stap_static_probe_ops);
error (_("Standard register ``$ps'' is not available for this target"));
}
+void _initialize_frame_reg ();
void
-_initialize_frame_reg (void)
+_initialize_frame_reg ()
{
/* Frame based $fp, $pc, $sp and $ps. These only come into play
when the target does not define its own version of these
fprintf_filtered (file, _("Symfile debugging is %s.\n"), value);
}
+void _initialize_symfile_debug ();
void
-_initialize_symfile_debug (void)
+_initialize_symfile_debug ()
{
add_setshow_boolean_cmd ("symfile", no_class, &debug_symfile, _("\
Set debugging of the symfile functions."), _("\
}
}
+void _initialize_symfile_mem ();
void
-_initialize_symfile_mem (void)
+_initialize_symfile_mem ()
{
add_cmd ("add-symbol-file-from-memory", class_files,
add_symbol_file_from_memory_command,
#endif /* GDB_SELF_TEST */
+void _initialize_symfile ();
void
-_initialize_symfile (void)
+_initialize_symfile ()
{
struct cmd_list_element *c;
/* Do early runtime initializations. */
+void _initialize_symmisc ();
void
-_initialize_symmisc (void)
+_initialize_symmisc ()
{
std_in = stdin;
std_out = stdout;
\f
+void _initialize_symtab ();
void
-_initialize_symtab (void)
+_initialize_symtab ()
{
cmd_list_element *c;
print_connection (current_uiout, args);
}
+void _initialize_target_connection ();
+
void
_initialize_target_connection ()
{
return code_cache_enabled;
}
+void _initialize_target_dcache ();
void
-_initialize_target_dcache (void)
+_initialize_target_dcache ()
{
add_setshow_boolean_cmd ("stack-cache", class_support,
&stack_cache_enabled_1, _("\
(long) selftests::xml_tdesc.size (), failed);
}
+void _initialize_target_descriptions ();
void
-_initialize_target_descriptions (void)
+_initialize_target_descriptions ()
{
tdesc_data = gdbarch_data_register_pre_init (tdesc_data_init);
update_observer_mode ();
}
+void _initialize_target ();
+
void
_initialize_target ()
{
NULL
};
+void _initialize_thread ();
void
-_initialize_thread (void)
+_initialize_thread ()
{
static struct cmd_list_element *thread_apply_list = NULL;
cmd_list_element *c;
&tic6x_linux_rt_sigreturn_tramp_frame);
}
+void _initialize_tic6x_linux_tdep ();
void
-_initialize_tic6x_linux_tdep (void)
+_initialize_tic6x_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_tic6x, 0, GDB_OSABI_LINUX,
tic6x_uclinux_init_abi);
return gdbarch;
}
+void _initialize_tic6x_tdep ();
void
-_initialize_tic6x_tdep (void)
+_initialize_tic6x_tdep ()
{
register_gdbarch_init (bfd_arch_tic6x, tic6x_gdbarch_init);
}
perror_with_name (_("Couldn't write registers"));
}
+void _initialize_tile_linux_nat ();
void
-_initialize_tile_linux_nat (void)
+_initialize_tile_linux_nat ()
{
linux_target = &the_tilegx_linux_nat_target;
add_inf_child_target (&the_tilegx_linux_nat_target);
set_gdbarch_skip_solib_resolver (gdbarch, glibc_skip_solib_resolver);
}
+void _initialize_tilegx_linux_tdep ();
void
-_initialize_tilegx_linux_tdep (void)
+_initialize_tilegx_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_tilegx, bfd_mach_tilegx, GDB_OSABI_LINUX,
tilegx_linux_init_abi);
return gdbarch;
}
+void _initialize_tilegx_tdep ();
void
-_initialize_tilegx_tdep (void)
+_initialize_tilegx_tdep ()
{
register_gdbarch_init (bfd_arch_tilegx, tilegx_gdbarch_init);
}
/* module initialization */
+void _initialize_ctf ();
void
-_initialize_ctf (void)
+_initialize_ctf ()
{
#if HAVE_LIBBABELTRACE
add_target (ctf_target_info, ctf_target_open, filename_completer);
buffer_grow_str (&trace_tdesc, "\n");
}
+void _initialize_tracefile_tfile ();
void
-_initialize_tracefile_tfile (void)
+_initialize_tracefile_tfile ()
{
add_target (tfile_target_info, tfile_target_open, filename_completer);
}
return -1;
}
+void _initialize_tracefile ();
void
-_initialize_tracefile (void)
+_initialize_tracefile ()
{
add_com ("tsave", class_trace, tsave_command, _("\
Save the trace data to a file.\n\
cmd_list_element *while_stepping_cmd_element = nullptr;
/* module initialization */
+void _initialize_tracepoint ();
void
-_initialize_tracepoint (void)
+_initialize_tracepoint ()
{
struct cmd_list_element *c;
tui_attach_detach_observers (false);
}
+void _initialize_tui_hooks ();
void
-_initialize_tui_hooks (void)
+_initialize_tui_hooks ()
{
/* Install the permanent hooks. */
gdb::observers::new_objfile.attach (tui_new_objfile_hook);
return new tui_interp (name);
}
+void _initialize_tui_interp ();
void
-_initialize_tui_interp (void)
+_initialize_tui_interp ()
{
interp_factory_register (INTERP_TUI, tui_interp_factory);
/* Function to initialize gdb commands, for tui window layout
manipulation. */
+void _initialize_tui_layout ();
void
-_initialize_tui_layout (void)
+_initialize_tui_layout ()
{
struct cmd_list_element *cmd;
}
}
+void _initialize_tui_regs ();
void
-_initialize_tui_regs (void)
+_initialize_tui_regs ()
{
struct cmd_list_element **tuicmd, *cmd;
/* Function to initialize gdb commands, for tui window stack
manipulation. */
+void _initialize_tui_stack ();
void
-_initialize_tui_stack (void)
+_initialize_tui_stack ()
{
add_com ("update", class_tui, tui_update_command,
_("Update the source window and locator to "
/* Function to initialize gdb commands, for tui window
manipulation. */
+void _initialize_tui_win ();
void
-_initialize_tui_win (void)
+_initialize_tui_win ()
{
static struct cmd_list_element *tui_setlist;
static struct cmd_list_element *tui_showlist;
return true;
}
+void _initialize_tui ();
void
-_initialize_tui (void)
+_initialize_tui ()
{
struct cmd_list_element **tuicmd;
}
}
+void _initialize_typeprint ();
void
-_initialize_typeprint (void)
+_initialize_typeprint ()
{
struct cmd_list_element *c;
return true;
}
+void _initialize_ui_style ();
void
_initialize_ui_style ()
{
} /* namespace array_view_tests */
} /* namespace selftests */
+void _initialize_array_view_selftests ();
void
_initialize_array_view_selftests ()
{
}
}
+void _initialize_child_path_selftests ();
void
_initialize_child_path_selftests ()
{
}
}
+void _initialize_cli_utils_selftests ();
void
_initialize_cli_utils_selftests ()
{
} /* namespace selftests */
+void _initialize_common_utils_selftests ();
void
_initialize_common_utils_selftests ()
{
} /* namespace selftests */
+void _initialize_copy_bitwise_utils_selftests ();
void
_initialize_copy_bitwise_utils_selftests ()
{
} /* namespace gdb_environ */
} /* namespace selftests */
+void _initialize_environ_selftests ();
void
_initialize_environ_selftests ()
{
} /* namespace selftests */
+void _initialize_filtered_iterator_selftests ();
void
_initialize_filtered_iterator_selftests ()
{
} /* namespace format_pieces */
} /* namespace selftests */
+void _initialize_format_pieces_selftests ();
void
_initialize_format_pieces_selftests ()
{
} /* namespace function_view */
} /* namespace selftests */
+void _initialize_function_view_selftests ();
void
_initialize_function_view_selftests ()
{
} /* namespace help_doc_tests */
} /* namespace selftests */
+void _initialize_help_doc_selftests ();
void
_initialize_help_doc_selftests ()
{
}} // namespace selftests::lookup_name
+void _initialize_lookup_name_info_selftests ();
void
_initialize_lookup_name_info_selftests ()
{
}
}
+void _initialize_main_thread_selftests ();
void
_initialize_main_thread_selftests ()
{
#endif /* HAVE_LIBEXPAT */
+void _initialize_memory_map_selftests ();
void
_initialize_memory_map_selftests ()
{
} /* namespace memrange_tests */
} /* namespace selftests */
+void _initialize_memrange_selftests ();
void
_initialize_memrange_selftests ()
{
}
}
+void _initialize_mkdir_recursive_selftests ();
void
_initialize_mkdir_recursive_selftests ()
{
} /* namespace observers */
} /* namespace selftests */
+void _initialize_observer_selftest ();
void
_initialize_observer_selftest ()
{
} /* namespace offset_type */
} /* namespace selftests */
+void _initialize_offset_type_selftests ();
void
_initialize_offset_type_selftests ()
{
} /* namespace optional */
} /* namespace selftests */
+void _initialize_optional_selftests ();
void
_initialize_optional_selftests ()
{
} /* namespace parse_connection_spec_tests */
} /* namespace selftests */
+void _initialize_parse_connection_spec_selftests ();
void
_initialize_parse_connection_spec_selftests ()
{
} /* namespace rsp_low */
} /* namespace selftests */
+void _initialize_rsp_low_selftests ();
void
_initialize_rsp_low_selftests ()
{
} /* namespace scoped_fd */
} /* namespace selftests */
+void _initialize_scoped_fd_selftests ();
void
_initialize_scoped_fd_selftests ()
{
#endif /* !defined(HAVE_SYS_MMAN_H) */
+void _initialize_scoped_mmap_selftests ();
void
_initialize_scoped_mmap_selftests ()
{
} /* namespace scoped_restore_tests */
} /* namespace selftests */
+void _initialize_scoped_restore_selftests ();
void
_initialize_scoped_restore_selftests ()
{
#endif /* __cplusplus < 201703L */
+void _initialize_string_view_selftests ();
void
_initialize_string_view_selftests ()
{
} /* namespace style */
} /* namespace selftests */
+void _initialize_style_selftest ();
void
_initialize_style_selftest ()
{
} /* namespace tracepoint_tests */
} /* namespace selftests */
+void _initialize_tracepoint_selftests ();
void
_initialize_tracepoint_selftests ()
{
#endif /* TUI */
+void _initialize_tui_selftest ();
void
_initialize_tui_selftest ()
{
}
}
+void _initialize_unpack_selftests ();
void
_initialize_unpack_selftests ()
{
}
}
+void _initialize_utils_selftests ();
void
_initialize_utils_selftests ()
{
} /* namespace vector_utils_tests */
} /* amespace selftests */
+void _initialize_vec_utils_selftests ();
void
_initialize_vec_utils_selftests ()
{
}
}
+void _initialize_xml_utils ();
void
_initialize_xml_utils ()
{
fprintf_unfiltered (gdb_stdout, " %-11s %3d\n", reg->name, regnum);
}
+void _initialize_user_regs ();
void
-_initialize_user_regs (void)
+_initialize_user_regs ()
{
user_regs_data = gdbarch_data_register_post_init (user_regs_init);
}
}
+void _initialize_utils ();
void
-_initialize_utils (void)
+_initialize_utils ()
{
add_setshow_uinteger_cmd ("width", class_support, &chars_per_line, _("\
Set number of characters where GDB should wrap lines of its output."), _("\
return gdbarch;
}
+void _initialize_v850_tdep ();
void
-_initialize_v850_tdep (void)
+_initialize_v850_tdep ()
{
register_gdbarch_init (bfd_arch_v850, v850_gdbarch_init);
register_gdbarch_init (bfd_arch_v850_rh850, v850_gdbarch_init);
error (_("cannot cast non-number to complex"));
}
+void _initialize_valops ();
void
-_initialize_valops (void)
+_initialize_valops ()
{
add_setshow_boolean_cmd ("overload-resolution", class_support,
&overload_resolution, _("\
return {{value_print_option_defs}, opts};
}
+void _initialize_valprint ();
void
-_initialize_valprint (void)
+_initialize_valprint ()
{
cmd_list_element *cmd;
} /* namespace selftests */
#endif /* GDB_SELF_TEST */
+void _initialize_values ();
void
-_initialize_values (void)
+_initialize_values ()
{
add_cmd ("convenience", no_class, show_convenience, _("\
Debugger convenience (\"$foo\") variables and functions.\n\
all_root_varobjs (varobj_invalidate_iter, NULL);
}
+void _initialize_varobj ();
void
-_initialize_varobj (void)
+_initialize_varobj ()
{
varobj_table = XCNEWVEC (struct vlist *, VAROBJ_TABLE_SIZE);
return 1;
}
+void _initialize_vaxbsd_nat ();
void
-_initialize_vaxbsd_nat (void)
+_initialize_vaxbsd_nat ()
{
add_inf_child_target (&the_vax_bsd_nat_target);
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_vaxnbsd_tdep ();
void
-_initialize_vaxnbsd_tdep (void)
+_initialize_vaxnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_vax, 0, GDB_OSABI_NETBSD,
vaxnbsd_elf_init_abi);
return (gdbarch);
}
+void _initialize_vax_tdep ();
void
-_initialize_vax_tdep (void)
+_initialize_vax_tdep ()
{
gdbarch_register (bfd_arch_vax, vax_gdbarch_init, NULL);
}
}
+void _initialize_windows_nat ();
void
-_initialize_windows_nat (void)
+_initialize_windows_nat ()
{
x86_dr_low.set_control = cygwin_set_dr7;
x86_dr_low.set_addr = cygwin_set_dr;
return WaitForSingleObject (thread_rec (tid, FALSE)->h, 0) != WAIT_OBJECT_0;
}
+void _initialize_check_for_gdb_ini ();
void
-_initialize_check_for_gdb_ini (void)
+_initialize_check_for_gdb_ini ()
{
char *homedir;
if (inhibit_gdbinit)
/* Load any functions which may not be available in ancient versions
of Windows. */
+void _initialize_loadable ();
void
-_initialize_loadable (void)
+_initialize_loadable ()
{
HMODULE hm = NULL;
NULL
};
+void _initialize_windows_tdep ();
void
-_initialize_windows_tdep (void)
+_initialize_windows_tdep ()
{
init_w32_command_list ();
add_cmd ("thread-information-block", class_info, display_tib,
#endif /* PT_GETDBREGS */
+void _initialize_x86_bsd_nat ();
void
_initialize_x86_bsd_nat ()
{
}
\f
+void _initialize_x86_linux_nat ();
void
_initialize_x86_linux_nat ()
{
return l_nimpid - 1;
}
+void _initialize_xcoffread ();
void
-_initialize_xcoffread (void)
+_initialize_xcoffread ()
{
add_symtab_fns (bfd_target_xcoff_flavour, &xcoff_sym_fns);
}
return text;
}
+void _initialize_xml_support ();
+void _initialize_xml_support ();
void
-_initialize_xml_support (void)
+_initialize_xml_support ()
{
add_setshow_boolean_cmd ("xml", class_maintenance, &debug_xml,
_("Set XML parser debugging."),
Initializer function for the Sanyo Xstormy16a module.
Called by gdb at start-up. */
+void _initialize_xstormy16_tdep ();
void
-_initialize_xstormy16_tdep (void)
+_initialize_xstormy16_tdep ()
{
register_gdbarch_init (bfd_arch_xstormy16, xstormy16_gdbarch_init);
}
return PS_OK;
}
+void _initialize_xtensa_linux_nat ();
void
-_initialize_xtensa_linux_nat (void)
+_initialize_xtensa_linux_nat ()
{
const xtensa_regtable_t *ptr;
svr4_fetch_objfile_link_map);
}
+void _initialize_xtensa_linux_tdep ();
void
-_initialize_xtensa_linux_tdep (void)
+_initialize_xtensa_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_xtensa, bfd_mach_xtensa, GDB_OSABI_LINUX,
xtensa_linux_init_abi);
error (_("xtensa_dump_tdep(): not implemented"));
}
+void _initialize_xtensa_tdep ();
void
-_initialize_xtensa_tdep (void)
+_initialize_xtensa_tdep ()
{
gdbarch_register (bfd_arch_xtensa, xtensa_gdbarch_init, xtensa_dump_tdep);
xtensa_init_reggroups ();