xref: /netbsd-src/external/gpl3/gdb/lib/libgdb/arch/i386/init.c (revision 22ebeae4b2252475e0ebe332f69734639cb946ea)
1c236fd95Schristos /* 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  */
3d410c4eaSchristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
4c236fd95Schristos 
5c236fd95Schristos /* Do not modify this file.  */
6c236fd95Schristos /* It is created automatically by the Makefile.  */
7d16b7486Schristos #include <algorithm>
8d16b7486Schristos 
9c236fd95Schristos extern initialize_file_ftype _initialize_i386_tdep;
10c236fd95Schristos extern initialize_file_ftype _initialize_svr4_solib;
11d410c4eaSchristos extern initialize_file_ftype _initialize_i386nbsd_tdep;
12c236fd95Schristos extern initialize_file_ftype _initialize_ser_hardwire;
13c236fd95Schristos extern initialize_file_ftype _initialize_ser_pipe;
14c236fd95Schristos extern initialize_file_ftype _initialize_ser_tcp;
15d410c4eaSchristos extern initialize_file_ftype _initialize_ser_socket;
16c236fd95Schristos extern initialize_file_ftype _initialize_fork_child;
178d9c9161Schristos extern initialize_file_ftype _initialize_x86_bsd_nat;
18d16b7486Schristos extern initialize_file_ftype _initialize_i386bsd_nat;
19d16b7486Schristos extern initialize_file_ftype _initialize_i386nbsd_nat;
20d410c4eaSchristos extern initialize_file_ftype _initialize_tui;
21*22ebeae4Schristos extern initialize_file_ftype _initialize_tui_disasm;
22d410c4eaSchristos extern initialize_file_ftype _initialize_tui_hooks;
23d410c4eaSchristos extern initialize_file_ftype _initialize_tui_interp;
24d410c4eaSchristos extern initialize_file_ftype _initialize_tui_layout;
25d410c4eaSchristos extern initialize_file_ftype _initialize_tui_regs;
26d410c4eaSchristos extern initialize_file_ftype _initialize_tui_stack;
27d410c4eaSchristos extern initialize_file_ftype _initialize_tui_win;
28d410c4eaSchristos extern initialize_file_ftype _initialize_python;
29d410c4eaSchristos extern initialize_file_ftype _initialize_guile;
30c236fd95Schristos extern initialize_file_ftype _initialize_elfread;
3134f40950Schristos extern initialize_file_ftype _initialize_stap_probe;
3251676f91Schristos 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;
36d16b7486Schristos 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;
4034f40950Schristos extern initialize_file_ftype _initialize_auto_load;
41c236fd95Schristos extern initialize_file_ftype _initialize_auxv;
42d410c4eaSchristos extern initialize_file_ftype _initialize_ax_gdb;
43d16b7486Schristos extern initialize_file_ftype _initialize_break_catch_exec;
44d16b7486Schristos extern initialize_file_ftype _initialize_break_catch_fork;
45d16b7486Schristos extern initialize_file_ftype _initialize_break_catch_load;
4634f40950Schristos extern initialize_file_ftype _initialize_break_catch_sig;
4751676f91Schristos 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;
51c236fd95Schristos 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;
5834f40950Schristos 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;
64d410c4eaSchristos extern initialize_file_ftype _initialize_dcache;
65d16b7486Schristos extern initialize_file_ftype _initialize_debuginfod;
668b7331e5Schristos extern initialize_file_ftype _initialize_disasm;
67d16b7486Schristos extern initialize_file_ftype _initialize_displaced_stepping;
68c236fd95Schristos extern initialize_file_ftype _initialize_dummy_frame;
69d16b7486Schristos extern initialize_file_ftype _initialize_cooked_index;
70eceb233bSchristos extern initialize_file_ftype _initialize_tailcall_frame;
71eceb233bSchristos extern initialize_file_ftype _initialize_dwarf2_frame;
72d410c4eaSchristos extern initialize_file_ftype _initialize_index_cache;
73d410c4eaSchristos 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;
78d16b7486Schristos 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;
88eceb233bSchristos extern initialize_file_ftype _initialize_gdb_demangle;
898b7331e5Schristos extern initialize_file_ftype _initialize_gdb_bfd;
90d410c4eaSchristos extern initialize_file_ftype _initialize_gdbtypes;
91d16b7486Schristos 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;
94c236fd95Schristos extern initialize_file_ftype _initialize_infcall;
95c236fd95Schristos extern initialize_file_ftype _initialize_infcmd;
96d410c4eaSchristos extern initialize_file_ftype _initialize_inflow;
97c236fd95Schristos extern initialize_file_ftype _initialize_infrun;
98c236fd95Schristos extern initialize_file_ftype _initialize_interpreter;
998b7331e5Schristos extern initialize_file_ftype _initialize_jit;
1008b7331e5Schristos extern initialize_file_ftype _initialize_language;
101c236fd95Schristos extern initialize_file_ftype _initialize_macrocmd;
102c236fd95Schristos extern initialize_file_ftype _initialize_macroscope;
103c236fd95Schristos extern initialize_file_ftype _initialize_maint_cmds;
104eceb233bSchristos extern initialize_file_ftype _initialize_maint_test_options;
105eceb233bSchristos extern initialize_file_ftype _initialize_maint_test_settings;
1068b7331e5Schristos extern initialize_file_ftype _initialize_mdebugread;
1078b7331e5Schristos extern initialize_file_ftype _initialize_mem;
108c236fd95Schristos extern initialize_file_ftype _initialize_mipsread;
109c236fd95Schristos 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;
113c236fd95Schristos 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;
117d410c4eaSchristos 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;
123d410c4eaSchristos extern initialize_file_ftype _initialize_regcache_dump;
124c236fd95Schristos extern initialize_file_ftype _initialize_reggroup;
125d410c4eaSchristos extern initialize_file_ftype _initialize_remote;
126d410c4eaSchristos extern initialize_file_ftype _initialize_notif;
1278b7331e5Schristos extern initialize_file_ftype _initialize_reverse;
128eceb233bSchristos extern initialize_file_ftype _initialize_run_on_main_thread;
129d16b7486Schristos extern initialize_file_ftype _initialize_rust_exp;
1308b7331e5Schristos extern initialize_file_ftype _initialize_serial;
1318b7331e5Schristos extern initialize_file_ftype _initialize_step_skip;
13234f40950Schristos extern initialize_file_ftype _initialize_solib;
1338b7331e5Schristos extern initialize_file_ftype _initialize_source;
134eceb233bSchristos 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;
142eceb233bSchristos extern initialize_file_ftype _initialize_target;
143eceb233bSchristos extern initialize_file_ftype _initialize_target_connection;
1448b7331e5Schristos extern initialize_file_ftype _initialize_target_dcache;
145c236fd95Schristos extern initialize_file_ftype _initialize_target_descriptions;
1468b7331e5Schristos extern initialize_file_ftype _initialize_thread;
147d16b7486Schristos extern initialize_file_ftype _initialize_top;
148eceb233bSchristos extern initialize_file_ftype _initialize_ctf;
149d410c4eaSchristos extern initialize_file_ftype _initialize_tracefile;
150d410c4eaSchristos extern initialize_file_ftype _initialize_tracefile_tfile;
151d410c4eaSchristos extern initialize_file_ftype _initialize_tracepoint;
1528b7331e5Schristos extern initialize_file_ftype _initialize_typeprint;
153*22ebeae4Schristos extern initialize_file_ftype _initialize_ui;
154d410c4eaSchristos 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;
16234f40950Schristos extern initialize_file_ftype _initialize_cli_cmds;
1638b7331e5Schristos extern initialize_file_ftype _initialize_cli_dump;
164c236fd95Schristos extern initialize_file_ftype _initialize_cli_interp;
1658b7331e5Schristos extern initialize_file_ftype _initialize_cli_logging;
1668b7331e5Schristos extern initialize_file_ftype _initialize_cli_script;
167d410c4eaSchristos 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;
172d708e326Schristos extern initialize_file_ftype _initialize_compile;
173d410c4eaSchristos extern initialize_file_ftype _initialize_compile_cplus_types;
174d16b7486Schristos 
175d16b7486Schristos void initialize_all_files ();
176c236fd95Schristos void
177d16b7486Schristos initialize_all_files ()
178c236fd95Schristos {
179d16b7486Schristos   std::vector<initialize_file_ftype *> functions =
180d16b7486Schristos     {
181d16b7486Schristos       _initialize_i386_tdep,
182d16b7486Schristos       _initialize_svr4_solib,
183d16b7486Schristos       _initialize_i386nbsd_tdep,
184d16b7486Schristos       _initialize_ser_hardwire,
185d16b7486Schristos       _initialize_ser_pipe,
186d16b7486Schristos       _initialize_ser_tcp,
187d16b7486Schristos       _initialize_ser_socket,
188d16b7486Schristos       _initialize_fork_child,
189d16b7486Schristos       _initialize_x86_bsd_nat,
190d16b7486Schristos       _initialize_i386bsd_nat,
191d16b7486Schristos       _initialize_i386nbsd_nat,
192d16b7486Schristos       _initialize_tui,
193*22ebeae4Schristos       _initialize_tui_disasm,
194d16b7486Schristos       _initialize_tui_hooks,
195d16b7486Schristos       _initialize_tui_interp,
196d16b7486Schristos       _initialize_tui_layout,
197d16b7486Schristos       _initialize_tui_regs,
198d16b7486Schristos       _initialize_tui_stack,
199d16b7486Schristos       _initialize_tui_win,
200d16b7486Schristos       _initialize_python,
201d16b7486Schristos       _initialize_guile,
202d16b7486Schristos       _initialize_elfread,
203d16b7486Schristos       _initialize_stap_probe,
204d16b7486Schristos       _initialize_dtrace_probe,
205*22ebeae4Schristos       _initialize_cp_name_parser,
206d16b7486Schristos       _initialize_ada_language,
207d16b7486Schristos       _initialize_tasks,
208d16b7486Schristos       _initialize_addrmap,
209d16b7486Schristos       _initialize_agent,
210d16b7486Schristos       _initialize_annotate,
211d16b7486Schristos       _initialize_gdbarch_utils,
212d16b7486Schristos       _initialize_auto_load,
213d16b7486Schristos       _initialize_auxv,
214d16b7486Schristos       _initialize_ax_gdb,
215d16b7486Schristos       _initialize_break_catch_exec,
216d16b7486Schristos       _initialize_break_catch_fork,
217d16b7486Schristos       _initialize_break_catch_load,
218d16b7486Schristos       _initialize_break_catch_sig,
219d16b7486Schristos       _initialize_break_catch_syscall,
220d16b7486Schristos       _initialize_break_catch_throw,
221d16b7486Schristos       _initialize_breakpoint,
222d16b7486Schristos       _initialize_btrace,
223d16b7486Schristos       _initialize_charset,
224d16b7486Schristos       _initialize_coff_pe_read,
225d16b7486Schristos       _initialize_coffread,
226d16b7486Schristos       _initialize_complaints,
227d16b7486Schristos       _initialize_completer,
228d16b7486Schristos       _initialize_copying,
229d16b7486Schristos       _initialize_core,
230d16b7486Schristos       _initialize_corelow,
231d16b7486Schristos       _initialize_cp_abi,
232d16b7486Schristos       _initialize_cp_namespace,
233d16b7486Schristos       _initialize_cp_support,
234d16b7486Schristos       _initialize_cp_valprint,
235d16b7486Schristos       _initialize_dbxread,
236d16b7486Schristos       _initialize_dcache,
237d16b7486Schristos       _initialize_debuginfod,
238d16b7486Schristos       _initialize_disasm,
239d16b7486Schristos       _initialize_displaced_stepping,
240d16b7486Schristos       _initialize_dummy_frame,
241d16b7486Schristos       _initialize_cooked_index,
242d16b7486Schristos       _initialize_tailcall_frame,
243d16b7486Schristos       _initialize_dwarf2_frame,
244d16b7486Schristos       _initialize_index_cache,
245d16b7486Schristos       _initialize_dwarf_index_write,
246d16b7486Schristos       _initialize_dwarf2loc,
247d16b7486Schristos       _initialize_dwarf2_read,
248*22ebeae4Schristos       _initialize_read_gdb_index,
249*22ebeae4Schristos       _initialize_extract_store_integer,
250d16b7486Schristos       _initialize_event_top,
251d16b7486Schristos       _initialize_exec,
252d16b7486Schristos       _initialize_extension,
253d16b7486Schristos       _initialize_f_language,
254d16b7486Schristos       _initialize_f_valprint,
255d16b7486Schristos       _initialize_filesystem,
256d16b7486Schristos       _initialize_mem_search,
257d16b7486Schristos       _initialize_frame,
258*22ebeae4Schristos       _initialize_frame_unwind,
259d16b7486Schristos       _initialize_gcore,
260d16b7486Schristos       _initialize_gdb_demangle,
261d16b7486Schristos       _initialize_gdb_bfd,
262d16b7486Schristos       _initialize_gdbtypes,
263d16b7486Schristos       _initialize_gmp_utils,
264d16b7486Schristos       _initialize_gnu_v2_abi,
265d16b7486Schristos       _initialize_gnu_v3_abi,
266d16b7486Schristos       _initialize_infcall,
267d16b7486Schristos       _initialize_infcmd,
268d16b7486Schristos       _initialize_inflow,
269d16b7486Schristos       _initialize_infrun,
270d16b7486Schristos       _initialize_interpreter,
271d16b7486Schristos       _initialize_jit,
272d16b7486Schristos       _initialize_language,
273d16b7486Schristos       _initialize_macrocmd,
274d16b7486Schristos       _initialize_macroscope,
275d16b7486Schristos       _initialize_maint_cmds,
276d16b7486Schristos       _initialize_maint_test_options,
277d16b7486Schristos       _initialize_maint_test_settings,
278d16b7486Schristos       _initialize_mdebugread,
279d16b7486Schristos       _initialize_mem,
280d16b7486Schristos       _initialize_mipsread,
281d16b7486Schristos       _initialize_objc_language,
282d16b7486Schristos       _initialize_observer,
283d16b7486Schristos       _initialize_gdb_osabi,
284d16b7486Schristos       _initialize_osdata,
285d16b7486Schristos       _initialize_pascal_valprint,
286d16b7486Schristos       _initialize_parse,
287d16b7486Schristos       _initialize_printcmd,
288d16b7486Schristos       _initialize_probe,
289d16b7486Schristos       _initialize_producer,
290d16b7486Schristos       _initialize_psymtab,
291d16b7486Schristos       _initialize_record,
292d16b7486Schristos       _initialize_record_btrace,
293d16b7486Schristos       _initialize_record_full,
294d16b7486Schristos       _initialize_regcache,
295d16b7486Schristos       _initialize_regcache_dump,
296d16b7486Schristos       _initialize_reggroup,
297d16b7486Schristos       _initialize_remote,
298d16b7486Schristos       _initialize_notif,
299d16b7486Schristos       _initialize_reverse,
300d16b7486Schristos       _initialize_run_on_main_thread,
301d16b7486Schristos       _initialize_rust_exp,
302d16b7486Schristos       _initialize_serial,
303d16b7486Schristos       _initialize_step_skip,
304d16b7486Schristos       _initialize_solib,
305d16b7486Schristos       _initialize_source,
306d16b7486Schristos       _initialize_source_cache,
307d16b7486Schristos       _initialize_stabsread,
308d16b7486Schristos       _initialize_stack,
309d16b7486Schristos       _initialize_frame_reg,
310d16b7486Schristos       _initialize_symfile,
311d16b7486Schristos       _initialize_symfile_debug,
312d16b7486Schristos       _initialize_symmisc,
313d16b7486Schristos       _initialize_symtab,
314d16b7486Schristos       _initialize_target,
315d16b7486Schristos       _initialize_target_connection,
316d16b7486Schristos       _initialize_target_dcache,
317d16b7486Schristos       _initialize_target_descriptions,
318d16b7486Schristos       _initialize_thread,
319d16b7486Schristos       _initialize_top,
320d16b7486Schristos       _initialize_ctf,
321d16b7486Schristos       _initialize_tracefile,
322d16b7486Schristos       _initialize_tracefile_tfile,
323d16b7486Schristos       _initialize_tracepoint,
324d16b7486Schristos       _initialize_typeprint,
325*22ebeae4Schristos       _initialize_ui,
326d16b7486Schristos       _initialize_ui_style,
327d16b7486Schristos       _initialize_user_regs,
328d16b7486Schristos       _initialize_utils,
329d16b7486Schristos       _initialize_valops,
330d16b7486Schristos       _initialize_valprint,
331d16b7486Schristos       _initialize_values,
332d16b7486Schristos       _initialize_varobj,
333d16b7486Schristos       _initialize_xml_support,
334d16b7486Schristos       _initialize_cli_cmds,
335d16b7486Schristos       _initialize_cli_dump,
336d16b7486Schristos       _initialize_cli_interp,
337d16b7486Schristos       _initialize_cli_logging,
338d16b7486Schristos       _initialize_cli_script,
339d16b7486Schristos       _initialize_cli_style,
340*22ebeae4Schristos       _initialize_mi_cmd_env,
341*22ebeae4Schristos       _initialize_mi_cmds,
342*22ebeae4Schristos       _initialize_mi_interp,
343*22ebeae4Schristos       _initialize_mi_main,
344d16b7486Schristos       _initialize_compile,
345d16b7486Schristos       _initialize_compile_cplus_types,
346d16b7486Schristos     };
347d16b7486Schristos 
348d16b7486Schristos   /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the
349d16b7486Schristos      order in which initialization functions are called.  This is
350d16b7486Schristos      used by the testsuite.  */
351d16b7486Schristos   if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr)
352d16b7486Schristos     std::reverse (functions.begin (), functions.end ());
353d16b7486Schristos 
354d16b7486Schristos   for (initialize_file_ftype *function : functions)
355d16b7486Schristos     function ();
356c236fd95Schristos }
357