1cdaa6f2fSchristos /* 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 */ 35afd6272Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4cdaa6f2fSchristos 5cdaa6f2fSchristos /* Do not modify this file. */ 6cdaa6f2fSchristos /* It is created automatically by the Makefile. */ 7f187d37aSchristos #include <algorithm> 8f187d37aSchristos 95afd6272Schristos extern initialize_file_ftype _initialize_svr4_solib; 10cdaa6f2fSchristos extern initialize_file_ftype _initialize_mips_tdep; 11cdaa6f2fSchristos extern initialize_file_ftype _initialize_mipsnbsd_tdep; 12cdaa6f2fSchristos extern initialize_file_ftype _initialize_ser_hardwire; 13cdaa6f2fSchristos extern initialize_file_ftype _initialize_ser_pipe; 14cdaa6f2fSchristos extern initialize_file_ftype _initialize_ser_tcp; 155afd6272Schristos extern initialize_file_ftype _initialize_ser_socket; 16f5a9565aSchristos extern initialize_file_ftype _initialize_fork_child; 17f5a9565aSchristos extern initialize_file_ftype _initialize_mipsnbsd_nat; 185900762bSrin extern initialize_file_ftype _initialize_tui; 19*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm; 205900762bSrin extern initialize_file_ftype _initialize_tui_hooks; 215900762bSrin extern initialize_file_ftype _initialize_tui_interp; 225900762bSrin extern initialize_file_ftype _initialize_tui_layout; 235900762bSrin extern initialize_file_ftype _initialize_tui_regs; 245900762bSrin extern initialize_file_ftype _initialize_tui_stack; 255900762bSrin extern initialize_file_ftype _initialize_tui_win; 265afd6272Schristos extern initialize_file_ftype _initialize_python; 275afd6272Schristos extern initialize_file_ftype _initialize_guile; 28cdaa6f2fSchristos extern initialize_file_ftype _initialize_elfread; 29cf5b6461Smrg 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; 34f187d37aSchristos 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; 38cf5b6461Smrg extern initialize_file_ftype _initialize_auto_load; 39cdaa6f2fSchristos extern initialize_file_ftype _initialize_auxv; 405afd6272Schristos extern initialize_file_ftype _initialize_ax_gdb; 41f187d37aSchristos extern initialize_file_ftype _initialize_break_catch_exec; 42f187d37aSchristos extern initialize_file_ftype _initialize_break_catch_fork; 43f187d37aSchristos extern initialize_file_ftype _initialize_break_catch_load; 44cf5b6461Smrg 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; 49cdaa6f2fSchristos 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; 56cf5b6461Smrg 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; 625afd6272Schristos extern initialize_file_ftype _initialize_dcache; 63f187d37aSchristos extern initialize_file_ftype _initialize_debuginfod; 648b7331e5Schristos extern initialize_file_ftype _initialize_disasm; 65f187d37aSchristos extern initialize_file_ftype _initialize_displaced_stepping; 66cdaa6f2fSchristos extern initialize_file_ftype _initialize_dummy_frame; 67f187d37aSchristos extern initialize_file_ftype _initialize_cooked_index; 684d342c04Schristos extern initialize_file_ftype _initialize_tailcall_frame; 694d342c04Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 705afd6272Schristos extern initialize_file_ftype _initialize_index_cache; 715afd6272Schristos 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; 76f187d37aSchristos 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; 885afd6272Schristos extern initialize_file_ftype _initialize_gdbtypes; 89f187d37aSchristos 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; 92cdaa6f2fSchristos extern initialize_file_ftype _initialize_infcall; 93cdaa6f2fSchristos extern initialize_file_ftype _initialize_infcmd; 945afd6272Schristos extern initialize_file_ftype _initialize_inflow; 95cdaa6f2fSchristos extern initialize_file_ftype _initialize_infrun; 96cdaa6f2fSchristos extern initialize_file_ftype _initialize_interpreter; 978b7331e5Schristos extern initialize_file_ftype _initialize_jit; 988b7331e5Schristos extern initialize_file_ftype _initialize_language; 99cdaa6f2fSchristos extern initialize_file_ftype _initialize_macrocmd; 100cdaa6f2fSchristos extern initialize_file_ftype _initialize_macroscope; 101cdaa6f2fSchristos 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; 106cdaa6f2fSchristos extern initialize_file_ftype _initialize_mipsread; 107cdaa6f2fSchristos 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; 111cdaa6f2fSchristos 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; 1155afd6272Schristos 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; 1215afd6272Schristos extern initialize_file_ftype _initialize_regcache_dump; 122cdaa6f2fSchristos extern initialize_file_ftype _initialize_reggroup; 1235afd6272Schristos extern initialize_file_ftype _initialize_remote; 1245afd6272Schristos extern initialize_file_ftype _initialize_notif; 1258b7331e5Schristos extern initialize_file_ftype _initialize_reverse; 1264d342c04Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 127f187d37aSchristos extern initialize_file_ftype _initialize_rust_exp; 1288b7331e5Schristos extern initialize_file_ftype _initialize_serial; 1298b7331e5Schristos extern initialize_file_ftype _initialize_step_skip; 130cf5b6461Smrg 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; 143cdaa6f2fSchristos extern initialize_file_ftype _initialize_target_descriptions; 1448b7331e5Schristos extern initialize_file_ftype _initialize_thread; 145f187d37aSchristos extern initialize_file_ftype _initialize_top; 1464d342c04Schristos extern initialize_file_ftype _initialize_ctf; 1475afd6272Schristos extern initialize_file_ftype _initialize_tracefile; 1485afd6272Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 1495afd6272Schristos extern initialize_file_ftype _initialize_tracepoint; 1508b7331e5Schristos extern initialize_file_ftype _initialize_typeprint; 151*22ebeae4Schristos extern initialize_file_ftype _initialize_ui; 1525afd6272Schristos 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; 160cf5b6461Smrg extern initialize_file_ftype _initialize_cli_cmds; 1618b7331e5Schristos extern initialize_file_ftype _initialize_cli_dump; 162cdaa6f2fSchristos extern initialize_file_ftype _initialize_cli_interp; 1638b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging; 1648b7331e5Schristos extern initialize_file_ftype _initialize_cli_script; 1655afd6272Schristos 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; 1715afd6272Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 172f187d37aSchristos 173f187d37aSchristos void initialize_all_files (); 174cdaa6f2fSchristos void 175f187d37aSchristos initialize_all_files () 176cdaa6f2fSchristos { 177f187d37aSchristos std::vector<initialize_file_ftype *> functions = 178f187d37aSchristos { 179f187d37aSchristos _initialize_svr4_solib, 180f187d37aSchristos _initialize_mips_tdep, 181f187d37aSchristos _initialize_mipsnbsd_tdep, 182f187d37aSchristos _initialize_ser_hardwire, 183f187d37aSchristos _initialize_ser_pipe, 184f187d37aSchristos _initialize_ser_tcp, 185f187d37aSchristos _initialize_ser_socket, 186f5a9565aSchristos _initialize_fork_child, 187f5a9565aSchristos _initialize_mipsnbsd_nat, 188f187d37aSchristos _initialize_tui, 189*22ebeae4Schristos _initialize_tui_disasm, 190f187d37aSchristos _initialize_tui_hooks, 191f187d37aSchristos _initialize_tui_interp, 192f187d37aSchristos _initialize_tui_layout, 193f187d37aSchristos _initialize_tui_regs, 194f187d37aSchristos _initialize_tui_stack, 195f187d37aSchristos _initialize_tui_win, 196f187d37aSchristos _initialize_python, 197f187d37aSchristos _initialize_guile, 198f187d37aSchristos _initialize_elfread, 199f187d37aSchristos _initialize_stap_probe, 200f187d37aSchristos _initialize_dtrace_probe, 201*22ebeae4Schristos _initialize_cp_name_parser, 202f187d37aSchristos _initialize_ada_language, 203f187d37aSchristos _initialize_tasks, 204f187d37aSchristos _initialize_addrmap, 205f187d37aSchristos _initialize_agent, 206f187d37aSchristos _initialize_annotate, 207f187d37aSchristos _initialize_gdbarch_utils, 208f187d37aSchristos _initialize_auto_load, 209f187d37aSchristos _initialize_auxv, 210f187d37aSchristos _initialize_ax_gdb, 211f187d37aSchristos _initialize_break_catch_exec, 212f187d37aSchristos _initialize_break_catch_fork, 213f187d37aSchristos _initialize_break_catch_load, 214f187d37aSchristos _initialize_break_catch_sig, 215f187d37aSchristos _initialize_break_catch_syscall, 216f187d37aSchristos _initialize_break_catch_throw, 217f187d37aSchristos _initialize_breakpoint, 218f187d37aSchristos _initialize_btrace, 219f187d37aSchristos _initialize_charset, 220f187d37aSchristos _initialize_coff_pe_read, 221f187d37aSchristos _initialize_coffread, 222f187d37aSchristos _initialize_complaints, 223f187d37aSchristos _initialize_completer, 224f187d37aSchristos _initialize_copying, 225f187d37aSchristos _initialize_core, 226f187d37aSchristos _initialize_corelow, 227f187d37aSchristos _initialize_cp_abi, 228f187d37aSchristos _initialize_cp_namespace, 229f187d37aSchristos _initialize_cp_support, 230f187d37aSchristos _initialize_cp_valprint, 231f187d37aSchristos _initialize_dbxread, 232f187d37aSchristos _initialize_dcache, 233f187d37aSchristos _initialize_debuginfod, 234f187d37aSchristos _initialize_disasm, 235f187d37aSchristos _initialize_displaced_stepping, 236f187d37aSchristos _initialize_dummy_frame, 237f187d37aSchristos _initialize_cooked_index, 238f187d37aSchristos _initialize_tailcall_frame, 239f187d37aSchristos _initialize_dwarf2_frame, 240f187d37aSchristos _initialize_index_cache, 241f187d37aSchristos _initialize_dwarf_index_write, 242f187d37aSchristos _initialize_dwarf2loc, 243f187d37aSchristos _initialize_dwarf2_read, 244*22ebeae4Schristos _initialize_read_gdb_index, 245*22ebeae4Schristos _initialize_extract_store_integer, 246f187d37aSchristos _initialize_event_top, 247f187d37aSchristos _initialize_exec, 248f187d37aSchristos _initialize_extension, 249f187d37aSchristos _initialize_f_language, 250f187d37aSchristos _initialize_f_valprint, 251f187d37aSchristos _initialize_filesystem, 252f187d37aSchristos _initialize_mem_search, 253f187d37aSchristos _initialize_frame, 254*22ebeae4Schristos _initialize_frame_unwind, 255f187d37aSchristos _initialize_gcore, 256f187d37aSchristos _initialize_gdb_demangle, 257f187d37aSchristos _initialize_gdb_bfd, 258f187d37aSchristos _initialize_gdbtypes, 259f187d37aSchristos _initialize_gmp_utils, 260f187d37aSchristos _initialize_gnu_v2_abi, 261f187d37aSchristos _initialize_gnu_v3_abi, 262f187d37aSchristos _initialize_infcall, 263f187d37aSchristos _initialize_infcmd, 264f187d37aSchristos _initialize_inflow, 265f187d37aSchristos _initialize_infrun, 266f187d37aSchristos _initialize_interpreter, 267f187d37aSchristos _initialize_jit, 268f187d37aSchristos _initialize_language, 269f187d37aSchristos _initialize_macrocmd, 270f187d37aSchristos _initialize_macroscope, 271f187d37aSchristos _initialize_maint_cmds, 272f187d37aSchristos _initialize_maint_test_options, 273f187d37aSchristos _initialize_maint_test_settings, 274f187d37aSchristos _initialize_mdebugread, 275f187d37aSchristos _initialize_mem, 276f187d37aSchristos _initialize_mipsread, 277f187d37aSchristos _initialize_objc_language, 278f187d37aSchristos _initialize_observer, 279f187d37aSchristos _initialize_gdb_osabi, 280f187d37aSchristos _initialize_osdata, 281f187d37aSchristos _initialize_pascal_valprint, 282f187d37aSchristos _initialize_parse, 283f187d37aSchristos _initialize_printcmd, 284f187d37aSchristos _initialize_probe, 285f187d37aSchristos _initialize_producer, 286f187d37aSchristos _initialize_psymtab, 287f187d37aSchristos _initialize_record, 288f187d37aSchristos _initialize_record_btrace, 289f187d37aSchristos _initialize_record_full, 290f187d37aSchristos _initialize_regcache, 291f187d37aSchristos _initialize_regcache_dump, 292f187d37aSchristos _initialize_reggroup, 293f187d37aSchristos _initialize_remote, 294f187d37aSchristos _initialize_notif, 295f187d37aSchristos _initialize_reverse, 296f187d37aSchristos _initialize_run_on_main_thread, 297f187d37aSchristos _initialize_rust_exp, 298f187d37aSchristos _initialize_serial, 299f187d37aSchristos _initialize_step_skip, 300f187d37aSchristos _initialize_solib, 301f187d37aSchristos _initialize_source, 302f187d37aSchristos _initialize_source_cache, 303f187d37aSchristos _initialize_stabsread, 304f187d37aSchristos _initialize_stack, 305f187d37aSchristos _initialize_frame_reg, 306f187d37aSchristos _initialize_symfile, 307f187d37aSchristos _initialize_symfile_debug, 308f187d37aSchristos _initialize_symmisc, 309f187d37aSchristos _initialize_symtab, 310f187d37aSchristos _initialize_target, 311f187d37aSchristos _initialize_target_connection, 312f187d37aSchristos _initialize_target_dcache, 313f187d37aSchristos _initialize_target_descriptions, 314f187d37aSchristos _initialize_thread, 315f187d37aSchristos _initialize_top, 316f187d37aSchristos _initialize_ctf, 317f187d37aSchristos _initialize_tracefile, 318f187d37aSchristos _initialize_tracefile_tfile, 319f187d37aSchristos _initialize_tracepoint, 320f187d37aSchristos _initialize_typeprint, 321*22ebeae4Schristos _initialize_ui, 322f187d37aSchristos _initialize_ui_style, 323f187d37aSchristos _initialize_user_regs, 324f187d37aSchristos _initialize_utils, 325f187d37aSchristos _initialize_valops, 326f187d37aSchristos _initialize_valprint, 327f187d37aSchristos _initialize_values, 328f187d37aSchristos _initialize_varobj, 329f187d37aSchristos _initialize_xml_support, 330f187d37aSchristos _initialize_cli_cmds, 331f187d37aSchristos _initialize_cli_dump, 332f187d37aSchristos _initialize_cli_interp, 333f187d37aSchristos _initialize_cli_logging, 334f187d37aSchristos _initialize_cli_script, 335f187d37aSchristos _initialize_cli_style, 336*22ebeae4Schristos _initialize_mi_cmd_env, 337*22ebeae4Schristos _initialize_mi_cmds, 338*22ebeae4Schristos _initialize_mi_interp, 339*22ebeae4Schristos _initialize_mi_main, 340f187d37aSchristos _initialize_compile, 341f187d37aSchristos _initialize_compile_cplus_types, 342f187d37aSchristos }; 343f187d37aSchristos 344f187d37aSchristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 345f187d37aSchristos order in which initialization functions are called. This is 346f187d37aSchristos used by the testsuite. */ 347f187d37aSchristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 348f187d37aSchristos std::reverse (functions.begin (), functions.end ()); 349f187d37aSchristos 350f187d37aSchristos for (initialize_file_ftype *function : functions) 351f187d37aSchristos function (); 352cdaa6f2fSchristos } 353