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


> > 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]