http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-28 09:35:35 UTC --- >share/google-breakpad/src/client/linux/handler/linux_thread.cc:251:3: error: >expected primary-expression before 'struct' Can you attach the preprocessed source? #define GET_DR(name, num)\ name->dr##num = ptrace(PTRACE_PEEKUSER, pid,\ offsetof(struct user, u_debugreg[num]), NULL) GET_DR(regs, 0); Where is struct user supposed to be defined? This looks rather like a header not being included correctly and not really GCC issue.