This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: Unifying i387 support



> > 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.

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