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: Fix struct size computation in jit interface


>>>>> "rth" == Richard Henderson <rth@redhat.com> writes:

rth> The code is careful to take the target-specific alignment into account,
rth> but not before settling on the size of the structure, and copying data
rth> from the inferior.  Thus this code reads uninitialized data on any
rth> target for which padding actually occurs.  This does not include i386,
rth> which is why I assume the bug wasn't noticed before.

rth> Ok?

Ok, thanks.

Tom


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