Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: Joel Brobecker <brobecker@adacore.com>,
	Eli Zaretskii <eliz@gnu.org>,
		gdb-patches ml <gdb-patches@sourceware.org>,
	Pedro Alves <pedro@codesourcery.com>
Subject: Re: [doc/tracepoint] Add a note for assigning values of inferior to trace state variables
Date: Sat, 17 Sep 2011 14:40:00 -0000	[thread overview]
Message-ID: <CANFwon3GFLnj71TZuKK8tGFNUtsLNPZR+Bf6jTdfqoxRb+6KAw@mail.gmail.com> (raw)
In-Reply-To: <20110916202712.GB17681@adacore.com>

The issue is:
2d000b    setv
260003    reg
1620        ext
27            end

Setv before put value to the stack.

After convert will OK.

Do you have idea on it?

Thanks,
Hui



On Sat, Sep 17, 2011 at 04:27, Joel Brobecker <brobecker@adacore.com> wrote:
>> > this issue can be handle by convert value to (uint64_t), for example:
>> > teval $tmp=(uint64_t)a
>>
>> Isn't this specific to the platform where this runs?  I don't think we
>> should have platform-specific information, and such minor details at
>> that, in general sections.
>
> One of the things that struck me when I read the diff is that
> I asked myself why this conversion is necessary. The patch is
> only a small piece of the documentation, so perhaps the reasons
> are clear already.  But otherwise, it might be worth explaining.
>
> --
> Joel
>


  reply	other threads:[~2011-09-17 14:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16  9:07 Hui Zhu
2011-09-16  9:48 ` Eli Zaretskii
2011-09-16 20:37   ` Joel Brobecker
2011-09-17 14:40     ` Hui Zhu [this message]
2011-09-21 17:01       ` Pedro Alves
2011-09-16 12:26 ` Pedro Alves

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=CANFwon3GFLnj71TZuKK8tGFNUtsLNPZR+Bf6jTdfqoxRb+6KAw@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --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