This is the mail archive of the gdb-patches@sources.redhat.com 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: RFA: i386 Linux: provide correct type for orig_eax register



Andrew Cagney <ac131313@cygnus.com> writes:
> > I think we should #define HAVE_SSE_REGS unconditionally in
> >> config/i386/tm-linux.h.  Later, when things are properly multi-arched,
> >> we can decide whether we actually display thos registers based on the
> >> actual processor model.
> > Okay.  I'll give that a try.
> 
> 
> I'm trying to decide if it will break something.
> 
> The old ``remote packet is defined by the layout of the register
> buffer'' problem is lurking ready to strike :-(  This would put the
> SSE registers into the register buffer causing GDB to try to send them
> to a target that, rightly, doesn't expect them (hmm and also doesn't
> support a register-write packet)
> 
> It is why I was hacking on remote.c.  I've two more things to do: the
> protocol format command and sort out what ever happend to a
> read-register packet proposal that was posted.

Well, in that context, may I at least commit the change I posted?  It
simply extends the pattern of i386_linux_register_raw_size,
i386_linux_register_byte, and i386_linux_register_name.


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