+2020-04-08 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c: Add "using namespace".
+ * nat/windows-nat.h: Wrap contents in windows_nat namespace.
+ * nat/windows-nat.c: Wrap contents in windows_nat namespace.
+
2020-04-08 Tom Tromey <tromey@adacore.com>
* nat/windows-nat.h (struct windows_thread_info): Declare
#define STATUS_WX86_BREAKPOINT 0x4000001F
#define STATUS_WX86_SINGLE_STEP 0x4000001E
+using namespace windows_nat;
+
#define AdjustTokenPrivileges dyn_AdjustTokenPrivileges
#define DebugActiveProcessStop dyn_DebugActiveProcessStop
#define DebugBreakProcess dyn_DebugBreakProcess
+2020-04-08 Tom Tromey <tromey@adacore.com>
+
+ * win32-low.h (struct win32_target_ops): Use qualified names where
+ needed.
+ * win32-i386-low.c: Add "using namespace".
+ * win32-low.c: Add "using namespace".
+ * win32-arm-low.c: Add "using namespace".
+
2020-04-08 Tom Tromey <tromey@adacore.com>
* win32-low.c (delete_thread_info): Don't call CloseHandle.
void (*initial_stuff) (void);
/* Fetch the context from the inferior. */
- void (*get_thread_context) (windows_thread_info *th);
+ void (*get_thread_context) (windows_nat::windows_thread_info *th);
/* Called just before resuming the thread. */
- void (*prepare_to_resume) (windows_thread_info *th);
+ void (*prepare_to_resume) (windows_nat::windows_thread_info *th);
/* Called when a thread was added. */
- void (*thread_added) (windows_thread_info *th);
+ void (*thread_added) (windows_nat::windows_thread_info *th);
/* Fetch register from gdbserver regcache data. */
void (*fetch_inferior_register) (struct regcache *regcache,
- windows_thread_info *th, int r);
+ windows_nat::windows_thread_info *th,
+ int r);
/* Store a new register value into the thread context of TH. */
void (*store_inferior_register) (struct regcache *regcache,
- windows_thread_info *th, int r);
+ windows_nat::windows_thread_info *th,
+ int r);
- void (*single_step) (windows_thread_info *th);
+ void (*single_step) (windows_nat::windows_thread_info *th);
const unsigned char *breakpoint;
int breakpoint_len;
};
/* Retrieve the context for this thread, if not already retrieved. */
-extern void win32_require_context (windows_thread_info *th);
+extern void win32_require_context (windows_nat::windows_thread_info *th);
/* Map the Windows error number in ERROR to a locale-dependent error
message string and return a pointer to it. Typically, the values