1699b0f92Schristos /* This file is automatically generated. DO NOT EDIT! */ 2*6881a400Schristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 3699b0f92Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4699b0f92Schristos 5699b0f92Schristos /* Do not modify this file. */ 6699b0f92Schristos /* It is created automatically by the Makefile. */ 7699b0f92Schristos #include "defs.h" /* For initialize_file_ftype. */ 8*6881a400Schristos #include <algorithm> 9*6881a400Schristos 10699b0f92Schristos extern initialize_file_ftype _initialize_aarch64_tdep; 117f2ac410Schristos extern initialize_file_ftype _initialize_ravenscar; 12699b0f92Schristos extern initialize_file_ftype _initialize_svr4_solib; 137f2ac410Schristos extern initialize_file_ftype _initialize_aarch64_nbsd_tdep; 14699b0f92Schristos extern initialize_file_ftype _initialize_ser_hardwire; 15699b0f92Schristos extern initialize_file_ftype _initialize_ser_pipe; 16699b0f92Schristos extern initialize_file_ftype _initialize_ser_tcp; 177f2ac410Schristos extern initialize_file_ftype _initialize_ser_socket; 18699b0f92Schristos extern initialize_file_ftype _initialize_fork_child; 19699b0f92Schristos extern initialize_file_ftype _initialize_aarch64_nbsd_nat; 207f2ac410Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 217f2ac410Schristos extern initialize_file_ftype _initialize_mi_cmds; 227f2ac410Schristos extern initialize_file_ftype _initialize_mi_interp; 237f2ac410Schristos extern initialize_file_ftype _initialize_mi_main; 247f2ac410Schristos extern initialize_file_ftype _initialize_tui; 257f2ac410Schristos extern initialize_file_ftype _initialize_tui_hooks; 267f2ac410Schristos extern initialize_file_ftype _initialize_tui_interp; 277f2ac410Schristos extern initialize_file_ftype _initialize_tui_layout; 287f2ac410Schristos extern initialize_file_ftype _initialize_tui_regs; 297f2ac410Schristos extern initialize_file_ftype _initialize_tui_stack; 307f2ac410Schristos extern initialize_file_ftype _initialize_tui_win; 317f2ac410Schristos extern initialize_file_ftype _initialize_python; 327f2ac410Schristos extern initialize_file_ftype _initialize_guile; 33699b0f92Schristos extern initialize_file_ftype _initialize_elfread; 34699b0f92Schristos extern initialize_file_ftype _initialize_stap_probe; 35699b0f92Schristos extern initialize_file_ftype _initialize_dtrace_probe; 36699b0f92Schristos extern initialize_file_ftype _initialize_ada_exp; 37699b0f92Schristos extern initialize_file_ftype _initialize_ada_language; 38699b0f92Schristos extern initialize_file_ftype _initialize_tasks; 39*6881a400Schristos extern initialize_file_ftype _initialize_addrmap; 40699b0f92Schristos extern initialize_file_ftype _initialize_agent; 41699b0f92Schristos extern initialize_file_ftype _initialize_annotate; 42699b0f92Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 43699b0f92Schristos extern initialize_file_ftype _initialize_auto_load; 44699b0f92Schristos extern initialize_file_ftype _initialize_auxv; 457f2ac410Schristos extern initialize_file_ftype _initialize_ax_gdb; 46*6881a400Schristos extern initialize_file_ftype _initialize_break_catch_exec; 47*6881a400Schristos extern initialize_file_ftype _initialize_break_catch_fork; 48*6881a400Schristos extern initialize_file_ftype _initialize_break_catch_load; 49699b0f92Schristos extern initialize_file_ftype _initialize_break_catch_sig; 50699b0f92Schristos extern initialize_file_ftype _initialize_break_catch_syscall; 51699b0f92Schristos extern initialize_file_ftype _initialize_break_catch_throw; 52699b0f92Schristos extern initialize_file_ftype _initialize_breakpoint; 53699b0f92Schristos extern initialize_file_ftype _initialize_btrace; 54699b0f92Schristos extern initialize_file_ftype _initialize_charset; 55699b0f92Schristos extern initialize_file_ftype _initialize_coff_pe_read; 56699b0f92Schristos extern initialize_file_ftype _initialize_coffread; 57699b0f92Schristos extern initialize_file_ftype _initialize_complaints; 58699b0f92Schristos extern initialize_file_ftype _initialize_completer; 59699b0f92Schristos extern initialize_file_ftype _initialize_copying; 60699b0f92Schristos extern initialize_file_ftype _initialize_core; 61699b0f92Schristos extern initialize_file_ftype _initialize_corelow; 62699b0f92Schristos extern initialize_file_ftype _initialize_cp_abi; 63699b0f92Schristos extern initialize_file_ftype _initialize_cp_namespace; 64699b0f92Schristos extern initialize_file_ftype _initialize_cp_support; 65699b0f92Schristos extern initialize_file_ftype _initialize_cp_valprint; 66699b0f92Schristos extern initialize_file_ftype _initialize_dbxread; 677f2ac410Schristos extern initialize_file_ftype _initialize_dcache; 68*6881a400Schristos extern initialize_file_ftype _initialize_debuginfod; 69699b0f92Schristos extern initialize_file_ftype _initialize_disasm; 70*6881a400Schristos extern initialize_file_ftype _initialize_displaced_stepping; 71699b0f92Schristos extern initialize_file_ftype _initialize_dummy_frame; 72*6881a400Schristos extern initialize_file_ftype _initialize_cooked_index; 737d62b00eSchristos extern initialize_file_ftype _initialize_tailcall_frame; 747d62b00eSchristos extern initialize_file_ftype _initialize_dwarf2_frame; 757f2ac410Schristos extern initialize_file_ftype _initialize_index_cache; 767f2ac410Schristos extern initialize_file_ftype _initialize_dwarf_index_write; 77699b0f92Schristos extern initialize_file_ftype _initialize_dwarf2loc; 78699b0f92Schristos extern initialize_file_ftype _initialize_dwarf2_read; 79*6881a400Schristos extern initialize_file_ftype _initialize_event_top; 80699b0f92Schristos extern initialize_file_ftype _initialize_exec; 81699b0f92Schristos extern initialize_file_ftype _initialize_extension; 82699b0f92Schristos extern initialize_file_ftype _initialize_f_language; 83699b0f92Schristos extern initialize_file_ftype _initialize_f_valprint; 84699b0f92Schristos extern initialize_file_ftype _initialize_filesystem; 85699b0f92Schristos extern initialize_file_ftype _initialize_mem_search; 867f2ac410Schristos extern initialize_file_ftype _initialize_findvar; 87699b0f92Schristos extern initialize_file_ftype _initialize_frame; 88699b0f92Schristos extern initialize_file_ftype _initialize_gcore; 897d62b00eSchristos extern initialize_file_ftype _initialize_gdb_demangle; 90699b0f92Schristos extern initialize_file_ftype _initialize_gdb_bfd; 917f2ac410Schristos extern initialize_file_ftype _initialize_gdbtypes; 92*6881a400Schristos extern initialize_file_ftype _initialize_gmp_utils; 93699b0f92Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 94699b0f92Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 95699b0f92Schristos extern initialize_file_ftype _initialize_infcall; 96699b0f92Schristos extern initialize_file_ftype _initialize_infcmd; 977f2ac410Schristos extern initialize_file_ftype _initialize_inflow; 98699b0f92Schristos extern initialize_file_ftype _initialize_infrun; 99699b0f92Schristos extern initialize_file_ftype _initialize_interpreter; 100699b0f92Schristos extern initialize_file_ftype _initialize_jit; 101699b0f92Schristos extern initialize_file_ftype _initialize_language; 102699b0f92Schristos extern initialize_file_ftype _initialize_macrocmd; 103699b0f92Schristos extern initialize_file_ftype _initialize_macroscope; 104699b0f92Schristos extern initialize_file_ftype _initialize_maint_cmds; 1057d62b00eSchristos extern initialize_file_ftype _initialize_maint_test_options; 1067d62b00eSchristos extern initialize_file_ftype _initialize_maint_test_settings; 107699b0f92Schristos extern initialize_file_ftype _initialize_mdebugread; 108699b0f92Schristos extern initialize_file_ftype _initialize_mem; 109699b0f92Schristos extern initialize_file_ftype _initialize_mipsread; 110699b0f92Schristos extern initialize_file_ftype _initialize_objc_language; 111699b0f92Schristos extern initialize_file_ftype _initialize_observer; 112699b0f92Schristos extern initialize_file_ftype _initialize_gdb_osabi; 113699b0f92Schristos extern initialize_file_ftype _initialize_osdata; 114699b0f92Schristos extern initialize_file_ftype _initialize_pascal_valprint; 115699b0f92Schristos extern initialize_file_ftype _initialize_parse; 116699b0f92Schristos extern initialize_file_ftype _initialize_printcmd; 117699b0f92Schristos extern initialize_file_ftype _initialize_probe; 1187f2ac410Schristos extern initialize_file_ftype _initialize_producer; 119699b0f92Schristos extern initialize_file_ftype _initialize_psymtab; 120699b0f92Schristos extern initialize_file_ftype _initialize_record; 121699b0f92Schristos extern initialize_file_ftype _initialize_record_btrace; 122699b0f92Schristos extern initialize_file_ftype _initialize_record_full; 123699b0f92Schristos extern initialize_file_ftype _initialize_regcache; 1247f2ac410Schristos extern initialize_file_ftype _initialize_regcache_dump; 125699b0f92Schristos extern initialize_file_ftype _initialize_reggroup; 1267f2ac410Schristos extern initialize_file_ftype _initialize_remote; 1277f2ac410Schristos extern initialize_file_ftype _initialize_notif; 128699b0f92Schristos extern initialize_file_ftype _initialize_reverse; 1297d62b00eSchristos extern initialize_file_ftype _initialize_run_on_main_thread; 130*6881a400Schristos extern initialize_file_ftype _initialize_rust_exp; 131699b0f92Schristos extern initialize_file_ftype _initialize_serial; 132699b0f92Schristos extern initialize_file_ftype _initialize_step_skip; 133699b0f92Schristos extern initialize_file_ftype _initialize_solib; 134699b0f92Schristos extern initialize_file_ftype _initialize_source; 1357d62b00eSchristos extern initialize_file_ftype _initialize_source_cache; 136699b0f92Schristos extern initialize_file_ftype _initialize_stabsread; 137699b0f92Schristos extern initialize_file_ftype _initialize_stack; 138699b0f92Schristos extern initialize_file_ftype _initialize_frame_reg; 139699b0f92Schristos extern initialize_file_ftype _initialize_symfile; 140699b0f92Schristos extern initialize_file_ftype _initialize_symfile_debug; 141699b0f92Schristos extern initialize_file_ftype _initialize_symmisc; 142699b0f92Schristos extern initialize_file_ftype _initialize_symtab; 1437d62b00eSchristos extern initialize_file_ftype _initialize_target; 1447d62b00eSchristos extern initialize_file_ftype _initialize_target_connection; 145699b0f92Schristos extern initialize_file_ftype _initialize_target_dcache; 146699b0f92Schristos extern initialize_file_ftype _initialize_target_descriptions; 147699b0f92Schristos extern initialize_file_ftype _initialize_thread; 148*6881a400Schristos extern initialize_file_ftype _initialize_top; 1497d62b00eSchristos extern initialize_file_ftype _initialize_ctf; 1507f2ac410Schristos extern initialize_file_ftype _initialize_tracefile; 1517f2ac410Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 1527f2ac410Schristos extern initialize_file_ftype _initialize_tracepoint; 153699b0f92Schristos extern initialize_file_ftype _initialize_typeprint; 1547f2ac410Schristos extern initialize_file_ftype _initialize_ui_style; 155699b0f92Schristos extern initialize_file_ftype _initialize_user_regs; 156699b0f92Schristos extern initialize_file_ftype _initialize_utils; 157699b0f92Schristos extern initialize_file_ftype _initialize_valops; 158699b0f92Schristos extern initialize_file_ftype _initialize_valprint; 159699b0f92Schristos extern initialize_file_ftype _initialize_values; 160699b0f92Schristos extern initialize_file_ftype _initialize_varobj; 161699b0f92Schristos extern initialize_file_ftype _initialize_xml_support; 162699b0f92Schristos extern initialize_file_ftype _initialize_cli_cmds; 163699b0f92Schristos extern initialize_file_ftype _initialize_cli_dump; 164699b0f92Schristos extern initialize_file_ftype _initialize_cli_interp; 165699b0f92Schristos extern initialize_file_ftype _initialize_cli_logging; 166699b0f92Schristos extern initialize_file_ftype _initialize_cli_script; 1677f2ac410Schristos extern initialize_file_ftype _initialize_cli_style; 168699b0f92Schristos extern initialize_file_ftype _initialize_compile; 1697f2ac410Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 170*6881a400Schristos 171*6881a400Schristos void initialize_all_files (); 172699b0f92Schristos void 173*6881a400Schristos initialize_all_files () 174699b0f92Schristos { 175*6881a400Schristos std::vector<initialize_file_ftype *> functions = 176*6881a400Schristos { 177*6881a400Schristos _initialize_aarch64_tdep, 178*6881a400Schristos _initialize_ravenscar, 179*6881a400Schristos _initialize_svr4_solib, 180*6881a400Schristos _initialize_aarch64_nbsd_tdep, 181*6881a400Schristos _initialize_ser_hardwire, 182*6881a400Schristos _initialize_ser_pipe, 183*6881a400Schristos _initialize_ser_tcp, 184*6881a400Schristos _initialize_ser_socket, 185*6881a400Schristos _initialize_fork_child, 186*6881a400Schristos _initialize_aarch64_nbsd_nat, 187*6881a400Schristos _initialize_mi_cmd_env, 188*6881a400Schristos _initialize_mi_cmds, 189*6881a400Schristos _initialize_mi_interp, 190*6881a400Schristos _initialize_mi_main, 191*6881a400Schristos _initialize_tui, 192*6881a400Schristos _initialize_tui_hooks, 193*6881a400Schristos _initialize_tui_interp, 194*6881a400Schristos _initialize_tui_layout, 195*6881a400Schristos _initialize_tui_regs, 196*6881a400Schristos _initialize_tui_stack, 197*6881a400Schristos _initialize_tui_win, 198*6881a400Schristos _initialize_python, 199*6881a400Schristos _initialize_guile, 200*6881a400Schristos _initialize_elfread, 201*6881a400Schristos _initialize_stap_probe, 202*6881a400Schristos _initialize_dtrace_probe, 203*6881a400Schristos _initialize_ada_exp, 204*6881a400Schristos _initialize_ada_language, 205*6881a400Schristos _initialize_tasks, 206*6881a400Schristos _initialize_addrmap, 207*6881a400Schristos _initialize_agent, 208*6881a400Schristos _initialize_annotate, 209*6881a400Schristos _initialize_gdbarch_utils, 210*6881a400Schristos _initialize_auto_load, 211*6881a400Schristos _initialize_auxv, 212*6881a400Schristos _initialize_ax_gdb, 213*6881a400Schristos _initialize_break_catch_exec, 214*6881a400Schristos _initialize_break_catch_fork, 215*6881a400Schristos _initialize_break_catch_load, 216*6881a400Schristos _initialize_break_catch_sig, 217*6881a400Schristos _initialize_break_catch_syscall, 218*6881a400Schristos _initialize_break_catch_throw, 219*6881a400Schristos _initialize_breakpoint, 220*6881a400Schristos _initialize_btrace, 221*6881a400Schristos _initialize_charset, 222*6881a400Schristos _initialize_coff_pe_read, 223*6881a400Schristos _initialize_coffread, 224*6881a400Schristos _initialize_complaints, 225*6881a400Schristos _initialize_completer, 226*6881a400Schristos _initialize_copying, 227*6881a400Schristos _initialize_core, 228*6881a400Schristos _initialize_corelow, 229*6881a400Schristos _initialize_cp_abi, 230*6881a400Schristos _initialize_cp_namespace, 231*6881a400Schristos _initialize_cp_support, 232*6881a400Schristos _initialize_cp_valprint, 233*6881a400Schristos _initialize_dbxread, 234*6881a400Schristos _initialize_dcache, 235*6881a400Schristos _initialize_debuginfod, 236*6881a400Schristos _initialize_disasm, 237*6881a400Schristos _initialize_displaced_stepping, 238*6881a400Schristos _initialize_dummy_frame, 239*6881a400Schristos _initialize_cooked_index, 240*6881a400Schristos _initialize_tailcall_frame, 241*6881a400Schristos _initialize_dwarf2_frame, 242*6881a400Schristos _initialize_index_cache, 243*6881a400Schristos _initialize_dwarf_index_write, 244*6881a400Schristos _initialize_dwarf2loc, 245*6881a400Schristos _initialize_dwarf2_read, 246*6881a400Schristos _initialize_event_top, 247*6881a400Schristos _initialize_exec, 248*6881a400Schristos _initialize_extension, 249*6881a400Schristos _initialize_f_language, 250*6881a400Schristos _initialize_f_valprint, 251*6881a400Schristos _initialize_filesystem, 252*6881a400Schristos _initialize_mem_search, 253*6881a400Schristos _initialize_findvar, 254*6881a400Schristos _initialize_frame, 255*6881a400Schristos _initialize_gcore, 256*6881a400Schristos _initialize_gdb_demangle, 257*6881a400Schristos _initialize_gdb_bfd, 258*6881a400Schristos _initialize_gdbtypes, 259*6881a400Schristos _initialize_gmp_utils, 260*6881a400Schristos _initialize_gnu_v2_abi, 261*6881a400Schristos _initialize_gnu_v3_abi, 262*6881a400Schristos _initialize_infcall, 263*6881a400Schristos _initialize_infcmd, 264*6881a400Schristos _initialize_inflow, 265*6881a400Schristos _initialize_infrun, 266*6881a400Schristos _initialize_interpreter, 267*6881a400Schristos _initialize_jit, 268*6881a400Schristos _initialize_language, 269*6881a400Schristos _initialize_macrocmd, 270*6881a400Schristos _initialize_macroscope, 271*6881a400Schristos _initialize_maint_cmds, 272*6881a400Schristos _initialize_maint_test_options, 273*6881a400Schristos _initialize_maint_test_settings, 274*6881a400Schristos _initialize_mdebugread, 275*6881a400Schristos _initialize_mem, 276*6881a400Schristos _initialize_mipsread, 277*6881a400Schristos _initialize_objc_language, 278*6881a400Schristos _initialize_observer, 279*6881a400Schristos _initialize_gdb_osabi, 280*6881a400Schristos _initialize_osdata, 281*6881a400Schristos _initialize_pascal_valprint, 282*6881a400Schristos _initialize_parse, 283*6881a400Schristos _initialize_printcmd, 284*6881a400Schristos _initialize_probe, 285*6881a400Schristos _initialize_producer, 286*6881a400Schristos _initialize_psymtab, 287*6881a400Schristos _initialize_record, 288*6881a400Schristos _initialize_record_btrace, 289*6881a400Schristos _initialize_record_full, 290*6881a400Schristos _initialize_regcache, 291*6881a400Schristos _initialize_regcache_dump, 292*6881a400Schristos _initialize_reggroup, 293*6881a400Schristos _initialize_remote, 294*6881a400Schristos _initialize_notif, 295*6881a400Schristos _initialize_reverse, 296*6881a400Schristos _initialize_run_on_main_thread, 297*6881a400Schristos _initialize_rust_exp, 298*6881a400Schristos _initialize_serial, 299*6881a400Schristos _initialize_step_skip, 300*6881a400Schristos _initialize_solib, 301*6881a400Schristos _initialize_source, 302*6881a400Schristos _initialize_source_cache, 303*6881a400Schristos _initialize_stabsread, 304*6881a400Schristos _initialize_stack, 305*6881a400Schristos _initialize_frame_reg, 306*6881a400Schristos _initialize_symfile, 307*6881a400Schristos _initialize_symfile_debug, 308*6881a400Schristos _initialize_symmisc, 309*6881a400Schristos _initialize_symtab, 310*6881a400Schristos _initialize_target, 311*6881a400Schristos _initialize_target_connection, 312*6881a400Schristos _initialize_target_dcache, 313*6881a400Schristos _initialize_target_descriptions, 314*6881a400Schristos _initialize_thread, 315*6881a400Schristos _initialize_top, 316*6881a400Schristos _initialize_ctf, 317*6881a400Schristos _initialize_tracefile, 318*6881a400Schristos _initialize_tracefile_tfile, 319*6881a400Schristos _initialize_tracepoint, 320*6881a400Schristos _initialize_typeprint, 321*6881a400Schristos _initialize_ui_style, 322*6881a400Schristos _initialize_user_regs, 323*6881a400Schristos _initialize_utils, 324*6881a400Schristos _initialize_valops, 325*6881a400Schristos _initialize_valprint, 326*6881a400Schristos _initialize_values, 327*6881a400Schristos _initialize_varobj, 328*6881a400Schristos _initialize_xml_support, 329*6881a400Schristos _initialize_cli_cmds, 330*6881a400Schristos _initialize_cli_dump, 331*6881a400Schristos _initialize_cli_interp, 332*6881a400Schristos _initialize_cli_logging, 333*6881a400Schristos _initialize_cli_script, 334*6881a400Schristos _initialize_cli_style, 335*6881a400Schristos _initialize_compile, 336*6881a400Schristos _initialize_compile_cplus_types, 337*6881a400Schristos }; 338*6881a400Schristos 339*6881a400Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 340*6881a400Schristos order in which initialization functions are called. This is 341*6881a400Schristos used by the testsuite. */ 342*6881a400Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 343*6881a400Schristos std::reverse (functions.begin (), functions.end ()); 344*6881a400Schristos 345*6881a400Schristos for (initialize_file_ftype *function : functions) 346*6881a400Schristos function (); 347699b0f92Schristos } 348