From: Yao Qi <yao@codesourcery.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 1/2] Displaced stepping across fork/vfork
Date: Wed, 14 Sep 2011 15:39:00 -0000 [thread overview]
Message-ID: <4E70B958.40700@codesourcery.com> (raw)
In-Reply-To: <201109141232.29616.pedro@codesourcery.com>
On 09/14/2011 07:32 PM, Pedro Alves wrote:
>> > The past tense ("was executed") is better here. Copied your suggestion
>> > directly. :)
> You forgot to copy a couple "the"s though. :-)
>
Oops. I missed two "the" in the first line of comment. Added them.
> Does the arm_displaced_step_fixup handler ever do more than
> just adjusting the PC for syscalls? I see there's a ->cleanup
> callback there that does some things with registers. If so,
> we'll need to do more than just adjusting the PC of the child.
> (A more general fix would run the fixup on the child too
> instead.)
>
A general cleanup routine does some registers restores, but cleanup
routines for svc (arm-linux-tdep.c:arm_linux_cleanup_svc and
arm-tdep.c:cleanup_svc) only adjust PC.
> Otherwise looks okay.
>
> On Wednesday 14 September 2011 11:50:24, Yao Qi wrote:
>> > + regcache_write_pc (child_regcache, parent_pc);
>> > +
>> > + }
> You have a spurious empty line here.
I'll check in with these fixes.
--
Yao (é½å°§)
next prev parent reply other threads:[~2011-09-14 14:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-11 0:55 Yao Qi
2011-09-12 14:59 ` Pedro Alves
2011-09-14 11:10 ` Yao Qi
2011-09-14 11:55 ` Pedro Alves
2011-09-14 15:39 ` Yao Qi [this message]
2011-09-17 13:43 ` [committed] : " Yao Qi
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=4E70B958.40700@codesourcery.com \
--to=yao@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
/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