10c04591cSchristos /* This file is automatically generated. DO NOT EDIT! */ 2*8b657b07Schristos /* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 347c37bc2Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 40c04591cSchristos 50c04591cSchristos /* Do not modify this file. */ 60c04591cSchristos /* It is created automatically by the Makefile. */ 70c04591cSchristos #include "defs.h" /* For initialize_file_ftype. */ 8*8b657b07Schristos #include <algorithm> 9*8b657b07Schristos 100c04591cSchristos extern initialize_file_ftype _initialize_arm_tdep; 11*8b657b07Schristos extern initialize_file_ftype _initialize_arm_none_tdep; 120c04591cSchristos extern initialize_file_ftype _initialize_svr4_solib; 1347c37bc2Schristos extern initialize_file_ftype _initialize_arm_netbsd_tdep; 140c04591cSchristos extern initialize_file_ftype _initialize_ser_hardwire; 150c04591cSchristos extern initialize_file_ftype _initialize_ser_pipe; 160c04591cSchristos extern initialize_file_ftype _initialize_ser_tcp; 1747c37bc2Schristos extern initialize_file_ftype _initialize_ser_socket; 180c04591cSchristos extern initialize_file_ftype _initialize_fork_child; 190c04591cSchristos extern initialize_file_ftype _initialize_arm_netbsd_nat; 2047c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmd_env; 2147c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmds; 2247c37bc2Schristos extern initialize_file_ftype _initialize_mi_interp; 2347c37bc2Schristos extern initialize_file_ftype _initialize_mi_main; 2447c37bc2Schristos extern initialize_file_ftype _initialize_tui; 2547c37bc2Schristos extern initialize_file_ftype _initialize_tui_hooks; 2647c37bc2Schristos extern initialize_file_ftype _initialize_tui_interp; 2747c37bc2Schristos extern initialize_file_ftype _initialize_tui_layout; 2847c37bc2Schristos extern initialize_file_ftype _initialize_tui_regs; 2947c37bc2Schristos extern initialize_file_ftype _initialize_tui_stack; 3047c37bc2Schristos extern initialize_file_ftype _initialize_tui_win; 3147c37bc2Schristos extern initialize_file_ftype _initialize_python; 3247c37bc2Schristos extern initialize_file_ftype _initialize_guile; 330c04591cSchristos extern initialize_file_ftype _initialize_elfread; 340c04591cSchristos extern initialize_file_ftype _initialize_stap_probe; 350c04591cSchristos extern initialize_file_ftype _initialize_dtrace_probe; 36e5cb852cSchristos extern initialize_file_ftype _initialize_ada_exp; 3799e23f81Schristos extern initialize_file_ftype _initialize_ada_language; 3899e23f81Schristos extern initialize_file_ftype _initialize_tasks; 39*8b657b07Schristos extern initialize_file_ftype _initialize_addrmap; 4099e23f81Schristos extern initialize_file_ftype _initialize_agent; 4199e23f81Schristos extern initialize_file_ftype _initialize_annotate; 4299e23f81Schristos extern initialize_file_ftype _initialize_gdbarch_utils; 430c04591cSchristos extern initialize_file_ftype _initialize_auto_load; 440c04591cSchristos extern initialize_file_ftype _initialize_auxv; 4547c37bc2Schristos extern initialize_file_ftype _initialize_ax_gdb; 46*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_exec; 47*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_fork; 48*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_load; 490c04591cSchristos extern initialize_file_ftype _initialize_break_catch_sig; 500c04591cSchristos extern initialize_file_ftype _initialize_break_catch_syscall; 5199e23f81Schristos extern initialize_file_ftype _initialize_break_catch_throw; 5299e23f81Schristos extern initialize_file_ftype _initialize_breakpoint; 5399e23f81Schristos extern initialize_file_ftype _initialize_btrace; 540c04591cSchristos extern initialize_file_ftype _initialize_charset; 5599e23f81Schristos extern initialize_file_ftype _initialize_coff_pe_read; 5699e23f81Schristos extern initialize_file_ftype _initialize_coffread; 5799e23f81Schristos extern initialize_file_ftype _initialize_complaints; 5899e23f81Schristos extern initialize_file_ftype _initialize_completer; 5999e23f81Schristos extern initialize_file_ftype _initialize_copying; 6099e23f81Schristos extern initialize_file_ftype _initialize_core; 61e5cb852cSchristos extern initialize_file_ftype _initialize_corelow; 6299e23f81Schristos extern initialize_file_ftype _initialize_cp_abi; 6399e23f81Schristos extern initialize_file_ftype _initialize_cp_namespace; 6499e23f81Schristos extern initialize_file_ftype _initialize_cp_support; 6599e23f81Schristos extern initialize_file_ftype _initialize_cp_valprint; 6699e23f81Schristos extern initialize_file_ftype _initialize_dbxread; 6747c37bc2Schristos extern initialize_file_ftype _initialize_dcache; 68*8b657b07Schristos extern initialize_file_ftype _initialize_debuginfod; 6999e23f81Schristos extern initialize_file_ftype _initialize_disasm; 70*8b657b07Schristos extern initialize_file_ftype _initialize_displaced_stepping; 710c04591cSchristos extern initialize_file_ftype _initialize_dummy_frame; 72*8b657b07Schristos extern initialize_file_ftype _initialize_cooked_index; 7382650ea5Schristos extern initialize_file_ftype _initialize_tailcall_frame; 7482650ea5Schristos extern initialize_file_ftype _initialize_dwarf2_frame; 7547c37bc2Schristos extern initialize_file_ftype _initialize_index_cache; 7647c37bc2Schristos extern initialize_file_ftype _initialize_dwarf_index_write; 7799e23f81Schristos extern initialize_file_ftype _initialize_dwarf2loc; 7899e23f81Schristos extern initialize_file_ftype _initialize_dwarf2_read; 79*8b657b07Schristos extern initialize_file_ftype _initialize_event_top; 8099e23f81Schristos extern initialize_file_ftype _initialize_exec; 8199e23f81Schristos extern initialize_file_ftype _initialize_extension; 8299e23f81Schristos extern initialize_file_ftype _initialize_f_language; 8399e23f81Schristos extern initialize_file_ftype _initialize_f_valprint; 8499e23f81Schristos extern initialize_file_ftype _initialize_filesystem; 8599e23f81Schristos extern initialize_file_ftype _initialize_mem_search; 8647c37bc2Schristos extern initialize_file_ftype _initialize_findvar; 8799e23f81Schristos extern initialize_file_ftype _initialize_frame; 8899e23f81Schristos extern initialize_file_ftype _initialize_gcore; 8982650ea5Schristos extern initialize_file_ftype _initialize_gdb_demangle; 9099e23f81Schristos extern initialize_file_ftype _initialize_gdb_bfd; 9147c37bc2Schristos extern initialize_file_ftype _initialize_gdbtypes; 92*8b657b07Schristos extern initialize_file_ftype _initialize_gmp_utils; 9399e23f81Schristos extern initialize_file_ftype _initialize_gnu_v2_abi; 9499e23f81Schristos extern initialize_file_ftype _initialize_gnu_v3_abi; 950c04591cSchristos extern initialize_file_ftype _initialize_infcall; 960c04591cSchristos extern initialize_file_ftype _initialize_infcmd; 9747c37bc2Schristos extern initialize_file_ftype _initialize_inflow; 980c04591cSchristos extern initialize_file_ftype _initialize_infrun; 990c04591cSchristos extern initialize_file_ftype _initialize_interpreter; 10099e23f81Schristos extern initialize_file_ftype _initialize_jit; 10199e23f81Schristos extern initialize_file_ftype _initialize_language; 1020c04591cSchristos extern initialize_file_ftype _initialize_macrocmd; 1030c04591cSchristos extern initialize_file_ftype _initialize_macroscope; 1040c04591cSchristos extern initialize_file_ftype _initialize_maint_cmds; 10582650ea5Schristos extern initialize_file_ftype _initialize_maint_test_options; 10682650ea5Schristos extern initialize_file_ftype _initialize_maint_test_settings; 10799e23f81Schristos extern initialize_file_ftype _initialize_mdebugread; 10899e23f81Schristos extern initialize_file_ftype _initialize_mem; 1090c04591cSchristos extern initialize_file_ftype _initialize_mipsread; 1100c04591cSchristos extern initialize_file_ftype _initialize_objc_language; 11199e23f81Schristos extern initialize_file_ftype _initialize_observer; 11299e23f81Schristos extern initialize_file_ftype _initialize_gdb_osabi; 11399e23f81Schristos extern initialize_file_ftype _initialize_osdata; 1140c04591cSchristos extern initialize_file_ftype _initialize_pascal_valprint; 11599e23f81Schristos extern initialize_file_ftype _initialize_parse; 11699e23f81Schristos extern initialize_file_ftype _initialize_printcmd; 11799e23f81Schristos extern initialize_file_ftype _initialize_probe; 11847c37bc2Schristos extern initialize_file_ftype _initialize_producer; 11999e23f81Schristos extern initialize_file_ftype _initialize_psymtab; 12099e23f81Schristos extern initialize_file_ftype _initialize_record; 12199e23f81Schristos extern initialize_file_ftype _initialize_record_btrace; 12299e23f81Schristos extern initialize_file_ftype _initialize_record_full; 12399e23f81Schristos extern initialize_file_ftype _initialize_regcache; 12447c37bc2Schristos extern initialize_file_ftype _initialize_regcache_dump; 1250c04591cSchristos extern initialize_file_ftype _initialize_reggroup; 12647c37bc2Schristos extern initialize_file_ftype _initialize_remote; 12747c37bc2Schristos extern initialize_file_ftype _initialize_notif; 12899e23f81Schristos extern initialize_file_ftype _initialize_reverse; 12982650ea5Schristos extern initialize_file_ftype _initialize_run_on_main_thread; 130*8b657b07Schristos extern initialize_file_ftype _initialize_rust_exp; 13199e23f81Schristos extern initialize_file_ftype _initialize_serial; 13299e23f81Schristos extern initialize_file_ftype _initialize_step_skip; 1330c04591cSchristos extern initialize_file_ftype _initialize_solib; 13499e23f81Schristos extern initialize_file_ftype _initialize_source; 13582650ea5Schristos extern initialize_file_ftype _initialize_source_cache; 13699e23f81Schristos extern initialize_file_ftype _initialize_stabsread; 13799e23f81Schristos extern initialize_file_ftype _initialize_stack; 13899e23f81Schristos extern initialize_file_ftype _initialize_frame_reg; 13999e23f81Schristos extern initialize_file_ftype _initialize_symfile; 14099e23f81Schristos extern initialize_file_ftype _initialize_symfile_debug; 14199e23f81Schristos extern initialize_file_ftype _initialize_symmisc; 14299e23f81Schristos extern initialize_file_ftype _initialize_symtab; 14382650ea5Schristos extern initialize_file_ftype _initialize_target; 14482650ea5Schristos extern initialize_file_ftype _initialize_target_connection; 14599e23f81Schristos extern initialize_file_ftype _initialize_target_dcache; 1460c04591cSchristos extern initialize_file_ftype _initialize_target_descriptions; 14799e23f81Schristos extern initialize_file_ftype _initialize_thread; 148*8b657b07Schristos extern initialize_file_ftype _initialize_top; 14982650ea5Schristos extern initialize_file_ftype _initialize_ctf; 15047c37bc2Schristos extern initialize_file_ftype _initialize_tracefile; 15147c37bc2Schristos extern initialize_file_ftype _initialize_tracefile_tfile; 15247c37bc2Schristos extern initialize_file_ftype _initialize_tracepoint; 15399e23f81Schristos extern initialize_file_ftype _initialize_typeprint; 15447c37bc2Schristos extern initialize_file_ftype _initialize_ui_style; 15599e23f81Schristos extern initialize_file_ftype _initialize_user_regs; 15699e23f81Schristos extern initialize_file_ftype _initialize_utils; 15799e23f81Schristos extern initialize_file_ftype _initialize_valops; 15899e23f81Schristos extern initialize_file_ftype _initialize_valprint; 15999e23f81Schristos extern initialize_file_ftype _initialize_values; 16099e23f81Schristos extern initialize_file_ftype _initialize_varobj; 16199e23f81Schristos extern initialize_file_ftype _initialize_xml_support; 1620c04591cSchristos extern initialize_file_ftype _initialize_cli_cmds; 16399e23f81Schristos extern initialize_file_ftype _initialize_cli_dump; 1640c04591cSchristos extern initialize_file_ftype _initialize_cli_interp; 16599e23f81Schristos extern initialize_file_ftype _initialize_cli_logging; 16699e23f81Schristos extern initialize_file_ftype _initialize_cli_script; 16747c37bc2Schristos extern initialize_file_ftype _initialize_cli_style; 1680c04591cSchristos extern initialize_file_ftype _initialize_compile; 16947c37bc2Schristos extern initialize_file_ftype _initialize_compile_cplus_types; 170*8b657b07Schristos 171*8b657b07Schristos void initialize_all_files (); 1720c04591cSchristos void 173*8b657b07Schristos initialize_all_files () 1740c04591cSchristos { 175*8b657b07Schristos std::vector<initialize_file_ftype *> functions = 176*8b657b07Schristos { 177*8b657b07Schristos _initialize_arm_tdep, 178*8b657b07Schristos _initialize_arm_none_tdep, 179*8b657b07Schristos _initialize_svr4_solib, 180*8b657b07Schristos _initialize_arm_netbsd_tdep, 181*8b657b07Schristos _initialize_ser_hardwire, 182*8b657b07Schristos _initialize_ser_pipe, 183*8b657b07Schristos _initialize_ser_tcp, 184*8b657b07Schristos _initialize_ser_socket, 185*8b657b07Schristos _initialize_fork_child, 186*8b657b07Schristos _initialize_arm_netbsd_nat, 187*8b657b07Schristos _initialize_mi_cmd_env, 188*8b657b07Schristos _initialize_mi_cmds, 189*8b657b07Schristos _initialize_mi_interp, 190*8b657b07Schristos _initialize_mi_main, 191*8b657b07Schristos _initialize_tui, 192*8b657b07Schristos _initialize_tui_hooks, 193*8b657b07Schristos _initialize_tui_interp, 194*8b657b07Schristos _initialize_tui_layout, 195*8b657b07Schristos _initialize_tui_regs, 196*8b657b07Schristos _initialize_tui_stack, 197*8b657b07Schristos _initialize_tui_win, 198*8b657b07Schristos _initialize_python, 199*8b657b07Schristos _initialize_guile, 200*8b657b07Schristos _initialize_elfread, 201*8b657b07Schristos _initialize_stap_probe, 202*8b657b07Schristos _initialize_dtrace_probe, 203*8b657b07Schristos _initialize_ada_exp, 204*8b657b07Schristos _initialize_ada_language, 205*8b657b07Schristos _initialize_tasks, 206*8b657b07Schristos _initialize_addrmap, 207*8b657b07Schristos _initialize_agent, 208*8b657b07Schristos _initialize_annotate, 209*8b657b07Schristos _initialize_gdbarch_utils, 210*8b657b07Schristos _initialize_auto_load, 211*8b657b07Schristos _initialize_auxv, 212*8b657b07Schristos _initialize_ax_gdb, 213*8b657b07Schristos _initialize_break_catch_exec, 214*8b657b07Schristos _initialize_break_catch_fork, 215*8b657b07Schristos _initialize_break_catch_load, 216*8b657b07Schristos _initialize_break_catch_sig, 217*8b657b07Schristos _initialize_break_catch_syscall, 218*8b657b07Schristos _initialize_break_catch_throw, 219*8b657b07Schristos _initialize_breakpoint, 220*8b657b07Schristos _initialize_btrace, 221*8b657b07Schristos _initialize_charset, 222*8b657b07Schristos _initialize_coff_pe_read, 223*8b657b07Schristos _initialize_coffread, 224*8b657b07Schristos _initialize_complaints, 225*8b657b07Schristos _initialize_completer, 226*8b657b07Schristos _initialize_copying, 227*8b657b07Schristos _initialize_core, 228*8b657b07Schristos _initialize_corelow, 229*8b657b07Schristos _initialize_cp_abi, 230*8b657b07Schristos _initialize_cp_namespace, 231*8b657b07Schristos _initialize_cp_support, 232*8b657b07Schristos _initialize_cp_valprint, 233*8b657b07Schristos _initialize_dbxread, 234*8b657b07Schristos _initialize_dcache, 235*8b657b07Schristos _initialize_debuginfod, 236*8b657b07Schristos _initialize_disasm, 237*8b657b07Schristos _initialize_displaced_stepping, 238*8b657b07Schristos _initialize_dummy_frame, 239*8b657b07Schristos _initialize_cooked_index, 240*8b657b07Schristos _initialize_tailcall_frame, 241*8b657b07Schristos _initialize_dwarf2_frame, 242*8b657b07Schristos _initialize_index_cache, 243*8b657b07Schristos _initialize_dwarf_index_write, 244*8b657b07Schristos _initialize_dwarf2loc, 245*8b657b07Schristos _initialize_dwarf2_read, 246*8b657b07Schristos _initialize_event_top, 247*8b657b07Schristos _initialize_exec, 248*8b657b07Schristos _initialize_extension, 249*8b657b07Schristos _initialize_f_language, 250*8b657b07Schristos _initialize_f_valprint, 251*8b657b07Schristos _initialize_filesystem, 252*8b657b07Schristos _initialize_mem_search, 253*8b657b07Schristos _initialize_findvar, 254*8b657b07Schristos _initialize_frame, 255*8b657b07Schristos _initialize_gcore, 256*8b657b07Schristos _initialize_gdb_demangle, 257*8b657b07Schristos _initialize_gdb_bfd, 258*8b657b07Schristos _initialize_gdbtypes, 259*8b657b07Schristos _initialize_gmp_utils, 260*8b657b07Schristos _initialize_gnu_v2_abi, 261*8b657b07Schristos _initialize_gnu_v3_abi, 262*8b657b07Schristos _initialize_infcall, 263*8b657b07Schristos _initialize_infcmd, 264*8b657b07Schristos _initialize_inflow, 265*8b657b07Schristos _initialize_infrun, 266*8b657b07Schristos _initialize_interpreter, 267*8b657b07Schristos _initialize_jit, 268*8b657b07Schristos _initialize_language, 269*8b657b07Schristos _initialize_macrocmd, 270*8b657b07Schristos _initialize_macroscope, 271*8b657b07Schristos _initialize_maint_cmds, 272*8b657b07Schristos _initialize_maint_test_options, 273*8b657b07Schristos _initialize_maint_test_settings, 274*8b657b07Schristos _initialize_mdebugread, 275*8b657b07Schristos _initialize_mem, 276*8b657b07Schristos _initialize_mipsread, 277*8b657b07Schristos _initialize_objc_language, 278*8b657b07Schristos _initialize_observer, 279*8b657b07Schristos _initialize_gdb_osabi, 280*8b657b07Schristos _initialize_osdata, 281*8b657b07Schristos _initialize_pascal_valprint, 282*8b657b07Schristos _initialize_parse, 283*8b657b07Schristos _initialize_printcmd, 284*8b657b07Schristos _initialize_probe, 285*8b657b07Schristos _initialize_producer, 286*8b657b07Schristos _initialize_psymtab, 287*8b657b07Schristos _initialize_record, 288*8b657b07Schristos _initialize_record_btrace, 289*8b657b07Schristos _initialize_record_full, 290*8b657b07Schristos _initialize_regcache, 291*8b657b07Schristos _initialize_regcache_dump, 292*8b657b07Schristos _initialize_reggroup, 293*8b657b07Schristos _initialize_remote, 294*8b657b07Schristos _initialize_notif, 295*8b657b07Schristos _initialize_reverse, 296*8b657b07Schristos _initialize_run_on_main_thread, 297*8b657b07Schristos _initialize_rust_exp, 298*8b657b07Schristos _initialize_serial, 299*8b657b07Schristos _initialize_step_skip, 300*8b657b07Schristos _initialize_solib, 301*8b657b07Schristos _initialize_source, 302*8b657b07Schristos _initialize_source_cache, 303*8b657b07Schristos _initialize_stabsread, 304*8b657b07Schristos _initialize_stack, 305*8b657b07Schristos _initialize_frame_reg, 306*8b657b07Schristos _initialize_symfile, 307*8b657b07Schristos _initialize_symfile_debug, 308*8b657b07Schristos _initialize_symmisc, 309*8b657b07Schristos _initialize_symtab, 310*8b657b07Schristos _initialize_target, 311*8b657b07Schristos _initialize_target_connection, 312*8b657b07Schristos _initialize_target_dcache, 313*8b657b07Schristos _initialize_target_descriptions, 314*8b657b07Schristos _initialize_thread, 315*8b657b07Schristos _initialize_top, 316*8b657b07Schristos _initialize_ctf, 317*8b657b07Schristos _initialize_tracefile, 318*8b657b07Schristos _initialize_tracefile_tfile, 319*8b657b07Schristos _initialize_tracepoint, 320*8b657b07Schristos _initialize_typeprint, 321*8b657b07Schristos _initialize_ui_style, 322*8b657b07Schristos _initialize_user_regs, 323*8b657b07Schristos _initialize_utils, 324*8b657b07Schristos _initialize_valops, 325*8b657b07Schristos _initialize_valprint, 326*8b657b07Schristos _initialize_values, 327*8b657b07Schristos _initialize_varobj, 328*8b657b07Schristos _initialize_xml_support, 329*8b657b07Schristos _initialize_cli_cmds, 330*8b657b07Schristos _initialize_cli_dump, 331*8b657b07Schristos _initialize_cli_interp, 332*8b657b07Schristos _initialize_cli_logging, 333*8b657b07Schristos _initialize_cli_script, 334*8b657b07Schristos _initialize_cli_style, 335*8b657b07Schristos _initialize_compile, 336*8b657b07Schristos _initialize_compile_cplus_types, 337*8b657b07Schristos }; 338*8b657b07Schristos 339*8b657b07Schristos /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the 340*8b657b07Schristos order in which initialization functions are called. This is 341*8b657b07Schristos used by the testsuite. */ 342*8b657b07Schristos if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr) 343*8b657b07Schristos std::reverse (functions.begin (), functions.end ()); 344*8b657b07Schristos 345*8b657b07Schristos for (initialize_file_ftype *function : functions) 346*8b657b07Schristos function (); 3470c04591cSchristos } 348