1fdf8f3b1Schristos /* This file is automatically generated. DO NOT EDIT! */ 2*22ebeae4Schristos /* Generated from: NetBSD: mknative-gdb,v 1.17 2024/08/18 03:47:55 rin Exp */ 35ae5996aSchristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4fdf8f3b1Schristos 5fdf8f3b1Schristos /* Do not modify this file. */ 6fdf8f3b1Schristos /* It is created automatically by the Makefile. */ 74b004442Schristos #include <algorithm> 84b004442Schristos 9fdf8f3b1Schristos extern initialize_file_ftype _initialize_alpha_tdep; 10fdf8f3b1Schristos extern initialize_file_ftype _initialize_svr4_solib; 115ae5996aSchristos extern initialize_file_ftype _initialize_alphanbsd_tdep; 12fdf8f3b1Schristos extern initialize_file_ftype _initialize_ser_hardwire; 13fdf8f3b1Schristos extern initialize_file_ftype _initialize_ser_pipe; 14fdf8f3b1Schristos extern initialize_file_ftype _initialize_ser_tcp; 155ae5996aSchristos extern initialize_file_ftype _initialize_ser_socket; 166ca1cfa8Srin extern initialize_file_ftype _initialize_fork_child; 176ca1cfa8Srin extern initialize_file_ftype _initialize_alphabsd_nat; 185ae5996aSchristos extern initialize_file_ftype _initialize_tui; 19*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm; 205ae5996aSchristos extern initialize_file_ftype _initialize_tui_hooks; 215ae5996aSchristos extern initialize_file_ftype _initialize_tui_interp; 225ae5996aSchristos extern initialize_file_ftype _initialize_tui_layout; 235ae5996aSchristos extern initialize_file_ftype _initialize_tui_regs; 245ae5996aSchristos extern initialize_file_ftype _initialize_tui_stack; 255ae5996aSchristos extern initialize_file_ftype _initialize_tui_win; 265ae5996aSchristos extern initialize_file_ftype _initialize_python; 275ae5996aSchristos extern initialize_file_ftype _initialize_guile; 28fdf8f3b1Schristos extern initialize_file_ftype _initialize_elfread; 29f84ee3a1Schristos extern initialize_file_ftype _initialize_stap_probe; 30822f2954Schristos extern initialize_file_ftype _initialize_dtrace_probe; 31*22ebeae4Schristos extern initialize_file_ftype _initialize_cp_name_parser; 328b7331e5Schristos extern initialize_file_ftype _initialize_ada_language; 338b7331e5Schristos extern initialize_file_ftype _initialize_tasks; 344b004442Schristos extern initialize_file_ftype _initialize_addrmap; 358b7331e5Schristos extern initialize_file_ftype _initialize_agent; 368b7331e5Schristos extern initialize_file_ftype _initialize_annotate; 378b7331e5Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 38f84ee3a1Schristos extern initialize_file_ftype _initialize_auto_load; 39fdf8f3b1Schristos extern initialize_file_ftype _initialize_auxv; 405ae5996aSchristos extern initialize_file_ftype _initialize_ax_gdb; 414b004442Schristos extern initialize_file_ftype _initialize_break_catch_exec; 424b004442Schristos extern initialize_file_ftype _initialize_break_catch_fork; 434b004442Schristos extern initialize_file_ftype _initialize_break_catch_load; 44f84ee3a1Schristos extern initialize_file_ftype _initialize_break_catch_sig; 45822f2954Schristos extern initialize_file_ftype _initialize_break_catch_syscall; 468b7331e5Schristos extern initialize_file_ftype _initialize_break_catch_throw; 478b7331e5Schristos extern initialize_file_ftype _initialize_breakpoint; 488b7331e5Schristos extern initialize_file_ftype _initialize_btrace; 49fdf8f3b1Schristos extern initialize_file_ftype _initialize_charset; 508b7331e5Schristos extern initialize_file_ftype _initialize_coff_pe_read; 518b7331e5Schristos extern initialize_file_ftype _initialize_coffread; 528b7331e5Schristos extern initialize_file_ftype _initialize_complaints; 538b7331e5Schristos extern initialize_file_ftype _initialize_completer; 548b7331e5Schristos extern initialize_file_ftype _initialize_copying; 558b7331e5Schristos extern initialize_file_ftype _initialize_core; 56f84ee3a1Schristos extern initialize_file_ftype _initialize_corelow; 578b7331e5Schristos extern initialize_file_ftype _initialize_cp_abi; 588b7331e5Schristos extern initialize_file_ftype _initialize_cp_namespace; 598b7331e5Schristos extern initialize_file_ftype _initialize_cp_support; 608b7331e5Schristos extern initialize_file_ftype _initialize_cp_valprint; 618b7331e5Schristos extern initialize_file_ftype _initialize_dbxread; 625ae5996aSchristos extern initialize_file_ftype _initialize_dcache; 634b004442Schristos extern initialize_file_ftype _initialize_debuginfod; 648b7331e5Schristos extern initialize_file_ftype _initialize_disasm; 654b004442Schristos extern initialize_file_ftype _initialize_displaced_stepping; 66fdf8f3b1Schristos extern initialize_file_ftype _initialize_dummy_frame; 674b004442Schristos extern initialize_file_ftype _initialize_cooked_index; 684d342c04Schristos extern initialize_file_ftype _initialize_tailcall_frame; 694d342c04Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 705ae5996aSchristos extern initialize_file_ftype _initialize_index_cache; 715ae5996aSchristos extern initialize_file_ftype _initialize_dwarf_index_write; 728b7331e5Schristos extern initialize_file_ftype _initialize_dwarf2loc; 738b7331e5Schristos extern initialize_file_ftype _initialize_dwarf2_read; 74*22ebeae4Schristos extern initialize_file_ftype _initialize_read_gdb_index; 75*22ebeae4Schristos extern initialize_file_ftype _initialize_extract_store_integer; 764b004442Schristos extern initialize_file_ftype _initialize_event_top; 778b7331e5Schristos extern initialize_file_ftype _initialize_exec; 788b7331e5Schristos extern initialize_file_ftype _initialize_extension; 798b7331e5Schristos extern initialize_file_ftype _initialize_f_language; 808b7331e5Schristos extern initialize_file_ftype _initialize_f_valprint; 818b7331e5Schristos extern initialize_file_ftype _initialize_filesystem; 828b7331e5Schristos extern initialize_file_ftype _initialize_mem_search; 838b7331e5Schristos extern initialize_file_ftype _initialize_frame; 84*22ebeae4Schristos extern initialize_file_ftype _initialize_frame_unwind; 858b7331e5Schristos extern initialize_file_ftype _initialize_gcore; 864d342c04Schristos extern initialize_file_ftype _initialize_gdb_demangle; 878b7331e5Schristos extern initialize_file_ftype _initialize_gdb_bfd; 885ae5996aSchristos extern initialize_file_ftype _initialize_gdbtypes; 894b004442Schristos extern initialize_file_ftype _initialize_gmp_utils; 908b7331e5Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 918b7331e5Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 92fdf8f3b1Schristos extern initialize_file_ftype _initialize_infcall; 93fdf8f3b1Schristos extern initialize_file_ftype _initialize_infcmd; 945ae5996aSchristos extern initialize_file_ftype _initialize_inflow; 95fdf8f3b1Schristos extern initialize_file_ftype _initialize_infrun; 96fdf8f3b1Schristos extern initialize_file_ftype _initialize_interpreter; 978b7331e5Schristos extern initialize_file_ftype _initialize_jit; 988b7331e5Schristos extern initialize_file_ftype _initialize_language; 99fdf8f3b1Schristos extern initialize_file_ftype _initialize_macrocmd; 100fdf8f3b1Schristos extern initialize_file_ftype _initialize_macroscope; 101fdf8f3b1Schristos extern initialize_file_ftype _initialize_maint_cmds; 1024d342c04Schristos extern initialize_file_ftype _initialize_maint_test_options; 1034d342c04Schristos extern initialize_file_ftype _initialize_maint_test_settings; 1048b7331e5Schristos extern initialize_file_ftype _initialize_mdebugread; 1058b7331e5Schristos extern initialize_file_ftype _initialize_mem; 106fdf8f3b1Schristos extern initialize_file_ftype _initialize_mipsread; 107fdf8f3b1Schristos extern initialize_file_ftype _initialize_objc_language; 1088b7331e5Schristos extern initialize_file_ftype _initialize_observer; 1098b7331e5Schristos extern initialize_file_ftype _initialize_gdb_osabi; 1108b7331e5Schristos extern initialize_file_ftype _initialize_osdata; 111fdf8f3b1Schristos extern initialize_file_ftype _initialize_pascal_valprint; 1128b7331e5Schristos extern initialize_file_ftype _initialize_parse; 1138b7331e5Schristos extern initialize_file_ftype _initialize_printcmd; 1148b7331e5Schristos extern initialize_file_ftype _initialize_probe; 1155ae5996aSchristos extern initialize_file_ftype _initialize_producer; 1168b7331e5Schristos extern initialize_file_ftype _initialize_psymtab; 1178b7331e5Schristos extern initialize_file_ftype _initialize_record; 1188b7331e5Schristos extern initialize_file_ftype _initialize_record_btrace; 1198b7331e5Schristos extern initialize_file_ftype _initialize_record_full; 1208b7331e5Schristos extern initialize_file_ftype _initialize_regcache; 1215ae5996aSchristos extern initialize_file_ftype _initialize_regcache_dump; 122fdf8f3b1Schristos extern initialize_file_ftype _initialize_reggroup; 1235ae5996aSchristos extern initialize_file_ftype _initialize_remote; 1245ae5996aSchristos extern initialize_file_ftype _initialize_notif; 1258b7331e5Schristos extern initialize_file_ftype _initialize_reverse; 1264d342c04Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 1274b004442Schristos extern initialize_file_ftype _initialize_rust_exp; 1288b7331e5Schristos extern initialize_file_ftype _initialize_serial; 1298b7331e5Schristos extern initialize_file_ftype _initialize_step_skip; 130f84ee3a1Schristos extern initialize_file_ftype _initialize_solib; 1318b7331e5Schristos extern initialize_file_ftype _initialize_source; 1324d342c04Schristos extern initialize_file_ftype _initialize_source_cache; 1338b7331e5Schristos extern initialize_file_ftype _initialize_stabsread; 1348b7331e5Schristos extern initialize_file_ftype _initialize_stack; 1358b7331e5Schristos extern initialize_file_ftype _initialize_frame_reg; 1368b7331e5Schristos extern initialize_file_ftype _initialize_symfile; 1378b7331e5Schristos extern initialize_file_ftype _initialize_symfile_debug; 1388b7331e5Schristos extern initialize_file_ftype _initialize_symmisc; 1398b7331e5Schristos extern initialize_file_ftype _initialize_symtab; 1404d342c04Schristos extern initialize_file_ftype _initialize_target; 1414d342c04Schristos extern initialize_file_ftype _initialize_target_connection; 1428b7331e5Schristos extern initialize_file_ftype _initialize_target_dcache; 143fdf8f3b1Schristos extern initialize_file_ftype _initialize_target_descriptions; 1448b7331e5Schristos extern initialize_file_ftype _initialize_thread; 1454b004442Schristos extern initialize_file_ftype _initialize_top; 1464d342c04Schristos extern initialize_file_ftype _initialize_ctf; 1475ae5996aSchristos extern initialize_file_ftype _initialize_tracefile; 1485ae5996aSchristos extern initialize_file_ftype _initialize_tracefile_tfile; 1495ae5996aSchristos extern initialize_file_ftype _initialize_tracepoint; 1508b7331e5Schristos extern initialize_file_ftype _initialize_typeprint; 151*22ebeae4Schristos extern initialize_file_ftype _initialize_ui; 1525ae5996aSchristos extern initialize_file_ftype _initialize_ui_style; 1538b7331e5Schristos extern initialize_file_ftype _initialize_user_regs; 1548b7331e5Schristos extern initialize_file_ftype _initialize_utils; 1558b7331e5Schristos extern initialize_file_ftype _initialize_valops; 1568b7331e5Schristos extern initialize_file_ftype _initialize_valprint; 1578b7331e5Schristos extern initialize_file_ftype _initialize_values; 1588b7331e5Schristos extern initialize_file_ftype _initialize_varobj; 1598b7331e5Schristos extern initialize_file_ftype _initialize_xml_support; 160f84ee3a1Schristos extern initialize_file_ftype _initialize_cli_cmds; 1618b7331e5Schristos extern initialize_file_ftype _initialize_cli_dump; 162fdf8f3b1Schristos extern initialize_file_ftype _initialize_cli_interp; 1638b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging; 1648b7331e5Schristos extern initialize_file_ftype _initialize_cli_script; 1655ae5996aSchristos extern initialize_file_ftype _initialize_cli_style; 166*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 167*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmds; 168*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_interp; 169*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_main; 1704d552427Schristos extern initialize_file_ftype _initialize_compile; 1715ae5996aSchristos extern initialize_file_ftype _initialize_compile_cplus_types; 1724b004442Schristos 1734b004442Schristos void initialize_all_files (); 174fdf8f3b1Schristos void 1754b004442Schristos initialize_all_files () 176fdf8f3b1Schristos { 1774b004442Schristos std::vector<initialize_file_ftype *> functions = 1784b004442Schristos { 1794b004442Schristos _initialize_alpha_tdep, 1804b004442Schristos _initialize_svr4_solib, 1814b004442Schristos _initialize_alphanbsd_tdep, 1824b004442Schristos _initialize_ser_hardwire, 1834b004442Schristos _initialize_ser_pipe, 1844b004442Schristos _initialize_ser_tcp, 1854b004442Schristos _initialize_ser_socket, 1866ca1cfa8Srin _initialize_fork_child, 1876ca1cfa8Srin _initialize_alphabsd_nat, 1884b004442Schristos _initialize_tui, 189*22ebeae4Schristos _initialize_tui_disasm, 1904b004442Schristos _initialize_tui_hooks, 1914b004442Schristos _initialize_tui_interp, 1924b004442Schristos _initialize_tui_layout, 1934b004442Schristos _initialize_tui_regs, 1944b004442Schristos _initialize_tui_stack, 1954b004442Schristos _initialize_tui_win, 1964b004442Schristos _initialize_python, 1974b004442Schristos _initialize_guile, 1984b004442Schristos _initialize_elfread, 1994b004442Schristos _initialize_stap_probe, 2004b004442Schristos _initialize_dtrace_probe, 201*22ebeae4Schristos _initialize_cp_name_parser, 2024b004442Schristos _initialize_ada_language, 2034b004442Schristos _initialize_tasks, 2044b004442Schristos _initialize_addrmap, 2054b004442Schristos _initialize_agent, 2064b004442Schristos _initialize_annotate, 2074b004442Schristos _initialize_gdbarch_utils, 2084b004442Schristos _initialize_auto_load, 2094b004442Schristos _initialize_auxv, 2104b004442Schristos _initialize_ax_gdb, 2114b004442Schristos _initialize_break_catch_exec, 2124b004442Schristos _initialize_break_catch_fork, 2134b004442Schristos _initialize_break_catch_load, 2144b004442Schristos _initialize_break_catch_sig, 2154b004442Schristos _initialize_break_catch_syscall, 2164b004442Schristos _initialize_break_catch_throw, 2174b004442Schristos _initialize_breakpoint, 2184b004442Schristos _initialize_btrace, 2194b004442Schristos _initialize_charset, 2204b004442Schristos _initialize_coff_pe_read, 2214b004442Schristos _initialize_coffread, 2224b004442Schristos _initialize_complaints, 2234b004442Schristos _initialize_completer, 2244b004442Schristos _initialize_copying, 2254b004442Schristos _initialize_core, 2264b004442Schristos _initialize_corelow, 2274b004442Schristos _initialize_cp_abi, 2284b004442Schristos _initialize_cp_namespace, 2294b004442Schristos _initialize_cp_support, 2304b004442Schristos _initialize_cp_valprint, 2314b004442Schristos _initialize_dbxread, 2324b004442Schristos _initialize_dcache, 2334b004442Schristos _initialize_debuginfod, 2344b004442Schristos _initialize_disasm, 2354b004442Schristos _initialize_displaced_stepping, 2364b004442Schristos _initialize_dummy_frame, 2374b004442Schristos _initialize_cooked_index, 2384b004442Schristos _initialize_tailcall_frame, 2394b004442Schristos _initialize_dwarf2_frame, 2404b004442Schristos _initialize_index_cache, 2414b004442Schristos _initialize_dwarf_index_write, 2424b004442Schristos _initialize_dwarf2loc, 2434b004442Schristos _initialize_dwarf2_read, 244*22ebeae4Schristos _initialize_read_gdb_index, 245*22ebeae4Schristos _initialize_extract_store_integer, 2464b004442Schristos _initialize_event_top, 2474b004442Schristos _initialize_exec, 2484b004442Schristos _initialize_extension, 2494b004442Schristos _initialize_f_language, 2504b004442Schristos _initialize_f_valprint, 2514b004442Schristos _initialize_filesystem, 2524b004442Schristos _initialize_mem_search, 2534b004442Schristos _initialize_frame, 254*22ebeae4Schristos _initialize_frame_unwind, 2554b004442Schristos _initialize_gcore, 2564b004442Schristos _initialize_gdb_demangle, 2574b004442Schristos _initialize_gdb_bfd, 2584b004442Schristos _initialize_gdbtypes, 2594b004442Schristos _initialize_gmp_utils, 2604b004442Schristos _initialize_gnu_v2_abi, 2614b004442Schristos _initialize_gnu_v3_abi, 2624b004442Schristos _initialize_infcall, 2634b004442Schristos _initialize_infcmd, 2644b004442Schristos _initialize_inflow, 2654b004442Schristos _initialize_infrun, 2664b004442Schristos _initialize_interpreter, 2674b004442Schristos _initialize_jit, 2684b004442Schristos _initialize_language, 2694b004442Schristos _initialize_macrocmd, 2704b004442Schristos _initialize_macroscope, 2714b004442Schristos _initialize_maint_cmds, 2724b004442Schristos _initialize_maint_test_options, 2734b004442Schristos _initialize_maint_test_settings, 2744b004442Schristos _initialize_mdebugread, 2754b004442Schristos _initialize_mem, 2764b004442Schristos _initialize_mipsread, 2774b004442Schristos _initialize_objc_language, 2784b004442Schristos _initialize_observer, 2794b004442Schristos _initialize_gdb_osabi, 2804b004442Schristos _initialize_osdata, 2814b004442Schristos _initialize_pascal_valprint, 2824b004442Schristos _initialize_parse, 2834b004442Schristos _initialize_printcmd, 2844b004442Schristos _initialize_probe, 2854b004442Schristos _initialize_producer, 2864b004442Schristos _initialize_psymtab, 2874b004442Schristos _initialize_record, 2884b004442Schristos _initialize_record_btrace, 2894b004442Schristos _initialize_record_full, 2904b004442Schristos _initialize_regcache, 2914b004442Schristos _initialize_regcache_dump, 2924b004442Schristos _initialize_reggroup, 2934b004442Schristos _initialize_remote, 2944b004442Schristos _initialize_notif, 2954b004442Schristos _initialize_reverse, 2964b004442Schristos _initialize_run_on_main_thread, 2974b004442Schristos _initialize_rust_exp, 2984b004442Schristos _initialize_serial, 2994b004442Schristos _initialize_step_skip, 3004b004442Schristos _initialize_solib, 3014b004442Schristos _initialize_source, 3024b004442Schristos _initialize_source_cache, 3034b004442Schristos _initialize_stabsread, 3044b004442Schristos _initialize_stack, 3054b004442Schristos _initialize_frame_reg, 3064b004442Schristos _initialize_symfile, 3074b004442Schristos _initialize_symfile_debug, 3084b004442Schristos _initialize_symmisc, 3094b004442Schristos _initialize_symtab, 3104b004442Schristos _initialize_target, 3114b004442Schristos _initialize_target_connection, 3124b004442Schristos _initialize_target_dcache, 3134b004442Schristos _initialize_target_descriptions, 3144b004442Schristos _initialize_thread, 3154b004442Schristos _initialize_top, 3164b004442Schristos _initialize_ctf, 3174b004442Schristos _initialize_tracefile, 3184b004442Schristos _initialize_tracefile_tfile, 3194b004442Schristos _initialize_tracepoint, 3204b004442Schristos _initialize_typeprint, 321*22ebeae4Schristos _initialize_ui, 3224b004442Schristos _initialize_ui_style, 3234b004442Schristos _initialize_user_regs, 3244b004442Schristos _initialize_utils, 3254b004442Schristos _initialize_valops, 3264b004442Schristos _initialize_valprint, 3274b004442Schristos _initialize_values, 3284b004442Schristos _initialize_varobj, 3294b004442Schristos _initialize_xml_support, 3304b004442Schristos _initialize_cli_cmds, 3314b004442Schristos _initialize_cli_dump, 3324b004442Schristos _initialize_cli_interp, 3334b004442Schristos _initialize_cli_logging, 3344b004442Schristos _initialize_cli_script, 3354b004442Schristos _initialize_cli_style, 336*22ebeae4Schristos _initialize_mi_cmd_env, 337*22ebeae4Schristos _initialize_mi_cmds, 338*22ebeae4Schristos _initialize_mi_interp, 339*22ebeae4Schristos _initialize_mi_main, 3404b004442Schristos _initialize_compile, 3414b004442Schristos _initialize_compile_cplus_types, 3424b004442Schristos }; 3434b004442Schristos 3444b004442Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 3454b004442Schristos order in which initialization functions are called. This is 3464b004442Schristos used by the testsuite. */ 3474b004442Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 3484b004442Schristos std::reverse (functions.begin (), functions.end ()); 3494b004442Schristos 3504b004442Schristos for (initialize_file_ftype *function : functions) 3514b004442Schristos function (); 352fdf8f3b1Schristos } 353