From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id BC401385DC1B for ; Sun, 26 Apr 2020 17:14:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BC401385DC1B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eliz@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]:47349) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkrU-00024F-AG; Sun, 26 Apr 2020 13:14:36 -0400 Received: from [176.228.60.248] (port=3466 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jSkrT-0008CC-AT; Sun, 26 Apr 2020 13:14:35 -0400 Date: Sun, 26 Apr 2020 20:14:29 +0300 Message-Id: <83d07u5fuy.fsf@gnu.org> From: Eli Zaretskii To: Hannes Domani Cc: gdb-patches@sourceware.org In-Reply-To: <545110470.974890.1587920033486@mail.yahoo.com> (message from Hannes Domani via Gdb-patches on Sun, 26 Apr 2020 16:53:53 +0000 (UTC)) Subject: Re: [PATCH] Implement debugging of WOW64 processes in gdbserver References: <20200424155944.17332-1-ssbssa.ref@yahoo.de> <20200424155944.17332-1-ssbssa@yahoo.de> <83h7x8alys.fsf@gnu.org> <545110470.974890.1587920033486@mail.yahoo.com> X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2020 17:14:37 -0000 > Date: Sun, 26 Apr 2020 16:53:53 +0000 (UTC) > From: Hannes Domani via Gdb-patches > > According to the microsoft docs, Wow64GetThreadContext/Wow64SetThreadContext/ > Wow64SuspendThread are also available from Vista upwards, so WOW64 debugging > is impossible on XP. > > Should I error() in do_initial_(windows|child)_stuff for WOW64 processes if any > of the functions is missing? Yes, I think so.