xref: /netbsd-src/external/gpl3/gdb.old/lib/libgdb/arch/x86_64/init.c (revision 8b657b0747480f8989760d71343d6dd33f8d4cf9)
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_i386_tdep;
11*8b657b07Schristos extern initialize_file_ftype _initialize_ravenscar;
1247c37bc2Schristos extern initialize_file_ftype _initialize_amd64_tdep;
130c04591cSchristos extern initialize_file_ftype _initialize_svr4_solib;
1447c37bc2Schristos extern initialize_file_ftype _initialize_amd64nbsd_tdep;
1547c37bc2Schristos extern initialize_file_ftype _initialize_i386nbsd_tdep;
160c04591cSchristos extern initialize_file_ftype _initialize_ser_hardwire;
170c04591cSchristos extern initialize_file_ftype _initialize_ser_pipe;
180c04591cSchristos extern initialize_file_ftype _initialize_ser_tcp;
1947c37bc2Schristos extern initialize_file_ftype _initialize_ser_socket;
200c04591cSchristos extern initialize_file_ftype _initialize_fork_child;
2147c37bc2Schristos extern initialize_file_ftype _initialize_x86_bsd_nat;
22*8b657b07Schristos extern initialize_file_ftype _initialize_amd64nbsd_nat;
2347c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmd_env;
2447c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmds;
2547c37bc2Schristos extern initialize_file_ftype _initialize_mi_interp;
2647c37bc2Schristos extern initialize_file_ftype _initialize_mi_main;
2747c37bc2Schristos extern initialize_file_ftype _initialize_tui;
2847c37bc2Schristos extern initialize_file_ftype _initialize_tui_hooks;
2947c37bc2Schristos extern initialize_file_ftype _initialize_tui_interp;
3047c37bc2Schristos extern initialize_file_ftype _initialize_tui_layout;
3147c37bc2Schristos extern initialize_file_ftype _initialize_tui_regs;
3247c37bc2Schristos extern initialize_file_ftype _initialize_tui_stack;
3347c37bc2Schristos extern initialize_file_ftype _initialize_tui_win;
3447c37bc2Schristos extern initialize_file_ftype _initialize_python;
3547c37bc2Schristos extern initialize_file_ftype _initialize_guile;
360c04591cSchristos extern initialize_file_ftype _initialize_elfread;
370c04591cSchristos extern initialize_file_ftype _initialize_stap_probe;
380c04591cSchristos extern initialize_file_ftype _initialize_dtrace_probe;
39e5cb852cSchristos extern initialize_file_ftype _initialize_ada_exp;
4099e23f81Schristos extern initialize_file_ftype _initialize_ada_language;
4199e23f81Schristos extern initialize_file_ftype _initialize_tasks;
42*8b657b07Schristos extern initialize_file_ftype _initialize_addrmap;
4399e23f81Schristos extern initialize_file_ftype _initialize_agent;
4499e23f81Schristos extern initialize_file_ftype _initialize_annotate;
4599e23f81Schristos extern initialize_file_ftype _initialize_gdbarch_utils;
460c04591cSchristos extern initialize_file_ftype _initialize_auto_load;
470c04591cSchristos extern initialize_file_ftype _initialize_auxv;
4847c37bc2Schristos extern initialize_file_ftype _initialize_ax_gdb;
49*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_exec;
50*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_fork;
51*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_load;
520c04591cSchristos extern initialize_file_ftype _initialize_break_catch_sig;
530c04591cSchristos extern initialize_file_ftype _initialize_break_catch_syscall;
5499e23f81Schristos extern initialize_file_ftype _initialize_break_catch_throw;
5599e23f81Schristos extern initialize_file_ftype _initialize_breakpoint;
5699e23f81Schristos extern initialize_file_ftype _initialize_btrace;
570c04591cSchristos extern initialize_file_ftype _initialize_charset;
5899e23f81Schristos extern initialize_file_ftype _initialize_coff_pe_read;
5999e23f81Schristos extern initialize_file_ftype _initialize_coffread;
6099e23f81Schristos extern initialize_file_ftype _initialize_complaints;
6199e23f81Schristos extern initialize_file_ftype _initialize_completer;
6299e23f81Schristos extern initialize_file_ftype _initialize_copying;
6399e23f81Schristos extern initialize_file_ftype _initialize_core;
640c04591cSchristos extern initialize_file_ftype _initialize_corelow;
6599e23f81Schristos extern initialize_file_ftype _initialize_cp_abi;
6699e23f81Schristos extern initialize_file_ftype _initialize_cp_namespace;
6799e23f81Schristos extern initialize_file_ftype _initialize_cp_support;
6899e23f81Schristos extern initialize_file_ftype _initialize_cp_valprint;
6999e23f81Schristos extern initialize_file_ftype _initialize_dbxread;
7047c37bc2Schristos extern initialize_file_ftype _initialize_dcache;
71*8b657b07Schristos extern initialize_file_ftype _initialize_debuginfod;
7299e23f81Schristos extern initialize_file_ftype _initialize_disasm;
73*8b657b07Schristos extern initialize_file_ftype _initialize_displaced_stepping;
740c04591cSchristos extern initialize_file_ftype _initialize_dummy_frame;
75*8b657b07Schristos extern initialize_file_ftype _initialize_cooked_index;
7682650ea5Schristos extern initialize_file_ftype _initialize_tailcall_frame;
7782650ea5Schristos extern initialize_file_ftype _initialize_dwarf2_frame;
7847c37bc2Schristos extern initialize_file_ftype _initialize_index_cache;
7947c37bc2Schristos extern initialize_file_ftype _initialize_dwarf_index_write;
8099e23f81Schristos extern initialize_file_ftype _initialize_dwarf2loc;
8199e23f81Schristos extern initialize_file_ftype _initialize_dwarf2_read;
82*8b657b07Schristos extern initialize_file_ftype _initialize_event_top;
8399e23f81Schristos extern initialize_file_ftype _initialize_exec;
8499e23f81Schristos extern initialize_file_ftype _initialize_extension;
8599e23f81Schristos extern initialize_file_ftype _initialize_f_language;
8699e23f81Schristos extern initialize_file_ftype _initialize_f_valprint;
8799e23f81Schristos extern initialize_file_ftype _initialize_filesystem;
8899e23f81Schristos extern initialize_file_ftype _initialize_mem_search;
8947c37bc2Schristos extern initialize_file_ftype _initialize_findvar;
9099e23f81Schristos extern initialize_file_ftype _initialize_frame;
9199e23f81Schristos extern initialize_file_ftype _initialize_gcore;
9282650ea5Schristos extern initialize_file_ftype _initialize_gdb_demangle;
9399e23f81Schristos extern initialize_file_ftype _initialize_gdb_bfd;
9447c37bc2Schristos extern initialize_file_ftype _initialize_gdbtypes;
95*8b657b07Schristos extern initialize_file_ftype _initialize_gmp_utils;
9699e23f81Schristos extern initialize_file_ftype _initialize_gnu_v2_abi;
9799e23f81Schristos extern initialize_file_ftype _initialize_gnu_v3_abi;
980c04591cSchristos extern initialize_file_ftype _initialize_infcall;
990c04591cSchristos extern initialize_file_ftype _initialize_infcmd;
10047c37bc2Schristos extern initialize_file_ftype _initialize_inflow;
1010c04591cSchristos extern initialize_file_ftype _initialize_infrun;
1020c04591cSchristos extern initialize_file_ftype _initialize_interpreter;
10399e23f81Schristos extern initialize_file_ftype _initialize_jit;
10499e23f81Schristos extern initialize_file_ftype _initialize_language;
1050c04591cSchristos extern initialize_file_ftype _initialize_macrocmd;
1060c04591cSchristos extern initialize_file_ftype _initialize_macroscope;
1070c04591cSchristos extern initialize_file_ftype _initialize_maint_cmds;
10882650ea5Schristos extern initialize_file_ftype _initialize_maint_test_options;
10982650ea5Schristos extern initialize_file_ftype _initialize_maint_test_settings;
11099e23f81Schristos extern initialize_file_ftype _initialize_mdebugread;
11199e23f81Schristos extern initialize_file_ftype _initialize_mem;
1120c04591cSchristos extern initialize_file_ftype _initialize_mipsread;
1130c04591cSchristos extern initialize_file_ftype _initialize_objc_language;
11499e23f81Schristos extern initialize_file_ftype _initialize_observer;
11599e23f81Schristos extern initialize_file_ftype _initialize_gdb_osabi;
11699e23f81Schristos extern initialize_file_ftype _initialize_osdata;
1170c04591cSchristos extern initialize_file_ftype _initialize_pascal_valprint;
11899e23f81Schristos extern initialize_file_ftype _initialize_parse;
11999e23f81Schristos extern initialize_file_ftype _initialize_printcmd;
12099e23f81Schristos extern initialize_file_ftype _initialize_probe;
12147c37bc2Schristos extern initialize_file_ftype _initialize_producer;
12299e23f81Schristos extern initialize_file_ftype _initialize_psymtab;
12399e23f81Schristos extern initialize_file_ftype _initialize_record;
12499e23f81Schristos extern initialize_file_ftype _initialize_record_btrace;
12599e23f81Schristos extern initialize_file_ftype _initialize_record_full;
12699e23f81Schristos extern initialize_file_ftype _initialize_regcache;
12747c37bc2Schristos extern initialize_file_ftype _initialize_regcache_dump;
1280c04591cSchristos extern initialize_file_ftype _initialize_reggroup;
12947c37bc2Schristos extern initialize_file_ftype _initialize_remote;
13047c37bc2Schristos extern initialize_file_ftype _initialize_notif;
13199e23f81Schristos extern initialize_file_ftype _initialize_reverse;
13282650ea5Schristos extern initialize_file_ftype _initialize_run_on_main_thread;
133*8b657b07Schristos extern initialize_file_ftype _initialize_rust_exp;
13499e23f81Schristos extern initialize_file_ftype _initialize_serial;
13599e23f81Schristos extern initialize_file_ftype _initialize_step_skip;
1360c04591cSchristos extern initialize_file_ftype _initialize_solib;
13799e23f81Schristos extern initialize_file_ftype _initialize_source;
13882650ea5Schristos extern initialize_file_ftype _initialize_source_cache;
13999e23f81Schristos extern initialize_file_ftype _initialize_stabsread;
14099e23f81Schristos extern initialize_file_ftype _initialize_stack;
14199e23f81Schristos extern initialize_file_ftype _initialize_frame_reg;
14299e23f81Schristos extern initialize_file_ftype _initialize_symfile;
14399e23f81Schristos extern initialize_file_ftype _initialize_symfile_debug;
14499e23f81Schristos extern initialize_file_ftype _initialize_symmisc;
14599e23f81Schristos extern initialize_file_ftype _initialize_symtab;
14682650ea5Schristos extern initialize_file_ftype _initialize_target;
14782650ea5Schristos extern initialize_file_ftype _initialize_target_connection;
14899e23f81Schristos extern initialize_file_ftype _initialize_target_dcache;
1490c04591cSchristos extern initialize_file_ftype _initialize_target_descriptions;
15099e23f81Schristos extern initialize_file_ftype _initialize_thread;
151*8b657b07Schristos extern initialize_file_ftype _initialize_top;
15282650ea5Schristos extern initialize_file_ftype _initialize_ctf;
15347c37bc2Schristos extern initialize_file_ftype _initialize_tracefile;
15447c37bc2Schristos extern initialize_file_ftype _initialize_tracefile_tfile;
15547c37bc2Schristos extern initialize_file_ftype _initialize_tracepoint;
15699e23f81Schristos extern initialize_file_ftype _initialize_typeprint;
15747c37bc2Schristos extern initialize_file_ftype _initialize_ui_style;
15899e23f81Schristos extern initialize_file_ftype _initialize_user_regs;
15999e23f81Schristos extern initialize_file_ftype _initialize_utils;
16099e23f81Schristos extern initialize_file_ftype _initialize_valops;
16199e23f81Schristos extern initialize_file_ftype _initialize_valprint;
16299e23f81Schristos extern initialize_file_ftype _initialize_values;
16399e23f81Schristos extern initialize_file_ftype _initialize_varobj;
16499e23f81Schristos extern initialize_file_ftype _initialize_xml_support;
1650c04591cSchristos extern initialize_file_ftype _initialize_cli_cmds;
16699e23f81Schristos extern initialize_file_ftype _initialize_cli_dump;
1670c04591cSchristos extern initialize_file_ftype _initialize_cli_interp;
16899e23f81Schristos extern initialize_file_ftype _initialize_cli_logging;
16999e23f81Schristos extern initialize_file_ftype _initialize_cli_script;
17047c37bc2Schristos extern initialize_file_ftype _initialize_cli_style;
1710c04591cSchristos extern initialize_file_ftype _initialize_compile;
17247c37bc2Schristos extern initialize_file_ftype _initialize_compile_cplus_types;
173*8b657b07Schristos 
174*8b657b07Schristos void initialize_all_files ();
1750c04591cSchristos void
176*8b657b07Schristos initialize_all_files ()
1770c04591cSchristos {
178*8b657b07Schristos   std::vector<initialize_file_ftype *> functions =
179*8b657b07Schristos     {
180*8b657b07Schristos       _initialize_i386_tdep,
181*8b657b07Schristos       _initialize_ravenscar,
182*8b657b07Schristos       _initialize_amd64_tdep,
183*8b657b07Schristos       _initialize_svr4_solib,
184*8b657b07Schristos       _initialize_amd64nbsd_tdep,
185*8b657b07Schristos       _initialize_i386nbsd_tdep,
186*8b657b07Schristos       _initialize_ser_hardwire,
187*8b657b07Schristos       _initialize_ser_pipe,
188*8b657b07Schristos       _initialize_ser_tcp,
189*8b657b07Schristos       _initialize_ser_socket,
190*8b657b07Schristos       _initialize_fork_child,
191*8b657b07Schristos       _initialize_x86_bsd_nat,
192*8b657b07Schristos       _initialize_amd64nbsd_nat,
193*8b657b07Schristos       _initialize_mi_cmd_env,
194*8b657b07Schristos       _initialize_mi_cmds,
195*8b657b07Schristos       _initialize_mi_interp,
196*8b657b07Schristos       _initialize_mi_main,
197*8b657b07Schristos       _initialize_tui,
198*8b657b07Schristos       _initialize_tui_hooks,
199*8b657b07Schristos       _initialize_tui_interp,
200*8b657b07Schristos       _initialize_tui_layout,
201*8b657b07Schristos       _initialize_tui_regs,
202*8b657b07Schristos       _initialize_tui_stack,
203*8b657b07Schristos       _initialize_tui_win,
204*8b657b07Schristos       _initialize_python,
205*8b657b07Schristos       _initialize_guile,
206*8b657b07Schristos       _initialize_elfread,
207*8b657b07Schristos       _initialize_stap_probe,
208*8b657b07Schristos       _initialize_dtrace_probe,
209*8b657b07Schristos       _initialize_ada_exp,
210*8b657b07Schristos       _initialize_ada_language,
211*8b657b07Schristos       _initialize_tasks,
212*8b657b07Schristos       _initialize_addrmap,
213*8b657b07Schristos       _initialize_agent,
214*8b657b07Schristos       _initialize_annotate,
215*8b657b07Schristos       _initialize_gdbarch_utils,
216*8b657b07Schristos       _initialize_auto_load,
217*8b657b07Schristos       _initialize_auxv,
218*8b657b07Schristos       _initialize_ax_gdb,
219*8b657b07Schristos       _initialize_break_catch_exec,
220*8b657b07Schristos       _initialize_break_catch_fork,
221*8b657b07Schristos       _initialize_break_catch_load,
222*8b657b07Schristos       _initialize_break_catch_sig,
223*8b657b07Schristos       _initialize_break_catch_syscall,
224*8b657b07Schristos       _initialize_break_catch_throw,
225*8b657b07Schristos       _initialize_breakpoint,
226*8b657b07Schristos       _initialize_btrace,
227*8b657b07Schristos       _initialize_charset,
228*8b657b07Schristos       _initialize_coff_pe_read,
229*8b657b07Schristos       _initialize_coffread,
230*8b657b07Schristos       _initialize_complaints,
231*8b657b07Schristos       _initialize_completer,
232*8b657b07Schristos       _initialize_copying,
233*8b657b07Schristos       _initialize_core,
234*8b657b07Schristos       _initialize_corelow,
235*8b657b07Schristos       _initialize_cp_abi,
236*8b657b07Schristos       _initialize_cp_namespace,
237*8b657b07Schristos       _initialize_cp_support,
238*8b657b07Schristos       _initialize_cp_valprint,
239*8b657b07Schristos       _initialize_dbxread,
240*8b657b07Schristos       _initialize_dcache,
241*8b657b07Schristos       _initialize_debuginfod,
242*8b657b07Schristos       _initialize_disasm,
243*8b657b07Schristos       _initialize_displaced_stepping,
244*8b657b07Schristos       _initialize_dummy_frame,
245*8b657b07Schristos       _initialize_cooked_index,
246*8b657b07Schristos       _initialize_tailcall_frame,
247*8b657b07Schristos       _initialize_dwarf2_frame,
248*8b657b07Schristos       _initialize_index_cache,
249*8b657b07Schristos       _initialize_dwarf_index_write,
250*8b657b07Schristos       _initialize_dwarf2loc,
251*8b657b07Schristos       _initialize_dwarf2_read,
252*8b657b07Schristos       _initialize_event_top,
253*8b657b07Schristos       _initialize_exec,
254*8b657b07Schristos       _initialize_extension,
255*8b657b07Schristos       _initialize_f_language,
256*8b657b07Schristos       _initialize_f_valprint,
257*8b657b07Schristos       _initialize_filesystem,
258*8b657b07Schristos       _initialize_mem_search,
259*8b657b07Schristos       _initialize_findvar,
260*8b657b07Schristos       _initialize_frame,
261*8b657b07Schristos       _initialize_gcore,
262*8b657b07Schristos       _initialize_gdb_demangle,
263*8b657b07Schristos       _initialize_gdb_bfd,
264*8b657b07Schristos       _initialize_gdbtypes,
265*8b657b07Schristos       _initialize_gmp_utils,
266*8b657b07Schristos       _initialize_gnu_v2_abi,
267*8b657b07Schristos       _initialize_gnu_v3_abi,
268*8b657b07Schristos       _initialize_infcall,
269*8b657b07Schristos       _initialize_infcmd,
270*8b657b07Schristos       _initialize_inflow,
271*8b657b07Schristos       _initialize_infrun,
272*8b657b07Schristos       _initialize_interpreter,
273*8b657b07Schristos       _initialize_jit,
274*8b657b07Schristos       _initialize_language,
275*8b657b07Schristos       _initialize_macrocmd,
276*8b657b07Schristos       _initialize_macroscope,
277*8b657b07Schristos       _initialize_maint_cmds,
278*8b657b07Schristos       _initialize_maint_test_options,
279*8b657b07Schristos       _initialize_maint_test_settings,
280*8b657b07Schristos       _initialize_mdebugread,
281*8b657b07Schristos       _initialize_mem,
282*8b657b07Schristos       _initialize_mipsread,
283*8b657b07Schristos       _initialize_objc_language,
284*8b657b07Schristos       _initialize_observer,
285*8b657b07Schristos       _initialize_gdb_osabi,
286*8b657b07Schristos       _initialize_osdata,
287*8b657b07Schristos       _initialize_pascal_valprint,
288*8b657b07Schristos       _initialize_parse,
289*8b657b07Schristos       _initialize_printcmd,
290*8b657b07Schristos       _initialize_probe,
291*8b657b07Schristos       _initialize_producer,
292*8b657b07Schristos       _initialize_psymtab,
293*8b657b07Schristos       _initialize_record,
294*8b657b07Schristos       _initialize_record_btrace,
295*8b657b07Schristos       _initialize_record_full,
296*8b657b07Schristos       _initialize_regcache,
297*8b657b07Schristos       _initialize_regcache_dump,
298*8b657b07Schristos       _initialize_reggroup,
299*8b657b07Schristos       _initialize_remote,
300*8b657b07Schristos       _initialize_notif,
301*8b657b07Schristos       _initialize_reverse,
302*8b657b07Schristos       _initialize_run_on_main_thread,
303*8b657b07Schristos       _initialize_rust_exp,
304*8b657b07Schristos       _initialize_serial,
305*8b657b07Schristos       _initialize_step_skip,
306*8b657b07Schristos       _initialize_solib,
307*8b657b07Schristos       _initialize_source,
308*8b657b07Schristos       _initialize_source_cache,
309*8b657b07Schristos       _initialize_stabsread,
310*8b657b07Schristos       _initialize_stack,
311*8b657b07Schristos       _initialize_frame_reg,
312*8b657b07Schristos       _initialize_symfile,
313*8b657b07Schristos       _initialize_symfile_debug,
314*8b657b07Schristos       _initialize_symmisc,
315*8b657b07Schristos       _initialize_symtab,
316*8b657b07Schristos       _initialize_target,
317*8b657b07Schristos       _initialize_target_connection,
318*8b657b07Schristos       _initialize_target_dcache,
319*8b657b07Schristos       _initialize_target_descriptions,
320*8b657b07Schristos       _initialize_thread,
321*8b657b07Schristos       _initialize_top,
322*8b657b07Schristos       _initialize_ctf,
323*8b657b07Schristos       _initialize_tracefile,
324*8b657b07Schristos       _initialize_tracefile_tfile,
325*8b657b07Schristos       _initialize_tracepoint,
326*8b657b07Schristos       _initialize_typeprint,
327*8b657b07Schristos       _initialize_ui_style,
328*8b657b07Schristos       _initialize_user_regs,
329*8b657b07Schristos       _initialize_utils,
330*8b657b07Schristos       _initialize_valops,
331*8b657b07Schristos       _initialize_valprint,
332*8b657b07Schristos       _initialize_values,
333*8b657b07Schristos       _initialize_varobj,
334*8b657b07Schristos       _initialize_xml_support,
335*8b657b07Schristos       _initialize_cli_cmds,
336*8b657b07Schristos       _initialize_cli_dump,
337*8b657b07Schristos       _initialize_cli_interp,
338*8b657b07Schristos       _initialize_cli_logging,
339*8b657b07Schristos       _initialize_cli_script,
340*8b657b07Schristos       _initialize_cli_style,
341*8b657b07Schristos       _initialize_compile,
342*8b657b07Schristos       _initialize_compile_cplus_types,
343*8b657b07Schristos     };
344*8b657b07Schristos 
345*8b657b07Schristos   /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the
346*8b657b07Schristos      order in which initialization functions are called.  This is
347*8b657b07Schristos      used by the testsuite.  */
348*8b657b07Schristos   if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr)
349*8b657b07Schristos     std::reverse (functions.begin (), functions.end ());
350*8b657b07Schristos 
351*8b657b07Schristos   for (initialize_file_ftype *function : functions)
352*8b657b07Schristos     function ();
3530c04591cSchristos }
354