diff options
author | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:33:35 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:47:58 -0600 |
commit | 4834dad062658ef49ef86c9c48eb004c48a242a5 (patch) | |
tree | 2ca8bcb623b43181fc73c18781f3b4045ea053de /gdb/windows-nat.c | |
parent | 65bafd5b156bcb4f308f304e55a03e13f4eb2bed (diff) | |
download | gdb-4834dad062658ef49ef86c9c48eb004c48a242a5.zip gdb-4834dad062658ef49ef86c9c48eb004c48a242a5.tar.gz gdb-4834dad062658ef49ef86c9c48eb004c48a242a5.tar.bz2 |
Wrap shared windows-nat code in windows_nat namespace
This wraps the shared windows-nat code in a windows_nat namespace.
This helps avoid name clashes.
gdb/ChangeLog
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.
gdbserver/ChangeLog
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".
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index ef900ea..8f848b9 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -75,6 +75,8 @@ #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 |