This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [doc/tracepoint] Add a note for assigning values of inferior to trace state variables


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]