xref: /netbsd-src/external/gpl3/gdb/lib/libgdb/arch/sh3eb/init.c (revision 22ebeae4b2252475e0ebe332f69734639cb946ea)
16fdc2528Schristos /* 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  */
387816d4fSchristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
46fdc2528Schristos 
56fdc2528Schristos /* Do not modify this file.  */
66fdc2528Schristos /* It is created automatically by the Makefile.  */
7a45db23fSchristos #include <algorithm>
8a45db23fSchristos 
987816d4fSchristos extern initialize_file_ftype _initialize_svr4_solib;
106fdc2528Schristos extern initialize_file_ftype _initialize_sh_tdep;
116fdc2528Schristos extern initialize_file_ftype _initialize_shnbsd_tdep;
126fdc2528Schristos extern initialize_file_ftype _initialize_ser_hardwire;
136fdc2528Schristos extern initialize_file_ftype _initialize_ser_pipe;
146fdc2528Schristos extern initialize_file_ftype _initialize_ser_tcp;
1587816d4fSchristos extern initialize_file_ftype _initialize_ser_socket;
166fdc2528Schristos extern initialize_file_ftype _initialize_fork_child;
176fdc2528Schristos extern initialize_file_ftype _initialize_shnbsd_nat;
1887816d4fSchristos extern initialize_file_ftype _initialize_tui;
19*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm;
2087816d4fSchristos extern initialize_file_ftype _initialize_tui_hooks;
2187816d4fSchristos extern initialize_file_ftype _initialize_tui_interp;
2287816d4fSchristos extern initialize_file_ftype _initialize_tui_layout;
2387816d4fSchristos extern initialize_file_ftype _initialize_tui_regs;
2487816d4fSchristos extern initialize_file_ftype _initialize_tui_stack;
2587816d4fSchristos extern initialize_file_ftype _initialize_tui_win;
2687816d4fSchristos extern initialize_file_ftype _initialize_python;
2787816d4fSchristos extern initialize_file_ftype _initialize_guile;
286fdc2528Schristos 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;
34a45db23fSchristos 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;
396fdc2528Schristos extern initialize_file_ftype _initialize_auxv;
4087816d4fSchristos extern initialize_file_ftype _initialize_ax_gdb;
41a45db23fSchristos extern initialize_file_ftype _initialize_break_catch_exec;
42a45db23fSchristos extern initialize_file_ftype _initialize_break_catch_fork;
43a45db23fSchristos 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;
496fdc2528Schristos 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;
5678ce218aSchristos 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;
6287816d4fSchristos extern initialize_file_ftype _initialize_dcache;
63a45db23fSchristos extern initialize_file_ftype _initialize_debuginfod;
648b7331e5Schristos extern initialize_file_ftype _initialize_disasm;
65a45db23fSchristos extern initialize_file_ftype _initialize_displaced_stepping;
666fdc2528Schristos extern initialize_file_ftype _initialize_dummy_frame;
67a45db23fSchristos extern initialize_file_ftype _initialize_cooked_index;
684d342c04Schristos extern initialize_file_ftype _initialize_tailcall_frame;
694d342c04Schristos extern initialize_file_ftype _initialize_dwarf2_frame;
7087816d4fSchristos extern initialize_file_ftype _initialize_index_cache;
7187816d4fSchristos 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;
76a45db23fSchristos 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;
8887816d4fSchristos extern initialize_file_ftype _initialize_gdbtypes;
89a45db23fSchristos 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;
926fdc2528Schristos extern initialize_file_ftype _initialize_infcall;
936fdc2528Schristos extern initialize_file_ftype _initialize_infcmd;
9487816d4fSchristos extern initialize_file_ftype _initialize_inflow;
956fdc2528Schristos extern initialize_file_ftype _initialize_infrun;
966fdc2528Schristos extern initialize_file_ftype _initialize_interpreter;
978b7331e5Schristos extern initialize_file_ftype _initialize_jit;
988b7331e5Schristos extern initialize_file_ftype _initialize_language;
996fdc2528Schristos extern initialize_file_ftype _initialize_macrocmd;
1006fdc2528Schristos extern initialize_file_ftype _initialize_macroscope;
1016fdc2528Schristos 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;
1066fdc2528Schristos extern initialize_file_ftype _initialize_mipsread;
1076fdc2528Schristos 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;
1116fdc2528Schristos 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;
11587816d4fSchristos 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;
12187816d4fSchristos extern initialize_file_ftype _initialize_regcache_dump;
1226fdc2528Schristos extern initialize_file_ftype _initialize_reggroup;
12387816d4fSchristos extern initialize_file_ftype _initialize_remote;
12487816d4fSchristos extern initialize_file_ftype _initialize_notif;
1258b7331e5Schristos extern initialize_file_ftype _initialize_reverse;
1264d342c04Schristos extern initialize_file_ftype _initialize_run_on_main_thread;
127a45db23fSchristos extern initialize_file_ftype _initialize_rust_exp;
1288b7331e5Schristos extern initialize_file_ftype _initialize_serial;
1298b7331e5Schristos extern initialize_file_ftype _initialize_step_skip;
13078ce218aSchristos 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;
1436fdc2528Schristos extern initialize_file_ftype _initialize_target_descriptions;
1448b7331e5Schristos extern initialize_file_ftype _initialize_thread;
145a45db23fSchristos extern initialize_file_ftype _initialize_top;
1464d342c04Schristos extern initialize_file_ftype _initialize_ctf;
14787816d4fSchristos extern initialize_file_ftype _initialize_tracefile;
14887816d4fSchristos extern initialize_file_ftype _initialize_tracefile_tfile;
14987816d4fSchristos extern initialize_file_ftype _initialize_tracepoint;
1508b7331e5Schristos extern initialize_file_ftype _initialize_typeprint;
151*22ebeae4Schristos extern initialize_file_ftype _initialize_ui;
15287816d4fSchristos 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;
1626fdc2528Schristos extern initialize_file_ftype _initialize_cli_interp;
1638b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging;
1648b7331e5Schristos extern initialize_file_ftype _initialize_cli_script;
16587816d4fSchristos 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;
170871cc9aeSchristos extern initialize_file_ftype _initialize_compile;
17187816d4fSchristos extern initialize_file_ftype _initialize_compile_cplus_types;
172a45db23fSchristos 
173a45db23fSchristos void initialize_all_files ();
1746fdc2528Schristos void
175a45db23fSchristos initialize_all_files ()
1766fdc2528Schristos {
177a45db23fSchristos   std::vector<initialize_file_ftype *> functions =
178a45db23fSchristos     {
179a45db23fSchristos       _initialize_svr4_solib,
180a45db23fSchristos       _initialize_sh_tdep,
181a45db23fSchristos       _initialize_shnbsd_tdep,
182a45db23fSchristos       _initialize_ser_hardwire,
183a45db23fSchristos       _initialize_ser_pipe,
184a45db23fSchristos       _initialize_ser_tcp,
185a45db23fSchristos       _initialize_ser_socket,
186a45db23fSchristos       _initialize_fork_child,
187a45db23fSchristos       _initialize_shnbsd_nat,
188a45db23fSchristos       _initialize_tui,
189*22ebeae4Schristos       _initialize_tui_disasm,
190a45db23fSchristos       _initialize_tui_hooks,
191a45db23fSchristos       _initialize_tui_interp,
192a45db23fSchristos       _initialize_tui_layout,
193a45db23fSchristos       _initialize_tui_regs,
194a45db23fSchristos       _initialize_tui_stack,
195a45db23fSchristos       _initialize_tui_win,
196a45db23fSchristos       _initialize_python,
197a45db23fSchristos       _initialize_guile,
198a45db23fSchristos       _initialize_elfread,
199a45db23fSchristos       _initialize_stap_probe,
200a45db23fSchristos       _initialize_dtrace_probe,
201*22ebeae4Schristos       _initialize_cp_name_parser,
202a45db23fSchristos       _initialize_ada_language,
203a45db23fSchristos       _initialize_tasks,
204a45db23fSchristos       _initialize_addrmap,
205a45db23fSchristos       _initialize_agent,
206a45db23fSchristos       _initialize_annotate,
207a45db23fSchristos       _initialize_gdbarch_utils,
208a45db23fSchristos       _initialize_auto_load,
209a45db23fSchristos       _initialize_auxv,
210a45db23fSchristos       _initialize_ax_gdb,
211a45db23fSchristos       _initialize_break_catch_exec,
212a45db23fSchristos       _initialize_break_catch_fork,
213a45db23fSchristos       _initialize_break_catch_load,
214a45db23fSchristos       _initialize_break_catch_sig,
215a45db23fSchristos       _initialize_break_catch_syscall,
216a45db23fSchristos       _initialize_break_catch_throw,
217a45db23fSchristos       _initialize_breakpoint,
218a45db23fSchristos       _initialize_btrace,
219a45db23fSchristos       _initialize_charset,
220a45db23fSchristos       _initialize_coff_pe_read,
221a45db23fSchristos       _initialize_coffread,
222a45db23fSchristos       _initialize_complaints,
223a45db23fSchristos       _initialize_completer,
224a45db23fSchristos       _initialize_copying,
225a45db23fSchristos       _initialize_core,
226a45db23fSchristos       _initialize_corelow,
227a45db23fSchristos       _initialize_cp_abi,
228a45db23fSchristos       _initialize_cp_namespace,
229a45db23fSchristos       _initialize_cp_support,
230a45db23fSchristos       _initialize_cp_valprint,
231a45db23fSchristos       _initialize_dbxread,
232a45db23fSchristos       _initialize_dcache,
233a45db23fSchristos       _initialize_debuginfod,
234a45db23fSchristos       _initialize_disasm,
235a45db23fSchristos       _initialize_displaced_stepping,
236a45db23fSchristos       _initialize_dummy_frame,
237a45db23fSchristos       _initialize_cooked_index,
238a45db23fSchristos       _initialize_tailcall_frame,
239a45db23fSchristos       _initialize_dwarf2_frame,
240a45db23fSchristos       _initialize_index_cache,
241a45db23fSchristos       _initialize_dwarf_index_write,
242a45db23fSchristos       _initialize_dwarf2loc,
243a45db23fSchristos       _initialize_dwarf2_read,
244*22ebeae4Schristos       _initialize_read_gdb_index,
245*22ebeae4Schristos       _initialize_extract_store_integer,
246a45db23fSchristos       _initialize_event_top,
247a45db23fSchristos       _initialize_exec,
248a45db23fSchristos       _initialize_extension,
249a45db23fSchristos       _initialize_f_language,
250a45db23fSchristos       _initialize_f_valprint,
251a45db23fSchristos       _initialize_filesystem,
252a45db23fSchristos       _initialize_mem_search,
253a45db23fSchristos       _initialize_frame,
254*22ebeae4Schristos       _initialize_frame_unwind,
255a45db23fSchristos       _initialize_gcore,
256a45db23fSchristos       _initialize_gdb_demangle,
257a45db23fSchristos       _initialize_gdb_bfd,
258a45db23fSchristos       _initialize_gdbtypes,
259a45db23fSchristos       _initialize_gmp_utils,
260a45db23fSchristos       _initialize_gnu_v2_abi,
261a45db23fSchristos       _initialize_gnu_v3_abi,
262a45db23fSchristos       _initialize_infcall,
263a45db23fSchristos       _initialize_infcmd,
264a45db23fSchristos       _initialize_inflow,
265a45db23fSchristos       _initialize_infrun,
266a45db23fSchristos       _initialize_interpreter,
267a45db23fSchristos       _initialize_jit,
268a45db23fSchristos       _initialize_language,
269a45db23fSchristos       _initialize_macrocmd,
270a45db23fSchristos       _initialize_macroscope,
271a45db23fSchristos       _initialize_maint_cmds,
272a45db23fSchristos       _initialize_maint_test_options,
273a45db23fSchristos       _initialize_maint_test_settings,
274a45db23fSchristos       _initialize_mdebugread,
275a45db23fSchristos       _initialize_mem,
276a45db23fSchristos       _initialize_mipsread,
277a45db23fSchristos       _initialize_objc_language,
278a45db23fSchristos       _initialize_observer,
279a45db23fSchristos       _initialize_gdb_osabi,
280a45db23fSchristos       _initialize_osdata,
281a45db23fSchristos       _initialize_pascal_valprint,
282a45db23fSchristos       _initialize_parse,
283a45db23fSchristos       _initialize_printcmd,
284a45db23fSchristos       _initialize_probe,
285a45db23fSchristos       _initialize_producer,
286a45db23fSchristos       _initialize_psymtab,
287a45db23fSchristos       _initialize_record,
288a45db23fSchristos       _initialize_record_btrace,
289a45db23fSchristos       _initialize_record_full,
290a45db23fSchristos       _initialize_regcache,
291a45db23fSchristos       _initialize_regcache_dump,
292a45db23fSchristos       _initialize_reggroup,
293a45db23fSchristos       _initialize_remote,
294a45db23fSchristos       _initialize_notif,
295a45db23fSchristos       _initialize_reverse,
296a45db23fSchristos       _initialize_run_on_main_thread,
297a45db23fSchristos       _initialize_rust_exp,
298a45db23fSchristos       _initialize_serial,
299a45db23fSchristos       _initialize_step_skip,
300a45db23fSchristos       _initialize_solib,
301a45db23fSchristos       _initialize_source,
302a45db23fSchristos       _initialize_source_cache,
303a45db23fSchristos       _initialize_stabsread,
304a45db23fSchristos       _initialize_stack,
305a45db23fSchristos       _initialize_frame_reg,
306a45db23fSchristos       _initialize_symfile,
307a45db23fSchristos       _initialize_symfile_debug,
308a45db23fSchristos       _initialize_symmisc,
309a45db23fSchristos       _initialize_symtab,
310a45db23fSchristos       _initialize_target,
311a45db23fSchristos       _initialize_target_connection,
312a45db23fSchristos       _initialize_target_dcache,
313a45db23fSchristos       _initialize_target_descriptions,
314a45db23fSchristos       _initialize_thread,
315a45db23fSchristos       _initialize_top,
316a45db23fSchristos       _initialize_ctf,
317a45db23fSchristos       _initialize_tracefile,
318a45db23fSchristos       _initialize_tracefile_tfile,
319a45db23fSchristos       _initialize_tracepoint,
320a45db23fSchristos       _initialize_typeprint,
321*22ebeae4Schristos       _initialize_ui,
322a45db23fSchristos       _initialize_ui_style,
323a45db23fSchristos       _initialize_user_regs,
324a45db23fSchristos       _initialize_utils,
325a45db23fSchristos       _initialize_valops,
326a45db23fSchristos       _initialize_valprint,
327a45db23fSchristos       _initialize_values,
328a45db23fSchristos       _initialize_varobj,
329a45db23fSchristos       _initialize_xml_support,
330a45db23fSchristos       _initialize_cli_cmds,
331a45db23fSchristos       _initialize_cli_dump,
332a45db23fSchristos       _initialize_cli_interp,
333a45db23fSchristos       _initialize_cli_logging,
334a45db23fSchristos       _initialize_cli_script,
335a45db23fSchristos       _initialize_cli_style,
336*22ebeae4Schristos       _initialize_mi_cmd_env,
337*22ebeae4Schristos       _initialize_mi_cmds,
338*22ebeae4Schristos       _initialize_mi_interp,
339*22ebeae4Schristos       _initialize_mi_main,
340a45db23fSchristos       _initialize_compile,
341a45db23fSchristos       _initialize_compile_cplus_types,
342a45db23fSchristos     };
343a45db23fSchristos 
344a45db23fSchristos   /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the
345a45db23fSchristos      order in which initialization functions are called.  This is
346a45db23fSchristos      used by the testsuite.  */
347a45db23fSchristos   if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr)
348a45db23fSchristos     std::reverse (functions.begin (), functions.end ());
349a45db23fSchristos 
350a45db23fSchristos   for (initialize_file_ftype *function : functions)
351a45db23fSchristos     function ();
3526fdc2528Schristos }
353