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 */ 38d9c9161Schristos /* 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. */ 7865c57e0Schristos #include <algorithm> 8865c57e0Schristos 98d9c9161Schristos extern initialize_file_ftype _initialize_svr4_solib; 108d9c9161Schristos extern initialize_file_ftype _initialize_sparc64_adi_tdep; 11fdf8f3b1Schristos extern initialize_file_ftype _initialize_sparc64nbsd_tdep; 12fdf8f3b1Schristos extern initialize_file_ftype _initialize_sparc_tdep; 13fdf8f3b1Schristos extern initialize_file_ftype _initialize_sparcnbsd_tdep; 1434f40950Schristos extern initialize_file_ftype _initialize_ravenscar; 15fdf8f3b1Schristos extern initialize_file_ftype _initialize_ser_hardwire; 16fdf8f3b1Schristos extern initialize_file_ftype _initialize_ser_pipe; 17fdf8f3b1Schristos extern initialize_file_ftype _initialize_ser_tcp; 188d9c9161Schristos extern initialize_file_ftype _initialize_ser_socket; 19fdf8f3b1Schristos extern initialize_file_ftype _initialize_fork_child; 20fdf8f3b1Schristos extern initialize_file_ftype _initialize_sparc64nbsd_nat; 21fdf8f3b1Schristos extern initialize_file_ftype _initialize_sparc_nat; 225900762bSrin extern initialize_file_ftype _initialize_tui; 23*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm; 245900762bSrin extern initialize_file_ftype _initialize_tui_hooks; 255900762bSrin extern initialize_file_ftype _initialize_tui_interp; 265900762bSrin extern initialize_file_ftype _initialize_tui_layout; 275900762bSrin extern initialize_file_ftype _initialize_tui_regs; 285900762bSrin extern initialize_file_ftype _initialize_tui_stack; 295900762bSrin extern initialize_file_ftype _initialize_tui_win; 308d9c9161Schristos extern initialize_file_ftype _initialize_python; 318d9c9161Schristos extern initialize_file_ftype _initialize_guile; 32fdf8f3b1Schristos extern initialize_file_ftype _initialize_elfread; 3334f40950Schristos extern initialize_file_ftype _initialize_stap_probe; 34822f2954Schristos extern initialize_file_ftype _initialize_dtrace_probe; 35*22ebeae4Schristos extern initialize_file_ftype _initialize_cp_name_parser; 368b7331e5Schristos extern initialize_file_ftype _initialize_ada_language; 378b7331e5Schristos extern initialize_file_ftype _initialize_tasks; 38865c57e0Schristos extern initialize_file_ftype _initialize_addrmap; 398b7331e5Schristos extern initialize_file_ftype _initialize_agent; 408b7331e5Schristos extern initialize_file_ftype _initialize_annotate; 418b7331e5Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 4234f40950Schristos extern initialize_file_ftype _initialize_auto_load; 43fdf8f3b1Schristos extern initialize_file_ftype _initialize_auxv; 448d9c9161Schristos extern initialize_file_ftype _initialize_ax_gdb; 45865c57e0Schristos extern initialize_file_ftype _initialize_break_catch_exec; 46865c57e0Schristos extern initialize_file_ftype _initialize_break_catch_fork; 47865c57e0Schristos extern initialize_file_ftype _initialize_break_catch_load; 4834f40950Schristos extern initialize_file_ftype _initialize_break_catch_sig; 49822f2954Schristos extern initialize_file_ftype _initialize_break_catch_syscall; 508b7331e5Schristos extern initialize_file_ftype _initialize_break_catch_throw; 518b7331e5Schristos extern initialize_file_ftype _initialize_breakpoint; 528b7331e5Schristos extern initialize_file_ftype _initialize_btrace; 53fdf8f3b1Schristos extern initialize_file_ftype _initialize_charset; 548b7331e5Schristos extern initialize_file_ftype _initialize_coff_pe_read; 558b7331e5Schristos extern initialize_file_ftype _initialize_coffread; 568b7331e5Schristos extern initialize_file_ftype _initialize_complaints; 578b7331e5Schristos extern initialize_file_ftype _initialize_completer; 588b7331e5Schristos extern initialize_file_ftype _initialize_copying; 598b7331e5Schristos extern initialize_file_ftype _initialize_core; 6034f40950Schristos extern initialize_file_ftype _initialize_corelow; 618b7331e5Schristos extern initialize_file_ftype _initialize_cp_abi; 628b7331e5Schristos extern initialize_file_ftype _initialize_cp_namespace; 638b7331e5Schristos extern initialize_file_ftype _initialize_cp_support; 648b7331e5Schristos extern initialize_file_ftype _initialize_cp_valprint; 658b7331e5Schristos extern initialize_file_ftype _initialize_dbxread; 668d9c9161Schristos extern initialize_file_ftype _initialize_dcache; 67865c57e0Schristos extern initialize_file_ftype _initialize_debuginfod; 688b7331e5Schristos extern initialize_file_ftype _initialize_disasm; 69865c57e0Schristos extern initialize_file_ftype _initialize_displaced_stepping; 70fdf8f3b1Schristos extern initialize_file_ftype _initialize_dummy_frame; 71865c57e0Schristos extern initialize_file_ftype _initialize_cooked_index; 724d342c04Schristos extern initialize_file_ftype _initialize_tailcall_frame; 734d342c04Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 748d9c9161Schristos extern initialize_file_ftype _initialize_index_cache; 758d9c9161Schristos extern initialize_file_ftype _initialize_dwarf_index_write; 768b7331e5Schristos extern initialize_file_ftype _initialize_dwarf2loc; 778b7331e5Schristos extern initialize_file_ftype _initialize_dwarf2_read; 78*22ebeae4Schristos extern initialize_file_ftype _initialize_read_gdb_index; 79*22ebeae4Schristos extern initialize_file_ftype _initialize_extract_store_integer; 80865c57e0Schristos extern initialize_file_ftype _initialize_event_top; 818b7331e5Schristos extern initialize_file_ftype _initialize_exec; 828b7331e5Schristos extern initialize_file_ftype _initialize_extension; 838b7331e5Schristos extern initialize_file_ftype _initialize_f_language; 848b7331e5Schristos extern initialize_file_ftype _initialize_f_valprint; 858b7331e5Schristos extern initialize_file_ftype _initialize_filesystem; 868b7331e5Schristos extern initialize_file_ftype _initialize_mem_search; 878b7331e5Schristos extern initialize_file_ftype _initialize_frame; 88*22ebeae4Schristos extern initialize_file_ftype _initialize_frame_unwind; 898b7331e5Schristos extern initialize_file_ftype _initialize_gcore; 904d342c04Schristos extern initialize_file_ftype _initialize_gdb_demangle; 918b7331e5Schristos extern initialize_file_ftype _initialize_gdb_bfd; 928d9c9161Schristos extern initialize_file_ftype _initialize_gdbtypes; 93865c57e0Schristos extern initialize_file_ftype _initialize_gmp_utils; 948b7331e5Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 958b7331e5Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 96fdf8f3b1Schristos extern initialize_file_ftype _initialize_infcall; 97fdf8f3b1Schristos extern initialize_file_ftype _initialize_infcmd; 988d9c9161Schristos extern initialize_file_ftype _initialize_inflow; 99fdf8f3b1Schristos extern initialize_file_ftype _initialize_infrun; 100fdf8f3b1Schristos extern initialize_file_ftype _initialize_interpreter; 1018b7331e5Schristos extern initialize_file_ftype _initialize_jit; 1028b7331e5Schristos extern initialize_file_ftype _initialize_language; 103fdf8f3b1Schristos extern initialize_file_ftype _initialize_macrocmd; 104fdf8f3b1Schristos extern initialize_file_ftype _initialize_macroscope; 105fdf8f3b1Schristos extern initialize_file_ftype _initialize_maint_cmds; 1064d342c04Schristos extern initialize_file_ftype _initialize_maint_test_options; 1074d342c04Schristos extern initialize_file_ftype _initialize_maint_test_settings; 1088b7331e5Schristos extern initialize_file_ftype _initialize_mdebugread; 1098b7331e5Schristos extern initialize_file_ftype _initialize_mem; 110fdf8f3b1Schristos extern initialize_file_ftype _initialize_mipsread; 111fdf8f3b1Schristos extern initialize_file_ftype _initialize_objc_language; 1128b7331e5Schristos extern initialize_file_ftype _initialize_observer; 1138b7331e5Schristos extern initialize_file_ftype _initialize_gdb_osabi; 1148b7331e5Schristos extern initialize_file_ftype _initialize_osdata; 115fdf8f3b1Schristos extern initialize_file_ftype _initialize_pascal_valprint; 1168b7331e5Schristos extern initialize_file_ftype _initialize_parse; 1178b7331e5Schristos extern initialize_file_ftype _initialize_printcmd; 1188b7331e5Schristos extern initialize_file_ftype _initialize_probe; 1198d9c9161Schristos extern initialize_file_ftype _initialize_producer; 1208b7331e5Schristos extern initialize_file_ftype _initialize_psymtab; 1218b7331e5Schristos extern initialize_file_ftype _initialize_record; 1228b7331e5Schristos extern initialize_file_ftype _initialize_record_btrace; 1238b7331e5Schristos extern initialize_file_ftype _initialize_record_full; 1248b7331e5Schristos extern initialize_file_ftype _initialize_regcache; 1258d9c9161Schristos extern initialize_file_ftype _initialize_regcache_dump; 126fdf8f3b1Schristos extern initialize_file_ftype _initialize_reggroup; 1278d9c9161Schristos extern initialize_file_ftype _initialize_remote; 1288d9c9161Schristos extern initialize_file_ftype _initialize_notif; 1298b7331e5Schristos extern initialize_file_ftype _initialize_reverse; 1304d342c04Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 131865c57e0Schristos extern initialize_file_ftype _initialize_rust_exp; 1328b7331e5Schristos extern initialize_file_ftype _initialize_serial; 1338b7331e5Schristos extern initialize_file_ftype _initialize_step_skip; 13434f40950Schristos extern initialize_file_ftype _initialize_solib; 1358b7331e5Schristos extern initialize_file_ftype _initialize_source; 1364d342c04Schristos extern initialize_file_ftype _initialize_source_cache; 1378b7331e5Schristos extern initialize_file_ftype _initialize_stabsread; 1388b7331e5Schristos extern initialize_file_ftype _initialize_stack; 1398b7331e5Schristos extern initialize_file_ftype _initialize_frame_reg; 1408b7331e5Schristos extern initialize_file_ftype _initialize_symfile; 1418b7331e5Schristos extern initialize_file_ftype _initialize_symfile_debug; 1428b7331e5Schristos extern initialize_file_ftype _initialize_symmisc; 1438b7331e5Schristos extern initialize_file_ftype _initialize_symtab; 1444d342c04Schristos extern initialize_file_ftype _initialize_target; 1454d342c04Schristos extern initialize_file_ftype _initialize_target_connection; 1468b7331e5Schristos extern initialize_file_ftype _initialize_target_dcache; 147fdf8f3b1Schristos extern initialize_file_ftype _initialize_target_descriptions; 1488b7331e5Schristos extern initialize_file_ftype _initialize_thread; 149865c57e0Schristos extern initialize_file_ftype _initialize_top; 1504d342c04Schristos extern initialize_file_ftype _initialize_ctf; 1518d9c9161Schristos extern initialize_file_ftype _initialize_tracefile; 1528d9c9161Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 1538d9c9161Schristos extern initialize_file_ftype _initialize_tracepoint; 1548b7331e5Schristos extern initialize_file_ftype _initialize_typeprint; 155*22ebeae4Schristos extern initialize_file_ftype _initialize_ui; 1568d9c9161Schristos extern initialize_file_ftype _initialize_ui_style; 1578b7331e5Schristos extern initialize_file_ftype _initialize_user_regs; 1588b7331e5Schristos extern initialize_file_ftype _initialize_utils; 1598b7331e5Schristos extern initialize_file_ftype _initialize_valops; 1608b7331e5Schristos extern initialize_file_ftype _initialize_valprint; 1618b7331e5Schristos extern initialize_file_ftype _initialize_values; 1628b7331e5Schristos extern initialize_file_ftype _initialize_varobj; 1638b7331e5Schristos extern initialize_file_ftype _initialize_xml_support; 16434f40950Schristos extern initialize_file_ftype _initialize_cli_cmds; 1658b7331e5Schristos extern initialize_file_ftype _initialize_cli_dump; 166fdf8f3b1Schristos extern initialize_file_ftype _initialize_cli_interp; 1678b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging; 1688b7331e5Schristos extern initialize_file_ftype _initialize_cli_script; 1698d9c9161Schristos extern initialize_file_ftype _initialize_cli_style; 170*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 171*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmds; 172*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_interp; 173*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_main; 174c6bb8cabSchristos extern initialize_file_ftype _initialize_compile; 1758d9c9161Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 176865c57e0Schristos 177865c57e0Schristos void initialize_all_files (); 178fdf8f3b1Schristos void 179865c57e0Schristos initialize_all_files () 180fdf8f3b1Schristos { 181865c57e0Schristos std::vector<initialize_file_ftype *> functions = 182865c57e0Schristos { 183865c57e0Schristos _initialize_svr4_solib, 184865c57e0Schristos _initialize_sparc64_adi_tdep, 185865c57e0Schristos _initialize_sparc64nbsd_tdep, 186865c57e0Schristos _initialize_sparc_tdep, 187865c57e0Schristos _initialize_sparcnbsd_tdep, 188865c57e0Schristos _initialize_ravenscar, 189865c57e0Schristos _initialize_ser_hardwire, 190865c57e0Schristos _initialize_ser_pipe, 191865c57e0Schristos _initialize_ser_tcp, 192865c57e0Schristos _initialize_ser_socket, 193865c57e0Schristos _initialize_fork_child, 194865c57e0Schristos _initialize_sparc64nbsd_nat, 195865c57e0Schristos _initialize_sparc_nat, 196865c57e0Schristos _initialize_tui, 197*22ebeae4Schristos _initialize_tui_disasm, 198865c57e0Schristos _initialize_tui_hooks, 199865c57e0Schristos _initialize_tui_interp, 200865c57e0Schristos _initialize_tui_layout, 201865c57e0Schristos _initialize_tui_regs, 202865c57e0Schristos _initialize_tui_stack, 203865c57e0Schristos _initialize_tui_win, 204865c57e0Schristos _initialize_python, 205865c57e0Schristos _initialize_guile, 206865c57e0Schristos _initialize_elfread, 207865c57e0Schristos _initialize_stap_probe, 208865c57e0Schristos _initialize_dtrace_probe, 209*22ebeae4Schristos _initialize_cp_name_parser, 210865c57e0Schristos _initialize_ada_language, 211865c57e0Schristos _initialize_tasks, 212865c57e0Schristos _initialize_addrmap, 213865c57e0Schristos _initialize_agent, 214865c57e0Schristos _initialize_annotate, 215865c57e0Schristos _initialize_gdbarch_utils, 216865c57e0Schristos _initialize_auto_load, 217865c57e0Schristos _initialize_auxv, 218865c57e0Schristos _initialize_ax_gdb, 219865c57e0Schristos _initialize_break_catch_exec, 220865c57e0Schristos _initialize_break_catch_fork, 221865c57e0Schristos _initialize_break_catch_load, 222865c57e0Schristos _initialize_break_catch_sig, 223865c57e0Schristos _initialize_break_catch_syscall, 224865c57e0Schristos _initialize_break_catch_throw, 225865c57e0Schristos _initialize_breakpoint, 226865c57e0Schristos _initialize_btrace, 227865c57e0Schristos _initialize_charset, 228865c57e0Schristos _initialize_coff_pe_read, 229865c57e0Schristos _initialize_coffread, 230865c57e0Schristos _initialize_complaints, 231865c57e0Schristos _initialize_completer, 232865c57e0Schristos _initialize_copying, 233865c57e0Schristos _initialize_core, 234865c57e0Schristos _initialize_corelow, 235865c57e0Schristos _initialize_cp_abi, 236865c57e0Schristos _initialize_cp_namespace, 237865c57e0Schristos _initialize_cp_support, 238865c57e0Schristos _initialize_cp_valprint, 239865c57e0Schristos _initialize_dbxread, 240865c57e0Schristos _initialize_dcache, 241865c57e0Schristos _initialize_debuginfod, 242865c57e0Schristos _initialize_disasm, 243865c57e0Schristos _initialize_displaced_stepping, 244865c57e0Schristos _initialize_dummy_frame, 245865c57e0Schristos _initialize_cooked_index, 246865c57e0Schristos _initialize_tailcall_frame, 247865c57e0Schristos _initialize_dwarf2_frame, 248865c57e0Schristos _initialize_index_cache, 249865c57e0Schristos _initialize_dwarf_index_write, 250865c57e0Schristos _initialize_dwarf2loc, 251865c57e0Schristos _initialize_dwarf2_read, 252*22ebeae4Schristos _initialize_read_gdb_index, 253*22ebeae4Schristos _initialize_extract_store_integer, 254865c57e0Schristos _initialize_event_top, 255865c57e0Schristos _initialize_exec, 256865c57e0Schristos _initialize_extension, 257865c57e0Schristos _initialize_f_language, 258865c57e0Schristos _initialize_f_valprint, 259865c57e0Schristos _initialize_filesystem, 260865c57e0Schristos _initialize_mem_search, 261865c57e0Schristos _initialize_frame, 262*22ebeae4Schristos _initialize_frame_unwind, 263865c57e0Schristos _initialize_gcore, 264865c57e0Schristos _initialize_gdb_demangle, 265865c57e0Schristos _initialize_gdb_bfd, 266865c57e0Schristos _initialize_gdbtypes, 267865c57e0Schristos _initialize_gmp_utils, 268865c57e0Schristos _initialize_gnu_v2_abi, 269865c57e0Schristos _initialize_gnu_v3_abi, 270865c57e0Schristos _initialize_infcall, 271865c57e0Schristos _initialize_infcmd, 272865c57e0Schristos _initialize_inflow, 273865c57e0Schristos _initialize_infrun, 274865c57e0Schristos _initialize_interpreter, 275865c57e0Schristos _initialize_jit, 276865c57e0Schristos _initialize_language, 277865c57e0Schristos _initialize_macrocmd, 278865c57e0Schristos _initialize_macroscope, 279865c57e0Schristos _initialize_maint_cmds, 280865c57e0Schristos _initialize_maint_test_options, 281865c57e0Schristos _initialize_maint_test_settings, 282865c57e0Schristos _initialize_mdebugread, 283865c57e0Schristos _initialize_mem, 284865c57e0Schristos _initialize_mipsread, 285865c57e0Schristos _initialize_objc_language, 286865c57e0Schristos _initialize_observer, 287865c57e0Schristos _initialize_gdb_osabi, 288865c57e0Schristos _initialize_osdata, 289865c57e0Schristos _initialize_pascal_valprint, 290865c57e0Schristos _initialize_parse, 291865c57e0Schristos _initialize_printcmd, 292865c57e0Schristos _initialize_probe, 293865c57e0Schristos _initialize_producer, 294865c57e0Schristos _initialize_psymtab, 295865c57e0Schristos _initialize_record, 296865c57e0Schristos _initialize_record_btrace, 297865c57e0Schristos _initialize_record_full, 298865c57e0Schristos _initialize_regcache, 299865c57e0Schristos _initialize_regcache_dump, 300865c57e0Schristos _initialize_reggroup, 301865c57e0Schristos _initialize_remote, 302865c57e0Schristos _initialize_notif, 303865c57e0Schristos _initialize_reverse, 304865c57e0Schristos _initialize_run_on_main_thread, 305865c57e0Schristos _initialize_rust_exp, 306865c57e0Schristos _initialize_serial, 307865c57e0Schristos _initialize_step_skip, 308865c57e0Schristos _initialize_solib, 309865c57e0Schristos _initialize_source, 310865c57e0Schristos _initialize_source_cache, 311865c57e0Schristos _initialize_stabsread, 312865c57e0Schristos _initialize_stack, 313865c57e0Schristos _initialize_frame_reg, 314865c57e0Schristos _initialize_symfile, 315865c57e0Schristos _initialize_symfile_debug, 316865c57e0Schristos _initialize_symmisc, 317865c57e0Schristos _initialize_symtab, 318865c57e0Schristos _initialize_target, 319865c57e0Schristos _initialize_target_connection, 320865c57e0Schristos _initialize_target_dcache, 321865c57e0Schristos _initialize_target_descriptions, 322865c57e0Schristos _initialize_thread, 323865c57e0Schristos _initialize_top, 324865c57e0Schristos _initialize_ctf, 325865c57e0Schristos _initialize_tracefile, 326865c57e0Schristos _initialize_tracefile_tfile, 327865c57e0Schristos _initialize_tracepoint, 328865c57e0Schristos _initialize_typeprint, 329*22ebeae4Schristos _initialize_ui, 330865c57e0Schristos _initialize_ui_style, 331865c57e0Schristos _initialize_user_regs, 332865c57e0Schristos _initialize_utils, 333865c57e0Schristos _initialize_valops, 334865c57e0Schristos _initialize_valprint, 335865c57e0Schristos _initialize_values, 336865c57e0Schristos _initialize_varobj, 337865c57e0Schristos _initialize_xml_support, 338865c57e0Schristos _initialize_cli_cmds, 339865c57e0Schristos _initialize_cli_dump, 340865c57e0Schristos _initialize_cli_interp, 341865c57e0Schristos _initialize_cli_logging, 342865c57e0Schristos _initialize_cli_script, 343865c57e0Schristos _initialize_cli_style, 344*22ebeae4Schristos _initialize_mi_cmd_env, 345*22ebeae4Schristos _initialize_mi_cmds, 346*22ebeae4Schristos _initialize_mi_interp, 347*22ebeae4Schristos _initialize_mi_main, 348865c57e0Schristos _initialize_compile, 349865c57e0Schristos _initialize_compile_cplus_types, 350865c57e0Schristos }; 351865c57e0Schristos 352865c57e0Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 353865c57e0Schristos order in which initialization functions are called. This is 354865c57e0Schristos used by the testsuite. */ 355865c57e0Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 356865c57e0Schristos std::reverse (functions.begin (), functions.end ()); 357865c57e0Schristos 358865c57e0Schristos for (initialize_file_ftype *function : functions) 359865c57e0Schristos function (); 360fdf8f3b1Schristos } 361