Commit | Line | Data |
---|---|---|
3666a048 | 1 | /* Copyright (C) 1993-2021 Free Software Foundation, Inc. |
270c6aea PA |
2 | |
3 | This file is part of GDB. | |
4 | ||
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 3 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | ||
1a5c2598 TT |
18 | #ifndef GDBSERVER_DLL_H |
19 | #define GDBSERVER_DLL_H | |
270c6aea | 20 | |
c9cb8905 SM |
21 | #include <list> |
22 | ||
d171632f TBA |
23 | struct process_info; |
24 | ||
270c6aea PA |
25 | struct dll_info |
26 | { | |
c9cb8905 SM |
27 | dll_info (const std::string &name_, CORE_ADDR base_addr_) |
28 | : name (name_), base_addr (base_addr_) | |
29 | {} | |
80894984 | 30 | |
c9cb8905 | 31 | std::string name; |
270c6aea PA |
32 | CORE_ADDR base_addr; |
33 | }; | |
34 | ||
270c6aea PA |
35 | extern void clear_dlls (void); |
36 | extern void loaded_dll (const char *name, CORE_ADDR base_addr); | |
d171632f TBA |
37 | extern void loaded_dll (process_info *proc, const char *name, |
38 | CORE_ADDR base_addr); | |
270c6aea | 39 | extern void unloaded_dll (const char *name, CORE_ADDR base_addr); |
d171632f TBA |
40 | extern void unloaded_dll (process_info *proc, const char *name, |
41 | CORE_ADDR base_addr); | |
270c6aea | 42 | |
1a5c2598 | 43 | #endif /* GDBSERVER_DLL_H */ |