From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53527 invoked by alias); 7 Feb 2020 22:17:32 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 53519 invoked by uid 89); 7 Feb 2020 22:17:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*x:5.0, H*x:Windows X-HELO: sonic307-7.consmr.mail.ir2.yahoo.com Received: from sonic307-7.consmr.mail.ir2.yahoo.com (HELO sonic307-7.consmr.mail.ir2.yahoo.com) (87.248.110.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Feb 2020 22:17:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1581113847; bh=Xkf/6nHtjkCdjT6m0UPpuCDHl/FkdmTnyvToExzo/hs=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=UjlJ8+Noen6+O+GS7unwOfGpPDHJEFqkyioSPVICU5YZS20feBdATDBsJ/rq1bvBk0+9O+c8cYOMV9Pj8aAd/kARKXWrfhjNrzyr7vD34RTp8o9B5fGqWsn2NHLeWpeb+pD/pRWrJgN3QMOEAk6AMDG0I+DUl/AUOwjbc4Izakx5NSrUf1yS5I5L+c9+gzqhdbfNkiNzOq80onEq2+vdf1bth/+j9A2KpV3k4MhzsVS0CB5S0e1389pAmCOzmzDfOHN4VtVMDSGSFtCUg/GnSHWG2ft7OtgU3wsRoWZXqONjaSEh+/EFBISpRJJgiExuQMLLpMurYD+03mldqvoK8w== Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Fri, 7 Feb 2020 22:17:27 +0000 Date: Fri, 07 Feb 2020 22:17:00 -0000 From: "Hannes Domani via gdb-patches" Reply-To: Hannes Domani To: Gdb-patches Message-ID: <1751160946.1693170.1581113846690@mail.yahoo.com> In-Reply-To: <79d771b0-ec85-cdfc-e966-a61c6bb9b59f@simark.ca> References: <20200117153140.2231-1-ssbssa.ref@yahoo.de> <20200117153140.2231-1-ssbssa@yahoo.de> <544d0a3a-bee9-1ac6-8f4b-611ccbcc39bb@simark.ca> <79d771b0-ec85-cdfc-e966-a61c6bb9b59f@simark.ca> Subject: Re: [PATCH 1/2] Display ExceptionRecord for $_siginfo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00196.txt.bz2 Am Freitag, 7. Februar 2020, 23:07:08 MEZ hat Simon Marchi Folgendes geschrieben: > Btw, as mentioned here: > > https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-exception_record#remarks > > The layout of the structure is different depending on if the debugged process is 32 or 64 bits. > > From what I understand, you code adapts to both, since it uses gdbarch_ptr_bit and uses proper > alignment for the ExceptionInformation field, but I wanted to point it out just to be sure. Yes, that's right. I will add some comments to make this more clear. Regards Hannes Domani