This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc/tracepoint] Add a note for assigning values of inferior to trace state variables
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Hui Zhu <teawater at gmail dot com>, Eli Zaretskii <eliz at gnu dot org>
- Date: Fri, 16 Sep 2011 11:47:12 +0100
- Subject: Re: [doc/tracepoint] Add a note for assigning values of inferior to trace state variables
- References: <CANFwon3WmN=06vh-bYi66XTMOX8KgTGk6udSNWWdyKU0e4_7OQ@mail.gmail.com>
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