xref: /netbsd-src/external/gpl3/gdb.old/lib/libgdb/arch/m68000/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 
1047c37bc2Schristos extern initialize_file_ftype _initialize_svr4_solib;
110c04591cSchristos extern initialize_file_ftype _initialize_m68k_tdep;
120c04591cSchristos extern initialize_file_ftype _initialize_m68kbsd_tdep;
130c04591cSchristos extern initialize_file_ftype _initialize_ser_hardwire;
140c04591cSchristos extern initialize_file_ftype _initialize_ser_pipe;
150c04591cSchristos extern initialize_file_ftype _initialize_ser_tcp;
1647c37bc2Schristos extern initialize_file_ftype _initialize_ser_socket;
1747c37bc2Schristos extern initialize_file_ftype _initialize_fork_child;
180c04591cSchristos extern initialize_file_ftype _initialize_m68kbsd_nat;
1947c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmd_env;
2047c37bc2Schristos extern initialize_file_ftype _initialize_mi_cmds;
2147c37bc2Schristos extern initialize_file_ftype _initialize_mi_interp;
2247c37bc2Schristos extern initialize_file_ftype _initialize_mi_main;
2347c37bc2Schristos extern initialize_file_ftype _initialize_python;
2447c37bc2Schristos extern initialize_file_ftype _initialize_guile;
25e5cb852cSchristos extern initialize_file_ftype _initialize_ada_exp;
2699e23f81Schristos extern initialize_file_ftype _initialize_ada_language;
2799e23f81Schristos extern initialize_file_ftype _initialize_tasks;
28*8b657b07Schristos extern initialize_file_ftype _initialize_addrmap;
2999e23f81Schristos extern initialize_file_ftype _initialize_agent;
3099e23f81Schristos extern initialize_file_ftype _initialize_annotate;
3199e23f81Schristos extern initialize_file_ftype _initialize_gdbarch_utils;
320c04591cSchristos extern initialize_file_ftype _initialize_auto_load;
330c04591cSchristos extern initialize_file_ftype _initialize_auxv;
3447c37bc2Schristos extern initialize_file_ftype _initialize_ax_gdb;
35*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_exec;
36*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_fork;
37*8b657b07Schristos extern initialize_file_ftype _initialize_break_catch_load;
380c04591cSchristos extern initialize_file_ftype _initialize_break_catch_sig;
390c04591cSchristos extern initialize_file_ftype _initialize_break_catch_syscall;
4099e23f81Schristos extern initialize_file_ftype _initialize_break_catch_throw;
4199e23f81Schristos extern initialize_file_ftype _initialize_breakpoint;
4299e23f81Schristos extern initialize_file_ftype _initialize_btrace;
430c04591cSchristos extern initialize_file_ftype _initialize_charset;
4499e23f81Schristos extern initialize_file_ftype _initialize_coff_pe_read;
4599e23f81Schristos extern initialize_file_ftype _initialize_coffread;
4699e23f81Schristos extern initialize_file_ftype _initialize_complaints;
4799e23f81Schristos extern initialize_file_ftype _initialize_completer;
4899e23f81Schristos extern initialize_file_ftype _initialize_copying;
4999e23f81Schristos extern initialize_file_ftype _initialize_core;
500c04591cSchristos extern initialize_file_ftype _initialize_corelow;
5199e23f81Schristos extern initialize_file_ftype _initialize_cp_abi;
5299e23f81Schristos extern initialize_file_ftype _initialize_cp_namespace;
5399e23f81Schristos extern initialize_file_ftype _initialize_cp_support;
5499e23f81Schristos extern initialize_file_ftype _initialize_cp_valprint;
5599e23f81Schristos extern initialize_file_ftype _initialize_dbxread;
5647c37bc2Schristos extern initialize_file_ftype _initialize_dcache;
57*8b657b07Schristos extern initialize_file_ftype _initialize_debuginfod;
5899e23f81Schristos extern initialize_file_ftype _initialize_disasm;
59*8b657b07Schristos extern initialize_file_ftype _initialize_displaced_stepping;
600c04591cSchristos extern initialize_file_ftype _initialize_dummy_frame;
61*8b657b07Schristos extern initialize_file_ftype _initialize_cooked_index;
6282650ea5Schristos extern initialize_file_ftype _initialize_tailcall_frame;
6382650ea5Schristos extern initialize_file_ftype _initialize_dwarf2_frame;
6447c37bc2Schristos extern initialize_file_ftype _initialize_index_cache;
6547c37bc2Schristos extern initialize_file_ftype _initialize_dwarf_index_write;
6699e23f81Schristos extern initialize_file_ftype _initialize_dwarf2loc;
6799e23f81Schristos extern initialize_file_ftype _initialize_dwarf2_read;
68*8b657b07Schristos extern initialize_file_ftype _initialize_event_top;
6999e23f81Schristos extern initialize_file_ftype _initialize_exec;
7099e23f81Schristos extern initialize_file_ftype _initialize_extension;
7199e23f81Schristos extern initialize_file_ftype _initialize_f_language;
7299e23f81Schristos extern initialize_file_ftype _initialize_f_valprint;
7399e23f81Schristos extern initialize_file_ftype _initialize_filesystem;
7499e23f81Schristos extern initialize_file_ftype _initialize_mem_search;
7547c37bc2Schristos extern initialize_file_ftype _initialize_findvar;
7699e23f81Schristos extern initialize_file_ftype _initialize_frame;
7799e23f81Schristos extern initialize_file_ftype _initialize_gcore;
7882650ea5Schristos extern initialize_file_ftype _initialize_gdb_demangle;
7999e23f81Schristos extern initialize_file_ftype _initialize_gdb_bfd;
8047c37bc2Schristos extern initialize_file_ftype _initialize_gdbtypes;
81*8b657b07Schristos extern initialize_file_ftype _initialize_gmp_utils;
8299e23f81Schristos extern initialize_file_ftype _initialize_gnu_v2_abi;
8399e23f81Schristos extern initialize_file_ftype _initialize_gnu_v3_abi;
840c04591cSchristos extern initialize_file_ftype _initialize_infcall;
850c04591cSchristos extern initialize_file_ftype _initialize_infcmd;
8647c37bc2Schristos extern initialize_file_ftype _initialize_inflow;
870c04591cSchristos extern initialize_file_ftype _initialize_infrun;
880c04591cSchristos extern initialize_file_ftype _initialize_interpreter;
8999e23f81Schristos extern initialize_file_ftype _initialize_jit;
9099e23f81Schristos extern initialize_file_ftype _initialize_language;
910c04591cSchristos extern initialize_file_ftype _initialize_macrocmd;
920c04591cSchristos extern initialize_file_ftype _initialize_macroscope;
930c04591cSchristos extern initialize_file_ftype _initialize_maint_cmds;
9482650ea5Schristos extern initialize_file_ftype _initialize_maint_test_options;
9582650ea5Schristos extern initialize_file_ftype _initialize_maint_test_settings;
9699e23f81Schristos extern initialize_file_ftype _initialize_mdebugread;
9799e23f81Schristos extern initialize_file_ftype _initialize_mem;
980c04591cSchristos extern initialize_file_ftype _initialize_mipsread;
990c04591cSchristos extern initialize_file_ftype _initialize_objc_language;
10099e23f81Schristos extern initialize_file_ftype _initialize_observer;
10199e23f81Schristos extern initialize_file_ftype _initialize_gdb_osabi;
10299e23f81Schristos extern initialize_file_ftype _initialize_osdata;
1030c04591cSchristos extern initialize_file_ftype _initialize_pascal_valprint;
10499e23f81Schristos extern initialize_file_ftype _initialize_parse;
10599e23f81Schristos extern initialize_file_ftype _initialize_printcmd;
10699e23f81Schristos extern initialize_file_ftype _initialize_probe;
10747c37bc2Schristos extern initialize_file_ftype _initialize_producer;
10899e23f81Schristos extern initialize_file_ftype _initialize_psymtab;
10999e23f81Schristos extern initialize_file_ftype _initialize_record;
11099e23f81Schristos extern initialize_file_ftype _initialize_record_btrace;
11199e23f81Schristos extern initialize_file_ftype _initialize_record_full;
11299e23f81Schristos extern initialize_file_ftype _initialize_regcache;
11347c37bc2Schristos extern initialize_file_ftype _initialize_regcache_dump;
1140c04591cSchristos extern initialize_file_ftype _initialize_reggroup;
11547c37bc2Schristos extern initialize_file_ftype _initialize_remote;
11647c37bc2Schristos extern initialize_file_ftype _initialize_notif;
11799e23f81Schristos extern initialize_file_ftype _initialize_reverse;
11882650ea5Schristos extern initialize_file_ftype _initialize_run_on_main_thread;
119*8b657b07Schristos extern initialize_file_ftype _initialize_rust_exp;
12099e23f81Schristos extern initialize_file_ftype _initialize_serial;
12199e23f81Schristos extern initialize_file_ftype _initialize_step_skip;
1220c04591cSchristos extern initialize_file_ftype _initialize_solib;
12399e23f81Schristos extern initialize_file_ftype _initialize_source;
12482650ea5Schristos extern initialize_file_ftype _initialize_source_cache;
12599e23f81Schristos extern initialize_file_ftype _initialize_stabsread;
12699e23f81Schristos extern initialize_file_ftype _initialize_stack;
12799e23f81Schristos extern initialize_file_ftype _initialize_frame_reg;
12899e23f81Schristos extern initialize_file_ftype _initialize_symfile;
12999e23f81Schristos extern initialize_file_ftype _initialize_symfile_debug;
13099e23f81Schristos extern initialize_file_ftype _initialize_symmisc;
13199e23f81Schristos extern initialize_file_ftype _initialize_symtab;
13282650ea5Schristos extern initialize_file_ftype _initialize_target;
13382650ea5Schristos extern initialize_file_ftype _initialize_target_connection;
13499e23f81Schristos extern initialize_file_ftype _initialize_target_dcache;
1350c04591cSchristos extern initialize_file_ftype _initialize_target_descriptions;
13699e23f81Schristos extern initialize_file_ftype _initialize_thread;
137*8b657b07Schristos extern initialize_file_ftype _initialize_top;
13882650ea5Schristos extern initialize_file_ftype _initialize_ctf;
13947c37bc2Schristos extern initialize_file_ftype _initialize_tracefile;
14047c37bc2Schristos extern initialize_file_ftype _initialize_tracefile_tfile;
14147c37bc2Schristos extern initialize_file_ftype _initialize_tracepoint;
14299e23f81Schristos extern initialize_file_ftype _initialize_typeprint;
14347c37bc2Schristos extern initialize_file_ftype _initialize_ui_style;
14499e23f81Schristos extern initialize_file_ftype _initialize_user_regs;
14599e23f81Schristos extern initialize_file_ftype _initialize_utils;
14699e23f81Schristos extern initialize_file_ftype _initialize_valops;
14799e23f81Schristos extern initialize_file_ftype _initialize_valprint;
14899e23f81Schristos extern initialize_file_ftype _initialize_values;
14999e23f81Schristos extern initialize_file_ftype _initialize_varobj;
15099e23f81Schristos extern initialize_file_ftype _initialize_xml_support;
1510c04591cSchristos extern initialize_file_ftype _initialize_cli_cmds;
15299e23f81Schristos extern initialize_file_ftype _initialize_cli_dump;
1530c04591cSchristos extern initialize_file_ftype _initialize_cli_interp;
15499e23f81Schristos extern initialize_file_ftype _initialize_cli_logging;
15599e23f81Schristos extern initialize_file_ftype _initialize_cli_script;
15647c37bc2Schristos extern initialize_file_ftype _initialize_cli_style;
1570c04591cSchristos extern initialize_file_ftype _initialize_compile;
15847c37bc2Schristos extern initialize_file_ftype _initialize_compile_cplus_types;
159*8b657b07Schristos 
160*8b657b07Schristos void initialize_all_files ();
1610c04591cSchristos void
162*8b657b07Schristos initialize_all_files ()
1630c04591cSchristos {
164*8b657b07Schristos   std::vector<initialize_file_ftype *> functions =
165*8b657b07Schristos     {
166*8b657b07Schristos       _initialize_svr4_solib,
167*8b657b07Schristos       _initialize_m68k_tdep,
168*8b657b07Schristos       _initialize_m68kbsd_tdep,
169*8b657b07Schristos       _initialize_ser_hardwire,
170*8b657b07Schristos       _initialize_ser_pipe,
171*8b657b07Schristos       _initialize_ser_tcp,
172*8b657b07Schristos       _initialize_ser_socket,
173*8b657b07Schristos       _initialize_fork_child,
174*8b657b07Schristos       _initialize_m68kbsd_nat,
175*8b657b07Schristos       _initialize_mi_cmd_env,
176*8b657b07Schristos       _initialize_mi_cmds,
177*8b657b07Schristos       _initialize_mi_interp,
178*8b657b07Schristos       _initialize_mi_main,
179*8b657b07Schristos       _initialize_python,
180*8b657b07Schristos       _initialize_guile,
181*8b657b07Schristos       _initialize_ada_exp,
182*8b657b07Schristos       _initialize_ada_language,
183*8b657b07Schristos       _initialize_tasks,
184*8b657b07Schristos       _initialize_addrmap,
185*8b657b07Schristos       _initialize_agent,
186*8b657b07Schristos       _initialize_annotate,
187*8b657b07Schristos       _initialize_gdbarch_utils,
188*8b657b07Schristos       _initialize_auto_load,
189*8b657b07Schristos       _initialize_auxv,
190*8b657b07Schristos       _initialize_ax_gdb,
191*8b657b07Schristos       _initialize_break_catch_exec,
192*8b657b07Schristos       _initialize_break_catch_fork,
193*8b657b07Schristos       _initialize_break_catch_load,
194*8b657b07Schristos       _initialize_break_catch_sig,
195*8b657b07Schristos       _initialize_break_catch_syscall,
196*8b657b07Schristos       _initialize_break_catch_throw,
197*8b657b07Schristos       _initialize_breakpoint,
198*8b657b07Schristos       _initialize_btrace,
199*8b657b07Schristos       _initialize_charset,
200*8b657b07Schristos       _initialize_coff_pe_read,
201*8b657b07Schristos       _initialize_coffread,
202*8b657b07Schristos       _initialize_complaints,
203*8b657b07Schristos       _initialize_completer,
204*8b657b07Schristos       _initialize_copying,
205*8b657b07Schristos       _initialize_core,
206*8b657b07Schristos       _initialize_corelow,
207*8b657b07Schristos       _initialize_cp_abi,
208*8b657b07Schristos       _initialize_cp_namespace,
209*8b657b07Schristos       _initialize_cp_support,
210*8b657b07Schristos       _initialize_cp_valprint,
211*8b657b07Schristos       _initialize_dbxread,
212*8b657b07Schristos       _initialize_dcache,
213*8b657b07Schristos       _initialize_debuginfod,
214*8b657b07Schristos       _initialize_disasm,
215*8b657b07Schristos       _initialize_displaced_stepping,
216*8b657b07Schristos       _initialize_dummy_frame,
217*8b657b07Schristos       _initialize_cooked_index,
218*8b657b07Schristos       _initialize_tailcall_frame,
219*8b657b07Schristos       _initialize_dwarf2_frame,
220*8b657b07Schristos       _initialize_index_cache,
221*8b657b07Schristos       _initialize_dwarf_index_write,
222*8b657b07Schristos       _initialize_dwarf2loc,
223*8b657b07Schristos       _initialize_dwarf2_read,
224*8b657b07Schristos       _initialize_event_top,
225*8b657b07Schristos       _initialize_exec,
226*8b657b07Schristos       _initialize_extension,
227*8b657b07Schristos       _initialize_f_language,
228*8b657b07Schristos       _initialize_f_valprint,
229*8b657b07Schristos       _initialize_filesystem,
230*8b657b07Schristos       _initialize_mem_search,
231*8b657b07Schristos       _initialize_findvar,
232*8b657b07Schristos       _initialize_frame,
233*8b657b07Schristos       _initialize_gcore,
234*8b657b07Schristos       _initialize_gdb_demangle,
235*8b657b07Schristos       _initialize_gdb_bfd,
236*8b657b07Schristos       _initialize_gdbtypes,
237*8b657b07Schristos       _initialize_gmp_utils,
238*8b657b07Schristos       _initialize_gnu_v2_abi,
239*8b657b07Schristos       _initialize_gnu_v3_abi,
240*8b657b07Schristos       _initialize_infcall,
241*8b657b07Schristos       _initialize_infcmd,
242*8b657b07Schristos       _initialize_inflow,
243*8b657b07Schristos       _initialize_infrun,
244*8b657b07Schristos       _initialize_interpreter,
245*8b657b07Schristos       _initialize_jit,
246*8b657b07Schristos       _initialize_language,
247*8b657b07Schristos       _initialize_macrocmd,
248*8b657b07Schristos       _initialize_macroscope,
249*8b657b07Schristos       _initialize_maint_cmds,
250*8b657b07Schristos       _initialize_maint_test_options,
251*8b657b07Schristos       _initialize_maint_test_settings,
252*8b657b07Schristos       _initialize_mdebugread,
253*8b657b07Schristos       _initialize_mem,
254*8b657b07Schristos       _initialize_mipsread,
255*8b657b07Schristos       _initialize_objc_language,
256*8b657b07Schristos       _initialize_observer,
257*8b657b07Schristos       _initialize_gdb_osabi,
258*8b657b07Schristos       _initialize_osdata,
259*8b657b07Schristos       _initialize_pascal_valprint,
260*8b657b07Schristos       _initialize_parse,
261*8b657b07Schristos       _initialize_printcmd,
262*8b657b07Schristos       _initialize_probe,
263*8b657b07Schristos       _initialize_producer,
264*8b657b07Schristos       _initialize_psymtab,
265*8b657b07Schristos       _initialize_record,
266*8b657b07Schristos       _initialize_record_btrace,
267*8b657b07Schristos       _initialize_record_full,
268*8b657b07Schristos       _initialize_regcache,
269*8b657b07Schristos       _initialize_regcache_dump,
270*8b657b07Schristos       _initialize_reggroup,
271*8b657b07Schristos       _initialize_remote,
272*8b657b07Schristos       _initialize_notif,
273*8b657b07Schristos       _initialize_reverse,
274*8b657b07Schristos       _initialize_run_on_main_thread,
275*8b657b07Schristos       _initialize_rust_exp,
276*8b657b07Schristos       _initialize_serial,
277*8b657b07Schristos       _initialize_step_skip,
278*8b657b07Schristos       _initialize_solib,
279*8b657b07Schristos       _initialize_source,
280*8b657b07Schristos       _initialize_source_cache,
281*8b657b07Schristos       _initialize_stabsread,
282*8b657b07Schristos       _initialize_stack,
283*8b657b07Schristos       _initialize_frame_reg,
284*8b657b07Schristos       _initialize_symfile,
285*8b657b07Schristos       _initialize_symfile_debug,
286*8b657b07Schristos       _initialize_symmisc,
287*8b657b07Schristos       _initialize_symtab,
288*8b657b07Schristos       _initialize_target,
289*8b657b07Schristos       _initialize_target_connection,
290*8b657b07Schristos       _initialize_target_dcache,
291*8b657b07Schristos       _initialize_target_descriptions,
292*8b657b07Schristos       _initialize_thread,
293*8b657b07Schristos       _initialize_top,
294*8b657b07Schristos       _initialize_ctf,
295*8b657b07Schristos       _initialize_tracefile,
296*8b657b07Schristos       _initialize_tracefile_tfile,
297*8b657b07Schristos       _initialize_tracepoint,
298*8b657b07Schristos       _initialize_typeprint,
299*8b657b07Schristos       _initialize_ui_style,
300*8b657b07Schristos       _initialize_user_regs,
301*8b657b07Schristos       _initialize_utils,
302*8b657b07Schristos       _initialize_valops,
303*8b657b07Schristos       _initialize_valprint,
304*8b657b07Schristos       _initialize_values,
305*8b657b07Schristos       _initialize_varobj,
306*8b657b07Schristos       _initialize_xml_support,
307*8b657b07Schristos       _initialize_cli_cmds,
308*8b657b07Schristos       _initialize_cli_dump,
309*8b657b07Schristos       _initialize_cli_interp,
310*8b657b07Schristos       _initialize_cli_logging,
311*8b657b07Schristos       _initialize_cli_script,
312*8b657b07Schristos       _initialize_cli_style,
313*8b657b07Schristos       _initialize_compile,
314*8b657b07Schristos       _initialize_compile_cplus_types,
315*8b657b07Schristos     };
316*8b657b07Schristos 
317*8b657b07Schristos   /* If GDB_REVERSE_INIT_FUNCTIONS is set (any value), reverse the
318*8b657b07Schristos      order in which initialization functions are called.  This is
319*8b657b07Schristos      used by the testsuite.  */
320*8b657b07Schristos   if (getenv ("GDB_REVERSE_INIT_FUNCTIONS") != nullptr)
321*8b657b07Schristos     std::reverse (functions.begin (), functions.end ());
322*8b657b07Schristos 
323*8b657b07Schristos   for (initialize_file_ftype *function : functions)
324*8b657b07Schristos     function ();
3250c04591cSchristos }
326