From: Tom Tromey <tom@tromey.com>
To: "Hannes Domani via gdb-patches" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Implement debugging of WOW64 processes
Date: Fri, 13 Mar 2020 12:16:57 -0600 [thread overview]
Message-ID: <87eetwdsrq.fsf@tromey.com> (raw)
In-Reply-To: <20200303182057.8973-1-ssbssa@yahoo.de> (Hannes Domani via gdb-patches's message of "Tue, 3 Mar 2020 19:20:57 +0100")
>>>>> "Hannes" == Hannes Domani via gdb-patches <gdb-patches@sourceware.org> writes:
Hannes> For WOW64 processes, the Wow64* variants of SuspendThread,
Hannes> GetThreadContext, SetThreadContext, and GetThreadSelectorEntry have to
Hannes> be used instead.
Hannes> And instead of EnumProcessModules, EnumProcessModulesEx with
Hannes> LIST_MODULES_32BIT is necessary.
I rebased my series to share some of the Windows code between gdb and
gdbserver over this patch. I'm going to re-submit this shortly (I'm
testing it now).
That showed me that this patch modified gdb, but not gdbserver. That's
fine; while we normally prefer parallel changes, I think we haven't
generally required it.
However, after some discussion on irc about this, I started wondering
again if we should move to a model where we always use gdbserver as the
back end.
This would remove any possibility of divergence -- there would only be a
single back-end for a given port.
This would mean porting gdbserver to more hosts. I suppose we'd want to
keep the target stack as-is, to support core files and remote-sim. This
is good in a way because it would mean less work to make the transition.
I looked through this:
https://sourceware.org/gdb/wiki/LocalRemoteFeatureParity
and it looks like most of the items are done.
Tom
prev parent reply other threads:[~2020-03-13 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200303182057.8973-1-ssbssa.ref@yahoo.de>
2020-03-03 18:21 ` Hannes Domani via gdb-patches
2020-03-03 18:51 ` Eli Zaretskii
2020-03-03 19:12 ` Hannes Domani via gdb-patches
2020-03-03 19:30 ` Eli Zaretskii
2020-03-03 19:36 ` Simon Marchi
2020-03-03 20:28 ` Eli Zaretskii
2020-03-03 21:01 ` Simon Marchi
2020-03-03 21:12 ` Hannes Domani via gdb-patches
2020-03-03 21:31 ` Simon Marchi
2020-03-04 3:33 ` Eli Zaretskii
2020-03-13 18:16 ` Tom Tromey [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=87eetwdsrq.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).