From: "Hannes Domani via gdb-patches" <gdb-patches@sourceware.org>
To: Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH v3] Rebase executable to match relocated base address
Date: Tue, 03 Mar 2020 17:43:00 -0000 [thread overview]
Message-ID: <1325974012.5962015.1583257415874@mail.yahoo.com> (raw)
In-Reply-To: <cddd14c5-2dcb-8c45-422d-ae7354a74649@simark.ca>
Am Dienstag, 3. März 2020, 17:58:22 MEZ hat Simon Marchi <simark@simark.ca> 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 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.
Pushed, thanks.
Regards
Hannes Domani
prev parent reply other threads:[~2020-03-03 17:43 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
2020-03-03 17:43 ` Hannes Domani via gdb-patches [this message]
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=1325974012.5962015.1583257415874@mail.yahoo.com \
--to=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