On 12/16/2015 01:18 AM, Simon Marchi wrote: > On 15 December 2015 at 19:21, Pedro Alves <palves@redhat.com> wrote: >> Forgot to mention that this compiles down to the same as offsetof at -O2. > > Then your solution sounds better on every aspect. Alright, now pushed: https://sourceware.org/ml/gdb-patches/2015-12/msg00308.html Thanks, Pedro Alves