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


On Friday 16 September 2011 09:56:36, Hui Zhu wrote:

> I talk about a bug about assigning values of inferior to trace state variables
> http://sources.redhat.com/ml/gdb/2011-07/msg00009.html
> 
> this issue can be handle by convert value to (uint64_t), for example:
> teval $tmp=(uint64_t)a

Note trace state variables are signed, not unsigned.

-- 
Pedro Alves


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