Commit | Line | Data |
---|---|---|
e2207b9a JK |
1 | /* GDB routines for supporting auto-loaded scripts. |
2 | ||
3 | Copyright (C) 2012 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 program_space; | |
24 | ||
25 | extern int gdbpy_global_auto_load; | |
26 | ||
27 | extern struct auto_load_pspace_info * | |
28 | get_auto_load_pspace_data_for_loading (struct program_space *pspace); | |
29 | extern int maybe_add_script (struct auto_load_pspace_info *pspace_info, | |
30 | const char *name, const char *full_path); | |
31 | extern void auto_load_objfile_script (struct objfile *objfile, | |
32 | const char *suffix); | |
33 | extern int | |
34 | script_not_found_warning_print (struct auto_load_pspace_info *pspace_info); | |
35 | ||
36 | #endif /* AUTO_LOAD_H */ |