From: "David S. Miller" <davem@redhat.com>
To: msnyder@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Linux/Sparc patch 3
Date: Fri, 19 Apr 2002 19:10:00 -0000 [thread overview]
Message-ID: <20020419.190143.102963762.davem@redhat.com> (raw)
In-Reply-To: <3CC0CA32.DB078FAC@redhat.com>
From: Michael Snyder <msnyder@redhat.com>
Date: Fri, 19 Apr 2002 18:53:54 -0700
"David S. Miller" wrote:
> The child_xfer_memory implementation in infptrace.c is
> SLOWWWWWWW... Especially when we have fully functional
> PTRACE_{READ,WRITE}DATA under Linux/Sparc.
Interesting ... could we benefit from making this
change on other (perhaps all) linux architectures?
If so, might it be possible to make the change in
a single place?
Only Linux/Sparc supports PTRACE_{READ,WRITE}DATA, nyah nyah :-)
> Another bug fix is that we need to make sure all registers
> are read before store takes place, thus we define
> CHILD_PREPARE_TO_STORE. All the BSD'ish Sparc ports set
> this as well, for the same reason.
Seems perfectly reasonable. Is this also something
that should be done for all linuxen?
No, it is a Sparc specific issue. Can I ask you to read my changes
when reviewing them? I describe the situation precisely in the
comment above this define, and I make it clear that this is a Sparc
specific issue. If my comment doesn't make this clear, show me how to
make it so. :-)
> We also define PTRACE_*_TYPE in preparation for 64-bit support.
This seems like it could benefit from using multi-arch...
Please wait until the facility to do this is really there. See my
other emails about OS specific gdbarch init calls
These values only matter for native ptrace calls anyways, I don't see
why you'd bother multi-arching it.
Franks a lot,
David S. Miller
davem@redhat.com
next prev parent reply other threads:[~2002-04-20 2:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 16:02 David S. Miller
2002-04-19 19:05 ` Michael Snyder
2002-04-19 19:10 ` David S. Miller [this message]
2002-04-23 18:05 ` Michael Snyder
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=20020419.190143.102963762.davem@redhat.com \
--to=davem@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@redhat.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