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