gdb: Make GMP a required dependency for building GDB
[binutils-gdb.git] / gdbserver / dll.h
blob63c1cd44d3b654454e6a4a4115faba2517ba5a46
1 /* Copyright (C) 1993-2020 Free Software Foundation, Inc.
3 This file is part of GDB.
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.
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.
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/>. */
18 #ifndef GDBSERVER_DLL_H
19 #define GDBSERVER_DLL_H
21 #include <list>
23 struct dll_info
25 dll_info (const std::string &name_, CORE_ADDR base_addr_)
26 : name (name_), base_addr (base_addr_)
29 std::string name;
30 CORE_ADDR base_addr;
33 extern std::list<dll_info> all_dlls;
34 extern int dlls_changed;
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);
40 #endif /* GDBSERVER_DLL_H */