1712cd4afSchristos /* 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 */ 30a362b83Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4712cd4afSchristos 5712cd4afSchristos /* Do not modify this file. */ 6712cd4afSchristos /* It is created automatically by the Makefile. */ 74407f5a6Schristos #include <algorithm> 84407f5a6Schristos 90a362b83Schristos extern initialize_file_ftype _initialize_svr4_solib; 10712cd4afSchristos extern initialize_file_ftype _initialize_mips_tdep; 11712cd4afSchristos extern initialize_file_ftype _initialize_mipsnbsd_tdep; 12712cd4afSchristos extern initialize_file_ftype _initialize_ser_hardwire; 13712cd4afSchristos extern initialize_file_ftype _initialize_ser_pipe; 14712cd4afSchristos extern initialize_file_ftype _initialize_ser_tcp; 150a362b83Schristos extern initialize_file_ftype _initialize_ser_socket; 16f5a9565aSchristos extern initialize_file_ftype _initialize_fork_child; 17f5a9565aSchristos extern initialize_file_ftype _initialize_mipsnbsd_nat; 180a362b83Schristos extern initialize_file_ftype _initialize_tui; 19*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm; 200a362b83Schristos extern initialize_file_ftype _initialize_tui_hooks; 210a362b83Schristos extern initialize_file_ftype _initialize_tui_interp; 220a362b83Schristos extern initialize_file_ftype _initialize_tui_layout; 230a362b83Schristos extern initialize_file_ftype _initialize_tui_regs; 240a362b83Schristos extern initialize_file_ftype _initialize_tui_stack; 250a362b83Schristos extern initialize_file_ftype _initialize_tui_win; 260a362b83Schristos extern initialize_file_ftype _initialize_python; 270a362b83Schristos extern initialize_file_ftype _initialize_guile; 28712cd4afSchristos extern initialize_file_ftype _initialize_elfread; 2934f40950Schristos 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; 344407f5a6Schristos 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; 3834f40950Schristos extern initialize_file_ftype _initialize_auto_load; 39712cd4afSchristos extern initialize_file_ftype _initialize_auxv; 400a362b83Schristos extern initialize_file_ftype _initialize_ax_gdb; 414407f5a6Schristos extern initialize_file_ftype _initialize_break_catch_exec; 424407f5a6Schristos extern initialize_file_ftype _initialize_break_catch_fork; 434407f5a6Schristos extern initialize_file_ftype _initialize_break_catch_load; 4434f40950Schristos 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; 49712cd4afSchristos 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; 5634f40950Schristos 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; 620a362b83Schristos extern initialize_file_ftype _initialize_dcache; 634407f5a6Schristos extern initialize_file_ftype _initialize_debuginfod; 648b7331e5Schristos extern initialize_file_ftype _initialize_disasm; 654407f5a6Schristos extern initialize_file_ftype _initialize_displaced_stepping; 66712cd4afSchristos extern initialize_file_ftype _initialize_dummy_frame; 674407f5a6Schristos extern initialize_file_ftype _initialize_cooked_index; 684d342c04Schristos extern initialize_file_ftype _initialize_tailcall_frame; 694d342c04Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 700a362b83Schristos extern initialize_file_ftype _initialize_index_cache; 710a362b83Schristos 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; 764407f5a6Schristos 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; 880a362b83Schristos extern initialize_file_ftype _initialize_gdbtypes; 894407f5a6Schristos 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; 92712cd4afSchristos extern initialize_file_ftype _initialize_infcall; 93712cd4afSchristos extern initialize_file_ftype _initialize_infcmd; 940a362b83Schristos extern initialize_file_ftype _initialize_inflow; 95712cd4afSchristos extern initialize_file_ftype _initialize_infrun; 96712cd4afSchristos extern initialize_file_ftype _initialize_interpreter; 978b7331e5Schristos extern initialize_file_ftype _initialize_jit; 988b7331e5Schristos extern initialize_file_ftype _initialize_language; 99712cd4afSchristos extern initialize_file_ftype _initialize_macrocmd; 100712cd4afSchristos extern initialize_file_ftype _initialize_macroscope; 101712cd4afSchristos 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; 106712cd4afSchristos extern initialize_file_ftype _initialize_mipsread; 107712cd4afSchristos 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; 111712cd4afSchristos 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; 1150a362b83Schristos 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; 1210a362b83Schristos extern initialize_file_ftype _initialize_regcache_dump; 122712cd4afSchristos extern initialize_file_ftype _initialize_reggroup; 1230a362b83Schristos extern initialize_file_ftype _initialize_remote; 1240a362b83Schristos extern initialize_file_ftype _initialize_notif; 1258b7331e5Schristos extern initialize_file_ftype _initialize_reverse; 1264d342c04Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 1274407f5a6Schristos extern initialize_file_ftype _initialize_rust_exp; 1288b7331e5Schristos extern initialize_file_ftype _initialize_serial; 1298b7331e5Schristos extern initialize_file_ftype _initialize_step_skip; 13034f40950Schristos 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; 143712cd4afSchristos extern initialize_file_ftype _initialize_target_descriptions; 1448b7331e5Schristos extern initialize_file_ftype _initialize_thread; 1454407f5a6Schristos extern initialize_file_ftype _initialize_top; 1464d342c04Schristos extern initialize_file_ftype _initialize_ctf; 1470a362b83Schristos extern initialize_file_ftype _initialize_tracefile; 1480a362b83Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 1490a362b83Schristos extern initialize_file_ftype _initialize_tracepoint; 1508b7331e5Schristos extern initialize_file_ftype _initialize_typeprint; 151*22ebeae4Schristos extern initialize_file_ftype _initialize_ui; 1520a362b83Schristos 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; 16034f40950Schristos extern initialize_file_ftype _initialize_cli_cmds; 1618b7331e5Schristos extern initialize_file_ftype _initialize_cli_dump; 162712cd4afSchristos extern initialize_file_ftype _initialize_cli_interp; 1638b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging; 1648b7331e5Schristos extern initialize_file_ftype _initialize_cli_script; 1650a362b83Schristos 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; 17097d73739Schristos extern initialize_file_ftype _initialize_compile; 1710a362b83Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 1724407f5a6Schristos 1734407f5a6Schristos void initialize_all_files (); 174712cd4afSchristos void 1754407f5a6Schristos initialize_all_files () 176712cd4afSchristos { 1774407f5a6Schristos std::vector<initialize_file_ftype *> functions = 1784407f5a6Schristos { 1794407f5a6Schristos _initialize_svr4_solib, 1804407f5a6Schristos _initialize_mips_tdep, 1814407f5a6Schristos _initialize_mipsnbsd_tdep, 1824407f5a6Schristos _initialize_ser_hardwire, 1834407f5a6Schristos _initialize_ser_pipe, 1844407f5a6Schristos _initialize_ser_tcp, 1854407f5a6Schristos _initialize_ser_socket, 186f5a9565aSchristos _initialize_fork_child, 187f5a9565aSchristos _initialize_mipsnbsd_nat, 1884407f5a6Schristos _initialize_tui, 189*22ebeae4Schristos _initialize_tui_disasm, 1904407f5a6Schristos _initialize_tui_hooks, 1914407f5a6Schristos _initialize_tui_interp, 1924407f5a6Schristos _initialize_tui_layout, 1934407f5a6Schristos _initialize_tui_regs, 1944407f5a6Schristos _initialize_tui_stack, 1954407f5a6Schristos _initialize_tui_win, 1964407f5a6Schristos _initialize_python, 1974407f5a6Schristos _initialize_guile, 1984407f5a6Schristos _initialize_elfread, 1994407f5a6Schristos _initialize_stap_probe, 2004407f5a6Schristos _initialize_dtrace_probe, 201*22ebeae4Schristos _initialize_cp_name_parser, 2024407f5a6Schristos _initialize_ada_language, 2034407f5a6Schristos _initialize_tasks, 2044407f5a6Schristos _initialize_addrmap, 2054407f5a6Schristos _initialize_agent, 2064407f5a6Schristos _initialize_annotate, 2074407f5a6Schristos _initialize_gdbarch_utils, 2084407f5a6Schristos _initialize_auto_load, 2094407f5a6Schristos _initialize_auxv, 2104407f5a6Schristos _initialize_ax_gdb, 2114407f5a6Schristos _initialize_break_catch_exec, 2124407f5a6Schristos _initialize_break_catch_fork, 2134407f5a6Schristos _initialize_break_catch_load, 2144407f5a6Schristos _initialize_break_catch_sig, 2154407f5a6Schristos _initialize_break_catch_syscall, 2164407f5a6Schristos _initialize_break_catch_throw, 2174407f5a6Schristos _initialize_breakpoint, 2184407f5a6Schristos _initialize_btrace, 2194407f5a6Schristos _initialize_charset, 2204407f5a6Schristos _initialize_coff_pe_read, 2214407f5a6Schristos _initialize_coffread, 2224407f5a6Schristos _initialize_complaints, 2234407f5a6Schristos _initialize_completer, 2244407f5a6Schristos _initialize_copying, 2254407f5a6Schristos _initialize_core, 2264407f5a6Schristos _initialize_corelow, 2274407f5a6Schristos _initialize_cp_abi, 2284407f5a6Schristos _initialize_cp_namespace, 2294407f5a6Schristos _initialize_cp_support, 2304407f5a6Schristos _initialize_cp_valprint, 2314407f5a6Schristos _initialize_dbxread, 2324407f5a6Schristos _initialize_dcache, 2334407f5a6Schristos _initialize_debuginfod, 2344407f5a6Schristos _initialize_disasm, 2354407f5a6Schristos _initialize_displaced_stepping, 2364407f5a6Schristos _initialize_dummy_frame, 2374407f5a6Schristos _initialize_cooked_index, 2384407f5a6Schristos _initialize_tailcall_frame, 2394407f5a6Schristos _initialize_dwarf2_frame, 2404407f5a6Schristos _initialize_index_cache, 2414407f5a6Schristos _initialize_dwarf_index_write, 2424407f5a6Schristos _initialize_dwarf2loc, 2434407f5a6Schristos _initialize_dwarf2_read, 244*22ebeae4Schristos _initialize_read_gdb_index, 245*22ebeae4Schristos _initialize_extract_store_integer, 2464407f5a6Schristos _initialize_event_top, 2474407f5a6Schristos _initialize_exec, 2484407f5a6Schristos _initialize_extension, 2494407f5a6Schristos _initialize_f_language, 2504407f5a6Schristos _initialize_f_valprint, 2514407f5a6Schristos _initialize_filesystem, 2524407f5a6Schristos _initialize_mem_search, 2534407f5a6Schristos _initialize_frame, 254*22ebeae4Schristos _initialize_frame_unwind, 2554407f5a6Schristos _initialize_gcore, 2564407f5a6Schristos _initialize_gdb_demangle, 2574407f5a6Schristos _initialize_gdb_bfd, 2584407f5a6Schristos _initialize_gdbtypes, 2594407f5a6Schristos _initialize_gmp_utils, 2604407f5a6Schristos _initialize_gnu_v2_abi, 2614407f5a6Schristos _initialize_gnu_v3_abi, 2624407f5a6Schristos _initialize_infcall, 2634407f5a6Schristos _initialize_infcmd, 2644407f5a6Schristos _initialize_inflow, 2654407f5a6Schristos _initialize_infrun, 2664407f5a6Schristos _initialize_interpreter, 2674407f5a6Schristos _initialize_jit, 2684407f5a6Schristos _initialize_language, 2694407f5a6Schristos _initialize_macrocmd, 2704407f5a6Schristos _initialize_macroscope, 2714407f5a6Schristos _initialize_maint_cmds, 2724407f5a6Schristos _initialize_maint_test_options, 2734407f5a6Schristos _initialize_maint_test_settings, 2744407f5a6Schristos _initialize_mdebugread, 2754407f5a6Schristos _initialize_mem, 2764407f5a6Schristos _initialize_mipsread, 2774407f5a6Schristos _initialize_objc_language, 2784407f5a6Schristos _initialize_observer, 2794407f5a6Schristos _initialize_gdb_osabi, 2804407f5a6Schristos _initialize_osdata, 2814407f5a6Schristos _initialize_pascal_valprint, 2824407f5a6Schristos _initialize_parse, 2834407f5a6Schristos _initialize_printcmd, 2844407f5a6Schristos _initialize_probe, 2854407f5a6Schristos _initialize_producer, 2864407f5a6Schristos _initialize_psymtab, 2874407f5a6Schristos _initialize_record, 2884407f5a6Schristos _initialize_record_btrace, 2894407f5a6Schristos _initialize_record_full, 2904407f5a6Schristos _initialize_regcache, 2914407f5a6Schristos _initialize_regcache_dump, 2924407f5a6Schristos _initialize_reggroup, 2934407f5a6Schristos _initialize_remote, 2944407f5a6Schristos _initialize_notif, 2954407f5a6Schristos _initialize_reverse, 2964407f5a6Schristos _initialize_run_on_main_thread, 2974407f5a6Schristos _initialize_rust_exp, 2984407f5a6Schristos _initialize_serial, 2994407f5a6Schristos _initialize_step_skip, 3004407f5a6Schristos _initialize_solib, 3014407f5a6Schristos _initialize_source, 3024407f5a6Schristos _initialize_source_cache, 3034407f5a6Schristos _initialize_stabsread, 3044407f5a6Schristos _initialize_stack, 3054407f5a6Schristos _initialize_frame_reg, 3064407f5a6Schristos _initialize_symfile, 3074407f5a6Schristos _initialize_symfile_debug, 3084407f5a6Schristos _initialize_symmisc, 3094407f5a6Schristos _initialize_symtab, 3104407f5a6Schristos _initialize_target, 3114407f5a6Schristos _initialize_target_connection, 3124407f5a6Schristos _initialize_target_dcache, 3134407f5a6Schristos _initialize_target_descriptions, 3144407f5a6Schristos _initialize_thread, 3154407f5a6Schristos _initialize_top, 3164407f5a6Schristos _initialize_ctf, 3174407f5a6Schristos _initialize_tracefile, 3184407f5a6Schristos _initialize_tracefile_tfile, 3194407f5a6Schristos _initialize_tracepoint, 3204407f5a6Schristos _initialize_typeprint, 321*22ebeae4Schristos _initialize_ui, 3224407f5a6Schristos _initialize_ui_style, 3234407f5a6Schristos _initialize_user_regs, 3244407f5a6Schristos _initialize_utils, 3254407f5a6Schristos _initialize_valops, 3264407f5a6Schristos _initialize_valprint, 3274407f5a6Schristos _initialize_values, 3284407f5a6Schristos _initialize_varobj, 3294407f5a6Schristos _initialize_xml_support, 3304407f5a6Schristos _initialize_cli_cmds, 3314407f5a6Schristos _initialize_cli_dump, 3324407f5a6Schristos _initialize_cli_interp, 3334407f5a6Schristos _initialize_cli_logging, 3344407f5a6Schristos _initialize_cli_script, 3354407f5a6Schristos _initialize_cli_style, 336*22ebeae4Schristos _initialize_mi_cmd_env, 337*22ebeae4Schristos _initialize_mi_cmds, 338*22ebeae4Schristos _initialize_mi_interp, 339*22ebeae4Schristos _initialize_mi_main, 3404407f5a6Schristos _initialize_compile, 3414407f5a6Schristos _initialize_compile_cplus_types, 3424407f5a6Schristos }; 3434407f5a6Schristos 3444407f5a6Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 3454407f5a6Schristos order in which initialization functions are called. This is 3464407f5a6Schristos used by the testsuite. */ 3474407f5a6Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 3484407f5a6Schristos std::reverse (functions.begin (), functions.end ()); 3494407f5a6Schristos 3504407f5a6Schristos for (initialize_file_ftype *function : functions) 3514407f5a6Schristos function (); 352712cd4afSchristos } 353