From: Simon Marchi <simark@simark.ca>
To: Hannes Domani <ssbssa@yahoo.de>, gdb-patches@sourceware.org
Subject: Re: [PATCH v3] Rebase executable to match relocated base address
Date: Tue, 03 Mar 2020 16:58:00 -0000 [thread overview]
Message-ID: <cddd14c5-2dcb-8c45-422d-ae7354a74649@simark.ca> (raw)
In-Reply-To: <20200303162207.17473-1-ssbssa@yahoo.de>
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 Hannes Domani <ssbssa@yahoo.de>
>
> * windows-tdep.c (windows_solib_create_inferior_hook): New function.
> (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.
Simon
next prev parent reply other threads:[~2020-03-03 16:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200303162207.17473-1-ssbssa.ref@yahoo.de>
2020-03-03 16:22 ` Hannes Domani via gdb-patches
2020-03-03 16:58 ` Simon Marchi [this message]
2020-03-03 17:43 ` Hannes Domani via gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cddd14c5-2dcb-8c45-422d-ae7354a74649@simark.ca \
--to=simark@simark.ca \
--cc=gdb-patches@sourceware.org \
--cc=ssbssa@yahoo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox