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: PATCH: Check DS segment register for x32 process


On Friday 11 May 2012 16:25:00 Mark Kettenis wrote:
> From: "H.J. Lu" <hongjiu.lu@intel.com>
> > 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

Attachment: signature.asc
Description: This is a digitally signed message part.


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