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: [PATCH 2/2] Use sized types in tracepoint.


On 04/13/2012 03:40 AM, Yao Qi wrote:

> When discussing on the patches on IPA protocol, I start to examine the size
> of each field of tracepoint when copying them to `command buffer'.  In the
> protocol, each field has its own size, independent of other factors, such
> as machine type (32bit vs 64bit), etc.  I started to think about using 'sized'
> types in these fields, because it is safe to copy data from one process to
> the other one.  This is what this patch does.  Regression tested on
> x86_64-linux.  OK?


Okay.

-- 
Pedro Alves


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