GDB (xrefs)
/tmp/gdb-7.10/gdb/auto-load.h
Go to the documentation of this file.
1 /* GDB routines for supporting auto-loaded scripts.
2 
3  Copyright (C) 2012-2015 Free Software Foundation, Inc.
4 
5  This file is part of GDB.
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 #ifndef AUTO_LOAD_H
21 #define AUTO_LOAD_H 1
22 
23 struct objfile;
24 struct program_space;
27 
28 extern int global_auto_load;
29 
30 extern int auto_load_local_gdbinit;
33 
34 extern struct auto_load_pspace_info *
36 extern void auto_load_objfile_script (struct objfile *objfile,
37  const struct extension_language_defn *);
38 extern void load_auto_scripts_for_objfile (struct objfile *objfile);
40 extern void auto_load_info_scripts (char *pattern, int from_tty,
41  const struct extension_language_defn *);
42 
43 extern struct cmd_list_element **auto_load_set_cmdlist_get (void);
44 extern struct cmd_list_element **auto_load_show_cmdlist_get (void);
45 extern struct cmd_list_element **auto_load_info_cmdlist_get (void);
46 
47 extern int file_is_auto_load_safe (const char *filename,
48  const char *debug_fmt, ...)
49  ATTRIBUTE_PRINTF (2, 3);
50 
52  (const struct extension_language_defn *extlang);
53 
54 #endif /* AUTO_LOAD_H */
struct cmd_list_element ** auto_load_show_cmdlist_get(void)
Definition: auto-load.c:1534
struct type ** const(pascal_builtin_types[])
int auto_load_local_gdbinit
Definition: auto-load.c:115
char auto_load_info_scripts_pattern_nl[]
Definition: auto-load.c:1299
void load_auto_scripts_for_objfile(struct objfile *objfile)
Definition: auto-load.c:1194
int auto_load_local_gdbinit_loaded
Definition: auto-load.c:121
void auto_load_objfile_script(struct objfile *objfile, const struct extension_language_defn *)
Definition: auto-load.c:890
struct cmd_list_element ** auto_load_set_cmdlist_get(void)
Definition: auto-load.c:1507
int global_auto_load
Definition: auto-load.c:112
int int auto_load_gdb_scripts_enabled(const struct extension_language_defn *extlang)
Definition: auto-load.c:97
int file_is_auto_load_safe(const char *filename, const char *debug_fmt,...) ATTRIBUTE_PRINTF(2
static void ATTRIBUTE_PRINTF(6, 0)
Definition: cli-out.c:229
char * auto_load_local_gdbinit_pathname
Definition: auto-load.c:118
struct cmd_list_element ** auto_load_info_cmdlist_get(void)
Definition: auto-load.c:1585
struct auto_load_pspace_info * get_auto_load_pspace_data_for_loading(struct program_space *pspace)
Definition: auto-load.c:658
void auto_load_info_scripts(char *pattern, int from_tty, const struct extension_language_defn *)
Definition: auto-load.c:1323