This is the mail archive of the gdb@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: GDB 6.8.92 available for testing


> However, the idiom:
> 
>   int len = TYPE_LENGTH(...);
> 
>   memcpy(..., ..., len);
> 
> is used in several other places in the GDB tree.  I really think that
> we should fix all these cases; not just this one.

Perhaps the type of length in struct type should be changed to size_t?

-- 
Joel


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