-/* Copyright (C) 2007-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
This file is part of GDB.
extern const struct target_desc *tdesc_arm;
static void
-arm_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event)
+arm_get_thread_context (win32_thread_info *th)
{
th->context.ContextFlags = \
CONTEXT_FULL | \
GetThreadContext (th->h, &th->context);
}
-static void
-arm_set_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event)
-{
- SetThreadContext (th->h, &th->context);
-}
-
#define context_offset(x) ((int)&(((CONTEXT *)NULL)->x))
static const int mappings[] = {
context_offset (R0),
sizeof (mappings) / sizeof (mappings[0]),
NULL, /* initial_stuff */
arm_get_thread_context,
- arm_set_thread_context,
+ NULL, /* prepare_to_resume */
NULL, /* thread_added */
arm_fetch_inferior_register,
arm_store_inferior_register,