This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Unifying i387 support
- To: Eli Zaretskii <eliz@delorie.com>
- Subject: Re: Unifying i387 support
- From: Jim Blandy <jimb@cygnus.com>
- Date: 12 Jul 1999 18:28:36 -0500
- Cc: Jim Blandy <jimb@cygnus.com>, DJ Delorie <dj@delorie.com>, kettenis@wins.uva.nl, billm@suburbia.net, gdb-patches@sourceware.cygnus.com
- References: <199907110842.EAA00526@indy.delorie.com>
> > 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.