Unifying i387 support

Jim Blandy jimb@cygnus.com
Mon Jul 12 16:29:00 GMT 1999


> > struct i387_regs {
> >   char ctrl[2];		char dummy1[2];
> >   char stat[2];		char dummy2[2];
> >   char tag[2];		char dummy3[2];
> >   char code_off[4];
> >   char code_seg[2];
> >   char opcode[2];
> >   char data_off[4];
> >   char data_seg[2];	char dummy4[2];
> >   char st[8][10];
> > };
> 
> Does anyone care for the MMX view of the ST(i) registers?  Perhaps, if
> we design a change in the layout, it would be better to make it
> last...

I don't understand.  They do appear last.

> Also, why did you choose to represent the registers as char buffers
> instead of what they are (shorts, longs, long doubles, etc.)?

Because I'd like to support cross-debugging from architectures with
different word sizes and FP formats.


More information about the Gdb-patches mailing list