1b1aac1feSchristos /* 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 */ 4b1aac1feSchristos 5b1aac1feSchristos /* Do not modify this file. */ 6b1aac1feSchristos /* It is created automatically by the Makefile. */ 7865c57e0Schristos #include <algorithm> 8865c57e0Schristos 98d9c9161Schristos extern initialize_file_ftype _initialize_svr4_solib; 10b1aac1feSchristos extern initialize_file_ftype _initialize_sparc_tdep; 11b1aac1feSchristos extern initialize_file_ftype _initialize_sparcnbsd_tdep; 1250d96202Schristos extern initialize_file_ftype _initialize_ravenscar; 13b1aac1feSchristos extern initialize_file_ftype _initialize_ser_hardwire; 14b1aac1feSchristos extern initialize_file_ftype _initialize_ser_pipe; 15b1aac1feSchristos extern initialize_file_ftype _initialize_ser_tcp; 168d9c9161Schristos extern initialize_file_ftype _initialize_ser_socket; 17b1aac1feSchristos extern initialize_file_ftype _initialize_fork_child; 180cb5c6ecSskrll extern initialize_file_ftype _initialize_sparc_nat; 198d9c9161Schristos extern initialize_file_ftype _initialize_sparcnbsd_nat; 208d9c9161Schristos extern initialize_file_ftype _initialize_tui; 21*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm; 228d9c9161Schristos extern initialize_file_ftype _initialize_tui_hooks; 238d9c9161Schristos extern initialize_file_ftype _initialize_tui_interp; 248d9c9161Schristos extern initialize_file_ftype _initialize_tui_layout; 258d9c9161Schristos extern initialize_file_ftype _initialize_tui_regs; 268d9c9161Schristos extern initialize_file_ftype _initialize_tui_stack; 278d9c9161Schristos extern initialize_file_ftype _initialize_tui_win; 288d9c9161Schristos extern initialize_file_ftype _initialize_python; 298d9c9161Schristos extern initialize_file_ftype _initialize_guile; 30b1aac1feSchristos extern initialize_file_ftype _initialize_elfread; 3150d96202Schristos extern initialize_file_ftype _initialize_stap_probe; 32822f2954Schristos extern initialize_file_ftype _initialize_dtrace_probe; 33*22ebeae4Schristos extern initialize_file_ftype _initialize_cp_name_parser; 348b7331e5Schristos extern initialize_file_ftype _initialize_ada_language; 358b7331e5Schristos extern initialize_file_ftype _initialize_tasks; 36865c57e0Schristos extern initialize_file_ftype _initialize_addrmap; 378b7331e5Schristos extern initialize_file_ftype _initialize_agent; 388b7331e5Schristos extern initialize_file_ftype _initialize_annotate; 398b7331e5Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 4050d96202Schristos extern initialize_file_ftype _initialize_auto_load; 41b1aac1feSchristos extern initialize_file_ftype _initialize_auxv; 428d9c9161Schristos extern initialize_file_ftype _initialize_ax_gdb; 43865c57e0Schristos extern initialize_file_ftype _initialize_break_catch_exec; 44865c57e0Schristos extern initialize_file_ftype _initialize_break_catch_fork; 45865c57e0Schristos extern initialize_file_ftype _initialize_break_catch_load; 4650d96202Schristos extern initialize_file_ftype _initialize_break_catch_sig; 47822f2954Schristos extern initialize_file_ftype _initialize_break_catch_syscall; 488b7331e5Schristos extern initialize_file_ftype _initialize_break_catch_throw; 498b7331e5Schristos extern initialize_file_ftype _initialize_breakpoint; 508b7331e5Schristos extern initialize_file_ftype _initialize_btrace; 51b1aac1feSchristos extern initialize_file_ftype _initialize_charset; 528b7331e5Schristos extern initialize_file_ftype _initialize_coff_pe_read; 538b7331e5Schristos extern initialize_file_ftype _initialize_coffread; 548b7331e5Schristos extern initialize_file_ftype _initialize_complaints; 558b7331e5Schristos extern initialize_file_ftype _initialize_completer; 568b7331e5Schristos extern initialize_file_ftype _initialize_copying; 578b7331e5Schristos extern initialize_file_ftype _initialize_core; 5850d96202Schristos extern initialize_file_ftype _initialize_corelow; 598b7331e5Schristos extern initialize_file_ftype _initialize_cp_abi; 608b7331e5Schristos extern initialize_file_ftype _initialize_cp_namespace; 618b7331e5Schristos extern initialize_file_ftype _initialize_cp_support; 628b7331e5Schristos extern initialize_file_ftype _initialize_cp_valprint; 638b7331e5Schristos extern initialize_file_ftype _initialize_dbxread; 648d9c9161Schristos extern initialize_file_ftype _initialize_dcache; 65865c57e0Schristos extern initialize_file_ftype _initialize_debuginfod; 668b7331e5Schristos extern initialize_file_ftype _initialize_disasm; 67865c57e0Schristos extern initialize_file_ftype _initialize_displaced_stepping; 68b1aac1feSchristos extern initialize_file_ftype _initialize_dummy_frame; 69865c57e0Schristos extern initialize_file_ftype _initialize_cooked_index; 704d342c04Schristos extern initialize_file_ftype _initialize_tailcall_frame; 714d342c04Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 728d9c9161Schristos extern initialize_file_ftype _initialize_index_cache; 738d9c9161Schristos extern initialize_file_ftype _initialize_dwarf_index_write; 748b7331e5Schristos extern initialize_file_ftype _initialize_dwarf2loc; 758b7331e5Schristos extern initialize_file_ftype _initialize_dwarf2_read; 76*22ebeae4Schristos extern initialize_file_ftype _initialize_read_gdb_index; 77*22ebeae4Schristos extern initialize_file_ftype _initialize_extract_store_integer; 78865c57e0Schristos extern initialize_file_ftype _initialize_event_top; 798b7331e5Schristos extern initialize_file_ftype _initialize_exec; 808b7331e5Schristos extern initialize_file_ftype _initialize_extension; 818b7331e5Schristos extern initialize_file_ftype _initialize_f_language; 828b7331e5Schristos extern initialize_file_ftype _initialize_f_valprint; 838b7331e5Schristos extern initialize_file_ftype _initialize_filesystem; 848b7331e5Schristos extern initialize_file_ftype _initialize_mem_search; 858b7331e5Schristos extern initialize_file_ftype _initialize_frame; 86*22ebeae4Schristos extern initialize_file_ftype _initialize_frame_unwind; 878b7331e5Schristos extern initialize_file_ftype _initialize_gcore; 884d342c04Schristos extern initialize_file_ftype _initialize_gdb_demangle; 898b7331e5Schristos extern initialize_file_ftype _initialize_gdb_bfd; 908d9c9161Schristos extern initialize_file_ftype _initialize_gdbtypes; 91865c57e0Schristos extern initialize_file_ftype _initialize_gmp_utils; 928b7331e5Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 938b7331e5Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 94b1aac1feSchristos extern initialize_file_ftype _initialize_infcall; 95b1aac1feSchristos extern initialize_file_ftype _initialize_infcmd; 968d9c9161Schristos extern initialize_file_ftype _initialize_inflow; 97b1aac1feSchristos extern initialize_file_ftype _initialize_infrun; 98b1aac1feSchristos extern initialize_file_ftype _initialize_interpreter; 998b7331e5Schristos extern initialize_file_ftype _initialize_jit; 1008b7331e5Schristos extern initialize_file_ftype _initialize_language; 101b1aac1feSchristos extern initialize_file_ftype _initialize_macrocmd; 102b1aac1feSchristos extern initialize_file_ftype _initialize_macroscope; 103b1aac1feSchristos extern initialize_file_ftype _initialize_maint_cmds; 1044d342c04Schristos extern initialize_file_ftype _initialize_maint_test_options; 1054d342c04Schristos extern initialize_file_ftype _initialize_maint_test_settings; 1068b7331e5Schristos extern initialize_file_ftype _initialize_mdebugread; 1078b7331e5Schristos extern initialize_file_ftype _initialize_mem; 108b1aac1feSchristos extern initialize_file_ftype _initialize_mipsread; 109b1aac1feSchristos extern initialize_file_ftype _initialize_objc_language; 1108b7331e5Schristos extern initialize_file_ftype _initialize_observer; 1118b7331e5Schristos extern initialize_file_ftype _initialize_gdb_osabi; 1128b7331e5Schristos extern initialize_file_ftype _initialize_osdata; 113b1aac1feSchristos extern initialize_file_ftype _initialize_pascal_valprint; 1148b7331e5Schristos extern initialize_file_ftype _initialize_parse; 1158b7331e5Schristos extern initialize_file_ftype _initialize_printcmd; 1168b7331e5Schristos extern initialize_file_ftype _initialize_probe; 1178d9c9161Schristos extern initialize_file_ftype _initialize_producer; 1188b7331e5Schristos extern initialize_file_ftype _initialize_psymtab; 1198b7331e5Schristos extern initialize_file_ftype _initialize_record; 1208b7331e5Schristos extern initialize_file_ftype _initialize_record_btrace; 1218b7331e5Schristos extern initialize_file_ftype _initialize_record_full; 1228b7331e5Schristos extern initialize_file_ftype _initialize_regcache; 1238d9c9161Schristos extern initialize_file_ftype _initialize_regcache_dump; 124b1aac1feSchristos extern initialize_file_ftype _initialize_reggroup; 1258d9c9161Schristos extern initialize_file_ftype _initialize_remote; 1268d9c9161Schristos extern initialize_file_ftype _initialize_notif; 1278b7331e5Schristos extern initialize_file_ftype _initialize_reverse; 1284d342c04Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 129865c57e0Schristos extern initialize_file_ftype _initialize_rust_exp; 1308b7331e5Schristos extern initialize_file_ftype _initialize_serial; 1318b7331e5Schristos extern initialize_file_ftype _initialize_step_skip; 13250d96202Schristos extern initialize_file_ftype _initialize_solib; 1338b7331e5Schristos extern initialize_file_ftype _initialize_source; 1344d342c04Schristos extern initialize_file_ftype _initialize_source_cache; 1358b7331e5Schristos extern initialize_file_ftype _initialize_stabsread; 1368b7331e5Schristos extern initialize_file_ftype _initialize_stack; 1378b7331e5Schristos extern initialize_file_ftype _initialize_frame_reg; 1388b7331e5Schristos extern initialize_file_ftype _initialize_symfile; 1398b7331e5Schristos extern initialize_file_ftype _initialize_symfile_debug; 1408b7331e5Schristos extern initialize_file_ftype _initialize_symmisc; 1418b7331e5Schristos extern initialize_file_ftype _initialize_symtab; 1424d342c04Schristos extern initialize_file_ftype _initialize_target; 1434d342c04Schristos extern initialize_file_ftype _initialize_target_connection; 1448b7331e5Schristos extern initialize_file_ftype _initialize_target_dcache; 145b1aac1feSchristos extern initialize_file_ftype _initialize_target_descriptions; 1468b7331e5Schristos extern initialize_file_ftype _initialize_thread; 147865c57e0Schristos extern initialize_file_ftype _initialize_top; 1484d342c04Schristos extern initialize_file_ftype _initialize_ctf; 1498d9c9161Schristos extern initialize_file_ftype _initialize_tracefile; 1508d9c9161Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 1518d9c9161Schristos extern initialize_file_ftype _initialize_tracepoint; 1528b7331e5Schristos extern initialize_file_ftype _initialize_typeprint; 153*22ebeae4Schristos extern initialize_file_ftype _initialize_ui; 1548d9c9161Schristos extern initialize_file_ftype _initialize_ui_style; 1558b7331e5Schristos extern initialize_file_ftype _initialize_user_regs; 1568b7331e5Schristos extern initialize_file_ftype _initialize_utils; 1578b7331e5Schristos extern initialize_file_ftype _initialize_valops; 1588b7331e5Schristos extern initialize_file_ftype _initialize_valprint; 1598b7331e5Schristos extern initialize_file_ftype _initialize_values; 1608b7331e5Schristos extern initialize_file_ftype _initialize_varobj; 1618b7331e5Schristos extern initialize_file_ftype _initialize_xml_support; 16250d96202Schristos extern initialize_file_ftype _initialize_cli_cmds; 1638b7331e5Schristos extern initialize_file_ftype _initialize_cli_dump; 164b1aac1feSchristos extern initialize_file_ftype _initialize_cli_interp; 1658b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging; 1668b7331e5Schristos extern initialize_file_ftype _initialize_cli_script; 1678d9c9161Schristos extern initialize_file_ftype _initialize_cli_style; 168*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 169*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_cmds; 170*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_interp; 171*22ebeae4Schristos extern initialize_file_ftype _initialize_mi_main; 1723a191673Schristos extern initialize_file_ftype _initialize_compile; 1738d9c9161Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 174865c57e0Schristos 175865c57e0Schristos void initialize_all_files (); 176b1aac1feSchristos void 177865c57e0Schristos initialize_all_files () 178b1aac1feSchristos { 179865c57e0Schristos std::vector<initialize_file_ftype *> functions = 180865c57e0Schristos { 181865c57e0Schristos _initialize_svr4_solib, 182865c57e0Schristos _initialize_sparc_tdep, 183865c57e0Schristos _initialize_sparcnbsd_tdep, 184865c57e0Schristos _initialize_ravenscar, 185865c57e0Schristos _initialize_ser_hardwire, 186865c57e0Schristos _initialize_ser_pipe, 187865c57e0Schristos _initialize_ser_tcp, 188865c57e0Schristos _initialize_ser_socket, 189865c57e0Schristos _initialize_fork_child, 190865c57e0Schristos _initialize_sparc_nat, 191865c57e0Schristos _initialize_sparcnbsd_nat, 192865c57e0Schristos _initialize_tui, 193*22ebeae4Schristos _initialize_tui_disasm, 194865c57e0Schristos _initialize_tui_hooks, 195865c57e0Schristos _initialize_tui_interp, 196865c57e0Schristos _initialize_tui_layout, 197865c57e0Schristos _initialize_tui_regs, 198865c57e0Schristos _initialize_tui_stack, 199865c57e0Schristos _initialize_tui_win, 200865c57e0Schristos _initialize_python, 201865c57e0Schristos _initialize_guile, 202865c57e0Schristos _initialize_elfread, 203865c57e0Schristos _initialize_stap_probe, 204865c57e0Schristos _initialize_dtrace_probe, 205*22ebeae4Schristos _initialize_cp_name_parser, 206865c57e0Schristos _initialize_ada_language, 207865c57e0Schristos _initialize_tasks, 208865c57e0Schristos _initialize_addrmap, 209865c57e0Schristos _initialize_agent, 210865c57e0Schristos _initialize_annotate, 211865c57e0Schristos _initialize_gdbarch_utils, 212865c57e0Schristos _initialize_auto_load, 213865c57e0Schristos _initialize_auxv, 214865c57e0Schristos _initialize_ax_gdb, 215865c57e0Schristos _initialize_break_catch_exec, 216865c57e0Schristos _initialize_break_catch_fork, 217865c57e0Schristos _initialize_break_catch_load, 218865c57e0Schristos _initialize_break_catch_sig, 219865c57e0Schristos _initialize_break_catch_syscall, 220865c57e0Schristos _initialize_break_catch_throw, 221865c57e0Schristos _initialize_breakpoint, 222865c57e0Schristos _initialize_btrace, 223865c57e0Schristos _initialize_charset, 224865c57e0Schristos _initialize_coff_pe_read, 225865c57e0Schristos _initialize_coffread, 226865c57e0Schristos _initialize_complaints, 227865c57e0Schristos _initialize_completer, 228865c57e0Schristos _initialize_copying, 229865c57e0Schristos _initialize_core, 230865c57e0Schristos _initialize_corelow, 231865c57e0Schristos _initialize_cp_abi, 232865c57e0Schristos _initialize_cp_namespace, 233865c57e0Schristos _initialize_cp_support, 234865c57e0Schristos _initialize_cp_valprint, 235865c57e0Schristos _initialize_dbxread, 236865c57e0Schristos _initialize_dcache, 237865c57e0Schristos _initialize_debuginfod, 238865c57e0Schristos _initialize_disasm, 239865c57e0Schristos _initialize_displaced_stepping, 240865c57e0Schristos _initialize_dummy_frame, 241865c57e0Schristos _initialize_cooked_index, 242865c57e0Schristos _initialize_tailcall_frame, 243865c57e0Schristos _initialize_dwarf2_frame, 244865c57e0Schristos _initialize_index_cache, 245865c57e0Schristos _initialize_dwarf_index_write, 246865c57e0Schristos _initialize_dwarf2loc, 247865c57e0Schristos _initialize_dwarf2_read, 248*22ebeae4Schristos _initialize_read_gdb_index, 249*22ebeae4Schristos _initialize_extract_store_integer, 250865c57e0Schristos _initialize_event_top, 251865c57e0Schristos _initialize_exec, 252865c57e0Schristos _initialize_extension, 253865c57e0Schristos _initialize_f_language, 254865c57e0Schristos _initialize_f_valprint, 255865c57e0Schristos _initialize_filesystem, 256865c57e0Schristos _initialize_mem_search, 257865c57e0Schristos _initialize_frame, 258*22ebeae4Schristos _initialize_frame_unwind, 259865c57e0Schristos _initialize_gcore, 260865c57e0Schristos _initialize_gdb_demangle, 261865c57e0Schristos _initialize_gdb_bfd, 262865c57e0Schristos _initialize_gdbtypes, 263865c57e0Schristos _initialize_gmp_utils, 264865c57e0Schristos _initialize_gnu_v2_abi, 265865c57e0Schristos _initialize_gnu_v3_abi, 266865c57e0Schristos _initialize_infcall, 267865c57e0Schristos _initialize_infcmd, 268865c57e0Schristos _initialize_inflow, 269865c57e0Schristos _initialize_infrun, 270865c57e0Schristos _initialize_interpreter, 271865c57e0Schristos _initialize_jit, 272865c57e0Schristos _initialize_language, 273865c57e0Schristos _initialize_macrocmd, 274865c57e0Schristos _initialize_macroscope, 275865c57e0Schristos _initialize_maint_cmds, 276865c57e0Schristos _initialize_maint_test_options, 277865c57e0Schristos _initialize_maint_test_settings, 278865c57e0Schristos _initialize_mdebugread, 279865c57e0Schristos _initialize_mem, 280865c57e0Schristos _initialize_mipsread, 281865c57e0Schristos _initialize_objc_language, 282865c57e0Schristos _initialize_observer, 283865c57e0Schristos _initialize_gdb_osabi, 284865c57e0Schristos _initialize_osdata, 285865c57e0Schristos _initialize_pascal_valprint, 286865c57e0Schristos _initialize_parse, 287865c57e0Schristos _initialize_printcmd, 288865c57e0Schristos _initialize_probe, 289865c57e0Schristos _initialize_producer, 290865c57e0Schristos _initialize_psymtab, 291865c57e0Schristos _initialize_record, 292865c57e0Schristos _initialize_record_btrace, 293865c57e0Schristos _initialize_record_full, 294865c57e0Schristos _initialize_regcache, 295865c57e0Schristos _initialize_regcache_dump, 296865c57e0Schristos _initialize_reggroup, 297865c57e0Schristos _initialize_remote, 298865c57e0Schristos _initialize_notif, 299865c57e0Schristos _initialize_reverse, 300865c57e0Schristos _initialize_run_on_main_thread, 301865c57e0Schristos _initialize_rust_exp, 302865c57e0Schristos _initialize_serial, 303865c57e0Schristos _initialize_step_skip, 304865c57e0Schristos _initialize_solib, 305865c57e0Schristos _initialize_source, 306865c57e0Schristos _initialize_source_cache, 307865c57e0Schristos _initialize_stabsread, 308865c57e0Schristos _initialize_stack, 309865c57e0Schristos _initialize_frame_reg, 310865c57e0Schristos _initialize_symfile, 311865c57e0Schristos _initialize_symfile_debug, 312865c57e0Schristos _initialize_symmisc, 313865c57e0Schristos _initialize_symtab, 314865c57e0Schristos _initialize_target, 315865c57e0Schristos _initialize_target_connection, 316865c57e0Schristos _initialize_target_dcache, 317865c57e0Schristos _initialize_target_descriptions, 318865c57e0Schristos _initialize_thread, 319865c57e0Schristos _initialize_top, 320865c57e0Schristos _initialize_ctf, 321865c57e0Schristos _initialize_tracefile, 322865c57e0Schristos _initialize_tracefile_tfile, 323865c57e0Schristos _initialize_tracepoint, 324865c57e0Schristos _initialize_typeprint, 325*22ebeae4Schristos _initialize_ui, 326865c57e0Schristos _initialize_ui_style, 327865c57e0Schristos _initialize_user_regs, 328865c57e0Schristos _initialize_utils, 329865c57e0Schristos _initialize_valops, 330865c57e0Schristos _initialize_valprint, 331865c57e0Schristos _initialize_values, 332865c57e0Schristos _initialize_varobj, 333865c57e0Schristos _initialize_xml_support, 334865c57e0Schristos _initialize_cli_cmds, 335865c57e0Schristos _initialize_cli_dump, 336865c57e0Schristos _initialize_cli_interp, 337865c57e0Schristos _initialize_cli_logging, 338865c57e0Schristos _initialize_cli_script, 339865c57e0Schristos _initialize_cli_style, 340*22ebeae4Schristos _initialize_mi_cmd_env, 341*22ebeae4Schristos _initialize_mi_cmds, 342*22ebeae4Schristos _initialize_mi_interp, 343*22ebeae4Schristos _initialize_mi_main, 344865c57e0Schristos _initialize_compile, 345865c57e0Schristos _initialize_compile_cplus_types, 346865c57e0Schristos }; 347865c57e0Schristos 348865c57e0Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 349865c57e0Schristos order in which initialization functions are called. This is 350865c57e0Schristos used by the testsuite. */ 351865c57e0Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 352865c57e0Schristos std::reverse (functions.begin (), functions.end ()); 353865c57e0Schristos 354865c57e0Schristos for (initialize_file_ftype *function : functions) 355865c57e0Schristos function (); 356b1aac1feSchristos } 357