aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/win32-low.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-27 10:14:01 -0600
committerTom Tromey <tromey@adacore.com>2022-04-27 10:45:10 -0600
commit801eb70f9aa916650b9ca03a1d54d426a3e99f17 (patch)
tree6d936c9dab64bf7aac5f17f506406d949af233a6 /gdbserver/win32-low.h
parent8e6afe4013fd57f92eec4659439bc6e44b0446f8 (diff)
downloadgdb-801eb70f9aa916650b9ca03a1d54d426a3e99f17.zip
gdb-801eb70f9aa916650b9ca03a1d54d426a3e99f17.tar.gz
gdb-801eb70f9aa916650b9ca03a1d54d426a3e99f17.tar.bz2
Fix gdbserver build for x86-64 Windows
I broke the gdbserver build on x86-64 Windows a little while back. Previously, I could not build this configuration, but today I found out that if I configure with: --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 using the Fedora 34 tools, it will in fact build. I'm not certain, but maybe the gnulib update helped with this. This patch fixes the build. I'm checking it in.
Diffstat (limited to 'gdbserver/win32-low.h')
-rw-r--r--gdbserver/win32-low.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbserver/win32-low.h b/gdbserver/win32-low.h
index a1d7457..c5f40dd 100644
--- a/gdbserver/win32-low.h
+++ b/gdbserver/win32-low.h
@@ -162,6 +162,9 @@ public:
const char *thread_name (ptid_t thread) override;
};
+/* The sole Windows process. */
+extern windows_nat::windows_process_info windows_process;
+
/* Retrieve the context for this thread, if not already retrieved. */
extern void win32_require_context (windows_nat::windows_thread_info *th);