1393045b2Srin /* 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 */ 3393045b2Srin /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4393045b2Srin 5393045b2Srin /* Do not modify this file. */ 6393045b2Srin /* It is created automatically by the Makefile. */ 7cb045e26Schristos #include <algorithm> 8cb045e26Schristos 9393045b2Srin extern initialize_file_ftype _initialize_aarch64_tdep; 10393045b2Srin extern initialize_file_ftype _initialize_ravenscar; 11393045b2Srin extern initialize_file_ftype _initialize_svr4_solib; 126ca1cfa8Srin extern initialize_file_ftype _initialize_aarch64_nbsd_tdep; 13393045b2Srin extern initialize_file_ftype _initialize_ser_hardwire; 14393045b2Srin extern initialize_file_ftype _initialize_ser_pipe; 15393045b2Srin extern initialize_file_ftype _initialize_ser_tcp; 16393045b2Srin extern initialize_file_ftype _initialize_ser_socket; 17393045b2Srin extern initialize_file_ftype _initialize_fork_child; 186ca1cfa8Srin extern initialize_file_ftype _initialize_aarch64_nbsd_nat; 19393045b2Srin extern initialize_file_ftype _initialize_tui; 20*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm; 21393045b2Srin extern initialize_file_ftype _initialize_tui_hooks; 22393045b2Srin extern initialize_file_ftype _initialize_tui_interp; 23393045b2Srin extern initialize_file_ftype _initialize_tui_layout; 24393045b2Srin extern initialize_file_ftype _initialize_tui_regs; 25393045b2Srin extern initialize_file_ftype _initialize_tui_stack; 26393045b2Srin extern initialize_file_ftype _initialize_tui_win; 27393045b2Srin extern initialize_file_ftype _initialize_python; 28393045b2Srin extern initialize_file_ftype _initialize_guile; 29393045b2Srin extern initialize_file_ftype _initialize_elfread; 30393045b2Srin extern initialize_file_ftype _initialize_stap_probe; 31393045b2Srin extern initialize_file_ftype _initialize_dtrace_probe; 32*22ebeae4Schristos extern initialize_file_ftype _initialize_cp_name_parser; 33393045b2Srin extern initialize_file_ftype _initialize_ada_language; 34393045b2Srin extern initialize_file_ftype _initialize_tasks; 35cb045e26Schristos extern initialize_file_ftype _initialize_addrmap; 36393045b2Srin extern initialize_file_ftype _initialize_agent; 37393045b2Srin extern initialize_file_ftype _initialize_annotate; 38393045b2Srin extern initialize_file_ftype _initialize_gdbarch_utils; 39393045b2Srin extern initialize_file_ftype _initialize_auto_load; 40393045b2Srin extern initialize_file_ftype _initialize_auxv; 41393045b2Srin extern initialize_file_ftype _initialize_ax_gdb; 42cb045e26Schristos extern initialize_file_ftype _initialize_break_catch_exec; 43cb045e26Schristos extern initialize_file_ftype _initialize_break_catch_fork; 44cb045e26Schristos extern initialize_file_ftype _initialize_break_catch_load; 45393045b2Srin extern initialize_file_ftype _initialize_break_catch_sig; 46393045b2Srin extern initialize_file_ftype _initialize_break_catch_syscall; 47393045b2Srin extern initialize_file_ftype _initialize_break_catch_throw; 48393045b2Srin extern initialize_file_ftype _initialize_breakpoint; 49393045b2Srin extern initialize_file_ftype _initialize_btrace; 50393045b2Srin extern initialize_file_ftype _initialize_charset; 51393045b2Srin extern initialize_file_ftype _initialize_coff_pe_read; 52393045b2Srin extern initialize_file_ftype _initialize_coffread; 53393045b2Srin extern initialize_file_ftype _initialize_complaints; 54393045b2Srin extern initialize_file_ftype _initialize_completer; 55393045b2Srin extern initialize_file_ftype _initialize_copying; 56393045b2Srin extern initialize_file_ftype _initialize_core; 57393045b2Srin extern initialize_file_ftype _initialize_corelow; 58393045b2Srin extern initialize_file_ftype _initialize_cp_abi; 59393045b2Srin extern initialize_file_ftype _initialize_cp_namespace; 60393045b2Srin extern initialize_file_ftype _initialize_cp_support; 61393045b2Srin extern initialize_file_ftype _initialize_cp_valprint; 62393045b2Srin extern initialize_file_ftype _initialize_dbxread; 63393045b2Srin extern initialize_file_ftype _initialize_dcache; 64cb045e26Schristos extern initialize_file_ftype _initialize_debuginfod; 65393045b2Srin extern initialize_file_ftype _initialize_disasm; 66cb045e26Schristos extern initialize_file_ftype _initialize_displaced_stepping; 67393045b2Srin extern initialize_file_ftype _initialize_dummy_frame; 68cb045e26Schristos extern initialize_file_ftype _initialize_cooked_index; 69393045b2Srin extern initialize_file_ftype _initialize_tailcall_frame; 70393045b2Srin extern initialize_file_ftype _initialize_dwarf2_frame; 71393045b2Srin extern initialize_file_ftype _initialize_index_cache; 72393045b2Srin extern initialize_file_ftype _initialize_dwarf_index_write; 73393045b2Srin extern initialize_file_ftype _initialize_dwarf2loc; 74393045b2Srin extern initialize_file_ftype _initialize_dwarf2_read; 75*22ebeae4Schristos extern initialize_file_ftype _initialize_read_gdb_index; 76*22ebeae4Schristos extern initialize_file_ftype _initialize_extract_store_integer; 77cb045e26Schristos extern initialize_file_ftype _initialize_event_top; 78393045b2Srin extern initialize_file_ftype _initialize_exec; 79393045b2Srin extern initialize_file_ftype _initialize_extension; 80393045b2Srin extern initialize_file_ftype _initialize_f_language; 81393045b2Srin extern initialize_file_ftype _initialize_f_valprint; 82393045b2Srin extern initialize_file_ftype _initialize_filesystem; 83393045b2Srin extern initialize_file_ftype _initialize_mem_search; 84393045b2Srin extern initialize_file_ftype _initialize_frame; 85*22ebeae4Schristos extern initialize_file_ftype _initialize_frame_unwind; 86393045b2Srin extern initialize_file_ftype _initialize_gcore; 87393045b2Srin extern initialize_file_ftype _initialize_gdb_demangle; 88393045b2Srin extern initialize_file_ftype _initialize_gdb_bfd; 89393045b2Srin extern initialize_file_ftype _initialize_gdbtypes; 90cb045e26Schristos extern initialize_file_ftype _initialize_gmp_utils; 91393045b2Srin extern initialize_file_ftype _initialize_gnu_v2_abi; 92393045b2Srin extern initialize_file_ftype _initialize_gnu_v3_abi; 93393045b2Srin extern initialize_file_ftype _initialize_infcall; 94393045b2Srin extern initialize_file_ftype _initialize_infcmd; 95393045b2Srin extern initialize_file_ftype _initialize_inflow; 96393045b2Srin extern initialize_file_ftype _initialize_infrun; 97393045b2Srin extern initialize_file_ftype _initialize_interpreter; 98393045b2Srin extern initialize_file_ftype _initialize_jit; 99393045b2Srin extern initialize_file_ftype _initialize_language; 100393045b2Srin extern initialize_file_ftype _initialize_macrocmd; 101393045b2Srin extern initialize_file_ftype _initialize_macroscope; 102393045b2Srin extern initialize_file_ftype _initialize_maint_cmds; 103393045b2Srin extern initialize_file_ftype _initialize_maint_test_options; 104393045b2Srin extern initialize_file_ftype _initialize_maint_test_settings; 105393045b2Srin extern initialize_file_ftype _initialize_mdebugread; 106393045b2Srin extern initialize_file_ftype _initialize_mem; 107393045b2Srin extern initialize_file_ftype _initialize_mipsread; 108393045b2Srin extern initialize_file_ftype _initialize_objc_language; 109393045b2Srin extern initialize_file_ftype _initialize_observer; 110393045b2Srin extern initialize_file_ftype _initialize_gdb_osabi; 111393045b2Srin extern initialize_file_ftype _initialize_osdata; 112393045b2Srin extern initialize_file_ftype _initialize_pascal_valprint; 113393045b2Srin extern initialize_file_ftype _initialize_parse; 114393045b2Srin extern initialize_file_ftype _initialize_printcmd; 115393045b2Srin extern initialize_file_ftype _initialize_probe; 116393045b2Srin extern initialize_file_ftype _initialize_producer; 117393045b2Srin extern initialize_file_ftype _initialize_psymtab; 118393045b2Srin extern initialize_file_ftype _initialize_record; 119393045b2Srin extern initialize_file_ftype _initialize_record_btrace; 120393045b2Srin extern initialize_file_ftype _initialize_record_full; 121393045b2Srin extern initialize_file_ftype _initialize_regcache; 122393045b2Srin extern initialize_file_ftype _initialize_regcache_dump; 123393045b2Srin extern initialize_file_ftype _initialize_reggroup; 124393045b2Srin extern initialize_file_ftype _initialize_remote; 125393045b2Srin extern initialize_file_ftype _initialize_notif; 126393045b2Srin extern initialize_file_ftype _initialize_reverse; 127393045b2Srin extern initialize_file_ftype _initialize_run_on_main_thread; 128cb045e26Schristos extern initialize_file_ftype _initialize_rust_exp; 129393045b2Srin extern initialize_file_ftype _initialize_serial; 130393045b2Srin extern initialize_file_ftype _initialize_step_skip; 131393045b2Srin extern initialize_file_ftype _initialize_solib; 132393045b2Srin extern initialize_file_ftype _initialize_source; 133393045b2Srin extern initialize_file_ftype _initialize_source_cache; 134393045b2Srin extern initialize_file_ftype _initialize_stabsread; 135393045b2Srin extern initialize_file_ftype _initialize_stack; 136393045b2Srin extern initialize_file_ftype _initialize_frame_reg; 137393045b2Srin extern initialize_file_ftype _initialize_symfile; 138393045b2Srin extern initialize_file_ftype _initialize_symfile_debug; 139393045b2Srin extern initialize_file_ftype _initialize_symmisc; 140393045b2Srin extern initialize_file_ftype _initialize_symtab; 141393045b2Srin extern initialize_file_ftype _initialize_target; 142393045b2Srin extern initialize_file_ftype _initialize_target_connection; 143393045b2Srin extern initialize_file_ftype _initialize_target_dcache; 144393045b2Srin extern initialize_file_ftype _initialize_target_descriptions; 145393045b2Srin extern initialize_file_ftype _initialize_thread; 146cb045e26Schristos extern initialize_file_ftype _initialize_top; 147393045b2Srin extern initialize_file_ftype _initialize_ctf; 148393045b2Srin extern initialize_file_ftype _initialize_tracefile; 149393045b2Srin extern initialize_file_ftype _initialize_tracefile_tfile; 150393045b2Srin extern initialize_file_ftype _initialize_tracepoint; 151393045b2Srin extern initialize_file_ftype _initialize_typeprint; 152*22ebeae4Schristos extern initialize_file_ftype _initialize_ui; 153393045b2Srin extern initialize_file_ftype _initialize_ui_style; 154393045b2Srin extern initialize_file_ftype _initialize_user_regs; 155393045b2Srin extern initialize_file_ftype _initialize_utils; 156393045b2Srin extern initialize_file_ftype _initialize_valops; 157393045b2Srin extern initialize_file_ftype _initialize_valprint; 158393045b2Srin extern initialize_file_ftype _initialize_values; 159393045b2Srin extern initialize_file_ftype _initialize_varobj; 160393045b2Srin extern initialize_file_ftype _initialize_xml_support; 161393045b2Srin extern initialize_file_ftype _initialize_cli_cmds; 162393045b2Srin extern initialize_file_ftype _initialize_cli_dump; 163393045b2Srin extern initialize_file_ftype _initialize_cli_interp; 164393045b2Srin extern initialize_file_ftype _initialize_cli_logging; 165393045b2Srin extern initialize_file_ftype _initialize_cli_script; 166393045b2Srin extern initialize_file_ftype _initialize_cli_style; 167*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 168*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmds; 169*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_interp; 170*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_main; 171393045b2Srin extern initialize_file_ftype _initialize_compile; 172393045b2Srin extern initialize_file_ftype _initialize_compile_cplus_types; 173cb045e26Schristos 174cb045e26Schristos void initialize_all_files (); 175393045b2Srin void 176cb045e26Schristos initialize_all_files () 177393045b2Srin { 178cb045e26Schristos std::vector<initialize_file_ftype *> functions = 179cb045e26Schristos { 180cb045e26Schristos _initialize_aarch64_tdep, 181cb045e26Schristos _initialize_ravenscar, 182cb045e26Schristos _initialize_svr4_solib, 1836ca1cfa8Srin _initialize_aarch64_nbsd_tdep, 184cb045e26Schristos _initialize_ser_hardwire, 185cb045e26Schristos _initialize_ser_pipe, 186cb045e26Schristos _initialize_ser_tcp, 187cb045e26Schristos _initialize_ser_socket, 188cb045e26Schristos _initialize_fork_child, 1896ca1cfa8Srin _initialize_aarch64_nbsd_nat, 190cb045e26Schristos _initialize_tui, 191*22ebeae4Schristos _initialize_tui_disasm, 192cb045e26Schristos _initialize_tui_hooks, 193cb045e26Schristos _initialize_tui_interp, 194cb045e26Schristos _initialize_tui_layout, 195cb045e26Schristos _initialize_tui_regs, 196cb045e26Schristos _initialize_tui_stack, 197cb045e26Schristos _initialize_tui_win, 198cb045e26Schristos _initialize_python, 199cb045e26Schristos _initialize_guile, 200cb045e26Schristos _initialize_elfread, 201cb045e26Schristos _initialize_stap_probe, 202cb045e26Schristos _initialize_dtrace_probe, 203*22ebeae4Schristos _initialize_cp_name_parser, 204cb045e26Schristos _initialize_ada_language, 205cb045e26Schristos _initialize_tasks, 206cb045e26Schristos _initialize_addrmap, 207cb045e26Schristos _initialize_agent, 208cb045e26Schristos _initialize_annotate, 209cb045e26Schristos _initialize_gdbarch_utils, 210cb045e26Schristos _initialize_auto_load, 211cb045e26Schristos _initialize_auxv, 212cb045e26Schristos _initialize_ax_gdb, 213cb045e26Schristos _initialize_break_catch_exec, 214cb045e26Schristos _initialize_break_catch_fork, 215cb045e26Schristos _initialize_break_catch_load, 216cb045e26Schristos _initialize_break_catch_sig, 217cb045e26Schristos _initialize_break_catch_syscall, 218cb045e26Schristos _initialize_break_catch_throw, 219cb045e26Schristos _initialize_breakpoint, 220cb045e26Schristos _initialize_btrace, 221cb045e26Schristos _initialize_charset, 222cb045e26Schristos _initialize_coff_pe_read, 223cb045e26Schristos _initialize_coffread, 224cb045e26Schristos _initialize_complaints, 225cb045e26Schristos _initialize_completer, 226cb045e26Schristos _initialize_copying, 227cb045e26Schristos _initialize_core, 228cb045e26Schristos _initialize_corelow, 229cb045e26Schristos _initialize_cp_abi, 230cb045e26Schristos _initialize_cp_namespace, 231cb045e26Schristos _initialize_cp_support, 232cb045e26Schristos _initialize_cp_valprint, 233cb045e26Schristos _initialize_dbxread, 234cb045e26Schristos _initialize_dcache, 235cb045e26Schristos _initialize_debuginfod, 236cb045e26Schristos _initialize_disasm, 237cb045e26Schristos _initialize_displaced_stepping, 238cb045e26Schristos _initialize_dummy_frame, 239cb045e26Schristos _initialize_cooked_index, 240cb045e26Schristos _initialize_tailcall_frame, 241cb045e26Schristos _initialize_dwarf2_frame, 242cb045e26Schristos _initialize_index_cache, 243cb045e26Schristos _initialize_dwarf_index_write, 244cb045e26Schristos _initialize_dwarf2loc, 245cb045e26Schristos _initialize_dwarf2_read, 246*22ebeae4Schristos _initialize_read_gdb_index, 247*22ebeae4Schristos _initialize_extract_store_integer, 248cb045e26Schristos _initialize_event_top, 249cb045e26Schristos _initialize_exec, 250cb045e26Schristos _initialize_extension, 251cb045e26Schristos _initialize_f_language, 252cb045e26Schristos _initialize_f_valprint, 253cb045e26Schristos _initialize_filesystem, 254cb045e26Schristos _initialize_mem_search, 255cb045e26Schristos _initialize_frame, 256*22ebeae4Schristos _initialize_frame_unwind, 257cb045e26Schristos _initialize_gcore, 258cb045e26Schristos _initialize_gdb_demangle, 259cb045e26Schristos _initialize_gdb_bfd, 260cb045e26Schristos _initialize_gdbtypes, 261cb045e26Schristos _initialize_gmp_utils, 262cb045e26Schristos _initialize_gnu_v2_abi, 263cb045e26Schristos _initialize_gnu_v3_abi, 264cb045e26Schristos _initialize_infcall, 265cb045e26Schristos _initialize_infcmd, 266cb045e26Schristos _initialize_inflow, 267cb045e26Schristos _initialize_infrun, 268cb045e26Schristos _initialize_interpreter, 269cb045e26Schristos _initialize_jit, 270cb045e26Schristos _initialize_language, 271cb045e26Schristos _initialize_macrocmd, 272cb045e26Schristos _initialize_macroscope, 273cb045e26Schristos _initialize_maint_cmds, 274cb045e26Schristos _initialize_maint_test_options, 275cb045e26Schristos _initialize_maint_test_settings, 276cb045e26Schristos _initialize_mdebugread, 277cb045e26Schristos _initialize_mem, 278cb045e26Schristos _initialize_mipsread, 279cb045e26Schristos _initialize_objc_language, 280cb045e26Schristos _initialize_observer, 281cb045e26Schristos _initialize_gdb_osabi, 282cb045e26Schristos _initialize_osdata, 283cb045e26Schristos _initialize_pascal_valprint, 284cb045e26Schristos _initialize_parse, 285cb045e26Schristos _initialize_printcmd, 286cb045e26Schristos _initialize_probe, 287cb045e26Schristos _initialize_producer, 288cb045e26Schristos _initialize_psymtab, 289cb045e26Schristos _initialize_record, 290cb045e26Schristos _initialize_record_btrace, 291cb045e26Schristos _initialize_record_full, 292cb045e26Schristos _initialize_regcache, 293cb045e26Schristos _initialize_regcache_dump, 294cb045e26Schristos _initialize_reggroup, 295cb045e26Schristos _initialize_remote, 296cb045e26Schristos _initialize_notif, 297cb045e26Schristos _initialize_reverse, 298cb045e26Schristos _initialize_run_on_main_thread, 299cb045e26Schristos _initialize_rust_exp, 300cb045e26Schristos _initialize_serial, 301cb045e26Schristos _initialize_step_skip, 302cb045e26Schristos _initialize_solib, 303cb045e26Schristos _initialize_source, 304cb045e26Schristos _initialize_source_cache, 305cb045e26Schristos _initialize_stabsread, 306cb045e26Schristos _initialize_stack, 307cb045e26Schristos _initialize_frame_reg, 308cb045e26Schristos _initialize_symfile, 309cb045e26Schristos _initialize_symfile_debug, 310cb045e26Schristos _initialize_symmisc, 311cb045e26Schristos _initialize_symtab, 312cb045e26Schristos _initialize_target, 313cb045e26Schristos _initialize_target_connection, 314cb045e26Schristos _initialize_target_dcache, 315cb045e26Schristos _initialize_target_descriptions, 316cb045e26Schristos _initialize_thread, 317cb045e26Schristos _initialize_top, 318cb045e26Schristos _initialize_ctf, 319cb045e26Schristos _initialize_tracefile, 320cb045e26Schristos _initialize_tracefile_tfile, 321cb045e26Schristos _initialize_tracepoint, 322cb045e26Schristos _initialize_typeprint, 323*22ebeae4Schristos _initialize_ui, 324cb045e26Schristos _initialize_ui_style, 325cb045e26Schristos _initialize_user_regs, 326cb045e26Schristos _initialize_utils, 327cb045e26Schristos _initialize_valops, 328cb045e26Schristos _initialize_valprint, 329cb045e26Schristos _initialize_values, 330cb045e26Schristos _initialize_varobj, 331cb045e26Schristos _initialize_xml_support, 332cb045e26Schristos _initialize_cli_cmds, 333cb045e26Schristos _initialize_cli_dump, 334cb045e26Schristos _initialize_cli_interp, 335cb045e26Schristos _initialize_cli_logging, 336cb045e26Schristos _initialize_cli_script, 337cb045e26Schristos _initialize_cli_style, 338*22ebeae4Schristos _initialize_mi_cmd_env, 339*22ebeae4Schristos _initialize_mi_cmds, 340*22ebeae4Schristos _initialize_mi_interp, 341*22ebeae4Schristos _initialize_mi_main, 342cb045e26Schristos _initialize_compile, 343cb045e26Schristos _initialize_compile_cplus_types, 344cb045e26Schristos }; 345cb045e26Schristos 346cb045e26Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 347cb045e26Schristos order in which initialization functions are called. This is 348cb045e26Schristos used by the testsuite. */ 349cb045e26Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 350cb045e26Schristos std::reverse (functions.begin (), functions.end ()); 351cb045e26Schristos 352cb045e26Schristos for (initialize_file_ftype *function : functions) 353cb045e26Schristos function (); 354393045b2Srin } 355