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_mips_tdep; 120c04591cSchristos extern initialize_file_ftype _initialize_mipsnbsd_tdep; 130c04591cSchristos extern initialize_file_ftype _initialize_ser_hardwire; 140c04591cSchristos extern initialize_file_ftype _initialize_ser_pipe; 150c04591cSchristos extern initialize_file_ftype _initialize_ser_tcp; 1647c37bc2Schristos extern initialize_file_ftype _initialize_ser_socket; 170c04591cSchristos extern initialize_file_ftype _initialize_fork_child; 180c04591cSchristos extern initialize_file_ftype _initialize_mipsnbsd_nat; 1947c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 2047c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmds; 2147c37bc2Schristos extern initialize_file_ftype _initialize_mi_interp; 2247c37bc2Schristos extern initialize_file_ftype _initialize_mi_main; 2347c37bc2Schristos extern initialize_file_ftype _initialize_tui; 2447c37bc2Schristos extern initialize_file_ftype _initialize_tui_hooks; 2547c37bc2Schristos extern initialize_file_ftype _initialize_tui_interp; 2647c37bc2Schristos extern initialize_file_ftype _initialize_tui_layout; 2747c37bc2Schristos extern initialize_file_ftype _initialize_tui_regs; 2847c37bc2Schristos extern initialize_file_ftype _initialize_tui_stack; 2947c37bc2Schristos extern initialize_file_ftype _initialize_tui_win; 3047c37bc2Schristos extern initialize_file_ftype _initialize_python; 3147c37bc2Schristos extern initialize_file_ftype _initialize_guile; 320c04591cSchristos extern initialize_file_ftype _initialize_elfread; 330c04591cSchristos extern initialize_file_ftype _initialize_stap_probe; 340c04591cSchristos extern initialize_file_ftype _initialize_dtrace_probe; 35e5cb852cSchristos extern initialize_file_ftype _initialize_ada_exp; 3699e23f81Schristos extern initialize_file_ftype _initialize_ada_language; 3799e23f81Schristos extern initialize_file_ftype _initialize_tasks; 38*8b657b07Schristos extern initialize_file_ftype _initialize_addrmap; 3999e23f81Schristos extern initialize_file_ftype _initialize_agent; 4099e23f81Schristos extern initialize_file_ftype _initialize_annotate; 4199e23f81Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 420c04591cSchristos extern initialize_file_ftype _initialize_auto_load; 430c04591cSchristos extern initialize_file_ftype _initialize_auxv; 4447c37bc2Schristos extern initialize_file_ftype _initialize_ax_gdb; 45*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_exec; 46*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_fork; 47*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_load; 480c04591cSchristos extern initialize_file_ftype _initialize_break_catch_sig; 490c04591cSchristos extern initialize_file_ftype _initialize_break_catch_syscall; 5099e23f81Schristos extern initialize_file_ftype _initialize_break_catch_throw; 5199e23f81Schristos extern initialize_file_ftype _initialize_breakpoint; 5299e23f81Schristos extern initialize_file_ftype _initialize_btrace; 530c04591cSchristos extern initialize_file_ftype _initialize_charset; 5499e23f81Schristos extern initialize_file_ftype _initialize_coff_pe_read; 5599e23f81Schristos extern initialize_file_ftype _initialize_coffread; 5699e23f81Schristos extern initialize_file_ftype _initialize_complaints; 5799e23f81Schristos extern initialize_file_ftype _initialize_completer; 5899e23f81Schristos extern initialize_file_ftype _initialize_copying; 5999e23f81Schristos extern initialize_file_ftype _initialize_core; 600c04591cSchristos extern initialize_file_ftype _initialize_corelow; 6199e23f81Schristos extern initialize_file_ftype _initialize_cp_abi; 6299e23f81Schristos extern initialize_file_ftype _initialize_cp_namespace; 6399e23f81Schristos extern initialize_file_ftype _initialize_cp_support; 6499e23f81Schristos extern initialize_file_ftype _initialize_cp_valprint; 6599e23f81Schristos extern initialize_file_ftype _initialize_dbxread; 6647c37bc2Schristos extern initialize_file_ftype _initialize_dcache; 67*8b657b07Schristos extern initialize_file_ftype _initialize_debuginfod; 6899e23f81Schristos extern initialize_file_ftype _initialize_disasm; 69*8b657b07Schristos extern initialize_file_ftype _initialize_displaced_stepping; 700c04591cSchristos extern initialize_file_ftype _initialize_dummy_frame; 71*8b657b07Schristos extern initialize_file_ftype _initialize_cooked_index; 7282650ea5Schristos extern initialize_file_ftype _initialize_tailcall_frame; 7382650ea5Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 7447c37bc2Schristos extern initialize_file_ftype _initialize_index_cache; 7547c37bc2Schristos extern initialize_file_ftype _initialize_dwarf_index_write; 7699e23f81Schristos extern initialize_file_ftype _initialize_dwarf2loc; 7799e23f81Schristos extern initialize_file_ftype _initialize_dwarf2_read; 78*8b657b07Schristos extern initialize_file_ftype _initialize_event_top; 7999e23f81Schristos extern initialize_file_ftype _initialize_exec; 8099e23f81Schristos extern initialize_file_ftype _initialize_extension; 8199e23f81Schristos extern initialize_file_ftype _initialize_f_language; 8299e23f81Schristos extern initialize_file_ftype _initialize_f_valprint; 8399e23f81Schristos extern initialize_file_ftype _initialize_filesystem; 8499e23f81Schristos extern initialize_file_ftype _initialize_mem_search; 8547c37bc2Schristos extern initialize_file_ftype _initialize_findvar; 8699e23f81Schristos extern initialize_file_ftype _initialize_frame; 8799e23f81Schristos extern initialize_file_ftype _initialize_gcore; 8882650ea5Schristos extern initialize_file_ftype _initialize_gdb_demangle; 8999e23f81Schristos extern initialize_file_ftype _initialize_gdb_bfd; 9047c37bc2Schristos extern initialize_file_ftype _initialize_gdbtypes; 91*8b657b07Schristos extern initialize_file_ftype _initialize_gmp_utils; 9299e23f81Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 9399e23f81Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 940c04591cSchristos extern initialize_file_ftype _initialize_infcall; 950c04591cSchristos extern initialize_file_ftype _initialize_infcmd; 9647c37bc2Schristos extern initialize_file_ftype _initialize_inflow; 970c04591cSchristos extern initialize_file_ftype _initialize_infrun; 980c04591cSchristos extern initialize_file_ftype _initialize_interpreter; 9999e23f81Schristos extern initialize_file_ftype _initialize_jit; 10099e23f81Schristos extern initialize_file_ftype _initialize_language; 1010c04591cSchristos extern initialize_file_ftype _initialize_macrocmd; 1020c04591cSchristos extern initialize_file_ftype _initialize_macroscope; 1030c04591cSchristos extern initialize_file_ftype _initialize_maint_cmds; 10482650ea5Schristos extern initialize_file_ftype _initialize_maint_test_options; 10582650ea5Schristos extern initialize_file_ftype _initialize_maint_test_settings; 10699e23f81Schristos extern initialize_file_ftype _initialize_mdebugread; 10799e23f81Schristos extern initialize_file_ftype _initialize_mem; 1080c04591cSchristos extern initialize_file_ftype _initialize_mipsread; 1090c04591cSchristos extern initialize_file_ftype _initialize_objc_language; 11099e23f81Schristos extern initialize_file_ftype _initialize_observer; 11199e23f81Schristos extern initialize_file_ftype _initialize_gdb_osabi; 11299e23f81Schristos extern initialize_file_ftype _initialize_osdata; 1130c04591cSchristos extern initialize_file_ftype _initialize_pascal_valprint; 11499e23f81Schristos extern initialize_file_ftype _initialize_parse; 11599e23f81Schristos extern initialize_file_ftype _initialize_printcmd; 11699e23f81Schristos extern initialize_file_ftype _initialize_probe; 11747c37bc2Schristos extern initialize_file_ftype _initialize_producer; 11899e23f81Schristos extern initialize_file_ftype _initialize_psymtab; 11999e23f81Schristos extern initialize_file_ftype _initialize_record; 12099e23f81Schristos extern initialize_file_ftype _initialize_record_btrace; 12199e23f81Schristos extern initialize_file_ftype _initialize_record_full; 12299e23f81Schristos extern initialize_file_ftype _initialize_regcache; 12347c37bc2Schristos extern initialize_file_ftype _initialize_regcache_dump; 1240c04591cSchristos extern initialize_file_ftype _initialize_reggroup; 12547c37bc2Schristos extern initialize_file_ftype _initialize_remote; 12647c37bc2Schristos extern initialize_file_ftype _initialize_notif; 12799e23f81Schristos extern initialize_file_ftype _initialize_reverse; 12882650ea5Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 129*8b657b07Schristos extern initialize_file_ftype _initialize_rust_exp; 13099e23f81Schristos extern initialize_file_ftype _initialize_serial; 13199e23f81Schristos extern initialize_file_ftype _initialize_step_skip; 1320c04591cSchristos extern initialize_file_ftype _initialize_solib; 13399e23f81Schristos extern initialize_file_ftype _initialize_source; 13482650ea5Schristos extern initialize_file_ftype _initialize_source_cache; 13599e23f81Schristos extern initialize_file_ftype _initialize_stabsread; 13699e23f81Schristos extern initialize_file_ftype _initialize_stack; 13799e23f81Schristos extern initialize_file_ftype _initialize_frame_reg; 13899e23f81Schristos extern initialize_file_ftype _initialize_symfile; 13999e23f81Schristos extern initialize_file_ftype _initialize_symfile_debug; 14099e23f81Schristos extern initialize_file_ftype _initialize_symmisc; 14199e23f81Schristos extern initialize_file_ftype _initialize_symtab; 14282650ea5Schristos extern initialize_file_ftype _initialize_target; 14382650ea5Schristos extern initialize_file_ftype _initialize_target_connection; 14499e23f81Schristos extern initialize_file_ftype _initialize_target_dcache; 1450c04591cSchristos extern initialize_file_ftype _initialize_target_descriptions; 14699e23f81Schristos extern initialize_file_ftype _initialize_thread; 147*8b657b07Schristos extern initialize_file_ftype _initialize_top; 14882650ea5Schristos extern initialize_file_ftype _initialize_ctf; 14947c37bc2Schristos extern initialize_file_ftype _initialize_tracefile; 15047c37bc2Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 15147c37bc2Schristos extern initialize_file_ftype _initialize_tracepoint; 15299e23f81Schristos extern initialize_file_ftype _initialize_typeprint; 15347c37bc2Schristos extern initialize_file_ftype _initialize_ui_style; 15499e23f81Schristos extern initialize_file_ftype _initialize_user_regs; 15599e23f81Schristos extern initialize_file_ftype _initialize_utils; 15699e23f81Schristos extern initialize_file_ftype _initialize_valops; 15799e23f81Schristos extern initialize_file_ftype _initialize_valprint; 15899e23f81Schristos extern initialize_file_ftype _initialize_values; 15999e23f81Schristos extern initialize_file_ftype _initialize_varobj; 16099e23f81Schristos extern initialize_file_ftype _initialize_xml_support; 1610c04591cSchristos extern initialize_file_ftype _initialize_cli_cmds; 16299e23f81Schristos extern initialize_file_ftype _initialize_cli_dump; 1630c04591cSchristos extern initialize_file_ftype _initialize_cli_interp; 16499e23f81Schristos extern initialize_file_ftype _initialize_cli_logging; 16599e23f81Schristos extern initialize_file_ftype _initialize_cli_script; 16647c37bc2Schristos extern initialize_file_ftype _initialize_cli_style; 1670c04591cSchristos extern initialize_file_ftype _initialize_compile; 16847c37bc2Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 169*8b657b07Schristos 170*8b657b07Schristos void initialize_all_files (); 1710c04591cSchristos void 172*8b657b07Schristos initialize_all_files () 1730c04591cSchristos { 174*8b657b07Schristos std::vector<initialize_file_ftype *> functions = 175*8b657b07Schristos { 176*8b657b07Schristos _initialize_svr4_solib, 177*8b657b07Schristos _initialize_mips_tdep, 178*8b657b07Schristos _initialize_mipsnbsd_tdep, 179*8b657b07Schristos _initialize_ser_hardwire, 180*8b657b07Schristos _initialize_ser_pipe, 181*8b657b07Schristos _initialize_ser_tcp, 182*8b657b07Schristos _initialize_ser_socket, 183*8b657b07Schristos _initialize_fork_child, 184*8b657b07Schristos _initialize_mipsnbsd_nat, 185*8b657b07Schristos _initialize_mi_cmd_env, 186*8b657b07Schristos _initialize_mi_cmds, 187*8b657b07Schristos _initialize_mi_interp, 188*8b657b07Schristos _initialize_mi_main, 189*8b657b07Schristos _initialize_tui, 190*8b657b07Schristos _initialize_tui_hooks, 191*8b657b07Schristos _initialize_tui_interp, 192*8b657b07Schristos _initialize_tui_layout, 193*8b657b07Schristos _initialize_tui_regs, 194*8b657b07Schristos _initialize_tui_stack, 195*8b657b07Schristos _initialize_tui_win, 196*8b657b07Schristos _initialize_python, 197*8b657b07Schristos _initialize_guile, 198*8b657b07Schristos _initialize_elfread, 199*8b657b07Schristos _initialize_stap_probe, 200*8b657b07Schristos _initialize_dtrace_probe, 201*8b657b07Schristos _initialize_ada_exp, 202*8b657b07Schristos _initialize_ada_language, 203*8b657b07Schristos _initialize_tasks, 204*8b657b07Schristos _initialize_addrmap, 205*8b657b07Schristos _initialize_agent, 206*8b657b07Schristos _initialize_annotate, 207*8b657b07Schristos _initialize_gdbarch_utils, 208*8b657b07Schristos _initialize_auto_load, 209*8b657b07Schristos _initialize_auxv, 210*8b657b07Schristos _initialize_ax_gdb, 211*8b657b07Schristos _initialize_break_catch_exec, 212*8b657b07Schristos _initialize_break_catch_fork, 213*8b657b07Schristos _initialize_break_catch_load, 214*8b657b07Schristos _initialize_break_catch_sig, 215*8b657b07Schristos _initialize_break_catch_syscall, 216*8b657b07Schristos _initialize_break_catch_throw, 217*8b657b07Schristos _initialize_breakpoint, 218*8b657b07Schristos _initialize_btrace, 219*8b657b07Schristos _initialize_charset, 220*8b657b07Schristos _initialize_coff_pe_read, 221*8b657b07Schristos _initialize_coffread, 222*8b657b07Schristos _initialize_complaints, 223*8b657b07Schristos _initialize_completer, 224*8b657b07Schristos _initialize_copying, 225*8b657b07Schristos _initialize_core, 226*8b657b07Schristos _initialize_corelow, 227*8b657b07Schristos _initialize_cp_abi, 228*8b657b07Schristos _initialize_cp_namespace, 229*8b657b07Schristos _initialize_cp_support, 230*8b657b07Schristos _initialize_cp_valprint, 231*8b657b07Schristos _initialize_dbxread, 232*8b657b07Schristos _initialize_dcache, 233*8b657b07Schristos _initialize_debuginfod, 234*8b657b07Schristos _initialize_disasm, 235*8b657b07Schristos _initialize_displaced_stepping, 236*8b657b07Schristos _initialize_dummy_frame, 237*8b657b07Schristos _initialize_cooked_index, 238*8b657b07Schristos _initialize_tailcall_frame, 239*8b657b07Schristos _initialize_dwarf2_frame, 240*8b657b07Schristos _initialize_index_cache, 241*8b657b07Schristos _initialize_dwarf_index_write, 242*8b657b07Schristos _initialize_dwarf2loc, 243*8b657b07Schristos _initialize_dwarf2_read, 244*8b657b07Schristos _initialize_event_top, 245*8b657b07Schristos _initialize_exec, 246*8b657b07Schristos _initialize_extension, 247*8b657b07Schristos _initialize_f_language, 248*8b657b07Schristos _initialize_f_valprint, 249*8b657b07Schristos _initialize_filesystem, 250*8b657b07Schristos _initialize_mem_search, 251*8b657b07Schristos _initialize_findvar, 252*8b657b07Schristos _initialize_frame, 253*8b657b07Schristos _initialize_gcore, 254*8b657b07Schristos _initialize_gdb_demangle, 255*8b657b07Schristos _initialize_gdb_bfd, 256*8b657b07Schristos _initialize_gdbtypes, 257*8b657b07Schristos _initialize_gmp_utils, 258*8b657b07Schristos _initialize_gnu_v2_abi, 259*8b657b07Schristos _initialize_gnu_v3_abi, 260*8b657b07Schristos _initialize_infcall, 261*8b657b07Schristos _initialize_infcmd, 262*8b657b07Schristos _initialize_inflow, 263*8b657b07Schristos _initialize_infrun, 264*8b657b07Schristos _initialize_interpreter, 265*8b657b07Schristos _initialize_jit, 266*8b657b07Schristos _initialize_language, 267*8b657b07Schristos _initialize_macrocmd, 268*8b657b07Schristos _initialize_macroscope, 269*8b657b07Schristos _initialize_maint_cmds, 270*8b657b07Schristos _initialize_maint_test_options, 271*8b657b07Schristos _initialize_maint_test_settings, 272*8b657b07Schristos _initialize_mdebugread, 273*8b657b07Schristos _initialize_mem, 274*8b657b07Schristos _initialize_mipsread, 275*8b657b07Schristos _initialize_objc_language, 276*8b657b07Schristos _initialize_observer, 277*8b657b07Schristos _initialize_gdb_osabi, 278*8b657b07Schristos _initialize_osdata, 279*8b657b07Schristos _initialize_pascal_valprint, 280*8b657b07Schristos _initialize_parse, 281*8b657b07Schristos _initialize_printcmd, 282*8b657b07Schristos _initialize_probe, 283*8b657b07Schristos _initialize_producer, 284*8b657b07Schristos _initialize_psymtab, 285*8b657b07Schristos _initialize_record, 286*8b657b07Schristos _initialize_record_btrace, 287*8b657b07Schristos _initialize_record_full, 288*8b657b07Schristos _initialize_regcache, 289*8b657b07Schristos _initialize_regcache_dump, 290*8b657b07Schristos _initialize_reggroup, 291*8b657b07Schristos _initialize_remote, 292*8b657b07Schristos _initialize_notif, 293*8b657b07Schristos _initialize_reverse, 294*8b657b07Schristos _initialize_run_on_main_thread, 295*8b657b07Schristos _initialize_rust_exp, 296*8b657b07Schristos _initialize_serial, 297*8b657b07Schristos _initialize_step_skip, 298*8b657b07Schristos _initialize_solib, 299*8b657b07Schristos _initialize_source, 300*8b657b07Schristos _initialize_source_cache, 301*8b657b07Schristos _initialize_stabsread, 302*8b657b07Schristos _initialize_stack, 303*8b657b07Schristos _initialize_frame_reg, 304*8b657b07Schristos _initialize_symfile, 305*8b657b07Schristos _initialize_symfile_debug, 306*8b657b07Schristos _initialize_symmisc, 307*8b657b07Schristos _initialize_symtab, 308*8b657b07Schristos _initialize_target, 309*8b657b07Schristos _initialize_target_connection, 310*8b657b07Schristos _initialize_target_dcache, 311*8b657b07Schristos _initialize_target_descriptions, 312*8b657b07Schristos _initialize_thread, 313*8b657b07Schristos _initialize_top, 314*8b657b07Schristos _initialize_ctf, 315*8b657b07Schristos _initialize_tracefile, 316*8b657b07Schristos _initialize_tracefile_tfile, 317*8b657b07Schristos _initialize_tracepoint, 318*8b657b07Schristos _initialize_typeprint, 319*8b657b07Schristos _initialize_ui_style, 320*8b657b07Schristos _initialize_user_regs, 321*8b657b07Schristos _initialize_utils, 322*8b657b07Schristos _initialize_valops, 323*8b657b07Schristos _initialize_valprint, 324*8b657b07Schristos _initialize_values, 325*8b657b07Schristos _initialize_varobj, 326*8b657b07Schristos _initialize_xml_support, 327*8b657b07Schristos _initialize_cli_cmds, 328*8b657b07Schristos _initialize_cli_dump, 329*8b657b07Schristos _initialize_cli_interp, 330*8b657b07Schristos _initialize_cli_logging, 331*8b657b07Schristos _initialize_cli_script, 332*8b657b07Schristos _initialize_cli_style, 333*8b657b07Schristos _initialize_compile, 334*8b657b07Schristos _initialize_compile_cplus_types, 335*8b657b07Schristos }; 336*8b657b07Schristos 337*8b657b07Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 338*8b657b07Schristos order in which initialization functions are called. This is 339*8b657b07Schristos used by the testsuite. */ 340*8b657b07Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 341*8b657b07Schristos std::reverse (functions.begin (), functions.end ()); 342*8b657b07Schristos 343*8b657b07Schristos for (initialize_file_ftype *function : functions) 344*8b657b07Schristos function (); 3450c04591cSchristos } 346