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