+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * dll.c, inferiors.c, remote-utils.c, server.c: Include "dll.h".
+ * server.h (struct dll_info, all_dlls, dlls_changed, clear_dlls)
+ (loaded_dll, unloaded_dll): Move to ...
+ * dll.h: ... this new file.
+ * inferiors.c, remote-utils.c, win32-low.c: Include "dll.h".
+
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (current_process, get_thread_process, all_processes)
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "server.h"
+#include "dll.h"
#define get_dll(inf) ((struct dll_info *)(inf))
#include "server.h"
#include "gdbthread.h"
+#include "dll.h"
struct inferior_list all_processes;
struct inferior_list all_threads;
#include "target.h"
#include "gdbthread.h"
#include "tdesc.h"
+#include "dll.h"
+
#include <stdio.h>
#include <string.h>
#if HAVE_SYS_IOCTL_H
#include "btrace-common.h"
#include "filestuff.h"
#include "tracepoint.h"
+#include "dll.h"
/* The thread set with an `Hc' packet. `Hc' is deprecated in favor of
`vCont'. Note the multi-process extensions made `vCont' a
#include "gdbthread.h"
#include "inferiors.h"
-struct dll_info
-{
- struct inferior_list_entry entry;
- char *name;
- CORE_ADDR base_addr;
-};
-
/* Target-specific functions */
void initialize_low ();
-/* From dll.c. */
-
-extern struct inferior_list all_dlls;
-extern int dlls_changed;
-extern void clear_dlls (void);
-
-void loaded_dll (const char *name, CORE_ADDR base_addr);
-void unloaded_dll (const char *name, CORE_ADDR base_addr);
-
/* Public variables in server.c */
extern ptid_t cont_thread;
#include "mem-break.h"
#include "win32-low.h"
#include "gdbthread.h"
+#include "dll.h"
#include <stdint.h>
#include <windows.h>