From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0017A393BC07; Mon, 3 May 2021 14:06:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0017A393BC07 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug build/27807] Link failure on Windows due to undefined reference to win32_Wow64GetThreadContext Date: Mon, 03 May 2021 14:06:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2021 14:06:35 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27807 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-05-03 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Tom Tromey --- Sorry about that. I don't seem to know how to arrange for this kind of build. So, could you try this patch? If it works for you, I will check it in. diff --git a/gdbserver/win32-i386-low.cc b/gdbserver/win32-i386-low.cc index 5fc4be0d4c7..e2afd2a8c17 100644 --- a/gdbserver/win32-i386-low.cc +++ b/gdbserver/win32-i386-low.cc @@ -260,7 +260,7 @@ i386_get_thread_context (windows_thread_info *th) BOOL ret; #ifdef __x86_64__ if (wow64_process) - ret =3D win32_Wow64GetThreadContext (th->h, &th->wow64_context); + ret =3D Wow64GetThreadContext (th->h, &th->wow64_context); else #endif ret =3D GetThreadContext (th->h, &th->context); --=20 You are receiving this mail because: You are on the CC list for the bug.=