From 44ac251ad202da57e134f160b6831a56a82a8cf0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Apr 2022 14:25:44 -0600 Subject: 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. --- gdbserver/win32-low.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gdbserver/win32-low.cc') 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) { -- cgit v1.1