From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70037 invoked by alias); 3 Mar 2020 17:43:44 -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 69928 invoked by uid 89); 3 Mar 2020 17:43:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*x:Win64, H*x:x64, H*x:5.0, H*x:Windows X-HELO: sonic301-22.consmr.mail.ir2.yahoo.com Received: from sonic301-22.consmr.mail.ir2.yahoo.com (HELO sonic301-22.consmr.mail.ir2.yahoo.com) (77.238.176.99) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Mar 2020 17:43:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1583257419; bh=2Ivy0AsviuhWMz16r0vYK8d7j9mIOwbgIgxHvTM6au4=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=jWQhdQmM9CAwTIRL6rm9oYwAiTIJF3ddBdCZ7VeINyKV2z8XPTUOGdWwT9d7a+6Ip6T2fy7hTLgtC1Rx/8DFiu4YogDRPh9skZXN9fiP95urYbQ7mBGFo2lbioxhh4X0GIe0XZ9xQOYFvNolvqpNTBtqVlAQjrtSmi8qRpN4UB/WRq97v2DMUmUAAO/VJOiUwuXJU0wxeDnqM5gyeRGyWuGG5fGSK4zcJ452ywwoNGNfv9S9GdQgnQa5alulL4+gMIzQzcIiTkeV5Rpko6t9vtfFQek4oFVXKJmPspMGo7JXDbVFmOTqo5WV5cXSBwqQg7uk7AcynCkcOzbxn9iH5w== Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Tue, 3 Mar 2020 17:43:39 +0000 Date: Tue, 03 Mar 2020 17:43:00 -0000 From: "Hannes Domani via gdb-patches" Reply-To: Hannes Domani To: Gdb-patches Message-ID: <1325974012.5962015.1583257415874@mail.yahoo.com> In-Reply-To: References: <20200303162207.17473-1-ssbssa.ref@yahoo.de> <20200303162207.17473-1-ssbssa@yahoo.de> Subject: Re: [PATCH v3] Rebase executable to match relocated base address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00062.txt Am Dienstag, 3. M=C3=A4rz 2020, 17:58:22 MEZ hat Simon Marchi Folgendes geschrieben: > On 2020-03-03 11:22 a.m., Hannes Domani via gdb-patches wrote: > > > Windows executables linked with -dynamicbase get a new base address > > when loaded, which makes debugging impossible if the executable isn't > > also rebased in gdb. > > > > The new base address is read from the Process Environment Block. > > > > gdb/ChangeLog: > > > > 2020-03-03=C2=A0 Hannes Domani=C2=A0 > > > >=C2=A0=C2=A0=C2=A0=C2=A0 * windows-tdep.c (windows_solib_create_inferior= _hook): New function. > >=C2=A0=C2=A0=C2=A0=C2=A0 (windows_init_abi): Set and use windows_so_ops. > > --- > > v2: > > This version now no longer needs the fake auxv entry. > > > > v3: > > - Use of explicit comparison operators. > > - Use copy of solib_target_so_ops. > > Thanks, that version LGTM. Pushed, thanks. Regards Hannes Domani