aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-12 14:25:44 -0600
committerTom Tromey <tromey@adacore.com>2022-04-14 12:12:34 -0600
commit44ac251ad202da57e134f160b6831a56a82a8cf0 (patch)
tree148a8ed6b4e99309e17e9761b30873e5e64b1c0d /gdbserver
parentb17c7ab3808f5b781537514b28695dafaa29cb28 (diff)
downloadgdb-44ac251ad202da57e134f160b6831a56a82a8cf0.zip
gdb-44ac251ad202da57e134f160b6831a56a82a8cf0.tar.gz
gdb-44ac251ad202da57e134f160b6831a56a82a8cf0.tar.bz2
Share handle_ms_vc_exception with gdbserver
Currently, gdb's native Windows target implements the exception-based approach for setting thread names, but gdbserver does not. This patch moves handle_ms_vc_exception to the shared nat/windows-nat.c code, as preparation for adding this support to gdbserver.
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/win32-low.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 8437c69..8fde3e9 100644
--- a/gdbserver/win32-low.cc
+++ b/gdbserver/win32-low.cc
@@ -1042,15 +1042,6 @@ fake_breakpoint_event (void)
/* See nat/windows-nat.h. */
bool
-windows_nat::windows_process_info::handle_ms_vc_exception
- (const EXCEPTION_RECORD *rec)
-{
- return false;
-}
-
-/* See nat/windows-nat.h. */
-
-bool
windows_nat::windows_process_info::handle_access_violation
(const EXCEPTION_RECORD *rec)
{