On Friday 11 May 2012 16:25:00 Mark Kettenis wrote: > From: "H.J. Lu" > > This patch checks DS segment register for x32 process. Tested on > > Linux/x86-64. OK to install? > > > > --- a/gdb/amd64-linux-nat.c > > +++ b/gdb/amd64-linux-nat.c > > > > + if (sizeof (void *) == 4 && is_64bit && !is_x32) > > + error (_("Can't debug 64-bit process with 32-bit GDB")); > > I really think we should refuse to even build a GDB as an X32 binary. huh ? why would we restrict the host ABI ? i plan on doing pure x32 installs. -mike