From: Michael Snyder <msnyder@redhat.com>
To: Jim Blandy <jimb@red-bean.com>
Cc: gdb@sourceware.org
Subject: Re: tracepoint.c memory range requests
Date: Sat, 19 Nov 2005 02:07:00 -0000 [thread overview]
Message-ID: <437E88F0.3070206@redhat.com> (raw)
In-Reply-To: <8f2776cb0511181737w1f99beb0rec6d4cd40dc7c131@mail.gmail.com>
Jim Blandy wrote:
> Looking at the code in tracepoint.c:stringify_collection_list, it
> seems that memory ranges with absolute addresses end up having the
> form MFFFFFFFF,<start>,<len>. This is because "%X" always treats its
> argument as unsigned. So the number of F's depends on sizeof
> (unsigned int).
>
> I know that we spent some effort keeping the packets small. Since
> there are, as far as we know, no stubs that support tracepoints in
> active use, may I change that to send '-' instead of the F's?
Actually, there may be such a stub -- there's been at least
one guy posting questions about target tracepoint implementation
this year.
Is the purpose just to make the packet smaller?
The intent was for that number to be the value negative one,
so changing it to "M-1,<start>,<len>" wouldn't be entirely
unreasonable. The comments in gdb refer to it as "-1",
(when they don't mistakenly refer to it as "0").
next prev parent reply other threads:[~2005-11-19 2:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-19 1:38 Jim Blandy
2005-11-19 2:07 ` Michael Snyder [this message]
2005-11-19 4:39 ` Jim Blandy
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=437E88F0.3070206@redhat.com \
--to=msnyder@redhat.com \
--cc=gdb@sourceware.org \
--cc=jimb@red-bean.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