GDBserver

dll.h
Go to the documentation of this file.
1 /* Copyright (C) 1993-2018 Free Software Foundation, Inc.
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
18 #ifndef DLL_H
19 #define DLL_H
20
21 #include <list>
22
23 struct dll_info
24 {
25 dll_info (const std::string &name_, CORE_ADDR base_addr_)
26 : name (name_), base_addr (base_addr_)
27 {}
28
29 std::string name;
30 CORE_ADDR base_addr;
31 };
32
33 extern std::list<dll_info> all_dlls;
34 extern int dlls_changed;
35
36 extern void clear_dlls (void);
37 extern void loaded_dll (const char *name, CORE_ADDR base_addr);
38 extern void unloaded_dll (const char *name, CORE_ADDR base_addr);
39
40 #endif /* DLL_H */
string
const char * string
Definition: signals.c:50
CORE_ADDR
bfd_vma CORE_ADDR
Definition: common-types.h:41
unloaded_dll
void unloaded_dll(const char *name, CORE_ADDR base_addr)
Definition: dll.c:41
dll_info::base_addr
CORE_ADDR base_addr
Definition: dll.h:30
name
const char * name
Definition: tracepoint.c:180
dll_info::dll_info
dll_info(const std::string &name_, CORE_ADDR base_addr_)
Definition: dll.h:25
clear_dlls
void clear_dlls(void)
Definition: dll.c:77
loaded_dll
void loaded_dll(const char *name, CORE_ADDR base_addr)
Definition: dll.c:32
dll_info
Definition: dll.h:23
dll_info::name
std::string name
Definition: dll.h:29
dlls_changed
int dlls_changed
Definition: dll.c:27
all_dlls
std::list< dll_info > all_dlls
Definition: dll.c:26