10c04591cSchristos /* This file is automatically generated. DO NOT EDIT! */ 2*8b657b07Schristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 347c37bc2Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 40c04591cSchristos 50c04591cSchristos /* Do not modify this file. */ 60c04591cSchristos /* It is created automatically by the Makefile. */ 70c04591cSchristos #include "defs.h" /* For initialize_file_ftype. */ 8*8b657b07Schristos #include <algorithm> 9*8b657b07Schristos 1047c37bc2Schristos extern initialize_file_ftype _initialize_svr4_solib; 110c04591cSchristos extern initialize_file_ftype _initialize_sparc_tdep; 120c04591cSchristos extern initialize_file_ftype _initialize_sparcnbsd_tdep; 130c04591cSchristos extern initialize_file_ftype _initialize_ravenscar; 140c04591cSchristos extern initialize_file_ftype _initialize_ser_hardwire; 150c04591cSchristos extern initialize_file_ftype _initialize_ser_pipe; 160c04591cSchristos extern initialize_file_ftype _initialize_ser_tcp; 1747c37bc2Schristos extern initialize_file_ftype _initialize_ser_socket; 180c04591cSchristos extern initialize_file_ftype _initialize_fork_child; 190c04591cSchristos extern initialize_file_ftype _initialize_sparc_nat; 2047c37bc2Schristos extern initialize_file_ftype _initialize_sparcnbsd_nat; 2147c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 2247c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmds; 2347c37bc2Schristos extern initialize_file_ftype _initialize_mi_interp; 2447c37bc2Schristos extern initialize_file_ftype _initialize_mi_main; 2547c37bc2Schristos extern initialize_file_ftype _initialize_tui; 2647c37bc2Schristos extern initialize_file_ftype _initialize_tui_hooks; 2747c37bc2Schristos extern initialize_file_ftype _initialize_tui_interp; 2847c37bc2Schristos extern initialize_file_ftype _initialize_tui_layout; 2947c37bc2Schristos extern initialize_file_ftype _initialize_tui_regs; 3047c37bc2Schristos extern initialize_file_ftype _initialize_tui_stack; 3147c37bc2Schristos extern initialize_file_ftype _initialize_tui_win; 3247c37bc2Schristos extern initialize_file_ftype _initialize_python; 3347c37bc2Schristos extern initialize_file_ftype _initialize_guile; 340c04591cSchristos extern initialize_file_ftype _initialize_elfread; 350c04591cSchristos extern initialize_file_ftype _initialize_stap_probe; 360c04591cSchristos extern initialize_file_ftype _initialize_dtrace_probe; 37e5cb852cSchristos extern initialize_file_ftype _initialize_ada_exp; 3899e23f81Schristos extern initialize_file_ftype _initialize_ada_language; 3999e23f81Schristos extern initialize_file_ftype _initialize_tasks; 40*8b657b07Schristos extern initialize_file_ftype _initialize_addrmap; 4199e23f81Schristos extern initialize_file_ftype _initialize_agent; 4299e23f81Schristos extern initialize_file_ftype _initialize_annotate; 4399e23f81Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 440c04591cSchristos extern initialize_file_ftype _initialize_auto_load; 450c04591cSchristos extern initialize_file_ftype _initialize_auxv; 4647c37bc2Schristos extern initialize_file_ftype _initialize_ax_gdb; 47*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_exec; 48*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_fork; 49*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_load; 500c04591cSchristos extern initialize_file_ftype _initialize_break_catch_sig; 510c04591cSchristos extern initialize_file_ftype _initialize_break_catch_syscall; 5299e23f81Schristos extern initialize_file_ftype _initialize_break_catch_throw; 5399e23f81Schristos extern initialize_file_ftype _initialize_breakpoint; 5499e23f81Schristos extern initialize_file_ftype _initialize_btrace; 550c04591cSchristos extern initialize_file_ftype _initialize_charset; 5699e23f81Schristos extern initialize_file_ftype _initialize_coff_pe_read; 5799e23f81Schristos extern initialize_file_ftype _initialize_coffread; 5899e23f81Schristos extern initialize_file_ftype _initialize_complaints; 5999e23f81Schristos extern initialize_file_ftype _initialize_completer; 6099e23f81Schristos extern initialize_file_ftype _initialize_copying; 6199e23f81Schristos extern initialize_file_ftype _initialize_core; 620c04591cSchristos extern initialize_file_ftype _initialize_corelow; 6399e23f81Schristos extern initialize_file_ftype _initialize_cp_abi; 6499e23f81Schristos extern initialize_file_ftype _initialize_cp_namespace; 6599e23f81Schristos extern initialize_file_ftype _initialize_cp_support; 6699e23f81Schristos extern initialize_file_ftype _initialize_cp_valprint; 6799e23f81Schristos extern initialize_file_ftype _initialize_dbxread; 6847c37bc2Schristos extern initialize_file_ftype _initialize_dcache; 69*8b657b07Schristos extern initialize_file_ftype _initialize_debuginfod; 7099e23f81Schristos extern initialize_file_ftype _initialize_disasm; 71*8b657b07Schristos extern initialize_file_ftype _initialize_displaced_stepping; 720c04591cSchristos extern initialize_file_ftype _initialize_dummy_frame; 73*8b657b07Schristos extern initialize_file_ftype _initialize_cooked_index; 7482650ea5Schristos extern initialize_file_ftype _initialize_tailcall_frame; 7582650ea5Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 7647c37bc2Schristos extern initialize_file_ftype _initialize_index_cache; 7747c37bc2Schristos extern initialize_file_ftype _initialize_dwarf_index_write; 7899e23f81Schristos extern initialize_file_ftype _initialize_dwarf2loc; 7999e23f81Schristos extern initialize_file_ftype _initialize_dwarf2_read; 80*8b657b07Schristos extern initialize_file_ftype _initialize_event_top; 8199e23f81Schristos extern initialize_file_ftype _initialize_exec; 8299e23f81Schristos extern initialize_file_ftype _initialize_extension; 8399e23f81Schristos extern initialize_file_ftype _initialize_f_language; 8499e23f81Schristos extern initialize_file_ftype _initialize_f_valprint; 8599e23f81Schristos extern initialize_file_ftype _initialize_filesystem; 8699e23f81Schristos extern initialize_file_ftype _initialize_mem_search; 8747c37bc2Schristos extern initialize_file_ftype _initialize_findvar; 8899e23f81Schristos extern initialize_file_ftype _initialize_frame; 8999e23f81Schristos extern initialize_file_ftype _initialize_gcore; 9082650ea5Schristos extern initialize_file_ftype _initialize_gdb_demangle; 9199e23f81Schristos extern initialize_file_ftype _initialize_gdb_bfd; 9247c37bc2Schristos extern initialize_file_ftype _initialize_gdbtypes; 93*8b657b07Schristos extern initialize_file_ftype _initialize_gmp_utils; 9499e23f81Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 9599e23f81Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 960c04591cSchristos extern initialize_file_ftype _initialize_infcall; 970c04591cSchristos extern initialize_file_ftype _initialize_infcmd; 9847c37bc2Schristos extern initialize_file_ftype _initialize_inflow; 990c04591cSchristos extern initialize_file_ftype _initialize_infrun; 1000c04591cSchristos extern initialize_file_ftype _initialize_interpreter; 10199e23f81Schristos extern initialize_file_ftype _initialize_jit; 10299e23f81Schristos extern initialize_file_ftype _initialize_language; 1030c04591cSchristos extern initialize_file_ftype _initialize_macrocmd; 1040c04591cSchristos extern initialize_file_ftype _initialize_macroscope; 1050c04591cSchristos extern initialize_file_ftype _initialize_maint_cmds; 10682650ea5Schristos extern initialize_file_ftype _initialize_maint_test_options; 10782650ea5Schristos extern initialize_file_ftype _initialize_maint_test_settings; 10899e23f81Schristos extern initialize_file_ftype _initialize_mdebugread; 10999e23f81Schristos extern initialize_file_ftype _initialize_mem; 1100c04591cSchristos extern initialize_file_ftype _initialize_mipsread; 1110c04591cSchristos extern initialize_file_ftype _initialize_objc_language; 11299e23f81Schristos extern initialize_file_ftype _initialize_observer; 11399e23f81Schristos extern initialize_file_ftype _initialize_gdb_osabi; 11499e23f81Schristos extern initialize_file_ftype _initialize_osdata; 1150c04591cSchristos extern initialize_file_ftype _initialize_pascal_valprint; 11699e23f81Schristos extern initialize_file_ftype _initialize_parse; 11799e23f81Schristos extern initialize_file_ftype _initialize_printcmd; 11899e23f81Schristos extern initialize_file_ftype _initialize_probe; 11947c37bc2Schristos extern initialize_file_ftype _initialize_producer; 12099e23f81Schristos extern initialize_file_ftype _initialize_psymtab; 12199e23f81Schristos extern initialize_file_ftype _initialize_record; 12299e23f81Schristos extern initialize_file_ftype _initialize_record_btrace; 12399e23f81Schristos extern initialize_file_ftype _initialize_record_full; 12499e23f81Schristos extern initialize_file_ftype _initialize_regcache; 12547c37bc2Schristos extern initialize_file_ftype _initialize_regcache_dump; 1260c04591cSchristos extern initialize_file_ftype _initialize_reggroup; 12747c37bc2Schristos extern initialize_file_ftype _initialize_remote; 12847c37bc2Schristos extern initialize_file_ftype _initialize_notif; 12999e23f81Schristos extern initialize_file_ftype _initialize_reverse; 13082650ea5Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 131*8b657b07Schristos extern initialize_file_ftype _initialize_rust_exp; 13299e23f81Schristos extern initialize_file_ftype _initialize_serial; 13399e23f81Schristos extern initialize_file_ftype _initialize_step_skip; 1340c04591cSchristos extern initialize_file_ftype _initialize_solib; 13599e23f81Schristos extern initialize_file_ftype _initialize_source; 13682650ea5Schristos extern initialize_file_ftype _initialize_source_cache; 13799e23f81Schristos extern initialize_file_ftype _initialize_stabsread; 13899e23f81Schristos extern initialize_file_ftype _initialize_stack; 13999e23f81Schristos extern initialize_file_ftype _initialize_frame_reg; 14099e23f81Schristos extern initialize_file_ftype _initialize_symfile; 14199e23f81Schristos extern initialize_file_ftype _initialize_symfile_debug; 14299e23f81Schristos extern initialize_file_ftype _initialize_symmisc; 14399e23f81Schristos extern initialize_file_ftype _initialize_symtab; 14482650ea5Schristos extern initialize_file_ftype _initialize_target; 14582650ea5Schristos extern initialize_file_ftype _initialize_target_connection; 14699e23f81Schristos extern initialize_file_ftype _initialize_target_dcache; 1470c04591cSchristos extern initialize_file_ftype _initialize_target_descriptions; 14899e23f81Schristos extern initialize_file_ftype _initialize_thread; 149*8b657b07Schristos extern initialize_file_ftype _initialize_top; 15082650ea5Schristos extern initialize_file_ftype _initialize_ctf; 15147c37bc2Schristos extern initialize_file_ftype _initialize_tracefile; 15247c37bc2Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 15347c37bc2Schristos extern initialize_file_ftype _initialize_tracepoint; 15499e23f81Schristos extern initialize_file_ftype _initialize_typeprint; 15547c37bc2Schristos extern initialize_file_ftype _initialize_ui_style; 15699e23f81Schristos extern initialize_file_ftype _initialize_user_regs; 15799e23f81Schristos extern initialize_file_ftype _initialize_utils; 15899e23f81Schristos extern initialize_file_ftype _initialize_valops; 15999e23f81Schristos extern initialize_file_ftype _initialize_valprint; 16099e23f81Schristos extern initialize_file_ftype _initialize_values; 16199e23f81Schristos extern initialize_file_ftype _initialize_varobj; 16299e23f81Schristos extern initialize_file_ftype _initialize_xml_support; 1630c04591cSchristos extern initialize_file_ftype _initialize_cli_cmds; 16499e23f81Schristos extern initialize_file_ftype _initialize_cli_dump; 1650c04591cSchristos extern initialize_file_ftype _initialize_cli_interp; 16699e23f81Schristos extern initialize_file_ftype _initialize_cli_logging; 16799e23f81Schristos extern initialize_file_ftype _initialize_cli_script; 16847c37bc2Schristos extern initialize_file_ftype _initialize_cli_style; 1690c04591cSchristos extern initialize_file_ftype _initialize_compile; 17047c37bc2Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 171*8b657b07Schristos 172*8b657b07Schristos void initialize_all_files (); 1730c04591cSchristos void 174*8b657b07Schristos initialize_all_files () 1750c04591cSchristos { 176*8b657b07Schristos std::vector<initialize_file_ftype *> functions = 177*8b657b07Schristos { 178*8b657b07Schristos _initialize_svr4_solib, 179*8b657b07Schristos _initialize_sparc_tdep, 180*8b657b07Schristos _initialize_sparcnbsd_tdep, 181*8b657b07Schristos _initialize_ravenscar, 182*8b657b07Schristos _initialize_ser_hardwire, 183*8b657b07Schristos _initialize_ser_pipe, 184*8b657b07Schristos _initialize_ser_tcp, 185*8b657b07Schristos _initialize_ser_socket, 186*8b657b07Schristos _initialize_fork_child, 187*8b657b07Schristos _initialize_sparc_nat, 188*8b657b07Schristos _initialize_sparcnbsd_nat, 189*8b657b07Schristos _initialize_mi_cmd_env, 190*8b657b07Schristos _initialize_mi_cmds, 191*8b657b07Schristos _initialize_mi_interp, 192*8b657b07Schristos _initialize_mi_main, 193*8b657b07Schristos _initialize_tui, 194*8b657b07Schristos _initialize_tui_hooks, 195*8b657b07Schristos _initialize_tui_interp, 196*8b657b07Schristos _initialize_tui_layout, 197*8b657b07Schristos _initialize_tui_regs, 198*8b657b07Schristos _initialize_tui_stack, 199*8b657b07Schristos _initialize_tui_win, 200*8b657b07Schristos _initialize_python, 201*8b657b07Schristos _initialize_guile, 202*8b657b07Schristos _initialize_elfread, 203*8b657b07Schristos _initialize_stap_probe, 204*8b657b07Schristos _initialize_dtrace_probe, 205*8b657b07Schristos _initialize_ada_exp, 206*8b657b07Schristos _initialize_ada_language, 207*8b657b07Schristos _initialize_tasks, 208*8b657b07Schristos _initialize_addrmap, 209*8b657b07Schristos _initialize_agent, 210*8b657b07Schristos _initialize_annotate, 211*8b657b07Schristos _initialize_gdbarch_utils, 212*8b657b07Schristos _initialize_auto_load, 213*8b657b07Schristos _initialize_auxv, 214*8b657b07Schristos _initialize_ax_gdb, 215*8b657b07Schristos _initialize_break_catch_exec, 216*8b657b07Schristos _initialize_break_catch_fork, 217*8b657b07Schristos _initialize_break_catch_load, 218*8b657b07Schristos _initialize_break_catch_sig, 219*8b657b07Schristos _initialize_break_catch_syscall, 220*8b657b07Schristos _initialize_break_catch_throw, 221*8b657b07Schristos _initialize_breakpoint, 222*8b657b07Schristos _initialize_btrace, 223*8b657b07Schristos _initialize_charset, 224*8b657b07Schristos _initialize_coff_pe_read, 225*8b657b07Schristos _initialize_coffread, 226*8b657b07Schristos _initialize_complaints, 227*8b657b07Schristos _initialize_completer, 228*8b657b07Schristos _initialize_copying, 229*8b657b07Schristos _initialize_core, 230*8b657b07Schristos _initialize_corelow, 231*8b657b07Schristos _initialize_cp_abi, 232*8b657b07Schristos _initialize_cp_namespace, 233*8b657b07Schristos _initialize_cp_support, 234*8b657b07Schristos _initialize_cp_valprint, 235*8b657b07Schristos _initialize_dbxread, 236*8b657b07Schristos _initialize_dcache, 237*8b657b07Schristos _initialize_debuginfod, 238*8b657b07Schristos _initialize_disasm, 239*8b657b07Schristos _initialize_displaced_stepping, 240*8b657b07Schristos _initialize_dummy_frame, 241*8b657b07Schristos _initialize_cooked_index, 242*8b657b07Schristos _initialize_tailcall_frame, 243*8b657b07Schristos _initialize_dwarf2_frame, 244*8b657b07Schristos _initialize_index_cache, 245*8b657b07Schristos _initialize_dwarf_index_write, 246*8b657b07Schristos _initialize_dwarf2loc, 247*8b657b07Schristos _initialize_dwarf2_read, 248*8b657b07Schristos _initialize_event_top, 249*8b657b07Schristos _initialize_exec, 250*8b657b07Schristos _initialize_extension, 251*8b657b07Schristos _initialize_f_language, 252*8b657b07Schristos _initialize_f_valprint, 253*8b657b07Schristos _initialize_filesystem, 254*8b657b07Schristos _initialize_mem_search, 255*8b657b07Schristos _initialize_findvar, 256*8b657b07Schristos _initialize_frame, 257*8b657b07Schristos _initialize_gcore, 258*8b657b07Schristos _initialize_gdb_demangle, 259*8b657b07Schristos _initialize_gdb_bfd, 260*8b657b07Schristos _initialize_gdbtypes, 261*8b657b07Schristos _initialize_gmp_utils, 262*8b657b07Schristos _initialize_gnu_v2_abi, 263*8b657b07Schristos _initialize_gnu_v3_abi, 264*8b657b07Schristos _initialize_infcall, 265*8b657b07Schristos _initialize_infcmd, 266*8b657b07Schristos _initialize_inflow, 267*8b657b07Schristos _initialize_infrun, 268*8b657b07Schristos _initialize_interpreter, 269*8b657b07Schristos _initialize_jit, 270*8b657b07Schristos _initialize_language, 271*8b657b07Schristos _initialize_macrocmd, 272*8b657b07Schristos _initialize_macroscope, 273*8b657b07Schristos _initialize_maint_cmds, 274*8b657b07Schristos _initialize_maint_test_options, 275*8b657b07Schristos _initialize_maint_test_settings, 276*8b657b07Schristos _initialize_mdebugread, 277*8b657b07Schristos _initialize_mem, 278*8b657b07Schristos _initialize_mipsread, 279*8b657b07Schristos _initialize_objc_language, 280*8b657b07Schristos _initialize_observer, 281*8b657b07Schristos _initialize_gdb_osabi, 282*8b657b07Schristos _initialize_osdata, 283*8b657b07Schristos _initialize_pascal_valprint, 284*8b657b07Schristos _initialize_parse, 285*8b657b07Schristos _initialize_printcmd, 286*8b657b07Schristos _initialize_probe, 287*8b657b07Schristos _initialize_producer, 288*8b657b07Schristos _initialize_psymtab, 289*8b657b07Schristos _initialize_record, 290*8b657b07Schristos _initialize_record_btrace, 291*8b657b07Schristos _initialize_record_full, 292*8b657b07Schristos _initialize_regcache, 293*8b657b07Schristos _initialize_regcache_dump, 294*8b657b07Schristos _initialize_reggroup, 295*8b657b07Schristos _initialize_remote, 296*8b657b07Schristos _initialize_notif, 297*8b657b07Schristos _initialize_reverse, 298*8b657b07Schristos _initialize_run_on_main_thread, 299*8b657b07Schristos _initialize_rust_exp, 300*8b657b07Schristos _initialize_serial, 301*8b657b07Schristos _initialize_step_skip, 302*8b657b07Schristos _initialize_solib, 303*8b657b07Schristos _initialize_source, 304*8b657b07Schristos _initialize_source_cache, 305*8b657b07Schristos _initialize_stabsread, 306*8b657b07Schristos _initialize_stack, 307*8b657b07Schristos _initialize_frame_reg, 308*8b657b07Schristos _initialize_symfile, 309*8b657b07Schristos _initialize_symfile_debug, 310*8b657b07Schristos _initialize_symmisc, 311*8b657b07Schristos _initialize_symtab, 312*8b657b07Schristos _initialize_target, 313*8b657b07Schristos _initialize_target_connection, 314*8b657b07Schristos _initialize_target_dcache, 315*8b657b07Schristos _initialize_target_descriptions, 316*8b657b07Schristos _initialize_thread, 317*8b657b07Schristos _initialize_top, 318*8b657b07Schristos _initialize_ctf, 319*8b657b07Schristos _initialize_tracefile, 320*8b657b07Schristos _initialize_tracefile_tfile, 321*8b657b07Schristos _initialize_tracepoint, 322*8b657b07Schristos _initialize_typeprint, 323*8b657b07Schristos _initialize_ui_style, 324*8b657b07Schristos _initialize_user_regs, 325*8b657b07Schristos _initialize_utils, 326*8b657b07Schristos _initialize_valops, 327*8b657b07Schristos _initialize_valprint, 328*8b657b07Schristos _initialize_values, 329*8b657b07Schristos _initialize_varobj, 330*8b657b07Schristos _initialize_xml_support, 331*8b657b07Schristos _initialize_cli_cmds, 332*8b657b07Schristos _initialize_cli_dump, 333*8b657b07Schristos _initialize_cli_interp, 334*8b657b07Schristos _initialize_cli_logging, 335*8b657b07Schristos _initialize_cli_script, 336*8b657b07Schristos _initialize_cli_style, 337*8b657b07Schristos _initialize_compile, 338*8b657b07Schristos _initialize_compile_cplus_types, 339*8b657b07Schristos }; 340*8b657b07Schristos 341*8b657b07Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 342*8b657b07Schristos order in which initialization functions are called. This is 343*8b657b07Schristos used by the testsuite. */ 344*8b657b07Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 345*8b657b07Schristos std::reverse (functions.begin (), functions.end ()); 346*8b657b07Schristos 347*8b657b07Schristos for (initialize_file_ftype *function : functions) 348*8b657b07Schristos function (); 3490c04591cSchristos } 350